# Functions

ControllerRevisionName returns the Name for a ControllerRevision in the form prefix-hash.
DeepHashObject writes specified object to hash using the spew library which follows pointers and prints actual values of the nested objects ensuring the hash does not change when a pointer changes.
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.
No description provided by the author
GetPodCondition extracts the provided condition from the given status and returns that.
GetPodConditionFromList extracts the provided condition from the given list of condition and returns the index of the condition and the condition.
No description provided by the author
GetPodReadyCondition extracts the pod ready condition from the given status and returns that.
HashControllerRevision hashes the contents of revision's Data using FNV hashing.
IsPodReady returns true if a pod is ready; false otherwise.
IsPodReadyConditionTrue returns true if a pod is ready; false otherwise.
NewControllerRevision returns a ControllerRevision with a ControllerRef pointing to parent and indicating that parent is of parentKind.
NewPodControllerRefManager returns a PodControllerRefManager that exposes methods to manage the controllerRef of pods.
RecheckDeletionTimestamp returns a CanAdopt() function to recheck deletion.
SortControllerRevisions sorts revisions by their Revision.
UpdatePodCondition updates existing pod condition or creates a new one.

# Constants

ControllerRevisionHashLabel is the label used to indicate the hash value of a ControllerRevision's Data.
FailedCreatePodReason is added in an event and in a replica set condition when a pod for a replica set is failed to be created.
FailedDeletePodReason is added in an event and in a replica set condition when a pod for a replica set is failed to be deleted.
SuccessfulCreatePodReason is added in an event when a pod for a replica set is successfully created.
SuccessfulDeletePodReason is added in an event when a pod for a replica set is successfully deleted.

# Variables

ValidatePodName can be used to check whether the given pod name is valid.

# Structs

No description provided by the author
No description provided by the author
RealPodControl is the default implementation of PodControlInterface.

# Interfaces

PodControlInterface is an interface that knows how to add or delete pods created as an interface to allow testing.