package
1.5.0
Repository: https://github.com/openyurtio/openyurt.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.
SortControllerRevisions sorts revisions by their Revision.

# Constants

ControllerRevisionHashLabel is the label used to indicate the hash value of a ControllerRevision's Data.