package
1.3.0-alpha.4
Repository: https://github.com/cmceniry/kubernetes.git
Documentation: pkg.go.dev

# Functions

FindNewReplicaSet returns the new RS this given deployment targets (the one with the same pod template).
FindOldReplicaSets returns the old replica sets targeted by the given Deployment, with the given PodList and slice of RSes.
GetActualReplicaCountForReplicaSets returns the sum of actual replicas of the given replica sets.
Returns the number of available pods corresponding to the given replica sets.
GetNewReplicaSet returns a replica set that matches the intent of the given deployment; get ReplicaSetList from client interface.
Returns the desired PodTemplateSpec for the new ReplicaSet corresponding to the given ReplicaSet.
GetOldReplicaSets returns the old replica sets targeted by the given Deployment; get PodList and ReplicaSetList from client interface.
No description provided by the author
Returns the sum of Replicas of the given replica sets.
No description provided by the author
No description provided by the author
LabelPodsWithHash labels all pods in the given podList with the new hash label.
ListPods returns a list of pods the given deployment targets.
ListReplicaSets returns a slice of RSes the given deployment targets.
NewRSNewReplicas calculates the number of replicas a deployment's new RS should have.
ResolveFenceposts resolves both maxSurge and maxUnavailable.
Revision returns the revision number of the input replica set.
SetFromReplicaSetTemplate sets the desired PodTemplateSpec from a replica set template to the given deployment.
Polls for deployment to be updated so that deployment.Status.ObservedGeneration >= desiredGeneration.
No description provided by the author
No description provided by the author

# Constants

The revision annotation of a deployment's replica sets which records its rollout sequence.
No description provided by the author
Here are the possible rollback event reasons.
No description provided by the author