Help us shape the future of Go! Take the 2026 Go Developer Survey

validation

package
v2.28.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNamespacedCloudProfileValidator added in v2.23.0

func NewNamespacedCloudProfileValidator(mgr manager.Manager) extensionswebhook.Validator

NewNamespacedCloudProfileValidator returns a new instance of a namespaced cloud profile validator.

func NewProviderImagesContext

NewProviderImagesContext creates a new ImagesContext for provider images.

func NewShootValidator added in v2.23.0

func NewShootValidator(mgr manager.Manager, allowApplicationLoadBalancerController bool) extensionswebhook.Validator

NewShootValidator returns a new instance of a shoot validator.

func ValidateCloudProfileConfig

func ValidateCloudProfileConfig(cloudProfile *stackitv1alpha1.CloudProfileConfig, machineImages []core.MachineImage, capabilityDefinitions []gardencorev1beta1.CapabilityDefinition, fldPath *field.Path) field.ErrorList

ValidateCloudProfileConfig validates a CloudProfileConfig object.

func ValidateControlPlaneConfig

func ValidateControlPlaneConfig(controlPlaneConfig *stackitv1alpha1.ControlPlaneConfig, version string, allowApplicationLoadBalancerController bool, fldPath *field.Path) field.ErrorList

ValidateControlPlaneConfig validates a ControlPlaneConfig object.

func ValidateControlPlaneConfigAgainstCloudProfile

func ValidateControlPlaneConfigAgainstCloudProfile(oldCpConfig, cpConfig *stackitv1alpha1.ControlPlaneConfig, cloudProfileConfig *stackitv1alpha1.CloudProfileConfig, fldPath *field.Path) field.ErrorList

ValidateControlPlaneConfigAgainstCloudProfile validates the given ControlPlaneConfig against constraints in the given CloudProfile.

func ValidateControlPlaneConfigUpdate

func ValidateControlPlaneConfigUpdate(_, _ *stackitv1alpha1.ControlPlaneConfig, _ *field.Path) field.ErrorList

ValidateControlPlaneConfigUpdate validates a ControlPlaneConfig object.

func ValidateInfrastructureConfig

func ValidateInfrastructureConfig(infra *stackitv1alpha1.InfrastructureConfig, nodesCIDR *string, fldPath *field.Path) field.ErrorList

ValidateInfrastructureConfig validates a InfrastructureConfig object.

func ValidateInfrastructureConfigAgainstCloudProfile

func ValidateInfrastructureConfigAgainstCloudProfile(_, _ *stackitv1alpha1.InfrastructureConfig, _ *stackitv1alpha1.CloudProfileConfig, _ *field.Path) field.ErrorList

ValidateInfrastructureConfigAgainstCloudProfile validates the given InfrastructureConfig against constraints in the given CloudProfile.

func ValidateInfrastructureConfigUpdate

func ValidateInfrastructureConfigUpdate(oldConfig, newConfig *stackitv1alpha1.InfrastructureConfig, fldPath *field.Path) field.ErrorList

ValidateInfrastructureConfigUpdate validates a InfrastructureConfig object.

func ValidateProviderMachineImage

func ValidateProviderMachineImage(providerImage stackitv1alpha1.MachineImages, capabilityDefinitions []gardencorev1beta1.CapabilityDefinition, validationPath *field.Path) field.ErrorList

ValidateProviderMachineImage validates a CloudProfileConfig MachineImages entry.

func ValidateSelfHostedShootExposureConfig added in v2.13.0

func ValidateSelfHostedShootExposureConfig(config *stackitv1alpha1.SelfHostedShootExposureConfig, fldPath *field.Path) field.ErrorList

ValidateSelfHostedShootExposureConfig validates a SelfHostedShootExposureConfig object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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