Documentation
¶
Index ¶
- func FindFloatingPool(floatingPools []api.FloatingPool, domain, shootRegion, floatingPoolName string, ...) (*api.FloatingPool, field.ErrorList)
- func NewProviderImagesContext(providerImages []api.MachineImages) *gardener.ImagesContext[api.MachineImages, api.MachineImageVersion]
- func ValidateBackupBucketCredentialsRef(credentialsRef *corev1.ObjectReference, fldPath *field.Path) field.ErrorList
- func ValidateCloudProfileConfig(cloudProfile *api.CloudProfileConfig, machineImages []core.MachineImage, ...) field.ErrorList
- func ValidateCloudProviderSecret(secret *corev1.Secret, fldPath *field.Path, allowDNSKeys bool) field.ErrorList
- func ValidateControlPlaneConfig(controlPlaneConfig *api.ControlPlaneConfig, ...) field.ErrorList
- func ValidateControlPlaneConfigAgainstCloudProfile(oldCpConfig, cpConfig *api.ControlPlaneConfig, ...) field.ErrorList
- func ValidateControlPlaneConfigUpdate(_, _ *api.ControlPlaneConfig, _ *field.Path) field.ErrorList
- func ValidateInfrastructureConfig(infra *api.InfrastructureConfig, nodesCIDR *string, fldPath *field.Path) field.ErrorList
- func ValidateInfrastructureConfigAgainstCloudProfile(oldInfra, infra *api.InfrastructureConfig, domain, shootRegion string, ...) field.ErrorList
- func ValidateInfrastructureConfigUpdate(oldConfig, newConfig *api.InfrastructureConfig, fldPath *field.Path) field.ErrorList
- func ValidateLoadBalancerClasses(loadBalancerClasses []api.LoadBalancerClass, fldPath *field.Path) field.ErrorList
- func ValidateMachineLabels(worker *core.Worker, workerConfig *api.WorkerConfig, fldPath *field.Path) field.ErrorList
- func ValidateNetworking(networking *core.Networking, fldPath *field.Path) field.ErrorList
- func ValidateNodeTemplate(nodeTemplate *extensionsv1alpha1.NodeTemplate, fldPath *field.Path) field.ErrorList
- func ValidateProviderMachineImage(providerImage api.MachineImages, ...) field.ErrorList
- func ValidateServerGroup(worker *core.Worker, sg *api.ServerGroup, ...) field.ErrorList
- func ValidateWorkerConfig(worker *core.Worker, workerConfig *api.WorkerConfig, ...) field.ErrorList
- func ValidateWorkers(workers []core.Worker, cloudProfileCfg *api.CloudProfileConfig, ...) field.ErrorList
- func ValidateWorkersUpdate(oldWorkers, newWorkers []core.Worker, fldPath *field.Path) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindFloatingPool ¶ added in v1.7.0
func FindFloatingPool(floatingPools []api.FloatingPool, domain, shootRegion, floatingPoolName string, fldPath *field.Path) (*api.FloatingPool, field.ErrorList)
FindFloatingPool finds best match for given domain, region, and name
func NewProviderImagesContext ¶ added in v1.47.0
func NewProviderImagesContext(providerImages []api.MachineImages) *gardener.ImagesContext[api.MachineImages, api.MachineImageVersion]
NewProviderImagesContext creates a new ImagesContext for provider images.
func ValidateBackupBucketCredentialsRef ¶ added in v1.50.0
func ValidateBackupBucketCredentialsRef(credentialsRef *corev1.ObjectReference, fldPath *field.Path) field.ErrorList
ValidateBackupBucketCredentialsRef validates credentialsRef is set to supported kind of credentials.
func ValidateCloudProfileConfig ¶
func ValidateCloudProfileConfig(cloudProfile *api.CloudProfileConfig, machineImages []core.MachineImage, capabilityDefinitions []gardencorev1beta1.CapabilityDefinition, fldPath *field.Path) field.ErrorList
ValidateCloudProfileConfig validates a CloudProfileConfig object.
func ValidateCloudProviderSecret ¶ added in v1.20.0
func ValidateCloudProviderSecret(secret *corev1.Secret, fldPath *field.Path, allowDNSKeys bool) field.ErrorList
ValidateCloudProviderSecret validates OpenStack credentials in a secret for both infrastructure and DNS use cases. It checks required fields (domainName, tenantName), validates authentication methods (username/password or application credentials), and ensures all field values meet format requirements. When allowDNSKeys is true, DNS-specific key aliases (e.g., OS_DOMAIN_NAME) are accepted.
func ValidateControlPlaneConfig ¶
func ValidateControlPlaneConfig(controlPlaneConfig *api.ControlPlaneConfig, infraConfig *api.InfrastructureConfig, version string, fldPath *field.Path) field.ErrorList
ValidateControlPlaneConfig validates a ControlPlaneConfig object.
func ValidateControlPlaneConfigAgainstCloudProfile ¶ added in v1.4.0
func ValidateControlPlaneConfigAgainstCloudProfile(oldCpConfig, cpConfig *api.ControlPlaneConfig, domain, shootRegion, floatingPoolName string, cloudProfileConfig *api.CloudProfileConfig, fldPath *field.Path) field.ErrorList
ValidateControlPlaneConfigAgainstCloudProfile validates the given ControlPlaneConfig against constraints in the given CloudProfile.
func ValidateControlPlaneConfigUpdate ¶
ValidateControlPlaneConfigUpdate validates a ControlPlaneConfig object.
func ValidateInfrastructureConfig ¶
func ValidateInfrastructureConfig(infra *api.InfrastructureConfig, nodesCIDR *string, fldPath *field.Path) field.ErrorList
ValidateInfrastructureConfig validates a InfrastructureConfig object.
func ValidateInfrastructureConfigAgainstCloudProfile ¶ added in v1.4.0
func ValidateInfrastructureConfigAgainstCloudProfile(oldInfra, infra *api.InfrastructureConfig, domain, shootRegion string, cloudProfileConfig *api.CloudProfileConfig, fldPath *field.Path) field.ErrorList
ValidateInfrastructureConfigAgainstCloudProfile validates the given InfrastructureConfig against constraints in the given CloudProfile.
func ValidateInfrastructureConfigUpdate ¶
func ValidateInfrastructureConfigUpdate(oldConfig, newConfig *api.InfrastructureConfig, fldPath *field.Path) field.ErrorList
ValidateInfrastructureConfigUpdate validates a InfrastructureConfig object.
func ValidateLoadBalancerClasses ¶ added in v1.19.0
func ValidateLoadBalancerClasses(loadBalancerClasses []api.LoadBalancerClass, fldPath *field.Path) field.ErrorList
ValidateLoadBalancerClasses validates a given list of LoadBalancerClass objects.
func ValidateMachineLabels ¶ added in v1.53.0
func ValidateMachineLabels(worker *core.Worker, workerConfig *api.WorkerConfig, fldPath *field.Path) field.ErrorList
ValidateMachineLabels validates the machine labels of a WorkerConfig resource.
func ValidateNetworking ¶ added in v1.4.0
ValidateNetworking validates the network settings of a Shoot.
func ValidateNodeTemplate ¶ added in v1.53.0
func ValidateNodeTemplate(nodeTemplate *extensionsv1alpha1.NodeTemplate, fldPath *field.Path) field.ErrorList
ValidateNodeTemplate validates the node template section of a WorkerConfig resource.
func ValidateProviderMachineImage ¶ added in v1.47.0
func ValidateProviderMachineImage(providerImage api.MachineImages, capabilityDefinitions []gardencorev1beta1.CapabilityDefinition, validationPath *field.Path) field.ErrorList
ValidateProviderMachineImage validates a CloudProfileConfig MachineImages entry.
func ValidateServerGroup ¶ added in v1.53.0
func ValidateServerGroup(worker *core.Worker, sg *api.ServerGroup, cloudProfileConfig *api.CloudProfileConfig, fldPath *field.Path) field.ErrorList
ValidateServerGroup validates the server group settings of a WorkerConfig resource.
func ValidateWorkerConfig ¶ added in v1.53.0
func ValidateWorkerConfig(worker *core.Worker, workerConfig *api.WorkerConfig, cloudProfileConfig *api.CloudProfileConfig, fldPath *field.Path) field.ErrorList
ValidateWorkerConfig validates the providerConfig section of a Worker resource.
func ValidateWorkers ¶ added in v1.4.0
func ValidateWorkers(workers []core.Worker, cloudProfileCfg *api.CloudProfileConfig, fldPath *field.Path) field.ErrorList
ValidateWorkers validates the workers of a Shoot.
Types ¶
This section is empty.