package
0.5.0
Repository: https://github.com/openkruise/rollouts.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

BuildReleaseControlInfo return a NewControllerRef of release with escaped `"`.
CalculateBatchReplicas return the planned updated replicas of current batch.
GenerateNotFoundError return a not found error.
IsControlledByBatchRelease return true if * object ownerReference has referred release; * object has batchRelease control info annotation about release.
IsCurrentMoreThanOrEqualToDesired return true if current >= desired.
ParseIntegerAsPercentageIfPossible will return a percentage type IntOrString, such as "20%", "33%", but "33.3%" is illegal.
ShouldWaitResume return true if FinalizingPolicy is "waitResume".

# Constants

WorkloadHasGone means workload is deleted during rollout, we should do something finalizing works if this event occurs.
WorkloadNormalState means workload is normal and event should be ignored.
WorkloadPodTemplateChanged means workload revision changed, should be stopped to execute batch release plan.
WorkloadReplicasChanged means workload is scaling during rollout, should recalculate upgraded pods in current batch.
WorkloadRollbackInBatch means workload is rollback according to BatchRelease batch plan.
WorkloadStillReconciling means workload status is untrusted Untrustworthy, we should wait workload controller to reconcile.
WorkloadUnknownState means workload state is unknown and should retry.

# Interfaces

Interface is the interface that all type of control plane implements for rollout.

# Type aliases

No description provided by the author