validation

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0, MIT Imports: 9 Imported by: 0

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

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

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

ValidateWorkers validates the workers of a Shoot.

func ValidateWorkersUpdate

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