package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
ControllerRevisionName returns the Name for a ControllerRevision in the form prefix-hash.
EqualRevision returns true if lhs and rhs are either both nil, or both point to non-nil ControllerRevisions that contain semantically equivalent data.
FindEqualRevisions returns all ControllerRevisions in revisions that are equal to needle using EqualRevision as the equality test.
HashControllerRevision hashes the contents of revision's Data using FNV hashing.
NewControllerRevision returns a ControllerRevision with a ControllerRef pointing to parent and indicating that parent is of parentKind.
NewFakeHistory returns an instance of Interface that uses informer to create, update, list, and delete ControllerRevisions.
NewHistory returns an instance of Interface that uses client to communicate with the API Server and lister to list ControllerRevisions.
SortControllerRevisions sorts revisions by their Revision.
# Constants
ControllerRevisionHashLabel is the label used to indicate the hash value of a ControllerRevision's Data.
# Interfaces
Interface provides an interface allowing for management of a Controller's history as realized by recorded ControllerRevisions.