package
1.14.0-alpha.1
Repository: https://github.com/micnncim/kubernetes.git
Documentation: pkg.go.dev

# Functions

GetAllReplicaSets returns the old and new replica sets targeted by the given Deployment.
GetDeploymentCondition returns the condition with the provided type.
ResolveFenceposts resolves both maxSurge and maxUnavailable.
Revision returns the revision number of the input object.

# Constants

DesiredReplicasAnnotation is the desired replicas for a deployment recorded as an annotation in its replica sets.
MaxReplicasAnnotation is the maximum replicas a deployment can have at a given point, which is deployment.spec.replicas + maxSurge.
RevisionAnnotation is the revision annotation of a deployment's replica sets which records its rollout sequence.
RevisionHistoryAnnotation maintains the history of all old revisions that a replica set has served for a deployment.
RollbackDone is the done rollback event reason.
RollbackRevisionNotFound is not found rollback event reason.
RollbackTemplateUnchanged is the template unchanged rollback event reason.
TimedOutReason is added in a deployment when its newest replica set fails to show any progress within the given deadline (progressDeadlineSeconds).