Documentation ¶
Index ¶
- func DefaultRolloutBatches(rollout *v1alpha1.RolloutPlan)
- func DefaultRolloutPlan(rollout *v1alpha1.RolloutPlan)
- func FillRolloutBatches(rollout *v1alpha1.RolloutPlan, totalSize int, numBatches int)
- func ValidateCreate(client client.Client, rollout *v1alpha1.RolloutPlan, rootPath *field.Path) field.ErrorList
- func ValidateUpdate(client client.Client, new *v1alpha1.RolloutPlan, prev *v1alpha1.RolloutPlan, ...) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultRolloutBatches ¶ added in v1.0.3
func DefaultRolloutBatches(rollout *v1alpha1.RolloutPlan)
DefaultRolloutBatches set the default values for a rollout batches This is called by the mutation webhooks and before the validators
func DefaultRolloutPlan ¶
func DefaultRolloutPlan(rollout *v1alpha1.RolloutPlan)
DefaultRolloutPlan set the default values for a rollout plan
func FillRolloutBatches ¶ added in v1.0.2
func FillRolloutBatches(rollout *v1alpha1.RolloutPlan, totalSize int, numBatches int)
FillRolloutBatches fills the replicas in each batch depends on the total size and number of batches
func ValidateCreate ¶
func ValidateCreate(client client.Client, rollout *v1alpha1.RolloutPlan, rootPath *field.Path) field.ErrorList
ValidateCreate validate the rollout plan
func ValidateUpdate ¶
func ValidateUpdate(client client.Client, new *v1alpha1.RolloutPlan, prev *v1alpha1.RolloutPlan, rootPath *field.Path) field.ErrorList
ValidateUpdate validate if one can change the rollout plan from the previous psec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.