resource

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MPL-2.0 Imports: 26 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AudioDeviceValidator

func AudioDeviceValidator() schema.SchemaValidateDiagFunc

AudioDeviceValidator is a schema validation function for audio devices.

func AudioDriverValidator

func AudioDriverValidator() schema.SchemaValidateDiagFunc

AudioDriverValidator is a schema validation function for audio drivers.

func BIOSValidator

func BIOSValidator() schema.SchemaValidateDiagFunc

BIOSValidator returns a schema validation function for a BIOSValidator type.

func CPUAffinityValidator added in v0.51.0

func CPUAffinityValidator() schema.SchemaValidateDiagFunc

CPUAffinityValidator returns a schema validation function for a CPU affinity.

func CPUArchitectureValidator

func CPUArchitectureValidator() schema.SchemaValidateDiagFunc

CPUArchitectureValidator returns a schema validation function for a CPU architecture.

func CPUTypeValidator

func CPUTypeValidator() schema.SchemaValidateDiagFunc

CPUTypeValidator returns a schema validation function for a CPU type.

func CloudInitInterfaceValidator

func CloudInitInterfaceValidator() schema.SchemaValidateDiagFunc

CloudInitInterfaceValidator 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 CloudInitTypeValidator

func CloudInitTypeValidator() schema.SchemaValidateDiagFunc

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

func ConvertToStringSlice

func ConvertToStringSlice(interfaceSlice []interface{}) []string

ConvertToStringSlice helps convert interface slice to string slice.

func IDEInterfaceValidator

func IDEInterfaceValidator() schema.SchemaValidateDiagFunc

IDEInterfaceValidator is a schema validation function for IDE interfaces.

func KeyboardLayoutValidator

func KeyboardLayoutValidator() schema.SchemaValidateDiagFunc

KeyboardLayoutValidator is a schema validation function for keyboard layouts.

func MachineTypeValidator

func MachineTypeValidator() schema.SchemaValidateDiagFunc

MachineTypeValidator is a schema validation function for machine types.

func OperatingSystemTypeValidator

func OperatingSystemTypeValidator() schema.SchemaValidateDiagFunc

OperatingSystemTypeValidator is a schema validation function for operating system types.

func QEMUAgentTypeValidator

func QEMUAgentTypeValidator() schema.SchemaValidateDiagFunc

QEMUAgentTypeValidator is a schema validation function for QEMU agent types.

func SCSIHardwareValidator

func SCSIHardwareValidator() schema.SchemaValidateDiagFunc

SCSIHardwareValidator is a schema validation function for SCSI hardware.

func SerialDeviceValidator

func SerialDeviceValidator() schema.SchemaValidateDiagFunc

SerialDeviceValidator is a schema validation function for serial devices.

func TimeoutValidator

func TimeoutValidator() schema.SchemaValidateDiagFunc

TimeoutValidator is a schema validation function for timeouts.

func VGAMemoryValidator

func VGAMemoryValidator() schema.SchemaValidateDiagFunc

VGAMemoryValidator is a schema validation function for VGA memory sizes.

func VGATypeValidator

func VGATypeValidator() schema.SchemaValidateDiagFunc

VGATypeValidator is a schema validation function for VGA device types.

func VM

func VM() *schema.Resource

VM returns a resource that manages VMs.

func VMIDValidator

func VMIDValidator() schema.SchemaValidateDiagFunc

VMIDValidator returns a schema validation function for a VM ID.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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