validation

package
v1.34.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0, MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCloudProfileConfig

func ValidateCloudProfileConfig(cloudProfile *apisazure.CloudProfileConfig, fldPath *field.Path) field.ErrorList

ValidateCloudProfileConfig validates a CloudProfileConfig object.

func ValidateCloudProviderSecret added in v1.21.0

func ValidateCloudProviderSecret(secret, oldSecret *corev1.Secret) error

ValidateCloudProviderSecret checks whether the given secret contains a valid Azure client credentials. It also does not allow subscription and tennat IDs to be changed when the secret is still used by shoot clusters.

func ValidateControlPlaneConfig added in v1.21.0

func ValidateControlPlaneConfig(controlPlaneConfig *apisazure.ControlPlaneConfig, version string, fldPath *field.Path) field.ErrorList

ValidateControlPlaneConfig validates a ControlPlaneConfig object.

func ValidateInfrastructureConfig

func ValidateInfrastructureConfig(infra *apisazure.InfrastructureConfig, nodesCIDR, podsCIDR, servicesCIDR *string, hasVmoAlphaAnnotation bool, fldPath *field.Path) field.ErrorList

ValidateInfrastructureConfig validates a InfrastructureConfig object.

func ValidateInfrastructureConfigAgainstCloudProfile added in v1.25.0

func ValidateInfrastructureConfigAgainstCloudProfile(oldInfra, infra *apisazure.InfrastructureConfig, shootRegion string, cloudProfile *gardencorev1beta1.CloudProfile, fld *field.Path) field.ErrorList

ValidateInfrastructureConfigAgainstCloudProfile validates the InfrastructureConfig against the CloudProfile.

func ValidateInfrastructureConfigUpdate

func ValidateInfrastructureConfigUpdate(oldConfig, newConfig *apisazure.InfrastructureConfig, providerPath *field.Path) field.ErrorList

ValidateInfrastructureConfigUpdate validates a InfrastructureConfig object.

func ValidateNetworking added in v1.4.0

func ValidateNetworking(networking core.Networking, fldPath *field.Path) field.ErrorList

ValidateNetworking validates the network settings of a Shoot.

func ValidateVmoConfigUpdate added in v1.18.0

func ValidateVmoConfigUpdate(oldShootHasAlphaVmoAnnotation, newShootHasAlphaVmoAnnotation bool, metaDataPath *field.Path) field.ErrorList

ValidateVmoConfigUpdate validates the VMO configuration on update.

func ValidateWorkerConfig added in v1.29.0

func ValidateWorkerConfig(workerConfig *apiazure.WorkerConfig, fldPath *field.Path) field.ErrorList

ValidateWorkerConfig validates a WorkerConfig object.

func ValidateWorkers added in v1.4.0

func ValidateWorkers(workers []core.Worker, infra *api.InfrastructureConfig, fldPath *field.Path) field.ErrorList

ValidateWorkers validates the workers of a Shoot.

func ValidateWorkersUpdate added in v1.4.0

func ValidateWorkersUpdate(oldWorkers, newWorkers []core.Worker, fldPath *field.Path) field.ErrorList

ValidateWorkersUpdate validates updates on `workers`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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