api

package
v1.4.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 12 Imported by: 64

Documentation

Index

Constants

View Source
const (
	DefaultProtocol   = "TCP"
	DefaultVMCIDR     = "10.0.2.0/24"
	DefaultVMIpv6CIDR = "fd10:0:2::/120"
	DefaultBridgeName = "k6t-eth0"
)
View Source
const (
	NoState     LifeCycle = "NoState"
	Running     LifeCycle = "Running"
	Blocked     LifeCycle = "Blocked"
	Paused      LifeCycle = "Paused"
	Shutdown    LifeCycle = "ShuttingDown"
	Shutoff     LifeCycle = "Shutoff"
	Crashed     LifeCycle = "Crashed"
	PMSuspended LifeCycle = "PMSuspended"

	// Common reasons
	ReasonUnknown StateChangeReason = "Unknown"

	// ShuttingDown reasons
	ReasonUser StateChangeReason = "User"

	// Shutoff reasons
	ReasonShutdown     StateChangeReason = "Shutdown"
	ReasonDestroyed    StateChangeReason = "Destroyed"
	ReasonMigrated     StateChangeReason = "Migrated"
	ReasonCrashed      StateChangeReason = "Crashed"
	ReasonPanicked     StateChangeReason = "Panicked"
	ReasonSaved        StateChangeReason = "Saved"
	ReasonFailed       StateChangeReason = "Failed"
	ReasonFromSnapshot StateChangeReason = "FromSnapshot"

	// NoState reasons
	ReasonNonExistent StateChangeReason = "NonExistent"

	// Pause reasons
	ReasonPausedUnknown        StateChangeReason = "Unknown"
	ReasonPausedUser           StateChangeReason = "User"
	ReasonPausedMigration      StateChangeReason = "Migration"
	ReasonPausedSave           StateChangeReason = "Save"
	ReasonPausedDump           StateChangeReason = "Dump"
	ReasonPausedIOError        StateChangeReason = "IOError"
	ReasonPausedWatchdog       StateChangeReason = "Watchdog"
	ReasonPausedFromSnapshot   StateChangeReason = "FromSnapshot"
	ReasonPausedShuttingDown   StateChangeReason = "ShuttingDown"
	ReasonPausedSnapshot       StateChangeReason = "Snapshot"
	ReasonPausedCrashed        StateChangeReason = "Crashed"
	ReasonPausedStartingUp     StateChangeReason = "StartingUp"
	ReasonPausedPostcopy       StateChangeReason = "Postcopy"
	ReasonPausedPostcopyFailed StateChangeReason = "PostcopyFailed"

	UserAliasPrefix = "ua-"

	FSThawed      = "thawed"
	FSFrozen      = "frozen"
	SchedulerFIFO = "fifo"

	HostDevicePCI  = "pci"
	HostDeviceMDev = "mdev"
	HostDeviceUSB  = "usb"
	AddressPCI     = "pci"
	AddressCCW     = "ccw"
)
View Source
const (
	DomainVersion = "v1"
)

For versioning of the virt-handler and -launcher communication, you need to increase the Version const when making changes, and make necessary changes in the cmd and notify rpc implementation!

View Source
const HypervModePassthrough = "passthrough"

Variables

This section is empty.

Functions

func VMINamespaceKeyFunc added in v0.6.1

func VMINamespaceKeyFunc(vmi *v1.VirtualMachineInstance) string

VMINamespaceKeyFunc constructs the domain name with a namespace prefix i.g. namespace_name.

Types

type ACPI added in v0.59.0

type ACPI struct {
	Index uint `xml:"index,attr"`
}

func (*ACPI) DeepCopy added in v0.59.0

func (in *ACPI) DeepCopy() *ACPI

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACPI.

func (*ACPI) DeepCopyInto added in v0.59.0

func (in *ACPI) DeepCopyInto(out *ACPI)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ACPITable added in v1.2.0

type ACPITable struct {
	Path string `xml:",chardata"`
	Type string `xml:"type,attr,omitempty"`
}

func (*ACPITable) DeepCopy added in v1.2.0

func (in *ACPITable) DeepCopy() *ACPITable

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACPITable.

func (*ACPITable) DeepCopyInto added in v1.2.0

func (in *ACPITable) DeepCopyInto(out *ACPITable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AccessCredentialMetadata added in v0.36.0

type AccessCredentialMetadata struct {
	Succeeded bool   `xml:"succeeded,omitempty"`
	Message   string `xml:"message,omitempty"`
}

func (*AccessCredentialMetadata) DeepCopy added in v0.36.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessCredentialMetadata.

func (*AccessCredentialMetadata) DeepCopyInto added in v0.36.0

func (in *AccessCredentialMetadata) DeepCopyInto(out *AccessCredentialMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Address

type Address struct {
	Type       string `xml:"type,attr"`
	Domain     string `xml:"domain,attr,omitempty"`
	Bus        string `xml:"bus,attr"`
	Slot       string `xml:"slot,attr,omitempty"`
	Function   string `xml:"function,attr,omitempty"`
	Controller string `xml:"controller,attr,omitempty"`
	Target     string `xml:"target,attr,omitempty"`
	Unit       string `xml:"unit,attr,omitempty"`
	UUID       string `xml:"uuid,attr,omitempty"`
	Device     string `xml:"device,attr,omitempty"`
}

func (*Address) DeepCopy

func (in *Address) DeepCopy() *Address

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Address.

func (*Address) DeepCopyInto

func (in *Address) DeepCopyInto(out *Address)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Alias

type Alias struct {
	// contains filtered or unexported fields
}

func NewUserDefinedAlias added in v0.36.2

func NewUserDefinedAlias(aliasName string) *Alias

func (*Alias) DeepCopy

func (in *Alias) DeepCopy() *Alias

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alias.

func (*Alias) DeepCopyInto

func (in *Alias) DeepCopyInto(out *Alias)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Alias) GetName added in v0.36.2

func (alias Alias) GetName() string

func (Alias) IsUserDefined added in v0.36.2

func (alias Alias) IsUserDefined() bool

func (Alias) MarshalJSON added in v0.36.2

func (alias Alias) MarshalJSON() ([]byte, error)

func (Alias) MarshalXML added in v0.8.0

func (alias Alias) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*Alias) UnmarshalJSON added in v0.36.2

func (alias *Alias) UnmarshalJSON(data []byte) error

func (*Alias) UnmarshalXML added in v0.8.0

func (alias *Alias) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

type Arg added in v0.7.0

type Arg struct {
	Value string `xml:"value,attr"`
}

func (*Arg) DeepCopy added in v0.7.0

func (in *Arg) DeepCopy() *Arg

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Arg.

func (*Arg) DeepCopyInto added in v0.7.0

func (in *Arg) DeepCopyInto(out *Arg)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BIOS

type BIOS struct {
	UseSerial string `xml:"useserial,attr,omitempty"`
}

TODO <bios rebootTimeout='0'/>

func (*BIOS) DeepCopy

func (in *BIOS) DeepCopy() *BIOS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BIOS.

func (*BIOS) DeepCopyInto

