Documentation
¶
Overview ¶
Package validation - validation is used to validate cloud specific ProviderSpec
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateMachineClassProvider ¶
func ValidateMachineClassProvider(mcc *v1alpha1.MachineClass) error
ValidateMachineClassProvider checks if the Provider in MachineClass is Azure. If it is not then it will return an error indicating that this provider implementation cannot fulfill the request.
func ValidateMachineSetConfig ¶
func ValidateMachineSetConfig(machineSetConfig *api.AzureMachineSetConfig) field.ErrorList
ValidateMachineSetConfig validates the now deprecated api.AzureMachineSetConfig. This method should be removed once all consumers have migrated away from using this field and moved completely to either api.AzureVirtualMachineProperties.AvailabilitySet or AzureVirtualMachineProperties.VirtualMachineScaleSet
func ValidateProviderSecret ¶
ValidateProviderSecret validates the secret containing the config to create Azure API clients.
func ValidateProviderSpec ¶
func ValidateProviderSpec(spec api.AzureProviderSpec) field.ErrorList
ValidateProviderSpec validates the api.AzureProviderSpec.
Types ¶
This section is empty.