validation

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProviderImagesContext

NewProviderImagesContext creates a new ImagesContext for provider images.

func ValidateCloudProfileConfig

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

ValidateCloudProfileConfig validates a CloudProfileConfig object.

func ValidateControlPlaneConfig

func ValidateControlPlaneConfig(controlPlaneConfig *stackitv1alpha1.ControlPlaneConfig, infraConfig *stackitv1alpha1.InfrastructureConfig, version string, 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(oldInfra, infra *stackitv1alpha1.InfrastructureConfig, cloudProfileConfig *stackitv1alpha1.CloudProfileConfig, fldPath *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(validationPath *field.Path, machineImage stackitv1alpha1.MachineImages) field.ErrorList

ValidateProviderMachineImage validates a CloudProfileConfig MachineImages entry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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