Documentation ¶
Overview ¶
Package validation contains functions to validate controller specifications
Package validation contains functions to validate controller specifications ¶
Package validation contains functions to validate controller specifications ¶
Package validation contains functions to validate controller specifications ¶
Package validation contains functions to validate controller specifications
Index ¶
- func ValidateCloudProfileConfig(profileSpec *gardencorev1beta1.CloudProfileSpec, ...) field.ErrorList
- func ValidateControlPlaneConfig(controlPlaneConfig *apis.ControlPlaneConfig, ...) field.ErrorList
- func ValidateInfrastructureConfig(infraConfig *apis.InfrastructureConfig, nodes *string, pods *string, ...) field.ErrorList
- func ValidateInfrastructureConfigAgainstCloudProfile(oldInfraConfig *apis.InfrastructureConfig, ...) field.ErrorList
- func ValidateInfrastructureConfigSpec(spec *apis.InfrastructureConfig) []error
- func ValidateInfrastructureConfigUpdate(oldInfraConfig *apis.InfrastructureConfig, ...) field.ErrorList
- func ValidateShootNetworking(networking core.Networking) field.ErrorList
- func ValidateWorkers(workers []core.Worker, fldPath *field.Path) field.ErrorList
- func ValidateWorkersUpdate(oldWorkers, newWorkers []core.Worker, fldPath *field.Path) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCloudProfileConfig ¶
func ValidateCloudProfileConfig(profileSpec *gardencorev1beta1.CloudProfileSpec, profileConfig *apis.CloudProfileConfig) field.ErrorList
ValidateCloudProfileConfig validates a CloudProfileConfig object.
func ValidateControlPlaneConfig ¶ added in v0.3.0
func ValidateControlPlaneConfig(controlPlaneConfig *apis.ControlPlaneConfig, allowedZones, workerZones sets.String, version string, fldPath *field.Path) field.ErrorList
ValidateControlPlaneConfig validates a ControlPlaneConfig object.
func ValidateInfrastructureConfig ¶ added in v0.4.4
func ValidateInfrastructureConfig(infraConfig *apis.InfrastructureConfig, nodes *string, pods *string, services *string) field.ErrorList
ValidateInfrastructureConfig validates infrastructure config
func ValidateInfrastructureConfigAgainstCloudProfile ¶ added in v0.4.4
func ValidateInfrastructureConfigAgainstCloudProfile( oldInfraConfig *apis.InfrastructureConfig, infraConfig *apis.InfrastructureConfig, shoot *core.Shoot, cloudProfile *gardencorev1beta1.CloudProfile, fldPath *field.Path) field.ErrorList
ValidateInfrastructureConfigAgainstCloudProfile validates InfrastructureConfig against CloudProfile
func ValidateInfrastructureConfigSpec ¶
func ValidateInfrastructureConfigSpec(spec *apis.InfrastructureConfig) []error
ValidateInfrastructureConfigSpec validates provider specification to check if all fields are present and valid
PARAMETERS spec *apis.InfrastructureConfig Provider specification to validate
func ValidateInfrastructureConfigUpdate ¶ added in v0.4.4
func ValidateInfrastructureConfigUpdate(oldInfraConfig *apis.InfrastructureConfig, infraConfig *apis.InfrastructureConfig) field.ErrorList
func ValidateShootNetworking ¶ added in v0.4.4
func ValidateShootNetworking(networking core.Networking) field.ErrorList
ValidateShootNetworking validates the networking section for a shoot
func ValidateWorkers ¶
ValidateWorkers validates the workers of a Shoot.
Types ¶
This section is empty.