Versions in this module Expand all Collapse all v0 v0.6.0 Sep 12, 2024 v0.5.3 Aug 26, 2024 Changes in this version + const ControllerRevisionHashLabel + var PodCodec = scheme.Codecs.LegacyCodec(corev1.SchemeGroupVersion) + func EqualRevision(lhs *apps.ControllerRevision, rhs *apps.ControllerRevision) bool + func FindEqualRevisions(revisions []*apps.ControllerRevision, needle *apps.ControllerRevision) []*apps.ControllerRevision + func SortControllerRevisions(revisions []*apps.ControllerRevision) + type OwnerAdapter interface + GetCollisionCount func(obj metav1.Object) *int32 + GetCurrentRevision func(obj metav1.Object) string + GetHistoryLimit func(obj metav1.Object) int32 + GetPatch func(obj metav1.Object) ([]byte, error) + GetSelector func(obj metav1.Object) *metav1.LabelSelector + IsInUsed func(obj metav1.Object, controllerRevision string) bool + type RevisionManager struct + func NewRevisionManager(client client.Client, scheme *runtime.Scheme, ownerGetter OwnerAdapter) *RevisionManager + func (rm *RevisionManager) ConstructRevisions(set client.Object, dryRun bool) (*apps.ControllerRevision, *apps.ControllerRevision, []*apps.ControllerRevision, ...)