Documentation ¶
Index ¶
- Constants
- func ValidateCloudProfileConfig(cloudProfile *apisalicloud.CloudProfileConfig, fldPath *field.Path) field.ErrorList
- func ValidateCloudProviderSecret(secret *corev1.Secret) error
- func ValidateControlPlaneConfig(controlPlaneConfig *apisalicloud.ControlPlaneConfig, version string, ...) field.ErrorList
- func ValidateEnhancedNatGateway(natGatewayTargetZone apisalicloud.Zone, validZones []string, ...) field.ErrorList
- func ValidateInfrastructureConfig(infra *apisalicloud.InfrastructureConfig, networking *core.Networking, ...) field.ErrorList
- func ValidateInfrastructureConfigUpdate(oldConfig, newConfig *apisalicloud.InfrastructureConfig) field.ErrorList
- func ValidateNatGatewayConfig(natGateway *apisalicloud.NatGatewayConfig, fldPath *field.Path) field.ErrorList
- func ValidateNetworkZonesConfig(newZones, oldZones []apisalicloud.Zone, fldPath *field.Path) field.ErrorList
- func ValidateNetworking(networking *core.Networking, fldPath *field.Path) field.ErrorList
- func ValidateNetworkingUpdate(oldNetworking, newNetworking *core.Networking, fldPath *field.Path) field.ErrorList
- func ValidateWorkers(workers []core.Worker, zones []apisalicloud.Zone, fldPath *field.Path) field.ErrorList
- func ValidateWorkersUpdate(oldWorkers, newWorkers []core.Worker, fldPath *field.Path) field.ErrorList
Constants ¶
const ( // ReservedCIDR is a IPV4 CIDR reserved for AliCloud internal usage. // For example: the meta service endpoint is 100.100.100.200. ReservedCIDR = "100.64.0.0/10" )
Variables ¶
This section is empty.
Functions ¶
func ValidateCloudProfileConfig ¶
func ValidateCloudProfileConfig(cloudProfile *apisalicloud.CloudProfileConfig, fldPath *field.Path) field.ErrorList
ValidateCloudProfileConfig validates a CloudProfileConfig object.
func ValidateCloudProviderSecret ¶ added in v1.25.0
ValidateCloudProviderSecret checks whether the given secret contains a valid Alicloud access keys.
func ValidateControlPlaneConfig ¶
func ValidateControlPlaneConfig(controlPlaneConfig *apisalicloud.ControlPlaneConfig, version string, fldPath *field.Path) field.ErrorList
ValidateControlPlaneConfig validates a ControlPlaneConfig object.
func ValidateEnhancedNatGateway ¶ added in v1.34.0
func ValidateEnhancedNatGateway(natGatewayTargetZone apisalicloud.Zone, validZones []string, fldPath *field.Path) field.ErrorList
ValidateEnhancedNatGateway validates whether enhanced natGateway is available in given zone
func ValidateInfrastructureConfig ¶
func ValidateInfrastructureConfig(infra *apisalicloud.InfrastructureConfig, networking *core.Networking, natGatewayZones []string) field.ErrorList
ValidateInfrastructureConfig validates a InfrastructureConfig object.
func ValidateInfrastructureConfigUpdate ¶
func ValidateInfrastructureConfigUpdate(oldConfig, newConfig *apisalicloud.InfrastructureConfig) field.ErrorList
ValidateInfrastructureConfigUpdate validates a InfrastructureConfig object.
func ValidateNatGatewayConfig ¶ added in v1.12.0
func ValidateNatGatewayConfig(natGateway *apisalicloud.NatGatewayConfig, fldPath *field.Path) field.ErrorList
ValidateNatGatewayConfig validates a NatGatewayConfig object.
func ValidateNetworkZonesConfig ¶ added in v1.14.0
func ValidateNetworkZonesConfig(newZones, oldZones []apisalicloud.Zone, fldPath *field.Path) field.ErrorList
ValidateNetworkZonesConfig validates a Zone slice.
func ValidateNetworking ¶ added in v1.7.0
ValidateNetworking validates the network settings of a Shoot during creation.
func ValidateNetworkingUpdate ¶ added in v1.21.0
func ValidateNetworkingUpdate(oldNetworking, newNetworking *core.Networking, fldPath *field.Path) field.ErrorList
ValidateNetworkingUpdate validates the network setting of a Shoot during update. The network CIDR settings should be immutable.
func ValidateWorkers ¶ added in v1.7.0
func ValidateWorkers(workers []core.Worker, zones []apisalicloud.Zone, fldPath *field.Path) field.ErrorList
ValidateWorkers validates the workers of a Shoot.
Types ¶
This section is empty.