rollout

package
v0.0.0-...-2c539bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultRolloutBatches

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL