package
1.3.0-alpha.0
Repository: https://github.com/a-palchikov/kubernetes.git
Documentation: pkg.go.dev

# Functions

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.
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.
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
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.
Polls for deployment to be updated so that deployment.Status.ObservedGeneration >= desiredGeneration.

# 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