code: func StatusViewerFor(kind schema.GroupKind) (StatusViewer, error) {
  	switch kind {
  	case extensionsv1beta1.SchemeGroupVersion.WithKind("Deployment").GroupKind(),
  		appsv1.SchemeGroupVersion.WithKind("Deployment").GroupKind():
  		return &DeploymentStatusViewer{}, nil
  	case extensionsv1beta1.SchemeGroupVersion.WithKind("DaemonSet").GroupKind(),
  		appsv1.SchemeGroupVersion.WithKind("DaemonSet").GroupKind():
  		return &DaemonSetStatusViewer{}, nil
  	case appsv1.SchemeGroupVersion.WithKind("StatefulSet").GroupKind():
  		return &StatefulSetStatusViewer{}, nil
  	}
  	return nil, fmt.Errorf("no status viewer has been implemented for %v", kind)
  }
docs: // StatusViewerFor returns a StatusViewer for the resource specified by kind.