Documentation ¶
Index ¶
- func ValidateCloudNatConfig(config *apisgcp.CloudNAT, fldPath *field.Path) field.ErrorList
- func ValidateCloudProfileConfig(cpConfig *apisgcp.CloudProfileConfig, machineImages []core.MachineImage, ...) field.ErrorList
- func ValidateCloudProviderSecret(secret *corev1.Secret) error
- func ValidateControlPlaneConfig(controlPlaneConfig *apisgcp.ControlPlaneConfig, ...) field.ErrorList
- func ValidateControlPlaneConfigUpdate(oldConfig, newConfig *apisgcp.ControlPlaneConfig, fldPath *field.Path) field.ErrorList
- func ValidateInfrastructureConfig(infra *apisgcp.InfrastructureConfig, nodesCIDR, podsCIDR, servicesCIDR *string, ...) field.ErrorList
- func ValidateInfrastructureConfigUpdate(oldConfig, newConfig *apisgcp.InfrastructureConfig, fldPath *field.Path) field.ErrorList
- func ValidateNetworking(networking *core.Networking, fldPath *field.Path) field.ErrorList
- func ValidateWorkerConfig(workerConfig *gcp.WorkerConfig, dataVolumes []core.DataVolume) 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 ValidateCloudNatConfig ¶ added in v1.35.0
ValidateCloudNatConfig validates the config of the CloudNat. We intentionally keep the validation light, only checking for gotchas (e.g. the port counts having to be powers of two) and obvious errors.
func ValidateCloudProfileConfig ¶
func ValidateCloudProfileConfig(cpConfig *apisgcp.CloudProfileConfig, machineImages []core.MachineImage, fldPath *field.Path) field.ErrorList
ValidateCloudProfileConfig validates a CloudProfileConfig object.
func ValidateCloudProviderSecret ¶ added in v1.8.0
ValidateCloudProviderSecret checks whether the given secret contains a valid GCP service account.
func ValidateControlPlaneConfig ¶
func ValidateControlPlaneConfig(controlPlaneConfig *apisgcp.ControlPlaneConfig, allowedZones, workerZones sets.Set[string], version string, fldPath *field.Path) field.ErrorList
ValidateControlPlaneConfig validates a ControlPlaneConfig object.
func ValidateControlPlaneConfigUpdate ¶
func ValidateControlPlaneConfigUpdate(oldConfig, newConfig *apisgcp.ControlPlaneConfig, fldPath *field.Path) field.ErrorList
ValidateControlPlaneConfigUpdate validates a ControlPlaneConfig object.
func ValidateInfrastructureConfig ¶
func ValidateInfrastructureConfig(infra *apisgcp.InfrastructureConfig, nodesCIDR, podsCIDR, servicesCIDR *string, fldPath *field.Path) field.ErrorList
ValidateInfrastructureConfig validates a InfrastructureConfig object.
func ValidateInfrastructureConfigUpdate ¶
func ValidateInfrastructureConfigUpdate(oldConfig, newConfig *apisgcp.InfrastructureConfig, fldPath *field.Path) field.ErrorList
ValidateInfrastructureConfigUpdate validates a InfrastructureConfig object.
func ValidateNetworking ¶ added in v1.4.0
ValidateNetworking validates the network settings of a Shoot.
func ValidateWorkerConfig ¶ added in v1.6.0
func ValidateWorkerConfig(workerConfig *gcp.WorkerConfig, dataVolumes []core.DataVolume) field.ErrorList
ValidateWorkerConfig validates a WorkerConfig object.
func ValidateWorkers ¶ added in v1.4.0
ValidateWorkers validates the workers of a Shoot.
Types ¶
This section is empty.