Documentation ¶
Index ¶
- func FindFloatingPool(floatingPools []api.FloatingPool, domain, shootRegion, floatingPoolName string, ...) (*api.FloatingPool, field.ErrorList)
- func ValidateCloudProfileConfig(cloudProfile *api.CloudProfileConfig, fldPath *field.Path) field.ErrorList
- func ValidateCloudProviderSecret(secret *corev1.Secret) error
- func ValidateControlPlaneConfig(controlPlaneConfig *api.ControlPlaneConfig, version string, ...) field.ErrorList
- func ValidateControlPlaneConfigAgainstCloudProfile(oldCpConfig, cpConfig *api.ControlPlaneConfig, ...) field.ErrorList
- func ValidateControlPlaneConfigUpdate(oldConfig, newConfig *api.ControlPlaneConfig, fldPath *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 ValidateNetworking(networking core.Networking, fldPath *field.Path) field.ErrorList
- func ValidateShootCredentialsForK8sVersion(k8sVersion string, credentials openstack.Credentials, fldPath *field.Path) 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 ValidateCloudProfileConfig ¶
func ValidateCloudProfileConfig(cloudProfile *api.CloudProfileConfig, fldPath *field.Path) field.ErrorList
ValidateCloudProfileConfig validates a CloudProfileConfig object.
func ValidateCloudProviderSecret ¶ added in v1.20.0
ValidateCloudProviderSecret checks whether the given secret contains a valid OpenStack credentials.
func ValidateControlPlaneConfig ¶
func ValidateControlPlaneConfig(controlPlaneConfig *api.ControlPlaneConfig, 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 ¶
func ValidateControlPlaneConfigUpdate(oldConfig, newConfig *api.ControlPlaneConfig, fldPath *field.Path) field.ErrorList
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 ValidateNetworking ¶ added in v1.4.0
ValidateNetworking validates the network settings of a Shoot.
func ValidateShootCredentialsForK8sVersion ¶ added in v1.20.0
func ValidateShootCredentialsForK8sVersion(k8sVersion string, credentials openstack.Credentials, fldPath *field.Path) field.ErrorList
ValidateShootCredentialsForK8sVersion validates that the authentication method used by the user's credentials is supported for the requested Kubernetes version. All Kubernetes (CCM, kubelet, CSI) and Gardener (MCM) components that communicate with OpenStack's API must be able to use the provided credentials For K8s version <1.19, the kubelet is configured to use the in-tree cloud-provider, which doesn't support authentication with application credentials.
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.