const ControllerRevisionHashLabel …
func ControllerRevisionName(prefix string, hash string) string { … }
func NewControllerRevision(parent metav1.Object,
parentKind schema.GroupVersionKind,
templateLabels map[string]string,
data runtime.RawExtension,
revision int64,
collisionCount *int32) (*apps.ControllerRevision, error) { … }
func HashControllerRevision(revision *apps.ControllerRevision, probe *int32) string { … }
func SortControllerRevisions(revisions []*apps.ControllerRevision) { … }
func EqualRevision(lhs *apps.ControllerRevision, rhs *apps.ControllerRevision) bool { … }
func FindEqualRevisions(revisions []*apps.ControllerRevision, needle *apps.ControllerRevision) []*apps.ControllerRevision { … }
type byRevision …
func (br byRevision) Len() int { … }
func (br byRevision) Less(i, j int) bool { … }
func (br byRevision) Swap(i, j int) { … }
type Interface …
func NewHistory(client clientset.Interface, lister appslisters.ControllerRevisionLister) Interface { … }
func NewFakeHistory(informer appsinformers.ControllerRevisionInformer) Interface { … }
type realHistory …
func (rh *realHistory) ListControllerRevisions(parent metav1.Object, selector labels.Selector) ([]*apps.ControllerRevision, error) { … }
func (rh *realHistory) CreateControllerRevision(parent metav1.Object, revision *apps.ControllerRevision, collisionCount *int32) (*apps.ControllerRevision, error) { … }
func (rh *realHistory) UpdateControllerRevision(revision *apps.ControllerRevision, newRevision int64) (*apps.ControllerRevision, error) { … }
func (rh *realHistory) DeleteControllerRevision(revision *apps.ControllerRevision) error { … }
type objectForPatch …
type objectMetaForPatch …
func (rh *realHistory) AdoptControllerRevision(parent metav1.Object, parentKind schema.GroupVersionKind, revision *apps.ControllerRevision) (*apps.ControllerRevision, error) { … }
func (rh *realHistory) ReleaseControllerRevision(parent metav1.Object, revision *apps.ControllerRevision) (*apps.ControllerRevision, error) { … }
type fakeHistory …
func (fh *fakeHistory) ListControllerRevisions(parent metav1.Object, selector labels.Selector) ([]*apps.ControllerRevision, error) { … }
func (fh *fakeHistory) addRevision(revision *apps.ControllerRevision) (*apps.ControllerRevision, error) { … }
func (fh *fakeHistory) CreateControllerRevision(parent metav1.Object, revision *apps.ControllerRevision, collisionCount *int32) (*apps.ControllerRevision, error) { … }
func (fh *fakeHistory) DeleteControllerRevision(revision *apps.ControllerRevision) error { … }
func (fh *fakeHistory) UpdateControllerRevision(revision *apps.ControllerRevision, newRevision int64) (*apps.ControllerRevision, error) { … }
func (fh *fakeHistory) AdoptControllerRevision(parent metav1.Object, parentKind schema.GroupVersionKind, revision *apps.ControllerRevision) (*apps.ControllerRevision, error) { … }
func (fh *fakeHistory) ReleaseControllerRevision(parent metav1.Object, revision *apps.ControllerRevision) (*apps.ControllerRevision, error) { … }