validation

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

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

func ValidateProviderSecret(secret *corev1.Secret) field.ErrorList

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL