validation

package
v1.4.21-pre Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2025 License: Apache-2.0 Imports: 12 Imported by: 68

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GatedFeatures

GatedFeatures determines all of the install config fields that should be validated to ensure that the proper featuregate is enabled when the field is used.

func ValidateAMIID

func ValidateAMIID(platform *aws.Platform, p *aws.MachinePool, fldPath *field.Path) field.ErrorList

ValidateAMIID check the AMI ID is set for a machine pool.

func ValidateCPUOptions

func ValidateCPUOptions(p *aws.MachinePool, fldPath *field.Path) field.ErrorList

ValidateCPUOptions checks that valid CPU options are set for a machine pool.

func ValidateMachinePool

func ValidateMachinePool(platform *aws.Platform, p *aws.MachinePool, fldPath *field.Path) field.ErrorList

ValidateMachinePool checks that the specified machine pool is valid.

func ValidateMachinePoolArchitecture

func ValidateMachinePoolArchitecture(pool *types.MachinePool, fldPath *field.Path) field.ErrorList

ValidateMachinePoolArchitecture checks that a valid architecture is set for a machine pool.

func ValidatePlatform

func ValidatePlatform(p *aws.Platform, publish types.PublishingStrategy, cm types.CredentialsMode, fldPath *field.Path) field.ErrorList

ValidatePlatform checks that the specified platform is valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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