const ChangeCauseAnnotation …
type HistoryViewer …
type HistoryVisitor …
func (v *HistoryVisitor) VisitDeployment(elem apps.GroupKindElement) { … }
func (v *HistoryVisitor) VisitStatefulSet(kind apps.GroupKindElement) { … }
func (v *HistoryVisitor) VisitDaemonSet(kind apps.GroupKindElement) { … }
func (v *HistoryVisitor) VisitJob(kind apps.GroupKindElement) { … }
func (v *HistoryVisitor) VisitPod(kind apps.GroupKindElement) { … }
func (v *HistoryVisitor) VisitReplicaSet(kind apps.GroupKindElement) { … }
func (v *HistoryVisitor) VisitReplicationController(kind apps.GroupKindElement) { … }
func (v *HistoryVisitor) VisitCronJob(kind apps.GroupKindElement) { … }
func HistoryViewerFor(kind schema.GroupKind, c kubernetes.Interface) (HistoryViewer, error) { … }
type DeploymentHistoryViewer …
func (h *DeploymentHistoryViewer) ViewHistory(namespace, name string, revision int64) (string, error) { … }
func (h *DeploymentHistoryViewer) GetHistory(namespace, name string) (map[int64]runtime.Object, error) { … }
func printTemplate(template *corev1.PodTemplateSpec) (string, error) { … }
type DaemonSetHistoryViewer …
func (h *DaemonSetHistoryViewer) ViewHistory(namespace, name string, revision int64) (string, error) { … }
func (h *DaemonSetHistoryViewer) GetHistory(namespace, name string) (map[int64]runtime.Object, error) { … }
func printHistory(history []*appsv1.ControllerRevision, revision int64, getPodTemplate func(history *appsv1.ControllerRevision) (*corev1.PodTemplateSpec, error)) (string, error) { … }
type StatefulSetHistoryViewer …
func (h *StatefulSetHistoryViewer) ViewHistory(namespace, name string, revision int64) (string, error) { … }
func (h *StatefulSetHistoryViewer) GetHistory(namespace, name string) (map[int64]runtime.Object, error) { … }
func getDeploymentReplicaSets(apps clientappsv1.AppsV1Interface, namespace, name string) ([]*appsv1.ReplicaSet, error) { … }
func controlledHistoryV1(
apps clientappsv1.AppsV1Interface,
namespace string,
selector labels.Selector,
accessor metav1.Object) ([]*appsv1.ControllerRevision, error) { … }
func controlledHistory(
apps clientappsv1.AppsV1Interface,
namespace string,
selector labels.Selector,
accessor metav1.Object) ([]*appsv1.ControllerRevision, error) { … }
func daemonSetHistory(
apps clientappsv1.AppsV1Interface,
namespace, name string) (*appsv1.DaemonSet, []*appsv1.ControllerRevision, error) { … }
func statefulSetHistory(
apps clientappsv1.AppsV1Interface,
namespace, name string) (*appsv1.StatefulSet, []*appsv1.ControllerRevision, error) { … }
func applyDaemonSetHistory(ds *appsv1.DaemonSet, history *appsv1.ControllerRevision) (*appsv1.DaemonSet, error) { … }
func applyStatefulSetHistory(sts *appsv1.StatefulSet, history *appsv1.ControllerRevision) (*appsv1.StatefulSet, error) { … }
func tabbedString(f func(io.Writer) error) (string, error) { … }
func getChangeCause(obj runtime.Object) string { … }