const rollbackSuccess …
const rollbackSkipped …
type Rollbacker …
type RollbackVisitor …
func (v *RollbackVisitor) VisitDeployment(elem apps.GroupKindElement) { … }
func (v *RollbackVisitor) VisitStatefulSet(kind apps.GroupKindElement) { … }
func (v *RollbackVisitor) VisitDaemonSet(kind apps.GroupKindElement) { … }
func (v *RollbackVisitor) VisitJob(kind apps.GroupKindElement) { … }
func (v *RollbackVisitor) VisitPod(kind apps.GroupKindElement) { … }
func (v *RollbackVisitor) VisitReplicaSet(kind apps.GroupKindElement) { … }
func (v *RollbackVisitor) VisitReplicationController(kind apps.GroupKindElement) { … }
func (v *RollbackVisitor) VisitCronJob(kind apps.GroupKindElement) { … }
func RollbackerFor(kind schema.GroupKind, c kubernetes.Interface) (Rollbacker, error) { … }
type DeploymentRollbacker …
func (r *DeploymentRollbacker) Rollback(obj runtime.Object, updatedAnnotations map[string]string, toRevision int64, dryRunStrategy cmdutil.DryRunStrategy) (string, error) { … }
func equalIgnoreHash(template1, template2 *corev1.PodTemplateSpec) bool { … }
var annotationsToSkip …
func getDeploymentPatch(podTemplate *corev1.PodTemplateSpec, annotations map[string]string) (types.PatchType, []byte, error) { … }
func deploymentRevision(deployment *appsv1.Deployment, c kubernetes.Interface, toRevision int64) (revision *appsv1.ReplicaSet, err error) { … }
type DaemonSetRollbacker …
func (r *DaemonSetRollbacker) Rollback(obj runtime.Object, updatedAnnotations map[string]string, toRevision int64, dryRunStrategy cmdutil.DryRunStrategy) (string, error) { … }
func daemonSetMatch(ds *appsv1.DaemonSet, history *appsv1.ControllerRevision) (bool, error) { … }
func getDaemonSetPatch(ds *appsv1.DaemonSet) ([]byte, error) { … }
type StatefulSetRollbacker …
func (r *StatefulSetRollbacker) Rollback(obj runtime.Object, updatedAnnotations map[string]string, toRevision int64, dryRunStrategy cmdutil.DryRunStrategy) (string, error) { … }
var appsCodec …
func applyRevision(set *appsv1.StatefulSet, revision *appsv1.ControllerRevision) (*appsv1.StatefulSet, error) { … }
func statefulsetMatch(ss *appsv1.StatefulSet, history *appsv1.ControllerRevision) (bool, error) { … }
func getStatefulSetPatch(set *appsv1.StatefulSet) ([]byte, error) { … }
func findHistory(toRevision int64, allHistory []*appsv1.ControllerRevision) *appsv1.ControllerRevision { … }
func printPodTemplate(specTemplate *corev1.PodTemplateSpec) (string, error) { … }
func revisionNotFoundErr(r int64) error { … }
type historiesByRevision …
func (h historiesByRevision) Len() int { … }
func (h historiesByRevision) Swap(i, j int) { … }
func (h historiesByRevision) Less(i, j int) bool { … }