Documentation ¶
Index ¶
- Constants
- func ValidateCloudProfileConfig(cloudProfileConfig *apismetal.CloudProfileConfig, ...) field.ErrorList
- func ValidateCloudProviderSecret(secret *corev1.Secret) error
- func ValidateControlPlaneConfig(controlPlaneConfig *apismetal.ControlPlaneConfig, ...) field.ErrorList
- func ValidateControlPlaneConfigNetworkAccess(controlPlaneConfig *apismetal.ControlPlaneConfig, ...) field.ErrorList
- func ValidateFirewallControllerVersion(availableVersions []apismetal.FirewallControllerVersion, specVersion string) (*apismetal.FirewallControllerVersion, error)
- func ValidateImmutableCloudProfileConfig(newCloudProfileConfig *apismetal.CloudProfileConfig, ...) field.ErrorList
- func ValidateInfrastructureConfig(infra *apismetal.InfrastructureConfig) field.ErrorList
- func ValidateInfrastructureConfigAgainstCloudProfile(infra *apismetal.InfrastructureConfig, shoot *core.Shoot, ...) field.ErrorList
- func ValidateInfrastructureConfigUpdate(oldConfig, newConfig *apismetal.InfrastructureConfig, ...) field.ErrorList
- func ValidateWorkers(workers []core.Worker, cloudProfile *gardencorev1beta1.CloudProfile, ...) field.ErrorList
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
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.
Click to show internal directories.
Click to hide internal directories.