package
1.2.0-alpha.8
Repository: https://github.com/liugenping/kubernetes.git
Documentation: pkg.go.dev

# Functions

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.
GetNewReplicaSetFromList returns a replica set that matches the intent of the given deployment; get ReplicaSetList with the input function.
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.
GetOldReplicaSetsFromLists returns two sets of old replica sets targeted by the given Deployment; get PodList and ReplicaSetList with input functions.
Returns the sum of Replicas of the given replica sets.
No description provided by the author
NewRSNewReplicas calculates the number of replicas a deployment's new RS should have.
Revision returns the revision number of the input replica set.
SetFromReplicaSetTemplate sets the desired PodTemplateSpec from a replica set template to the given deployment.

# 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