validation

package
v0.90.17 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 22 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 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 added in v0.9.153

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