# Functions

RemoveRolloutWorkloadRefGeneration remove the annotation of workload ref generation.
SetNewReplicaSetAnnotations sets new replica set's annotations appropriately by updating its revision and copying required rollout annotations to it; it returns true if replica set's annotation is changed.
SetReplicasAnnotations sets the desiredReplicas into the annotations.
SetRolloutRevision updates the revision for a rollout.
SetRolloutWorkloadRefGeneration updates the workflow generation annotation for a rollout.

# Constants

No description provided by the author
No description provided by the author
DesiredReplicasAnnotation is the desired replicas for a rollout recorded as an annotation in its replica sets.
RevisionAnnotation is the revision annotation of a rollout's replica sets which records its rollout sequence.
RevisionHistoryAnnotation maintains the history of all old revisions that a replica set has served for a rollout.
RevisionLastAnnotation 最近一次的revision,用于乐观锁判断.
RolloutLabel key value for the label in the annotations and selector.
WorkloadGenerationAnnotation is the generation of the referenced workload.