validator

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BIOS added in v0.25.0

BIOS returns a schema validation function for a BIOS type.

func CPUType added in v0.25.0

CPUType returns a schema validation function for a CPU type.

func CloudInitInterface added in v0.31.0

func CloudInitInterface() schema.SchemaValidateDiagFunc

CloudInitInterface is a schema validation function that accepts either an IDE interface identifier or an empty string, which is used as the default and means "detect which interface should be used automatically".

func CloudInitType added in v0.25.0

func CloudInitType() schema.SchemaValidateDiagFunc

CloudInitType is a schema validation function for cloud-init types.

func ContentType added in v0.25.0

func ContentType() schema.SchemaValidateDiagFunc

ContentType returns a schema validation function for a content type on a storage device.

func FileFormat added in v0.25.0

func FileFormat() schema.SchemaValidateDiagFunc

FileFormat returns a schema validation function for a file format.

func FileID added in v0.25.0

FileID returns a schema validation function for a file identifier.

func FileSize added in v0.25.0

func FileSize() schema.SchemaValidateDiagFunc

FileSize is a schema validation function for file size.

func FirewallIFace

func FirewallIFace() schema.SchemaValidateDiagFunc

FirewallIFace returns a schema validation function for a firewall iface.

func FirewallLogLevel

func FirewallLogLevel() schema.SchemaValidateDiagFunc

FirewallLogLevel returns a schema validation function for a firewall log level.

func FirewallPolicy

func FirewallPolicy() schema.SchemaValidateDiagFunc

FirewallPolicy returns a schema validation function for a firewall policy.

func FirewallRate

func FirewallRate() schema.SchemaValidateDiagFunc

FirewallRate returns a schema validation function for a firewall rate.

func IDEInterface added in v0.25.0

func IDEInterface() schema.SchemaValidateDiagFunc

IDEInterface is a schema validation function for IDE interfaces.

func KeyboardLayout added in v0.25.0

func KeyboardLayout() schema.SchemaValidateDiagFunc

KeyboardLayout is a schema validation function for keyboard layouts.

func MACAddress added in v0.25.0

func MACAddress() schema.SchemaValidateDiagFunc

MACAddress is a schema validation function for MAC address.

func MachineType added in v0.37.1

func MachineType() schema.SchemaValidateDiagFunc

MachineType is a schema validation function for machine types.

func MountType added in v0.40.0

func MountType() schema.SchemaValidateDiagFunc

MountType returns a schema validation function for a mount type on a lxc container.

func NetworkDeviceModel added in v0.25.0

func NetworkDeviceModel() schema.SchemaValidateDiagFunc

NetworkDeviceModel is a schema validation function for network device models.

func QEMUAgentType added in v0.25.0

func QEMUAgentType() schema.SchemaValidateDiagFunc

QEMUAgentType is a schema validation function for QEMU agent types.

func SCSIHardware added in v0.25.0

func SCSIHardware() schema.SchemaValidateDiagFunc

SCSIHardware is a schema validation function for SCSI hardware.

func Timeout added in v0.25.0

Timeout is a schema validation function for timeouts.

func VGAMemory added in v0.25.0

func VGAMemory() schema.SchemaValidateDiagFunc

VGAMemory is a schema validation function for VGA memory sizes.

func VGAType added in v0.25.0

VGAType is a schema validation function for VGA device types.

func VMID added in v0.24.1

VMID returns a schema validation function for a VM ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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