validation

package
v1.4.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidAutoPinningPolicy

func ValidAutoPinningPolicy(autoPinningPolicy ovirt.AutoPinningPolicy) bool

ValidAutoPinningPolicy returns true if the AutoPinningPolicy is supported.

func ValidVMType

func ValidVMType(vmType ovirt.VMType) bool

ValidVMType returns true if the vmType is supported.

func ValidateMachinePool

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

ValidateMachinePool checks that the specified machine pool is valid.

func ValidatePlatform

func ValidatePlatform(p *ovirt.Platform, fldPath *field.Path, c *types.InstallConfig) 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