rollout

package
v1.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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