Documentation ¶
Index ¶
- Variables
- func ValidateDiskEncryption(p *azure.MachinePool, cloudName azure.CloudEnvironment, fldPath *field.Path) field.ErrorList
- func ValidateEncryptionAtHost(p *azure.MachinePool, cloudName azure.CloudEnvironment, fldPath *field.Path) field.ErrorList
- func ValidateMachinePool(p *azure.MachinePool, poolName string, platform *azure.Platform, ...) field.ErrorList
- func ValidatePlatform(p *azure.Platform, publish types.PublishingStrategy, fldPath *field.Path, ...) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // RxDiskEncryptionSetID is a regular expression that validates a disk encryption set ID. RxDiskEncryptionSetID = regexp.MustCompile(`(?i)^/subscriptions/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/resourceGroups/([-a-zA-Z0-9_().]{0,89}[-a-zA-Z0-9_()])/providers/Microsoft\.Compute/diskEncryptionSets/([-a-zA-Z0-9_]{1,80})$`) // RxSubscriptionID is a regular expression that validates a subscription ID. RxSubscriptionID = regexp.MustCompile(`^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$`) // RxResourceGroup is a regular expression that validates a resource group. RxResourceGroup = regexp.MustCompile(`^[-a-zA-Z0-9_().]{0,89}[-a-zA-Z0-9_()]$`) // RxDiskEncryptionSetName is a regular expression that validates a disk encryption set name RxDiskEncryptionSetName = regexp.MustCompile(`^[-a-zA-Z0-9_]{1,80}$`) )
Functions ¶
func ValidateDiskEncryption ¶
func ValidateDiskEncryption(p *azure.MachinePool, cloudName azure.CloudEnvironment, fldPath *field.Path) field.ErrorList
ValidateDiskEncryption checks that the specified disk encryption configuration is valid.
func ValidateEncryptionAtHost ¶
func ValidateEncryptionAtHost(p *azure.MachinePool, cloudName azure.CloudEnvironment, fldPath *field.Path) field.ErrorList
ValidateEncryptionAtHost checks that the encryption at host configuration is valid.
func ValidateMachinePool ¶
func ValidateMachinePool(p *azure.MachinePool, poolName string, platform *azure.Platform, fldPath *field.Path) field.ErrorList
ValidateMachinePool checks that the specified machine pool is valid.
func ValidatePlatform ¶
func ValidatePlatform(p *azure.Platform, publish types.PublishingStrategy, fldPath *field.Path, ic *types.InstallConfig) field.ErrorList
ValidatePlatform checks that the specified platform is valid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.