Documentation ¶
Index ¶
- func HasRelevantInfrastructureConfigUpdates(oldInfra *api.InfrastructureConfig, newInfra *api.InfrastructureConfig) bool
- func OverwriteLoadBalancerClasses(constraintsClasses []api.LoadBalancerClass, cpConfig *api.ControlPlaneConfig, ...) (*api.LoadBalancerClass, []api.LoadBalancerClass, error)
- 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(cpConfig *api.ControlPlaneConfig, shootOrg string, ...) field.ErrorList
- func ValidateControlPlaneConfigUpdate(oldConfig, newConfig *api.ControlPlaneConfig, fldPath *field.Path) field.ErrorList
- func ValidateInfrastructureConfig(infra *api.InfrastructureConfig, fldPath *field.Path) field.ErrorList
- func ValidateInfrastructureConfigAgainstCloudProfile(infra *api.InfrastructureConfig, shootOrg string, ...) field.ErrorList
- func ValidateInfrastructureConfigUpdate(oldConfig, newConfig *api.InfrastructureConfig, fldPath *field.Path) field.ErrorList
- func ValidateNetworking(networking core.Networking, fldPath *field.Path) field.ErrorList
- func ValidateWorkers(workers []core.Worker, fldPath *field.Path) 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 HasRelevantInfrastructureConfigUpdates ¶
func HasRelevantInfrastructureConfigUpdates(oldInfra *api.InfrastructureConfig, newInfra *api.InfrastructureConfig) bool
HasRelevantInfrastructureConfigUpdates returns true if given InfrastructureConfig has relevant changes
func OverwriteLoadBalancerClasses ¶
func OverwriteLoadBalancerClasses(constraintsClasses []api.LoadBalancerClass, cpConfig *api.ControlPlaneConfig, checkEdgeName func(name string) error) (*api.LoadBalancerClass, []api.LoadBalancerClass, error)
OverwriteLoadBalancerClasses uses load balancer constraints classes as defaults for cpConfig load balancer classes. The checkEdgeName function is optional. It can be used to check that the name provided by the shoot manifest is authorized.
func ValidateCloudProfileConfig ¶
func ValidateCloudProfileConfig(cloudProfile *api.CloudProfileConfig, fldPath *field.Path) field.ErrorList
ValidateCloudProfileConfig validates a CloudProfileConfig object.
func ValidateCloudProviderSecret ¶
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 ¶
func ValidateControlPlaneConfigAgainstCloudProfile(cpConfig *api.ControlPlaneConfig, shootOrg 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, fldPath *field.Path) field.ErrorList
ValidateInfrastructureConfig validates a InfrastructureConfig object.
func ValidateInfrastructureConfigAgainstCloudProfile ¶
func ValidateInfrastructureConfigAgainstCloudProfile(infra *api.InfrastructureConfig, shootOrg 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 ValidateNetworking ¶
ValidateNetworking validates the network settings of a Shoot.
func ValidateWorkers ¶
ValidateWorkers validates the workers of a Shoot.
Types ¶
This section is empty.