Documentation ¶
Index ¶
- func HasRelevantControlPlaneConfigUpdates(oldCpConfig *apisvsphere.ControlPlaneConfig, ...) bool
- func HasRelevantInfrastructureConfigUpdates(oldInfra *api.InfrastructureConfig, newInfra *api.InfrastructureConfig) bool
- func OverwriteLoadBalancerClasses(constraintsClasses []apisvsphere.LoadBalancerClass, ...) (*apisvsphere.LoadBalancerClass, []apisvsphere.LoadBalancerClass, error)
- func ValidateCloudProfileConfig(profileSpec *gardencorev1beta1.CloudProfileSpec, ...) field.ErrorList
- func ValidateControlPlaneConfig(controlPlaneConfig *apisvsphere.ControlPlaneConfig, fldPath *field.Path) field.ErrorList
- func ValidateControlPlaneConfigAgainstCloudProfile(cpConfig *apisvsphere.ControlPlaneConfig, shootRegion string, ...) field.ErrorList
- func ValidateControlPlaneConfigUpdate(oldConfig, newConfig *apisvsphere.ControlPlaneConfig, fldPath *field.Path) field.ErrorList
- func ValidateInfrastructureConfig(infra *api.InfrastructureConfig, fldPath *field.Path) field.ErrorList
- func ValidateInfrastructureConfigAgainstCloudProfile(infra *api.InfrastructureConfig, shootRegion 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 HasRelevantControlPlaneConfigUpdates ¶
func HasRelevantControlPlaneConfigUpdates(oldCpConfig *apisvsphere.ControlPlaneConfig, newCpConfig *apisvsphere.ControlPlaneConfig) bool
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 []apisvsphere.LoadBalancerClass, cpConfig *apisvsphere.ControlPlaneConfig, checkIPPoolName func(name string) error) (*apisvsphere.LoadBalancerClass, []apisvsphere.LoadBalancerClass, error)
OverwriteLoadBalancerClasses uses load balancer constraints classes as defaults for cpConfig load balancer classes. The checkIPPoolName function is optional. It can be used to check that the name provided by the shoot manifest is authorized.
func ValidateCloudProfileConfig ¶
func ValidateCloudProfileConfig(profileSpec *gardencorev1beta1.CloudProfileSpec, profileConfig *apisvsphere.CloudProfileConfig) field.ErrorList
ValidateCloudProfileConfig validates a CloudProfileConfig object.
func ValidateControlPlaneConfig ¶
func ValidateControlPlaneConfig(controlPlaneConfig *apisvsphere.ControlPlaneConfig, fldPath *field.Path) field.ErrorList
ValidateControlPlaneConfig validates a ControlPlaneConfig object.
func ValidateControlPlaneConfigAgainstCloudProfile ¶
func ValidateControlPlaneConfigAgainstCloudProfile(cpConfig *apisvsphere.ControlPlaneConfig, shootRegion string, cloudProfile *gardencorev1beta1.CloudProfile, cloudProfileConfig *apisvsphere.CloudProfileConfig, fldPath *field.Path) field.ErrorList
ValidateControlPlaneConfigAgainstCloudProfile validates the given ControlPlaneConfig against constraints in the given CloudProfile.
func ValidateControlPlaneConfigUpdate ¶
func ValidateControlPlaneConfigUpdate(oldConfig, newConfig *apisvsphere.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, 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 ValidateNetworking ¶
ValidateNetworking validates the network settings of a Shoot.
func ValidateWorkers ¶
ValidateWorkers validates the workers of a Shoot.
Types ¶
This section is empty.