# Functions
AddFinalizer will add the given finalizer to the object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EnsureOwnerReference will add the given owner reference to the object if it doesn't exist yet.
EnsureUniqueOwnerReference will remove any owner ref with the same APIVersion and Kind, and then add the given ref to the owner references.
No description provided by the author
GenerateToken generates a new, random token that can be used as an admin and kubelet token.
No description provided by the author
No description provided by the author
GetDeploymentCondition returns the condition with the provided type.
No description provided by the author
No description provided by the author
No description provided by the author
HasFinalizer tells if a object has all the given finalizers.
HasFinalizerSuperset tells if the given finalizer(s) are a superset of the actual finalizers.
HasOnlyFinalizer tells if an object has only the given finalizer(s).
No description provided by the author
IsDeploymentRolloutComplete returns a bool saying whether the deployment completed and an error in case an unexpected condition arrives.
IsNodeReady returns true if a node is ready; false otherwise.
RemoveFinalizer removes the given finalizers from the object.
RemoveOwnerReferenceKinds removes any reference with the same APIVersion and Kind, notably ignoring the name.
RemoveOwnerReference removes any reference that has the same APIVersion, Kind and Name.
Revision returns the revision number of the input object.
No description provided by the author
No description provided by the author
No description provided by the author
ValidateKubernetesToken checks if a given token is syntactically correct.
No description provided by the author
# Constants
NodeControlPlaneLabel is the label on kubernetes control plane nodes.
RevisionAnnotation is the revision annotation of a deployment's replica sets which records its rollout sequence.
# Type aliases
No description provided by the author
No description provided by the author