validation

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FirewallControllerVersionAuto = "auto"
)

Variables

This section is empty.

Functions

func ValidateCloudProfileConfig

func ValidateCloudProfileConfig(cloudProfileConfig *apismetal.CloudProfileConfig, cloudProfile *core.CloudProfile, providerConfigPath *field.Path) field.ErrorList

ValidateCloudProfileConfig validates a CloudProfileConfig object.

func ValidateCloudProviderSecret added in v0.24.3

func ValidateCloudProviderSecret(secret *corev1.Secret) error

ValidateCloudProviderSecret checks whether the given secret contains a valid metal-api credentials.

func ValidateControlPlaneConfig

func ValidateControlPlaneConfig(controlPlaneConfig *apismetal.ControlPlaneConfig, cloudProfile *gardencorev1beta1.CloudProfile, fldPath *field.Path) field.ErrorList

ValidateControlPlaneConfig validates a ControlPlaneConfig object.

func ValidateControlPlaneConfigNetworkAccess added in v0.22.0

func ValidateControlPlaneConfigNetworkAccess(controlPlaneConfig *apismetal.ControlPlaneConfig, cloudProfileConfig *apismetal.CloudProfileConfig, partitionName string, fldPath *field.Path) field.ErrorList

func ValidateFirewallControllerVersion added in v0.15.1

func ValidateFirewallControllerVersion(availableVersions []apismetal.FirewallControllerVersion, specVersion string) (*apismetal.FirewallControllerVersion, error)

func ValidateImmutableCloudProfileConfig added in v0.22.0

func ValidateImmutableCloudProfileConfig(
	newCloudProfileConfig *apismetal.CloudProfileConfig,
	oldCloudProfileConfig *apismetal.CloudProfileConfig,
	providerConfigPath *field.Path,
) field.ErrorList

func ValidateInfrastructureConfig

func ValidateInfrastructureConfig(infra *apismetal.InfrastructureConfig) field.ErrorList

ValidateInfrastructureConfig validates a InfrastructureConfig object.

func ValidateInfrastructureConfigAgainstCloudProfile

func ValidateInfrastructureConfigAgainstCloudProfile(infra *apismetal.InfrastructureConfig, shoot *core.Shoot, cloudProfile *gardencorev1beta1.CloudProfile, cloudProfileConfig *apismetal.CloudProfileConfig, fldPath *field.Path) field.ErrorList

ValidateInfrastructureConfigAgainstCloudProfile validates the given `InfrastructureConfig` against the given `CloudProfile`.

func ValidateInfrastructureConfigUpdate

func ValidateInfrastructureConfigUpdate(oldConfig, newConfig *apismetal.InfrastructureConfig, cloudProfileConfig *apismetal.CloudProfileConfig) field.ErrorList

ValidateInfrastructureConfigUpdate validates a InfrastructureConfig object.

func ValidateWorkers

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

ValidateWorkers validates the workers of a Shoot.

Types

This section is empty.

Jump to

Keyboard shortcuts

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