func (in *BIOS) DeepCopyInto(out *BIOS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackingStore

type BackingStore struct {
	Type   string              `xml:"type,attr,omitempty"`
	Format *BackingStoreFormat `xml:"format,omitempty"`
	Source *DiskSource         `xml:"source,omitempty"`
}

func (*BackingStore) DeepCopy

func (in *BackingStore) DeepCopy() *BackingStore

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackingStore.

func (*BackingStore) DeepCopyInto

func (in *BackingStore) DeepCopyInto(out *BackingStore)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackingStoreFormat

type BackingStoreFormat struct {
	Type string `xml:"type,attr"`
}

func (*BackingStoreFormat) DeepCopy

func (in *BackingStoreFormat) DeepCopy() *BackingStoreFormat

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackingStoreFormat.

func (*BackingStoreFormat) DeepCopyInto

func (in *BackingStoreFormat) DeepCopyInto(out *BackingStoreFormat)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BandWidth

type BandWidth struct {
}

func (*BandWidth) DeepCopy

func (in *BandWidth) DeepCopy() *BandWidth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BandWidth.

func (*BandWidth) DeepCopyInto

func (in *BandWidth) DeepCopyInto(out *BandWidth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BlockIO added in v0.41.0

type BlockIO struct {
	LogicalBlockSize  uint `xml:"logical_block_size,attr,omitempty"`
	PhysicalBlockSize uint `xml:"physical_block_size,attr,omitempty"`
}

func (*BlockIO) DeepCopy added in v0.41.0

func (in *BlockIO) DeepCopy() *BlockIO

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockIO.

func (*BlockIO) DeepCopyInto added in v0.41.0

func (in *BlockIO) DeepCopyInto(out *BlockIO)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Boot

type Boot struct {
	Dev string `xml:"dev,attr"`
}

func (*Boot) DeepCopy

func (in *Boot) DeepCopy() *Boot

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Boot.

func (*Boot) DeepCopyInto

func (in *Boot) DeepCopyInto(out *Boot)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BootMenu

type BootMenu struct {
	Enable  string `xml:"enable,attr"`
	Timeout *uint  `xml:"timeout,attr,omitempty"`
}

func (*BootMenu) DeepCopy

func (in *BootMenu) DeepCopy() *BootMenu

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootMenu.

func (*BootMenu) DeepCopyInto

func (in *BootMenu) DeepCopyInto(out *BootMenu)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BootOrder

type BootOrder struct {
	Order uint `xml:"order,attr"`
}

func (*BootOrder) DeepCopy

func (in *BootOrder) DeepCopy() *BootOrder

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootOrder.

func (*BootOrder) DeepCopyInto

func (in *BootOrder) DeepCopyInto(out *BootOrder)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CID added in v0.59.0

type CID struct {
	Auto    string `xml:"auto,attr"`
	Address uint32 `xml:"address,attr,omitempty"`
}

func (*CID) DeepCopy added in v0.59.0

func (in *CID) DeepCopy() *CID

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CID.

func (*CID) DeepCopyInto added in v0.59.0

func (in *CID) DeepCopyInto(out *CID)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPU

type CPU struct {
	Mode     string       `xml:"mode,attr,omitempty"`
	Model    string       `xml:"model,omitempty"`
	Features []CPUFeature `xml:"feature"`
	Topology *CPUTopology `xml:"topology"`
	NUMA     *NUMA        `xml:"numa,omitempty"`
}

func (*CPU) DeepCopy

func (in *CPU) DeepCopy() *CPU

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPU.

func (*CPU) DeepCopyInto

func (in *CPU) DeepCopyInto(out *CPU)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPUEmulatorPin added in v0.25.0

type CPUEmulatorPin struct {
	CPUSet string `xml:"cpuset,attr"`
}

func (*CPUEmulatorPin) DeepCopy added in v0.25.0

func (in *CPUEmulatorPin) DeepCopy() *CPUEmulatorPin

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUEmulatorPin.

func (*CPUEmulatorPin) DeepCopyInto added in v0.25.0

func (in *CPUEmulatorPin) DeepCopyInto(out *CPUEmulatorPin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPUFeature added in v0.15.0

type CPUFeature struct {
	Name   string `xml:"name,attr"`
	Policy string `xml:"policy,attr,omitempty"`
}

func (*CPUFeature) DeepCopy added in v0.15.0

func (in *CPUFeature) DeepCopy() *CPUFeature

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUFeature.

func (*CPUFeature) DeepCopyInto added in v0.15.0

func (in *CPUFeature) DeepCopyInto(out *CPUFeature)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPUTopology

type CPUTopology struct {
	Sockets uint32 `xml:"sockets,attr,omitempty"`
	Cores   uint32 `xml:"cores,attr,omitempty"`
	Threads uint32 `xml:"threads,attr,omitempty"`
}

func (*CPUTopology) DeepCopy

func (in *CPUTopology) DeepCopy() *CPUTopology

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUTopology.

func (*CPUTopology) DeepCopyInto

func (in *CPUTopology) DeepCopyInto(out *CPUTopology)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPUTune added in v0.9.0

type CPUTune struct {
	VCPUPin     []CPUTuneVCPUPin     `xml:"vcpupin"`
	IOThreadPin []CPUTuneIOThreadPin `xml:"iothreadpin,omitempty"`
	EmulatorPin *CPUEmulatorPin      `xml:"emulatorpin"`
}

func (*CPUTune) DeepCopy added in v0.9.0

func (in *CPUTune) DeepCopy() *CPUTune

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUTune.

func (*CPUTune) DeepCopyInto added in v0.9.0

func (in *CPUTune) DeepCopyInto(out *CPUTune)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPUTuneIOThreadPin added in v0.9.3

type CPUTuneIOThreadPin struct {
	IOThread uint32 `xml:"iothread,attr"`
	CPUSet   string `xml:"cpuset,attr"`
}

func (*CPUTuneIOThreadPin) DeepCopy added in v0.9.3

func (in *CPUTuneIOThreadPin) DeepCopy() *CPUTuneIOThreadPin

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUTuneIOThreadPin.

func (*CPUTuneIOThreadPin) DeepCopyInto added in v0.9.3

func (in *CPUTuneIOThreadPin) DeepCopyInto(out *CPUTuneIOThreadPin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPUTuneVCPUPin added in v0.9.0

type CPUTuneVCPUPin struct {
	VCPU   uint32 `xml:"vcpu,attr"`
	CPUSet string `xml:"cpuset,attr"`
}

func (*CPUTuneVCPUPin) DeepCopy added in v0.9.0

func (in *CPUTuneVCPUPin) DeepCopy() *CPUTuneVCPUPin

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUTuneVCPUPin.

func (*CPUTuneVCPUPin) DeepCopyInto added in v0.9.0

func (in *CPUTuneVCPUPin) DeepCopyInto(out *CPUTuneVCPUPin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Channel

type Channel struct {
	Type   string         `xml:"type,attr"`
	Source *ChannelSource `xml:"source,omitempty"`
	Target *ChannelTarget `xml:"target,omitempty"`
}

func (*Channel) DeepCopy

func (in *Channel) DeepCopy() *Channel

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Channel.

func (*Channel) DeepCopyInto

func (in *Channel) DeepCopyInto(out *Channel)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ChannelSource

type ChannelSource struct {
	Mode string `xml:"mode,attr"`
	Path string `xml:"path,attr"`
}

func (*ChannelSource) DeepCopy

func (in *ChannelSource) DeepCopy() *ChannelSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSource.

func (*ChannelSource) DeepCopyInto

func (in *ChannelSource) DeepCopyInto(out *ChannelSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ChannelTarget

type ChannelTarget struct {
	Name    string `xml:"name,attr,omitempty"`
	Type    string `xml:"type,attr"`
	Address string `xml:"address,attr,omitempty"`
	Port    uint   `xml:"port,attr,omitempty"`
	State   string `xml:"state,attr,omitempty"`
}

func (*ChannelTarget) DeepCopy

func (in *ChannelTarget) DeepCopy() *ChannelTarget

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelTarget.

func (*ChannelTarget) DeepCopyInto

func (in *ChannelTarget) DeepCopyInto(out *ChannelTarget)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Clock

type Clock struct {
	Offset     string  `xml:"offset,attr,omitempty"`
	Timezone   string  `xml:"timezone,attr,omitempty"`
	Adjustment string  `xml:"adjustment,attr,omitempty"`
	Timer      []Timer `xml:"timer,omitempty"`
}

func (*Clock) DeepCopy

func (in *Clock) DeepCopy() *Clock

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Clock.

func (*Clock) DeepCopyInto

func (in *Clock) DeepCopyInto(out *Clock)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Commandline

type Commandline struct {
	QEMUEnv []Env `xml:"qemu:env,omitempty"`
	QEMUArg []Arg `xml:"qemu:arg,omitempty"`
}

func (*Commandline) DeepCopy

func (in *Commandline) DeepCopy() *Commandline

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Commandline.

func (*Commandline) DeepCopyInto

func (in *Commandline) DeepCopyInto(out *Commandline)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Console

type Console struct {
	Type   string         `xml:"type,attr"`
	Target *ConsoleTarget `xml:"target,omitempty"`
	Source *ConsoleSource `xml:"source,omitempty"`
	Alias  *Alias         `xml:"alias,omitempty"`
}

func (*Console) DeepCopy

func (in *Console) DeepCopy() *Console

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Console.

func (*Console) DeepCopyInto

func (in *Console) DeepCopyInto(out *Console)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConsoleSource

type ConsoleSource struct {
	Mode string `xml:"mode,attr,omitempty"`
	Path string `xml:"path,attr,omitempty"`
}

func (*ConsoleSource) DeepCopy

func (in *ConsoleSource) DeepCopy() *ConsoleSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleSource.

func (*ConsoleSource) DeepCopyInto

func (in *ConsoleSource) DeepCopyInto(out *ConsoleSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConsoleTarget

type ConsoleTarget struct {
	Type *string `xml:"type,attr,omitempty"`
	Port *uint   `xml:"port,attr,omitempty"`
}

func (*ConsoleTarget) DeepCopy

func (in *ConsoleTarget) DeepCopy() *ConsoleTarget

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleTarget.

func (*ConsoleTarget) DeepCopyInto

func (in *ConsoleTarget) DeepCopyInto(out *ConsoleTarget)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Controller added in v0.8.0

type Controller struct {
	Type    string            `xml:"type,attr"`
	Index   string            `xml:"index,attr"`
	Model   string            `xml:"model,attr,omitempty"`
	Driver  *ControllerDriver `xml:"driver,omitempty"`
	Alias   *Alias            `xml:"alias,omitempty"`
	Address *Address          `xml:"address,omitempty"`
}

Controller represens libvirt controller element https://libvirt.org/formatdomain.html#elementsControllers

func (*Controller) DeepCopy added in v0.8.0

func (in *Controller) DeepCopy() *Controller

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Controller.

func (*Controller) DeepCopyInto added in v0.8.0

func (in *Controller) DeepCopyInto(out *Controller)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ControllerDriver added in v0.9.0

type ControllerDriver struct {
	IOThread *uint  `xml:"iothread,attr,omitempty"`
	Queues   *uint  `xml:"queues,attr,omitempty"`
	IOMMU    string `xml:"iommu,attr,omitempty"`
}

BEGIN ControllerDriver

func (*ControllerDriver) DeepCopy added in v0.9.0

func (in *ControllerDriver) DeepCopy() *ControllerDriver

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerDriver.

func (*ControllerDriver) DeepCopyInto added in v0.9.0

func (in *ControllerDriver) DeepCopyInto(out *ControllerDriver)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Defaulter added in v0.28.0

type Defaulter struct {
	Architecture string
}

func NewDefaulter added in v0.28.0

func NewDefaulter(arch string) *Defaulter

func (*Defaulter) DeepCopy added in v0.28.0

func (in *Defaulter) DeepCopy() *Defaulter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Defaulter.

func (*Defaulter) DeepCopyInto added in v0.28.0

func (in *Defaulter) DeepCopyInto(out *Defaulter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Defaulter) IsARM64 added in v0.41.0

func (d *Defaulter) IsARM64() bool

func (*Defaulter) IsPPC64 added in v0.41.0

func (d *Defaulter) IsPPC64() bool

func (*Defaulter) IsS390X added in v1.3.0

func (d *Defaulter) IsS390X() bool

func (*Defaulter) SetDefaults_DomainSpec added in v0.28.0

func (d *Defaulter) SetDefaults_DomainSpec(spec *DomainSpec)

func (*Defaulter) SetDefaults_OSType added in v0.28.0

func (d *Defaulter) SetDefaults_OSType(ostype *OSType)

func (*Defaulter) SetDefaults_SysInfo added in v0.28.0

func (d *Defaulter) SetDefaults_SysInfo(sysinfo *SysInfo)

func (*Defaulter) SetObjectDefaults_Domain added in v0.28.0

func (d *Defaulter) SetObjectDefaults_Domain(in *Domain)

type Devices

type Devices struct {
	Emulator    string             `xml:"emulator,omitempty"`
	Interfaces  []Interface        `xml:"interface"`
	Channels    []Channel          `xml:"channel"`
	HostDevices []HostDevice       `xml:"hostdev,omitempty"`
	Controllers []Controller       `xml:"controller,omitempty"`
	Video       []Video            `xml:"video"`
	Graphics    []Graphics         `xml:"graphics"`
	Ballooning  *MemBalloon        `xml:"memballoon,omitempty"`
	Disks       []Disk             `xml:"disk"`
	Inputs      []Input            `xml:"input"`
	Serials     []Serial           `xml:"serial"`
	Consoles    []Console          `xml:"console"`
	Watchdogs   []Watchdog         `xml:"watchdog,omitempty"`
	Rng         *Rng               `xml:"rng,omitempty"`
	Filesystems []FilesystemDevice `xml:"filesystem,omitempty"`
	Redirs      []RedirectedDevice `xml:"redirdev,omitempty"`
	SoundCards  []SoundCard        `xml:"sound,omitempty"`
	TPMs        []TPM              `xml:"tpm,omitempty"`
	VSOCK       *VSOCK             `xml:"vsock,omitempty"`
	Memory      *MemoryDevice      `xml:"memory,omitempty"`
}

func (*Devices) DeepCopy

func (in *Devices) DeepCopy() *Devices

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Devices.

func (*Devices) DeepCopyInto

func (in *Devices) DeepCopyInto(out *Devices)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Disk

type Disk struct {
	Device             string        `xml:"device,attr"`
	Snapshot           string        `xml:"snapshot,attr,omitempty"`
	Type               string        `xml:"type,attr"`
	Source             DiskSource    `xml:"source"`
	Target             DiskTarget    `xml:"target"`
	Serial             string        `xml:"serial,omitempty"`
	Driver             *DiskDriver   `xml:"driver,omitempty"`
	ReadOnly           *ReadOnly     `xml:"readonly,omitempty"`
	Auth               *DiskAuth     `xml:"auth,omitempty"`
	Alias              *Alias        `xml:"alias,omitempty"`
	BackingStore       *BackingStore `xml:"backingStore,omitempty"`
	BootOrder          *BootOrder    `xml:"boot,omitempty"`
	Address            *Address      `xml:"address,omitempty"`
	Model              string        `xml:"model,attr,omitempty"`
	BlockIO            *BlockIO      `xml:"blockio,omitempty"`
	FilesystemOverhead *v1.Percent   `xml:"filesystemOverhead,omitempty"`
	Capacity           *int64        `xml:"capacity,omitempty"`
	ExpandDisksEnabled bool          `xml:"expandDisksEnabled,omitempty"`
	Shareable          *Shareable    `xml:"shareable,omitempty"`
}

func (*Disk) DeepCopy

func (in *Disk) DeepCopy() *Disk

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Disk.

func (*Disk) DeepCopyInto

func (in *Disk) DeepCopyInto(out *Disk)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DiskAuth

type DiskAuth struct {
	Username string      `xml:"username,attr"`
	Secret   *DiskSecret `xml:"secret,omitempty"`
}

func (*DiskAuth) DeepCopy

func (in *DiskAuth) DeepCopy() *DiskAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskAuth.

func (*DiskAuth) DeepCopyInto

func (in *DiskAuth) DeepCopyInto(out *DiskAuth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DiskDriver

type DiskDriver struct {
	Cache       string             `xml:"cache,attr,omitempty"`
	ErrorPolicy v1.DiskErrorPolicy `xml:"error_policy,attr,omitempty"`
	IO          v1.DriverIO        `xml:"io,attr,omitempty"`
	Name        string             `xml:"name,attr"`
	Type        string             `xml:"type,attr"`
	IOThread    *uint              `xml:"iothread,attr,omitempty"`
	Queues      *uint              `xml:"queues,attr,omitempty"`
	Discard     string             `xml:"discard,attr,omitempty"`
	IOMMU       string             `xml:"iommu,attr,omitempty"`
}

func (*DiskDriver) DeepCopy

func (in *DiskDriver) DeepCopy() *DiskDriver

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskDriver.

func (*DiskDriver) DeepCopyInto

func (in *DiskDriver) DeepCopyInto(out *DiskDriver)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DiskSecret

type DiskSecret struct {
	Type  string `xml:"type,attr"`
	Usage string `xml:"usage,attr,omitempty"`
	UUID  string `xml:"uuid,attr,omitempty"`
}

func (*DiskSecret) DeepCopy

func (in *DiskSecret) DeepCopy() *DiskSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskSecret.

func (*DiskSecret) DeepCopyInto

func (in *DiskSecret) DeepCopyInto(out *DiskSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DiskSource

type DiskSource struct {
	Dev           string          `xml:"dev,attr,omitempty"`
	File          string          `xml:"file,attr,omitempty"`
	StartupPolicy string          `xml:"startupPolicy,attr,omitempty"`
	Protocol      string          `xml:"protocol,attr,omitempty"`
	Name          string          `xml:"name,attr,omitempty"`
	Host          *DiskSourceHost `xml:"host,omitempty"`
	Reservations  *Reservations   `xml:"reservations,omitempty"`
	Slices        []Slice         `xml:"slices,omitempty"`
}

func (*DiskSource) DeepCopy

func (in *DiskSource) DeepCopy() *DiskSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskSource.

func (*DiskSource) DeepCopyInto

func (in *DiskSource) DeepCopyInto(out *DiskSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DiskSourceHost

type DiskSourceHost struct {
	Name string `xml:"name,attr"`
	Port string `xml:"port,attr,omitempty"`
}

func (*DiskSourceHost) DeepCopy

func (in *DiskSourceHost) DeepCopy() *DiskSourceHost

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskSourceHost.

func (*DiskSourceHost) DeepCopyInto

func (in *DiskSourceHost) DeepCopyInto(out *DiskSourceHost)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DiskTarget

type DiskTarget struct {
	Bus    v1.DiskBus `xml:"bus,attr,omitempty"`
	Device string     `xml:"dev,attr,omitempty"`
	Tray   string     `xml:"tray,attr,omitempty"`
}

func (*DiskTarget) DeepCopy

func (in *DiskTarget) DeepCopy() *DiskTarget

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskTarget.

func (*DiskTarget) DeepCopyInto

func (in *DiskTarget) DeepCopyInto(out *DiskTarget)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Domain

type Domain struct {
	metav1.TypeMeta
	metav1.ObjectMeta `json:"ObjectMeta"`
	Spec              DomainSpec
	Status            DomainStatus
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func NewDomainReferenceFromName

func NewDomainReferenceFromName(namespace string, name string) *Domain

func NewMinimalDomain

func NewMinimalDomain(name string) *Domain

func NewMinimalDomainWithNS

func NewMinimalDomainWithNS(namespace string, name string) *Domain

func NewMinimalDomainWithUUID added in v0.8.0

func NewMinimalDomainWithUUID(name string, uuid types.UID) *Domain

func (*Domain) DeepCopy

func (in *Domain) DeepCopy() *Domain

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Domain.

func (*Domain) DeepCopyInto

func (in *Domain) DeepCopyInto(out *Domain)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Domain) DeepCopyObject

func (in *Domain) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Domain) GetObjectKind

func (d *Domain) GetObjectKind() schema.ObjectKind

Required to satisfy Object interface

func (*Domain) GetObjectMeta

func (d *Domain) GetObjectMeta() metav1.Object

Required to satisfy ObjectMetaAccessor interface

func (*Domain) SetState

func (d *Domain) SetState(state LifeCycle, reason StateChangeReason)

type DomainGuestInfo added in v0.26.0

type DomainGuestInfo struct {
	Interfaces     []InterfaceStatus
	OSInfo         *GuestOSInfo
	FSFreezeStatus *FSFreeze
}

DomainGuestInfo represent guest agent info for specific domain

func (*DomainGuestInfo) DeepCopy added in v0.26.0

func (in *DomainGuestInfo) DeepCopy() *DomainGuestInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainGuestInfo.

func (*DomainGuestInfo) DeepCopyInto added in v0.26.0

func (in *DomainGuestInfo) DeepCopyInto(out *DomainGuestInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DomainList

type DomainList struct {
	metav1.TypeMeta
	ListMeta metav1.ListMeta
	Items    []Domain
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*DomainList) DeepCopy

func (in *DomainList) DeepCopy() *DomainList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainList.

func (*DomainList) DeepCopyInto

func (in *DomainList) DeepCopyInto(out *DomainList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DomainList) DeepCopyObject

func (in *DomainList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DomainList) GetListMeta

func (dl *DomainList) GetListMeta() meta.List

Required to satisfy ListMetaAccessor interface

func (*DomainList) GetObjectKind

func (dl *DomainList) GetObjectKind() schema.ObjectKind

Required to satisfy Object interface

type DomainSpec

type DomainSpec struct {
	XMLName        xml.Name        `xml:"domain"`
	Type           string          `xml:"type,attr"`
	XmlNS          string          `xml:"xmlns:qemu,attr,omitempty"`
	Name           string          `xml:"name"`
	UUID           string          `xml:"uuid,omitempty"`
	Memory         Memory          `xml:"memory"`
	CurrentMemory  *Memory         `xml:"currentMemory,omitempty"`
	MaxMemory      *MaxMemory      `xml:"maxMemory,omitempty"`
	MemoryBacking  *MemoryBacking  `xml:"memoryBacking,omitempty"`
	OS             OS              `xml:"os"`
	SysInfo        *SysInfo        `xml:"sysinfo,omitempty"`
	Devices        Devices         `xml:"devices"`
	Clock          *Clock          `xml:"clock,omitempty"`
	Resource       *Resource       `xml:"resource,omitempty"`
	QEMUCmd        *Commandline    `xml:"qemu:commandline,omitempty"`
	Metadata       Metadata        `xml:"metadata,omitempty"`
	Features       *Features       `xml:"features,omitempty"`
	CPU            CPU             `xml:"cpu"`
	VCPU           *VCPU           `xml:"vcpu"`
	VCPUs          *VCPUs          `xml:"vcpus"`
	CPUTune        *CPUTune        `xml:"cputune"`
	NUMATune       *NUMATune       `xml:"numatune"`
	IOThreads      *IOThreads      `xml:"iothreads,omitempty"`
	LaunchSecurity *LaunchSecurity `xml:"launchSecurity,omitempty"`
}

DomainSpec represents the actual conversion to libvirt XML. The fields must be tagged, and they must correspond to the libvirt domain as described in https://libvirt.org/formatdomain.html.

func NewMinimalDomainSpec

func NewMinimalDomainSpec(vmiName string) *DomainSpec

func (*DomainSpec) DeepCopy

func (in *DomainSpec) DeepCopy() *DomainSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSpec.

func (*DomainSpec) DeepCopyInto

func (in *DomainSpec) DeepCopyInto(out *DomainSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DomainStatus

type DomainStatus struct {
	Status         LifeCycle
	Reason         StateChangeReason
	Interfaces     []InterfaceStatus
	OSInfo         GuestOSInfo
	FSFreezeStatus FSFreeze
}

func (*DomainStatus) DeepCopy

func (in *DomainStatus) DeepCopy() *DomainStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainStatus.

func (*DomainStatus) DeepCopyInto

func (in *DomainStatus) DeepCopyInto(out *DomainStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DomainSysInfo added in v0.27.0

type DomainSysInfo struct {
	Hostname string
	OSInfo   GuestOSInfo
	Timezone Timezone
}

func (*DomainSysInfo) DeepCopy added in v0.27.0

func (in *DomainSysInfo) DeepCopy() *DomainSysInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSysInfo.

func (*DomainSysInfo) DeepCopyInto added in v0.27.0

func (in *DomainSysInfo) DeepCopyInto(out *DomainSysInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Entry

type Entry struct {
	Name  string `xml:"name,attr"`
	Value string `xml:",chardata"`
}

func (*Entry) DeepCopy

func (in *Entry) DeepCopy() *Entry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Entry.

func (*Entry) DeepCopyInto

func (in *Entry) DeepCopyInto(out *Entry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Env

type Env struct {
	Name  string `xml:"name,attr"`
	Value string `xml:"value,attr"`
}

func (*Env) DeepCopy

func (in *Env) DeepCopy() *Env

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Env.

func (*Env) DeepCopyInto

func (in *Env) DeepCopyInto(out *Env)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FSDisk added in v1.2.0

type FSDisk struct {
	Serial  string
	BusType string
}

func (*FSDisk) DeepCopy added in v1.2.0

func (in *FSDisk) DeepCopy() *FSDisk

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSDisk.

func (*FSDisk) DeepCopyInto added in v1.2.0

func (in *FSDisk) DeepCopyInto(out *FSDisk)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FSFreeze added in v0.43.0

type FSFreeze struct {
	Status string
}

func (*FSFreeze) DeepCopy added in v0.43.0

func (in *FSFreeze) DeepCopy() *FSFreeze

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSFreeze.

func (*FSFreeze) DeepCopyInto added in v0.43.0

func (in *FSFreeze) DeepCopyInto(out *FSFreeze)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeatureEnabled

type FeatureEnabled struct {
}

func (*FeatureEnabled) DeepCopy

func (in *FeatureEnabled) DeepCopy() *FeatureEnabled

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureEnabled.

func (*FeatureEnabled) DeepCopyInto

func (in *FeatureEnabled) DeepCopyInto(out *FeatureEnabled)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeatureHyperv

type FeatureHyperv struct {
	Mode            string            `xml:"mode,attr,omitempty"`
	Relaxed         *FeatureState     `xml:"relaxed,omitempty"`
	VAPIC           *FeatureState     `xml:"vapic,omitempty"`
	Spinlocks       *FeatureSpinlocks `xml:"spinlocks,omitempty"`
	VPIndex         *FeatureState     `xml:"vpindex,omitempty"`
	Runtime         *FeatureState     `xml:"runtime,omitempty"`
	SyNIC           *FeatureState     `xml:"synic,omitempty"`
	SyNICTimer      *SyNICTimer       `xml:"stimer,omitempty"`
	Reset           *FeatureState     `xml:"reset,omitempty"`
	VendorID        *FeatureVendorID  `xml:"vendor_id,omitempty"`
	Frequencies     *FeatureState     `xml:"frequencies,omitempty"`
	Reenlightenment *FeatureState     `xml:"reenlightenment,omitempty"`
	TLBFlush        *FeatureState     `xml:"tlbflush,omitempty"`
	IPI             *FeatureState     `xml:"ipi,omitempty"`
	EVMCS           *FeatureState     `xml:"evmcs,omitempty"`
}

func (*FeatureHyperv) DeepCopy

func (in *FeatureHyperv) DeepCopy() *FeatureHyperv

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureHyperv.

func (*FeatureHyperv) DeepCopyInto

func (in *FeatureHyperv) DeepCopyInto(out *FeatureHyperv)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeatureKVM added in v0.34.0

type FeatureKVM struct {
	Hidden        *FeatureState `xml:"hidden,omitempty"`
	HintDedicated *FeatureState `xml:"hint-dedicated,omitempty"`
}

func (*FeatureKVM) DeepCopy added in v0.34.0

func (in *FeatureKVM) DeepCopy() *FeatureKVM

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureKVM.

func (*FeatureKVM) DeepCopyInto added in v0.34.0

func (in *FeatureKVM) DeepCopyInto(out *FeatureKVM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeaturePVSpinlock added in v0.36.3

type FeaturePVSpinlock struct {
	State string `xml:"state,attr,omitempty"`
}

func (*FeaturePVSpinlock) DeepCopy added in v0.36.3

func (in *FeaturePVSpinlock) DeepCopy() *FeaturePVSpinlock

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturePVSpinlock.

func (*FeaturePVSpinlock) DeepCopyInto added in v0.36.3

func (in *FeaturePVSpinlock) DeepCopyInto(out *FeaturePVSpinlock)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeatureSpinlocks

type FeatureSpinlocks struct {
	State   string  `xml:"state,attr,omitempty"`
	Retries *uint32 `xml:"retries,attr,omitempty"`
}

func (*FeatureSpinlocks) DeepCopy

func (in *FeatureSpinlocks) DeepCopy() *FeatureSpinlocks

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureSpinlocks.

func (*FeatureSpinlocks) DeepCopyInto

func (in *FeatureSpinlocks) DeepCopyInto(out *FeatureSpinlocks)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeatureState

type FeatureState struct {
	State string `xml:"state,attr,omitempty"`
}

func (*FeatureState) DeepCopy

func (in *FeatureState) DeepCopy() *FeatureState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureState.

func (*FeatureState) DeepCopyInto

func (in *FeatureState) DeepCopyInto(out *FeatureState)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeatureVendorID

type FeatureVendorID struct {
	State string `xml:"state,attr,omitempty"`
	Value string `xml:"value,attr,omitempty"`
}

func (*FeatureVendorID) DeepCopy

func (in *FeatureVendorID) DeepCopy() *FeatureVendorID

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureVendorID.

func (*FeatureVendorID) DeepCopyInto

func (in *FeatureVendorID) DeepCopyInto(out *FeatureVendorID)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Features

type Features struct {
	ACPI       *FeatureEnabled    `xml:"acpi,omitempty"`
	APIC       *FeatureEnabled    `xml:"apic,omitempty"`
	Hyperv     *FeatureHyperv     `xml:"hyperv,omitempty"`
	SMM        *FeatureEnabled    `xml:"smm,omitempty"`
	KVM        *FeatureKVM        `xml:"kvm,omitempty"`
	PVSpinlock *FeaturePVSpinlock `xml:"pvspinlock,omitempty"`
	PMU        *FeatureState      `xml:"pmu,omitempty"`
}

func (*Features) DeepCopy

func (in *Features) DeepCopy() *Features

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Features.

func (*Features) DeepCopyInto

func (in *Features) DeepCopyInto(out *Features)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Filesystem added in v0.27.0

type Filesystem struct {
	Name       string
	Mountpoint string
	Type       string
	UsedBytes  int
	TotalBytes int
	Disk       []FSDisk
}

func (*Filesystem) DeepCopy added in v0.27.0

func (in *Filesystem) DeepCopy() *Filesystem

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filesystem.

func (*Filesystem) DeepCopyInto added in v0.27.0

func (in *Filesystem) DeepCopyInto(out *Filesystem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilesystemBinary added in v0.34.0

type FilesystemBinary struct {
	Path  string                 `xml:"path,attr,omitempty"`
	Xattr string                 `xml:"xattr,attr,omitempty"`
	Cache *FilesystemBinaryCache `xml:"cache,omitempty"`
	Lock  *FilesystemBinaryLock  `xml:"lock,omitempty"`
}

func (*FilesystemBinary) DeepCopy added in v0.34.0

func (in *FilesystemBinary) DeepCopy() *FilesystemBinary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemBinary.

func (*FilesystemBinary) DeepCopyInto added in v0.34.0

func (in *FilesystemBinary) DeepCopyInto(out *FilesystemBinary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilesystemBinaryCache added in v0.34.0

type FilesystemBinaryCache struct {
	Mode string `xml:"mode,attr,omitempty"`
}

func (*FilesystemBinaryCache) DeepCopy added in v0.34.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemBinaryCache.

func (*FilesystemBinaryCache) DeepCopyInto added in v0.34.0

func (in *FilesystemBinaryCache) DeepCopyInto(out *FilesystemBinaryCache)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilesystemBinaryLock added in v0.34.0

type FilesystemBinaryLock struct {
	Posix string `xml:"posix,attr,omitempty"`
	Flock string `xml:"flock,attr,omitempty"`
}

func (*FilesystemBinaryLock) DeepCopy added in v0.34.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemBinaryLock.

func (*FilesystemBinaryLock) DeepCopyInto added in v0.34.0

func (in *FilesystemBinaryLock) DeepCopyInto(out *FilesystemBinaryLock)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilesystemDevice added in v0.34.0

type FilesystemDevice struct {
	Type       string            `xml:"type,attr"`
	AccessMode string            `xml:"accessMode,attr"`
	Source     *FilesystemSource `xml:"source,omitempty"`
	Target     *FilesystemTarget `xml:"target,omitempty"`
	Driver     *FilesystemDriver `xml:"driver,omitempty"`
	Binary     *FilesystemBinary `xml:"binary,omitempty"`
}

func (*FilesystemDevice) DeepCopy added in v0.34.0

func (in *FilesystemDevice) DeepCopy() *FilesystemDevice

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemDevice.

func (*FilesystemDevice) DeepCopyInto added in v0.34.0

func (in *FilesystemDevice) DeepCopyInto(out *FilesystemDevice)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilesystemDriver added in v0.34.0

type FilesystemDriver struct {
	Type  string `xml:"type,attr"`
	Queue string `xml:"queue,attr,omitempty"`
}

func (*FilesystemDriver) DeepCopy added in v0.34.0

func (in *FilesystemDriver) DeepCopy() *FilesystemDriver

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemDriver.

func (*FilesystemDriver) DeepCopyInto added in v0.34.0

func (in *FilesystemDriver) DeepCopyInto(out *FilesystemDriver)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilesystemSource added in v0.34.0

type FilesystemSource struct {
	Dir    string `xml:"dir,attr"`
	Socket string `xml:"socket,attr,omitempty"`
}

func (*FilesystemSource) DeepCopy added in v0.34.0

func (in *FilesystemSource) DeepCopy() *FilesystemSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemSource.

func (*FilesystemSource) DeepCopyInto added in v0.34.0

func (in *FilesystemSource) DeepCopyInto(out *FilesystemSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilesystemTarget added in v0.34.0

type FilesystemTarget struct {
	Dir string `xml:"dir,attr,omitempty"`
}

func (*FilesystemTarget) DeepCopy added in v0.34.0

func (in *FilesystemTarget) DeepCopy() *FilesystemTarget

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemTarget.

func (*FilesystemTarget) DeepCopyInto added in v0.34.0

func (in *FilesystemTarget) DeepCopyInto(out *FilesystemTarget)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FilterRef

type FilterRef struct {
	Filter string `xml:"filter,attr"`
}

func (*FilterRef) DeepCopy

func (in *FilterRef) DeepCopy() *FilterRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterRef.

func (*FilterRef) DeepCopyInto

func (in *FilterRef) DeepCopyInto(out *FilterRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GracePeriodMetadata

type GracePeriodMetadata struct {
	DeletionGracePeriodSeconds int64        `xml:"deletionGracePeriodSeconds"`
	DeletionTimestamp          *metav1.Time `xml:"deletionTimestamp,omitempty"`
	MarkedForGracefulShutdown  *bool        `xml:"markedForGracefulShutdown,omitempty"`
}

func (*GracePeriodMetadata) DeepCopy

func (in *GracePeriodMetadata) DeepCopy() *GracePeriodMetadata

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GracePeriodMetadata.

func (*GracePeriodMetadata) DeepCopyInto

func (in *GracePeriodMetadata) DeepCopyInto(out *GracePeriodMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Graphics

type Graphics struct {
	AutoPort      string          `xml:"autoport,attr,omitempty"`
	DefaultMode   string          `xml:"defaultMode,attr,omitempty"`
	Listen        *GraphicsListen `xml:"listen,omitempty"`
	PasswdValidTo string          `xml:"passwdValidTo,attr,omitempty"`
	Port          int32           `xml:"port,attr,omitempty"`
	TLSPort       int             `xml:"tlsPort,attr,omitempty"`
	Type          string          `xml:"type,attr"`
}

func (*Graphics) DeepCopy

func (in *Graphics) DeepCopy() *Graphics

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Graphics.

func (*Graphics) DeepCopyInto

func (in *Graphics) DeepCopyInto(out *Graphics)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GraphicsListen

type GraphicsListen struct {
	Type    string `xml:"type,attr"`
	Address string `xml:"address,attr,omitempty"`
	Network string `xml:"newtork,attr,omitempty"`
	Socket  string `xml:"socket,attr,omitempty"`
}

func (*GraphicsListen) DeepCopy

func (in *GraphicsListen) DeepCopy() *GraphicsListen

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphicsListen.

func (*GraphicsListen) DeepCopyInto

func (in *GraphicsListen) DeepCopyInto(out *GraphicsListen)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GuestOSInfo added in v0.23.0

type GuestOSInfo struct {
	Name          string
	KernelRelease string
	Version       string
	PrettyName    string
	VersionId     string
	KernelVersion string
	Machine       string
	Id            string
}

func (*GuestOSInfo) DeepCopy added in v0.23.0

func (in *GuestOSInfo) DeepCopy() *GuestOSInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GuestOSInfo.

func (*GuestOSInfo) DeepCopyInto added in v0.23.0

func (in *GuestOSInfo) DeepCopyInto(out *GuestOSInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HostDevice added in v0.11.0

type HostDevice struct {
	XMLName   xml.Name         `xml:"hostdev"`
	Source    HostDeviceSource `xml:"source"`
	Type      string           `xml:"type,attr"`
	BootOrder *BootOrder       `xml:"boot,omitempty"`
	Managed   string           `xml:"managed,attr,omitempty"`
	Mode      string           `xml:"mode,attr,omitempty"`
	Model     string           `xml:"model,attr,omitempty"`
	Address   *Address         `xml:"address,omitempty"`
	Alias     *Alias           `xml:"alias,omitempty"`
	Display   string           `xml:"display,attr,omitempty"`
	RamFB     string           `xml:"ramfb,attr,omitempty"`
}

BEGIN HostDevice -----------------------------

func (*HostDevice) DeepCopy added in v0.11.0

func (in *HostDevice) DeepCopy() *HostDevice

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostDevice.

func (*HostDevice) DeepCopyInto added in v0.11.0

func (in *HostDevice) DeepCopyInto(out *HostDevice)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HostDeviceSource added in v0.11.0

type HostDeviceSource struct {
	Address *Address `xml:"address,omitempty"`
}

func (*HostDeviceSource) DeepCopy added in v0.11.0

func (in *HostDeviceSource) DeepCopy() *HostDeviceSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostDeviceSource.

func (*HostDeviceSource) DeepCopyInto added in v0.11.0

func (in *HostDeviceSource) DeepCopyInto(out *HostDeviceSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HugePage added in v0.6.1

type HugePage struct {
	Size    string `xml:"size,attr"`
	Unit    string `xml:"unit,attr"`
	NodeSet string `xml:"nodeset,attr"`
}

HugePage mirroring libvirt XML under hugepages

func (*HugePage) DeepCopy added in v0.6.1

func (in *HugePage) DeepCopy() *HugePage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HugePage.

func (*HugePage) DeepCopyInto added in v0.6.1

func (in *HugePage) DeepCopyInto(out *HugePage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HugePages added in v0.6.1

type HugePages struct {
	HugePage []HugePage `xml:"page,omitempty"`
}

HugePages mirroring libvirt XML under memoryBacking

func (*HugePages) DeepCopy added in v0.6.1

func (in *HugePages) DeepCopy() *HugePages

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HugePages.

func (*HugePages) DeepCopyInto added in v0.6.1

func (in *HugePages) DeepCopyInto(out *HugePages)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IOThreads added in v0.9.0

type IOThreads struct {
	IOThreads uint `xml:",chardata"`
}

func (*IOThreads) DeepCopy added in v0.9.0

func (in *IOThreads) DeepCopy() *IOThreads

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IOThreads.

func (*IOThreads) DeepCopyInto added in v0.9.0

func (in *IOThreads) DeepCopyInto(out *IOThreads)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Input added in v0.15.0

type Input struct {
	Type    v1.InputType `xml:"type,attr"`
	Bus     v1.InputBus  `xml:"bus,attr"`
	Alias   *Alias       `xml:"alias,omitempty"`
	Address *Address     `xml:"address,omitempty"`
	Model   string       `xml:"model,attr,omitempty"`
}

Input represents input device, e.g. tablet

func (*Input) DeepCopy added in v0.15.0

func (in *Input) DeepCopy() *Input

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Input.

func (*Input) DeepCopyInto added in v0.15.0

func (in *Input) DeepCopyInto(out *Input)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Interface

type Interface struct {
	XMLName             xml.Name               `xml:"interface"`
	Address             *Address               `xml:"address,omitempty"`
	Type                string                 `xml:"type,attr"`
	TrustGuestRxFilters string                 `xml:"trustGuestRxFilters,attr,omitempty"`
	Source              InterfaceSource        `xml:"source"`
	Target              *InterfaceTarget       `xml:"target,omitempty"`
	Model               *Model                 `xml:"model,omitempty"`
	MAC                 *MAC                   `xml:"mac,omitempty"`
	MTU                 *MTU                   `xml:"mtu,omitempty"`
	BandWidth           *BandWidth             `xml:"bandwidth,omitempty"`
	BootOrder           *BootOrder             `xml:"boot,omitempty"`
	LinkState           *LinkState             `xml:"link,omitempty"`
	FilterRef           *FilterRef             `xml:"filterref,omitempty"`
	Alias               *Alias                 `xml:"alias,omitempty"`
	Driver              *InterfaceDriver       `xml:"driver,omitempty"`
	Rom                 *Rom                   `xml:"rom,omitempty"`
	ACPI                *ACPI                  `xml:"acpi,omitempty"`
	Backend             *InterfaceBackend      `xml:"backend,omitempty"`
	PortForward         []InterfacePortForward `xml:"portForward,omitempty"`
}

func (*Interface) DeepCopy

func (in *Interface) DeepCopy() *Interface

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Interface.

func (*Interface) DeepCopyInto

func (in *Interface) DeepCopyInto(out *Interface)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InterfaceBackend added in v1.1.0

type InterfaceBackend struct {
	Type    string `xml:"type,attr,omitempty"`
	LogFile string `xml:"logFile,attr,omitempty"`
}

func (*InterfaceBackend) DeepCopy added in v1.1.0

func (in *InterfaceBackend) DeepCopy() *InterfaceBackend

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceBackend.

func (*InterfaceBackend) DeepCopyInto added in v1.1.0

func (in *InterfaceBackend) DeepCopyInto(out *InterfaceBackend)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InterfaceDriver added in v0.9.3

type InterfaceDriver struct {
	Name   string `xml:"name,attr"`
	Queues *uint  `xml:"queues,attr,omitempty"`
	IOMMU  string `xml:"iommu,attr,omitempty"`
}

func (*InterfaceDriver) DeepCopy added in v0.9.3

func (in *InterfaceDriver) DeepCopy() *InterfaceDriver

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceDriver.

func (*InterfaceDriver) DeepCopyInto added in v0.9.3

func (in *InterfaceDriver) DeepCopyInto(out *InterfaceDriver)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InterfacePortForward added in v1.1.0

type InterfacePortForward struct {
	Proto   string                      `xml:"proto,attr"`
	Address string                      `xml:"address,attr,omitempty"`
	Dev     string                      `xml:"dev,attr,omitempty"`
	Ranges  []InterfacePortForwardRange `xml:"range,omitempty"`
}

func (*InterfacePortForward) DeepCopy added in v1.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfacePortForward.

func (*InterfacePortForward) DeepCopyInto added in v1.1.0

func (in *InterfacePortForward) DeepCopyInto(out *InterfacePortForward)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InterfacePortForwardRange added in v1.1.0

type InterfacePortForwardRange struct {
	Start   uint   `xml:"start,attr"`
	End     uint   `xml:"end,attr,omitempty"`
	To      uint   `xml:"to,attr,omitempty"`
	Exclude string `xml:"exclude,attr,omitempty"`
}

func (*InterfacePortForwardRange) DeepCopy added in v1.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfacePortForwardRange.

func (*InterfacePortForwardRange) DeepCopyInto added in v1.1.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InterfaceSource

type InterfaceSource struct {
	Network string   `xml:"network,attr,omitempty"`
	Device  string   `xml:"dev,attr,omitempty"`
	Bridge  string   `xml:"bridge,attr,omitempty"`
	Mode    string   `xml:"mode,attr,omitempty"`
	Address *Address `xml:"address,omitempty"`
}

func (*InterfaceSource) DeepCopy

func (in *InterfaceSource) DeepCopy() *InterfaceSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceSource.

func (*InterfaceSource) DeepCopyInto

func (in *InterfaceSource) DeepCopyInto(out *InterfaceSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InterfaceStatus added in v0.12.0

type InterfaceStatus struct {
	Mac           string
	Ip            string
	IPs           []string
	InterfaceName string
}

func (*InterfaceStatus) DeepCopy added in v0.12.0

func (in *InterfaceStatus) DeepCopy() *InterfaceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceStatus.

func (*InterfaceStatus) DeepCopyInto added in v0.12.0

func (in *InterfaceStatus) DeepCopyInto(out *InterfaceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InterfaceTarget

type InterfaceTarget struct {
	Device  string `xml:"dev,attr"`
	Managed string `xml:"managed,attr,omitempty"`
}

func (*InterfaceTarget) DeepCopy

func (in *InterfaceTarget) DeepCopy() *InterfaceTarget

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceTarget.

func (*InterfaceTarget) DeepCopyInto

func (in *InterfaceTarget) DeepCopyInto(out *InterfaceTarget)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubeVirtMetadata

type KubeVirtMetadata struct {
	UID              types.UID                 `xml:"uid"`
	GracePeriod      *GracePeriodMetadata      `xml:"graceperiod,omitempty"`
	Migration        *MigrationMetadata        `xml:"migration,omitempty"`
	AccessCredential *AccessCredentialMetadata `xml:"accessCredential,omitempty"`
	MemoryDump       *MemoryDumpMetadata       `xml:"memoryDump,omitempty"`
}

func (*KubeVirtMetadata) DeepCopy

func (in *KubeVirtMetadata) DeepCopy() *KubeVirtMetadata

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeVirtMetadata.

func (*KubeVirtMetadata) DeepCopyInto

func (in *KubeVirtMetadata) DeepCopyInto(out *KubeVirtMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LaunchSecurity added in v0.49.0

type LaunchSecurity struct {
	Type            string `xml:"type,attr"`
	Cbitpos         string `xml:"cbitpos,omitempty"`
	ReducedPhysBits string `xml:"reducedPhysBits,omitempty"`
	Policy          string `xml:"policy,omitempty"`
	DHCert          string `xml:"dhCert,omitempty"`
	Session         string `xml:"session,omitempty"`
}

func (*LaunchSecurity) DeepCopy added in v0.49.0

func (in *LaunchSecurity) DeepCopy() *LaunchSecurity

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSecurity.

func (*LaunchSecurity) DeepCopyInto added in v0.49.0

func (in *LaunchSecurity) DeepCopyInto(out *LaunchSecurity)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LifeCycle

type LifeCycle string

type LinkState

type LinkState struct {
	State string `xml:"state,attr"`
}

func (*LinkState) DeepCopy

func (in *LinkState) DeepCopy() *LinkState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkState.

func (*LinkState) DeepCopyInto

func (in *LinkState) DeepCopyInto(out *LinkState)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Loader

type Loader struct {
	ReadOnly string `xml:"readonly,attr,omitempty"`
	Secure   string `xml:"secure,attr,omitempty"`
	Type     string `xml:"type,attr,omitempty"`
	Path     string `xml:",chardata"`
}

func (*Loader) DeepCopy

func (in *Loader) DeepCopy() *Loader

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Loader.

func (*Loader) DeepCopyInto

func (in *Loader) DeepCopyInto(out *Loader)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MAC

type MAC struct {
	MAC string `xml:"address,attr"`
}

func (*MAC) DeepCopy

func (in *MAC) DeepCopy() *MAC

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MAC.

func (*MAC) DeepCopyInto

func (in *MAC) DeepCopyInto(out *MAC)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MTU added in v0.12.0

type MTU struct {
	Size string `xml:"size,attr"`
}

func (*MTU) DeepCopy added in v0.12.0

func (in *MTU) DeepCopy() *MTU

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MTU.

func (*MTU) DeepCopyInto added in v0.12.0

func (in *MTU) DeepCopyInto(out *MTU)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MaxMemory added in v1.1.0

type MaxMemory struct {
	Value uint64 `xml:",chardata"`
	Unit  string `xml:"unit,attr"`
	Slots uint64 `xml:"slots,attr"`
}

func (*MaxMemory) DeepCopy added in v1.1.0

func (in *MaxMemory) DeepCopy() *MaxMemory

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaxMemory.

func (*MaxMemory) DeepCopyInto added in v1.1.0

func (in *MaxMemory) DeepCopyInto(out *MaxMemory)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemBalloon added in v0.33.0

type MemBalloon struct {
	Model             string            `xml:"model,attr"`
	Stats             *Stats            `xml:"stats,omitempty"`
	Address           *Address          `xml:"address,omitempty"`
	Driver            *MemBalloonDriver `xml:"driver,omitempty"`
	FreePageReporting string            `xml:"freePageReporting,attr,omitempty"`
}

func (*MemBalloon) DeepCopy added in v0.33.0

func (in *MemBalloon) DeepCopy() *MemBalloon

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemBalloon.

func (*MemBalloon) DeepCopyInto added in v0.33.0

func (in *MemBalloon) DeepCopyInto(out *MemBalloon)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemBalloonDriver added in v0.49.0

type MemBalloonDriver struct {
	IOMMU string `xml:"iommu,attr,omitempty"`
}

func (*MemBalloonDriver) DeepCopy added in v0.49.0

func (in *MemBalloonDriver) DeepCopy() *MemBalloonDriver

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemBalloonDriver.

func (*MemBalloonDriver) DeepCopyInto added in v0.49.0

func (in *MemBalloonDriver) DeepCopyInto(out *MemBalloonDriver)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemNode added in v0.43.0

type MemNode struct {
	CellID  uint32 `xml:"cellid,attr"`
	Mode    string `xml:"mode,attr"`
	NodeSet string `xml:"nodeset,attr"`
}

func (*MemNode) DeepCopy added in v0.43.0

func (in *MemNode) DeepCopy() *MemNode

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemNode.

func (*MemNode) DeepCopyInto added in v0.43.0

func (in *MemNode) DeepCopyInto(out *MemNode)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Memory

type Memory struct {
	Value uint64 `xml:",chardata"`
	Unit  string `xml:"unit,attr"`
}

func (*Memory) DeepCopy

func (in *Memory) DeepCopy() *Memory

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memory.

func (*Memory) DeepCopyInto

func (in *Memory) DeepCopyInto(out *Memory)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemoryAddress added in v1.2.1

type MemoryAddress struct {
	Base string `xml:"base,attr"`
}

func (*MemoryAddress) DeepCopy added in v1.2.1

func (in *MemoryAddress) DeepCopy() *MemoryAddress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryAddress.

func (*MemoryAddress) DeepCopyInto added in v1.2.1

func (in *MemoryAddress) DeepCopyInto(out *MemoryAddress)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemoryAllocation added in v0.43.0

type MemoryAllocation struct {
	Mode MemoryAllocationMode `xml:"mode,attr"`
}

func (*MemoryAllocation) DeepCopy added in v0.43.0

func (in *MemoryAllocation) DeepCopy() *MemoryAllocation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryAllocation.

func (*MemoryAllocation) DeepCopyInto added in v0.43.0

func (in *MemoryAllocation) DeepCopyInto(out *MemoryAllocation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemoryAllocationMode added in v0.43.0

type MemoryAllocationMode string
const (
	MemoryAllocationModeImmediate MemoryAllocationMode = "immediate"
)

type MemoryBacking added in v0.6.1

type MemoryBacking struct {
	HugePages    *HugePages           `xml:"hugepages,omitempty"`
	Source       *MemoryBackingSource `xml:"source,omitempty"`
	Access       *MemoryBackingAccess `xml:"access,omitempty"`
	Allocation   *MemoryAllocation    `xml:"allocation,omitempty"`
	NoSharePages *NoSharePages        `xml:"nosharepages,omitempty"`
}

MemoryBacking mirroring libvirt XML under https://libvirt.org/formatdomain.html#elementsMemoryBacking

func (*MemoryBacking) DeepCopy added in v0.6.1

func (in *MemoryBacking) DeepCopy() *MemoryBacking

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryBacking.

func (*MemoryBacking) DeepCopyInto added in v0.6.1

func (in *MemoryBacking) DeepCopyInto(out *MemoryBacking)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemoryBackingAccess added in v0.34.0

type MemoryBackingAccess struct {
	Mode string `xml:"mode,attr"`
}

func (*MemoryBackingAccess) DeepCopy added in v0.34.0

func (in *MemoryBackingAccess) DeepCopy() *MemoryBackingAccess

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryBackingAccess.

func (*MemoryBackingAccess) DeepCopyInto added in v0.34.0

func (in *MemoryBackingAccess) DeepCopyInto(out *MemoryBackingAccess)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemoryBackingSource added in v0.34.0

type MemoryBackingSource struct {
	Type string `xml:"type,attr"`
}

func (*MemoryBackingSource) DeepCopy added in v0.34.0

func (in *MemoryBackingSource) DeepCopy() *MemoryBackingSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryBackingSource.

func (*MemoryBackingSource) DeepCopyInto added in v0.34.0

func (in *MemoryBackingSource) DeepCopyInto(out *MemoryBackingSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemoryDevice added in v1.1.0

type MemoryDevice struct {
	XMLName xml.Name      `xml:"memory"`
	Model   string        `xml:"model,attr"`
	Target  *MemoryTarget `xml:"target"`
	Alias   *Alias        `xml:"alias,omitempty"`
	Address *Address      `xml:"address,omitempty"`
}

func (*MemoryDevice) DeepCopy added in v1.1.0

func (in *MemoryDevice) DeepCopy() *MemoryDevice

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryDevice.

func (*MemoryDevice) DeepCopyInto added in v1.1.0

func (in *MemoryDevice) DeepCopyInto(out *MemoryDevice)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemoryDumpMetadata added in v0.54.0

type MemoryDumpMetadata struct {
	FileName       string       `xml:"fileName,omitempty"`
	StartTimestamp *metav1.Time `xml:"startTimestamp,omitempty"`
	EndTimestamp   *metav1.Time `xml:"endTimestamp,omitempty"`
	Completed      bool         `xml:"completed,omitempty"`
	Failed         bool         `xml:"failed,omitempty"`
	FailureReason  string       `xml:"failureReason,omitempty"`
}

func (*MemoryDumpMetadata) DeepCopy added in v0.54.0

func (in *MemoryDumpMetadata) DeepCopy() *MemoryDumpMetadata

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryDumpMetadata.

func (*MemoryDumpMetadata) DeepCopyInto added in v0.54.0

func (in *MemoryDumpMetadata) DeepCopyInto(out *MemoryDumpMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemoryTarget added in v1.1.0

type MemoryTarget struct {
	Size      Memory         `xml:"size"`
	Requested Memory         `xml:"requested"`
	Current   Memory         `xml:"current"`
	Node      string         `xml:"node"`
	Block     Memory         `xml:"block"`
	Address   *MemoryAddress `xml:"address,omitempty"`
}

func (*MemoryTarget) DeepCopy added in v1.1.0

func (in *MemoryTarget) DeepCopy() *MemoryTarget

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryTarget.

func (*MemoryTarget) DeepCopyInto added in v1.1.0

func (in *MemoryTarget) DeepCopyInto(out *MemoryTarget)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Metadata

type Metadata struct {
	// KubeVirt contains kubevirt related metadata
	// Note: Libvirt only accept one element at metadata root with a specific namespace
	KubeVirt KubeVirtMetadata `xml:"http://kubevirt.io kubevirt"`
}

func (*Metadata) DeepCopy

func (in *Metadata) DeepCopy() *Metadata

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.

func (*Metadata) DeepCopyInto

func (in *Metadata) DeepCopyInto(out *Metadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MigrationMetadata added in v0.9.2

type MigrationMetadata struct {
	UID            types.UID        `xml:"uid,omitempty"`
	StartTimestamp *metav1.Time     `xml:"startTimestamp,omitempty"`
	EndTimestamp   *metav1.Time     `xml:"endTimestamp,omitempty"`
	Completed      bool             `xml:"completed,omitempty"`
	Failed         bool             `xml:"failed,omitempty"`
	FailureReason  string           `xml:"failureReason,omitempty"`
	AbortStatus    string           `xml:"abortStatus,omitempty"`
	Mode           v1.MigrationMode `xml:"mode,omitempty"`
}

func (*MigrationMetadata) DeepCopy added in v0.9.2

func (in *MigrationMetadata) DeepCopy() *MigrationMetadata

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationMetadata.

func (*MigrationMetadata) DeepCopyInto added in v0.9.2

func (in *MigrationMetadata) DeepCopyInto(out *MigrationMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Model

type Model struct {
	Type string `xml:"type,attr"`
}

func (*Model) DeepCopy

func (in *Model) DeepCopy() *Model

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Model.

func (*Model) DeepCopyInto

func (in *Model) DeepCopyInto(out *Model)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NUMA added in v0.34.0

type NUMA struct {
	Cells []NUMACell `xml:"cell"`
}

func (*NUMA) DeepCopy added in v0.34.0

func (in *NUMA) DeepCopy() *NUMA

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NUMA.

func (*NUMA) DeepCopyInto added in v0.34.0

func (in *NUMA) DeepCopyInto(out *NUMA)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NUMACell added in v0.34.0

type NUMACell struct {
	ID           string `xml:"id,attr"`
	CPUs         string `xml:"cpus,attr"`
	Memory       uint64 `xml:"memory,attr,omitempty"`
	Unit         string `xml:"unit,attr,omitempty"`
	MemoryAccess string `xml:"memAccess,attr,omitempty"`
}

func (*NUMACell) DeepCopy added in v0.34.0

func (in *NUMACell) DeepCopy() *NUMACell

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NUMACell.

func (*NUMACell) DeepCopyInto added in v0.34.0

func (in *NUMACell) DeepCopyInto(out *NUMACell)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NUMATune added in v0.43.0

type NUMATune struct {
	Memory   NumaTuneMemory `xml:"memory"`
	MemNodes []MemNode      `xml:"memnode"`
}

func (*NUMATune) DeepCopy added in v0.43.0

func (in *NUMATune) DeepCopy() *NUMATune

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NUMATune.

func (*NUMATune) DeepCopyInto added in v0.43.0

func (in *NUMATune) DeepCopyInto(out *NUMATune)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NVRam

type NVRam struct {
	Template string `xml:"template,attr,omitempty"`
	NVRam    string `xml:",chardata"`
}

func (*NVRam) DeepCopy

func (in *NVRam) DeepCopy() *NVRam

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NVRam.

func (*NVRam) DeepCopyInto

func (in *NVRam) DeepCopyInto(out *NVRam)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NoSharePages added in v0.47.0

type NoSharePages struct {
}

func (*NoSharePages) DeepCopy added in v0.47.0

func (in *NoSharePages) DeepCopy() *NoSharePages

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoSharePages.

func (*NoSharePages) DeepCopyInto added in v0.47.0

func (in *NoSharePages) DeepCopyInto(out *NoSharePages)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NumaTuneMemory added in v0.43.0

type NumaTuneMemory struct {
	Mode    string `xml:"mode,attr"`
	NodeSet string `xml:"nodeset,attr"`
}

func (*NumaTuneMemory) DeepCopy added in v0.43.0

func (in *NumaTuneMemory) DeepCopy() *NumaTuneMemory

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumaTuneMemory.

func (*NumaTuneMemory) DeepCopyInto added in v0.43.0

func (in *NumaTuneMemory) DeepCopyInto(out *NumaTuneMemory)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OS

type OS struct {
	Type       OSType    `xml:"type"`
	ACPI       *OSACPI   `xml:"acpi,omitempty"`
	SMBios     *SMBios   `xml:"smbios,omitempty"`
	BootOrder  []Boot    `xml:"boot"`
	BootMenu   *BootMenu `xml:"bootmenu,omitempty"`
	BIOS       *BIOS     `xml:"bios,omitempty"`
	BootLoader *Loader   `xml:"loader,omitempty"`
	NVRam      *NVRam    `xml:"nvram,omitempty"`
	Kernel     string    `xml:"kernel,omitempty"`
	Initrd     string    `xml:"initrd,omitempty"`
	KernelArgs string    `xml:"cmdline,omitempty"`
}

func (*OS) DeepCopy

func (in *OS) DeepCopy() *OS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OS.

func (*OS) DeepCopyInto

func (in *OS) DeepCopyInto(out *OS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OSACPI added in v1.2.0

type OSACPI struct {
	Table ACPITable `xml:"table,omitempty"`
}

func (*OSACPI) DeepCopy added in v1.2.0

func (in *OSACPI) DeepCopy() *OSACPI

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSACPI.

func (*OSACPI) DeepCopyInto added in v1.2.0

func (in *OSACPI) DeepCopyInto(out *OSACPI)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OSType

type OSType struct {
	OS      string `xml:",chardata"`
	Arch    string `xml:"arch,attr,omitempty"`
	Machine string `xml:"machine,attr,omitempty"`
}

func (*OSType) DeepCopy

func (in *OSType) DeepCopy() *OSType

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSType.

func (*OSType) DeepCopyInto

func (in *OSType) DeepCopyInto(out *OSType)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReadOnly

type ReadOnly struct{}

func (*ReadOnly) DeepCopy

func (in *ReadOnly) DeepCopy() *ReadOnly

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadOnly.

func (*ReadOnly) DeepCopyInto

func (in *ReadOnly) DeepCopyInto(out *ReadOnly)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RedirectedDevice added in v0.44.1

type RedirectedDevice struct {
	Type   string                 `xml:"type,attr"`
	Bus    string                 `xml:"bus,attr"`
	Source RedirectedDeviceSource `xml:"source"`
}

RedirectedDevice describes a device to be redirected See: https://libvirt.org/formatdomain.html#redirected-devices

func (*RedirectedDevice) DeepCopy added in v0.44.1

func (in *RedirectedDevice) DeepCopy() *RedirectedDevice

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedirectedDevice.

func (*RedirectedDevice) DeepCopyInto added in v0.44.1

func (in *RedirectedDevice) DeepCopyInto(out *RedirectedDevice)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RedirectedDeviceSource added in v0.44.1

type RedirectedDeviceSource struct {
	Mode string `xml:"mode,attr"`
	Path string `xml:"path,attr"`
}

func (*RedirectedDeviceSource) DeepCopy added in v0.44.1

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedirectedDeviceSource.

func (*RedirectedDeviceSource) DeepCopyInto added in v0.44.1

func (in *RedirectedDeviceSource) DeepCopyInto(out *RedirectedDeviceSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Reservations added in v1.0.0

type Reservations struct {
	Managed            string              `xml:"managed,attr,omitempty"`
	SourceReservations *SourceReservations `xml:"source,omitempty"`
}

func (*Reservations) DeepCopy added in v1.0.0

func (in *Reservations) DeepCopy() *Reservations

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Reservations.

func (*Reservations) DeepCopyInto added in v1.0.0

func (in *Reservations) DeepCopyInto(out *Reservations)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Resource

type Resource struct {
	Partition string `xml:"partition"`
}

func (*Resource) DeepCopy

func (in *Resource) DeepCopy() *Resource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.

func (*Resource) DeepCopyInto

func (in *Resource) DeepCopyInto(out *Resource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Rng added in v0.8.0

type Rng struct {
	// Model attribute specifies what type of RNG device is provided
	Model string `xml:"model,attr"`
	// Backend specifies the source of entropy to be used
	Backend *RngBackend `xml:"backend,omitempty"`
	Address *Address    `xml:"address,omitempty"`
	Driver  *RngDriver  `xml:"driver,omitempty"`
}

Rng represents the source of entropy from host to VM

func (*Rng) DeepCopy added in v0.8.0

func (in *Rng) DeepCopy() *Rng

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rng.

func (*Rng) DeepCopyInto added in v0.8.0

func (in *Rng) DeepCopyInto(out *Rng)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RngBackend added in v0.8.0

type RngBackend struct {
	// Model is source model
	Model string `xml:"model,attr"`
	// specifies the source of entropy to be used
	Source string `xml:",chardata"`
}

RngBackend is the backend device used

func (*RngBackend) DeepCopy added in v0.8.0

func (in *RngBackend) DeepCopy() *RngBackend

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RngBackend.

func (*RngBackend) DeepCopyInto added in v0.8.0

func (in *RngBackend) DeepCopyInto(out *RngBackend)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RngDriver added in v0.49.0

type RngDriver struct {
	IOMMU string `xml:"iommu,attr,omitempty"`
}

func (*RngDriver) DeepCopy added in v0.49.0

func (in *RngDriver) DeepCopy() *RngDriver

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RngDriver.

func (*RngDriver) DeepCopyInto added in v0.49.0

func (in *RngDriver) DeepCopyInto(out *RngDriver)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RngRate added in v0.8.0

type RngRate struct {
	// Period define how long is the read period
	Period uint32 `xml:"period,attr"`
	// Bytes define how many bytes can guest read from entropy source
	Bytes uint32 `xml:"bytes,attr"`
}

RngRate sets the limiting factor how to read from entropy source

func (*RngRate) DeepCopy added in v0.8.0

func (in *RngRate) DeepCopy() *RngRate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RngRate.

func (*RngRate) DeepCopyInto added in v0.8.0

func (in *RngRate) DeepCopyInto(out *RngRate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Rom added in v0.34.0

type Rom struct {
	Enabled string `xml:"enabled,attr"`
}

func (*Rom) DeepCopy added in v0.34.0

func (in *Rom) DeepCopy() *Rom

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rom.

func (*Rom) DeepCopyInto added in v0.34.0

func (in *Rom) DeepCopyInto(out *Rom)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SEVNodeParameters added in v1.1.0

type SEVNodeParameters struct {
	PDH       string
	CertChain string
}

func (*SEVNodeParameters) DeepCopy added in v1.1.0

func (in *SEVNodeParameters) DeepCopy() *SEVNodeParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SEVNodeParameters.

func (*SEVNodeParameters) DeepCopyInto added in v1.1.0

func (in *SEVNodeParameters) DeepCopyInto(out *SEVNodeParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SMBios

type SMBios struct {
	Mode string `xml:"mode,attr"`
}

func (*SMBios) DeepCopy

func (in *SMBios) DeepCopy() *SMBios

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SMBios.

func (*SMBios) DeepCopyInto

func (in *SMBios) DeepCopyInto(out *SMBios)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretSpec

type SecretSpec struct {
	XMLName     xml.Name    `xml:"secret"`
	Ephemeral   string      `xml:"ephemeral,attr"`
	Private     string      `xml:"private,attr"`
	Description string      `xml:"description,omitempty"`
	Usage       SecretUsage `xml:"usage,omitempty"`
}

func (*SecretSpec) DeepCopy

func (in *SecretSpec) DeepCopy() *SecretSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSpec.

func (*SecretSpec) DeepCopyInto

func (in *SecretSpec) DeepCopyInto(out *SecretSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretUsage

type SecretUsage struct {
	Type   string `xml:"type,attr"`
	Target string `xml:"target,omitempty"`
}

func (*SecretUsage) DeepCopy

func (in *SecretUsage) DeepCopy() *SecretUsage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretUsage.

func (*SecretUsage) DeepCopyInto

func (in *SecretUsage) DeepCopyInto(out *SecretUsage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Serial

type Serial struct {
	Type   string        `xml:"type,attr"`
	Target *SerialTarget `xml:"target,omitempty"`
	Source *SerialSource `xml:"source,omitempty"`
	Alias  *Alias        `xml:"alias,omitempty"`
	Log    *SerialLog    `xml:"log,omitempty"`
}

func (*Serial) DeepCopy

func (in *Serial) DeepCopy() *Serial

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Serial.

func (*Serial) DeepCopyInto

func (in *Serial) DeepCopyInto(out *Serial)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SerialLog added in v1.1.0

type SerialLog struct {
	File   string `xml:"file,attr,omitempty"`
	Append string `xml:"append,attr,omitempty"`
}

func (*SerialLog) DeepCopy added in v1.1.0

func (in *SerialLog) DeepCopy() *SerialLog

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialLog.

func (*SerialLog) DeepCopyInto added in v1.1.0

func (in *SerialLog) DeepCopyInto(out *SerialLog)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SerialSource

type SerialSource struct {
	Mode string `xml:"mode,attr,omitempty"`
	Path string `xml:"path,attr,omitempty"`
}

func (*SerialSource) DeepCopy

func (in *SerialSource) DeepCopy() *SerialSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialSource.

func (*SerialSource) DeepCopyInto

func (in *SerialSource) DeepCopyInto(out *SerialSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SerialTarget

type SerialTarget struct {
	Port *uint `xml:"port,attr,omitempty"`
}

func (*SerialTarget) DeepCopy

func (in *SerialTarget) DeepCopy() *SerialTarget

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialTarget.

func (*SerialTarget) DeepCopyInto

func (in *SerialTarget) DeepCopyInto(out *SerialTarget)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Shareable added in v0.51.0

type Shareable struct{}

func (*Shareable) DeepCopy added in v0.51.0

func (in *Shareable) DeepCopy() *Shareable

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Shareable.

func (*Shareable) DeepCopyInto added in v0.51.0

func (in *Shareable) DeepCopyInto(out *Shareable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Slice added in v1.3.0

type Slice struct {
	Slice SliceType `xml:"slice,omitempty"`
}

func (*Slice) DeepCopy added in v1.3.0

func (in *Slice) DeepCopy() *Slice

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Slice.

func (*Slice) DeepCopyInto added in v1.3.0

func (in *Slice) DeepCopyInto(out *Slice)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SliceType added in v1.3.0

type SliceType struct {
	Type   string `xml:"type,attr"`
	Offset int64  `xml:"offset,attr"`
	Size   int64  `xml:"size,attr"`
}

func (*SliceType) DeepCopy added in v1.3.0

func (in *SliceType) DeepCopy() *SliceType

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SliceType.

func (*SliceType) DeepCopyInto added in v1.3.0

func (in *SliceType) DeepCopyInto(out *SliceType)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SoundCard added in v0.48.0

type SoundCard struct {
	Alias *Alias `xml:"alias,omitempty"`
	Model string `xml:"model,attr"`
}

func (*SoundCard) DeepCopy added in v0.48.0

func (in *SoundCard) DeepCopy() *SoundCard

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SoundCard.

func (*SoundCard) DeepCopyInto added in v0.48.0

func (in *SoundCard) DeepCopyInto(out *SoundCard)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SourceReservations added in v1.0.0

type SourceReservations struct {
	Type string `xml:"type,attr"`
	Path string `xml:"path,attr,omitempty"`
	Mode string `xml:"mode,attr,omitempty"`
}

func (*SourceReservations) DeepCopy added in v1.0.0

func (in *SourceReservations) DeepCopy() *SourceReservations

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceReservations.

func (*SourceReservations) DeepCopyInto added in v1.0.0

func (in *SourceReservations) DeepCopyInto(out *SourceReservations)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StateChangeReason

type StateChangeReason string

type Stats added in v0.33.0

type Stats struct {
	Period uint `xml:"period,attr"`
}

func (*Stats) DeepCopy added in v0.33.0

func (in *Stats) DeepCopy() *Stats

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stats.

func (*Stats) DeepCopyInto added in v0.33.0

func (in *Stats) DeepCopyInto(out *Stats)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SyNICTimer added in v0.40.0

type SyNICTimer struct {
	Direct *FeatureState `xml:"direct,omitempty"`
	State  string        `xml:"state,attr,omitempty"`
}

func (*SyNICTimer) DeepCopy added in v0.40.0

func (in *SyNICTimer) DeepCopy() *SyNICTimer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyNICTimer.

func (*SyNICTimer) DeepCopyInto added in v0.40.0

func (in *SyNICTimer) DeepCopyInto(out *SyNICTimer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SysInfo

type SysInfo struct {
	Type      string  `xml:"type,attr"`
	System    []Entry `xml:"system>entry"`
	BIOS      []Entry `xml:"bios>entry"`
	BaseBoard []Entry `xml:"baseBoard>entry"`
	Chassis   []Entry `xml:"chassis>entry"`
}

func (*SysInfo) DeepCopy

func (in *SysInfo) DeepCopy() *SysInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysInfo.

func (*SysInfo) DeepCopyInto

func (in *SysInfo) DeepCopyInto(out *SysInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TPM added in v0.53.0

type TPM struct {
	Model   string     `xml:"model,attr"`
	Backend TPMBackend `xml:"backend"`
}

func (*TPM) DeepCopy added in v0.53.0

func (in *TPM) DeepCopy() *TPM

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TPM.

func (*TPM) DeepCopyInto added in v0.53.0

func (in *TPM) DeepCopyInto(out *TPM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TPMBackend added in v0.53.0

type TPMBackend struct {
	Type            string `xml:"type,attr"`
	Version         string `xml:"version,attr"`
	PersistentState string `xml:"persistent_state,attr,omitempty"`
}

func (*TPMBackend) DeepCopy added in v0.53.0

func (in *TPMBackend) DeepCopy() *TPMBackend

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TPMBackend.

func (*TPMBackend) DeepCopyInto added in v0.53.0

func (in *TPMBackend) DeepCopyInto(out *TPMBackend)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Timer

type Timer struct {
	Name       string `xml:"name,attr"`
	TickPolicy string `xml:"tickpolicy,attr,omitempty"`
	Present    string `xml:"present,attr,omitempty"`
	Track      string `xml:"track,attr,omitempty"`
	Frequency  string `xml:"frequency,attr,omitempty"`
}

func (*Timer) DeepCopy

func (in *Timer) DeepCopy() *Timer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Timer.

func (*Timer) DeepCopyInto

func (in *Timer) DeepCopyInto(out *Timer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Timezone added in v0.27.0

type Timezone struct {
	Zone   string
	Offset int
}

func (*Timezone) DeepCopy added in v0.27.0

func (in *Timezone) DeepCopy() *Timezone

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Timezone.

func (*Timezone) DeepCopyInto added in v0.27.0

func (in *Timezone) DeepCopyInto(out *Timezone)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type User added in v0.27.0

type User struct {
	Name      string
	Domain    string
	LoginTime float64
}

func (*User) DeepCopy added in v0.27.0

func (in *User) DeepCopy() *User

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.

func (*User) DeepCopyInto added in v0.27.0

func (in *User) DeepCopyInto(out *User)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VCPU

type VCPU struct {
	Placement string `xml:"placement,attr"`
	CPUs      uint32 `xml:",chardata"`
}

func (*VCPU) DeepCopy

func (in *VCPU) DeepCopy() *VCPU

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCPU.

func (*VCPU) DeepCopyInto

func (in *VCPU) DeepCopyInto(out *VCPU)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VCPUs added in v1.0.0

type VCPUs struct {
	VCPU []VCPUsVCPU `xml:"vcpu"`
}

func (*VCPUs) DeepCopy added in v1.0.0

func (in *VCPUs) DeepCopy() *VCPUs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCPUs.

func (*VCPUs) DeepCopyInto added in v1.0.0

func (in *VCPUs) DeepCopyInto(out *VCPUs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VCPUsVCPU added in v1.0.0

type VCPUsVCPU struct {
	ID           uint32 `xml:"id,attr"`
	Enabled      string `xml:"enabled,attr,omitempty"`
	Hotpluggable string `xml:"hotpluggable,attr,omitempty"`
	Order        uint32 `xml:"order,attr,omitempty"`
}

func (*VCPUsVCPU) DeepCopy added in v1.0.0

func (in *VCPUsVCPU) DeepCopy() *VCPUsVCPU

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCPUsVCPU.

func (*VCPUsVCPU) DeepCopyInto added in v1.0.0

func (in *VCPUsVCPU) DeepCopyInto(out *VCPUsVCPU)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VSOCK added in v0.59.0

type VSOCK struct {
	Model string `xml:"model,attr,omitempty"`
	CID   CID    `xml:"cid"`
}

func (*VSOCK) DeepCopy added in v0.59.0

func (in *VSOCK) DeepCopy() *VSOCK

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSOCK.

func (*VSOCK) DeepCopyInto added in v0.59.0

func (in *VSOCK) DeepCopyInto(out *VSOCK)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Video

type Video struct {
	Model VideoModel `xml:"model"`
}

func (*Video) DeepCopy

func (in *Video) DeepCopy() *Video

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Video.

func (*Video) DeepCopyInto

func (in *Video) DeepCopyInto(out *Video)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VideoModel

type VideoModel struct {
	Type   string `xml:"type,attr"`
	Heads  *uint  `xml:"heads,attr,omitempty"`
	Ram    *uint  `xml:"ram,attr,omitempty"`
	VRam   *uint  `xml:"vram,attr,omitempty"`
	VGAMem *uint  `xml:"vgamem,attr,omitempty"`
}

func (*VideoModel) DeepCopy

func (in *VideoModel) DeepCopy() *VideoModel

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VideoModel.

func (*VideoModel) DeepCopyInto

func (in *VideoModel) DeepCopyInto(out *VideoModel)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Watchdog

type Watchdog struct {
	Model   string   `xml:"model,attr"`
	Action  string   `xml:"action,attr"`
	Alias   *Alias   `xml:"alias,omitempty"`
	Address *Address `xml:"address,omitempty"`
}

func (*Watchdog) DeepCopy

func (in *Watchdog) DeepCopy() *Watchdog

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Watchdog.

func (*Watchdog) DeepCopyInto

func (in *Watchdog) DeepCopyInto(out *Watchdog)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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