validation

package
v1.4.21-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: Apache-2.0 Imports: 25 Imported by: 2

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 ValidateHostRootDeviceHints

func ValidateHostRootDeviceHints(rdh *baremetal.RootDeviceHints, fldPath *field.Path) (errors field.ErrorList)

ValidateHostRootDeviceHints checks that a rootDeviceHints field contains no invalid values.

func ValidateHosts added in v0.90.17

func ValidateHosts(p *baremetal.Platform, fldPath *field.Path, c *types.InstallConfig) field.ErrorList

ValidateHosts returns an error if the Hosts are not valid.

func ValidateMachinePool

func ValidateMachinePool(p *baremetal.MachinePool, fldPath *field.Path) field.ErrorList

ValidateMachinePool checks that the specified machine pool is valid.

func ValidateNTPServers

func ValidateNTPServers(servers []string, fldPath *field.Path) (allErrs field.ErrorList)

ValidateNTPServers checks list of NTP servers strings are valid IPs or domain names.

func ValidatePlatform

func ValidatePlatform(p *baremetal.Platform, agentBasedInstallation bool, n *types.Networking, fldPath *field.Path, c *types.InstallConfig) field.ErrorList

ValidatePlatform checks that the specified platform is valid.

func ValidateProvisioning

func ValidateProvisioning(p *baremetal.Platform, n *types.Networking, fldPath *field.Path) field.ErrorList

ValidateProvisioning checks that provisioning network requirements specified is valid.

func ValidateProvisioningNetworking

func ValidateProvisioningNetworking(p *baremetal.Platform, n *types.Networking, fldPath *field.Path) field.ErrorList

ValidateProvisioningNetworking checks that provisioning network requirements specified 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