Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateRolloutPhase ¶
func CalculateRolloutPhase(spec v1alpha1.RolloutSpec, status v1alpha1.RolloutStatus) (v1alpha1.RolloutPhase, string)
CalculateRolloutPhase calculates a rollout phase and message for the given rollout based on rollout spec and status. This function is intended to be used by the controller (and not by clients). Clients should instead call GetRolloutPhase, which takes into consideration status.observedGeneration
func CanaryStepString ¶
func CanaryStepString(c v1alpha1.CanaryStep) string
CanaryStepString returns a string representation of a canary step
func GetRolloutPhase ¶
func GetRolloutPhase(ro *v1alpha1.Rollout) (v1alpha1.RolloutPhase, string)
GetRolloutPhase returns a status and message for a rollout. Takes into consideration whether or not metadata.generation was observed in status.observedGeneration use this instead of CalculateRolloutPhase
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.