api

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

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"
)

Variables

This section is empty.

Functions

func Convert_v1_Clock_To_api_Clock added in v0.2.0

func Convert_v1_Clock_To_api_Clock(source *v1.Clock, clock *Clock, c *ConverterContext) error

func Convert_v1_CloudInitNoCloudSource_To_api_Disk added in v0.2.0

func Convert_v1_CloudInitNoCloudSource_To_api_Disk(source *v1.CloudInitNoCloudSource, disk *Disk, c *ConverterContext) error

func Convert_v1_Disk_To_api_Disk added in v0.2.0

func Convert_v1_Disk_To_api_Disk(diskDevice *v1.Disk, disk *Disk) error

func Convert_v1_FeatureHyperv_To_api_FeatureHyperv added in v0.2.0

func Convert_v1_FeatureHyperv_To_api_FeatureHyperv(source *v1.FeatureHyperv, hyperv *FeatureHyperv, c *ConverterContext) error

func Convert_v1_Features_To_api_Features added in v0.2.0

func Convert_v1_Features_To_api_Features(source *v1.Features, features *Features, c *ConverterContext) error

func Convert_v1_ISCSIVolumeSource_To_api_Disk added in v0.2.0

func Convert_v1_ISCSIVolumeSource_To_api_Disk(source *k8sv1.ISCSIVolumeSource, disk *Disk, c *ConverterContext) error

func Convert_v1_RegistryDiskSource_To_api_Disk added in v0.2.0

func Convert_v1_RegistryDiskSource_To_api_Disk(volumeName string, _ *v1.RegistryDiskSource, disk *Disk, c *ConverterContext) error

func Convert_v1_VirtualMachine_To_api_Domain added in v0.2.0

func Convert_v1_VirtualMachine_To_api_Domain(vm *v1.VirtualMachine, domain *Domain, c *ConverterContext) (err error)

func Convert_v1_Volume_To_api_Disk added in v0.2.0

func Convert_v1_Volume_To_api_Disk(source *v1.Volume, disk *Disk, c *ConverterContext) error

func Convert_v1_Watchdog_To_api_Watchdog added in v0.2.0

func Convert_v1_Watchdog_To_api_Watchdog(source *v1.Watchdog, watchdog *Watchdog, _ *ConverterContext) error

func RegisterDefaults added in v0.2.0

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func SecretToLibvirtSecret added in v0.2.0

func SecretToLibvirtSecret(vm *v1.VirtualMachine, secretName string) string

func SetDefaults_Devices added in v0.2.0

func SetDefaults_Devices(devices *Devices)

func SetDefaults_DomainSpec added in v0.2.0

func SetDefaults_DomainSpec(spec *DomainSpec)

func SetDefaults_OSType added in v0.2.0

func SetDefaults_OSType(ostype *OSType)

func SetDefaults_SysInfo added in v0.2.0

func SetDefaults_SysInfo(sysinfo *SysInfo)

func SetObjectDefaults_Domain added in v0.2.0

func SetObjectDefaults_Domain(in *Domain)

func SetObjectDefaults_DomainList added in v0.2.0

func SetObjectDefaults_DomainList(in *DomainList)

func VMNamespaceKeyFunc added in v0.2.0

func VMNamespaceKeyFunc(vm *v1.VirtualMachine) string

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

Types

type Address

type Address struct {
	Type     string `xml:"type,attr"`
	Domain   string `xml:"domain,attr"`
	Bus      string `xml:"bus,attr"`
	Slot     string `xml:"slot,attr"`
	Function string `xml:"function,attr"`
}

func (*Address) DeepCopy added in v0.2.0

func (in *Address) DeepCopy() *Address

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

func (*Address) DeepCopyInto added in v0.2.0

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 {
	Name string `xml:"name,attr"`
}

func (*Alias) DeepCopy added in v0.2.0

func (in *Alias) DeepCopy() *Alias

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

func (*Alias) DeepCopyInto added in v0.2.0

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

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

type BIOS

type BIOS struct {
}

TODO <loader readonly='yes' secure='no' type='rom'>/usr/lib/xen/boot/hvmloader</loader>

func (*BIOS) DeepCopy added in v0.2.0

func (in *BIOS) DeepCopy() *BIOS

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

func (*BIOS) DeepCopyInto added in v0.2.0

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

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

type Ballooning

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

func (*Ballooning) DeepCopy added in v0.2.0

func (in *Ballooning) DeepCopy() *Ballooning

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

func (*Ballooning) DeepCopyInto added in v0.2.0

func (in *Ballooning) DeepCopyInto(out *Ballooning)

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

func (in *BandWidth) DeepCopy() *BandWidth

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

func (*BandWidth) DeepCopyInto added in v0.2.0

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

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

func (in *Boot) DeepCopy() *Boot

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

func (*Boot) DeepCopyInto added in v0.2.0

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 {
	Enabled bool  `xml:"enabled,attr"`
	Timeout *uint `xml:"timeout,attr,omitempty"`
}

func (*BootMenu) DeepCopy added in v0.2.0

func (in *BootMenu) DeepCopy() *BootMenu

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

func (*BootMenu) DeepCopyInto added in v0.2.0

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

func (in *BootOrder) DeepCopy() *BootOrder

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

func (*BootOrder) DeepCopyInto added in v0.2.0

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

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

func (in *Channel) DeepCopy() *Channel

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

func (*Channel) DeepCopyInto added in v0.2.0

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

func (in *ChannelSource) DeepCopy() *ChannelSource

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

func (*ChannelSource) DeepCopyInto added in v0.2.0

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"`
}

func (*ChannelTarget) DeepCopy added in v0.2.0

func (in *ChannelTarget) DeepCopy() *ChannelTarget

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

func (*ChannelTarget) DeepCopyInto added in v0.2.0

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"`
	Adjustment string  `xml:"adjustment,attr,omitempty"`
	Timer      []Timer `xml:"timer,omitempty"`
}

func (*Clock) DeepCopy added in v0.2.0

func (in *Clock) DeepCopy() *Clock

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

func (*Clock) DeepCopyInto added in v0.2.0

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

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

func (*Commandline) DeepCopy added in v0.2.0

func (in *Commandline) DeepCopy() *Commandline

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

func (*Commandline) DeepCopyInto added in v0.2.0

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,omitmepty"`
}

func (*Console) DeepCopy added in v0.2.0

func (in *Console) DeepCopy() *Console

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

func (*Console) DeepCopyInto added in v0.2.0

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

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

func (*ConsoleSource) DeepCopy added in v0.2.0

func (in *ConsoleSource) DeepCopy() *ConsoleSource

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

func (*ConsoleSource) DeepCopyInto added in v0.2.0

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

func (in *ConsoleTarget) DeepCopy() *ConsoleTarget

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

func (*ConsoleTarget) DeepCopyInto added in v0.2.0

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

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

type ConverterContext added in v0.2.0

type ConverterContext struct {
	Secrets        map[string]*k8sv1.Secret
	VirtualMachine *v1.VirtualMachine
}

func (*ConverterContext) DeepCopy added in v0.2.0

func (in *ConverterContext) DeepCopy() *ConverterContext

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

func (*ConverterContext) DeepCopyInto added in v0.2.0

func (in *ConverterContext) DeepCopyInto(out *ConverterContext)

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

type Devices

type Devices struct {
	Emulator   string      `xml:"emulator,omitempty"`
	Interfaces []Interface `xml:"interface"`
	Channels   []Channel   `xml:"channel"`
	Video      []Video     `xml:"video"`
	Graphics   []Graphics  `xml:"graphics"`
	Ballooning *Ballooning `xml:"memballoon,omitempty"`
	Disks      []Disk      `xml:"disk"`
	Serials    []Serial    `xml:"serial"`
	Consoles   []Console   `xml:"console"`
	Watchdog   *Watchdog   `xml:"watchdog,omitempty"`
}

func (*Devices) DeepCopy added in v0.2.0

func (in *Devices) DeepCopy() *Devices

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

func (*Devices) DeepCopyInto added in v0.2.0

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,omitmepty"`
}

func (*Disk) DeepCopy added in v0.2.0

func (in *Disk) DeepCopy() *Disk

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

func (*Disk) DeepCopyInto added in v0.2.0

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

func (in *DiskAuth) DeepCopy() *DiskAuth

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

func (*DiskAuth) DeepCopyInto added in v0.2.0

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 string `xml:"error_policy,attr,omitempty"`
	IO          string `xml:"io,attr,omitempty"`
	Name        string `xml:"name,attr"`
	Type        string `xml:"type,attr"`
}

func (*DiskDriver) DeepCopy added in v0.2.0

func (in *DiskDriver) DeepCopy() *DiskDriver

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

func (*DiskDriver) DeepCopyInto added in v0.2.0

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"`
}

func (*DiskSecret) DeepCopy added in v0.2.0

func (in *DiskSecret) DeepCopy() *DiskSecret

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

func (*DiskSecret) DeepCopyInto added in v0.2.0

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 {
	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"`
}

func (*DiskSource) DeepCopy added in v0.2.0

func (in *DiskSource) DeepCopy() *DiskSource

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

func (*DiskSource) DeepCopyInto added in v0.2.0

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

func (in *DiskSourceHost) DeepCopy() *DiskSourceHost

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

func (*DiskSourceHost) DeepCopyInto added in v0.2.0

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    string `xml:"bus,attr,omitempty"`
	Device string `xml:"dev,attr,omitempty"`
	Tray   string `xml:"tray,attr,omitempty"`
}

func (*DiskTarget) DeepCopy added in v0.2.0

func (in *DiskTarget) DeepCopy() *DiskTarget

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

func (*DiskTarget) DeepCopyInto added in v0.2.0

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
	ObjectMeta kubev1.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 (*Domain) DeepCopy added in v0.0.3

func (in *Domain) DeepCopy() *Domain

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

func (*Domain) DeepCopyInto added in v0.0.3

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

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 DomainList

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

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

func (*DomainList) DeepCopy added in v0.0.3

func (in *DomainList) DeepCopy() *DomainList

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

func (*DomainList) DeepCopyInto added in v0.0.3

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

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"`
	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"`
}

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(vmName string) *DomainSpec

func (*DomainSpec) DeepCopy added in v0.2.0

func (in *DomainSpec) DeepCopy() *DomainSpec

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

func (*DomainSpec) DeepCopyInto added in v0.2.0

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
}

func (*DomainStatus) DeepCopy added in v0.2.0

func (in *DomainStatus) DeepCopy() *DomainStatus

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

func (*DomainStatus) DeepCopyInto added in v0.2.0

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

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

func (in *Entry) DeepCopy() *Entry

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

func (*Entry) DeepCopyInto added in v0.2.0

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

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

func (*Env) DeepCopy added in v0.2.0

func (in *Env) DeepCopy() *Env

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

func (*Env) DeepCopyInto added in v0.2.0

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

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

type FeatureEnabled added in v0.2.0

type FeatureEnabled struct {
}

func (*FeatureEnabled) DeepCopy added in v0.2.0

func (in *FeatureEnabled) DeepCopy() *FeatureEnabled

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

func (*FeatureEnabled) DeepCopyInto added in v0.2.0

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

type FeatureHyperv struct {
	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 *FeatureState     `xml:"stimer,omitempty"`
	Reset      *FeatureState     `xml:"reset,omitempty"`
	VendorID   *FeatureVendorID  `xml:"vendor_id,omitempty"`
}

func (*FeatureHyperv) DeepCopy added in v0.2.0

func (in *FeatureHyperv) DeepCopy() *FeatureHyperv

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

func (*FeatureHyperv) DeepCopyInto added in v0.2.0

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

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

type FeatureSpinlocks added in v0.2.0

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

func (*FeatureSpinlocks) DeepCopy added in v0.2.0

func (in *FeatureSpinlocks) DeepCopy() *FeatureSpinlocks

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

func (*FeatureSpinlocks) DeepCopyInto added in v0.2.0

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

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

func (*FeatureState) DeepCopy added in v0.2.0

func (in *FeatureState) DeepCopy() *FeatureState

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

func (*FeatureState) DeepCopyInto added in v0.2.0

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

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

func (*FeatureVendorID) DeepCopy added in v0.2.0

func (in *FeatureVendorID) DeepCopy() *FeatureVendorID

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

func (*FeatureVendorID) DeepCopyInto added in v0.2.0

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

type Features struct {
	ACPI   *FeatureEnabled `xml:"acpi,omitempty"`
	APIC   *FeatureEnabled `xml:"apic,omitempty"`
	Hyperv *FeatureHyperv  `xml:"hyperv,omitempty"`
}

func (*Features) DeepCopy added in v0.2.0

func (in *Features) DeepCopy() *Features

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

func (*Features) DeepCopyInto added in v0.2.0

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

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

func (in *FilterRef) DeepCopy() *FilterRef

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

func (*FilterRef) DeepCopyInto added in v0.2.0

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

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

func (*GracePeriodMetadata) DeepCopy added in v0.2.0

func (in *GracePeriodMetadata) DeepCopy() *GracePeriodMetadata

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

func (*GracePeriodMetadata) DeepCopyInto added in v0.2.0

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

func (in *Graphics) DeepCopy() *Graphics

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

func (*Graphics) DeepCopyInto added in v0.2.0

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

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

func (in *GraphicsListen) DeepCopy() *GraphicsListen

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

func (*GraphicsListen) DeepCopyInto added in v0.2.0

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

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

type Interface

type Interface struct {
	Address   *Address         `xml:"address,omitempty"`
	Type      string           `xml:"type,attr"`
	Source    InterfaceSource  `xml:"source"`
	Target    *InterfaceTarget `xml:"target,omitempty"`
	Model     *Model           `xml:"model,omitempty"`
	MAC       *MAC             `xml:"mac,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"`
}

func (*Interface) DeepCopy added in v0.2.0

func (in *Interface) DeepCopy() *Interface

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

func (*Interface) DeepCopyInto added in v0.2.0

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

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"`
}

func (*InterfaceSource) DeepCopy added in v0.2.0

func (in *InterfaceSource) DeepCopy() *InterfaceSource

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

func (*InterfaceSource) DeepCopyInto added in v0.2.0

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

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"`
}

func (*InterfaceTarget) DeepCopy added in v0.2.0

func (in *InterfaceTarget) DeepCopy() *InterfaceTarget

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

func (*InterfaceTarget) DeepCopyInto added in v0.2.0

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

type KubeVirtMetadata struct {
	UID         types.UID           `xml:"uid"`
	GracePeriod GracePeriodMetadata `xml:"graceperiod,omitempty"`
}

func (*KubeVirtMetadata) DeepCopy added in v0.2.0

func (in *KubeVirtMetadata) DeepCopy() *KubeVirtMetadata

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

func (*KubeVirtMetadata) DeepCopyInto added in v0.2.0

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

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

func (in *LinkState) DeepCopy() *LinkState

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

func (*LinkState) DeepCopyInto added in v0.2.0

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 {
}

TODO <bios useserial='yes' rebootTimeout='0'/>

func (*Loader) DeepCopy added in v0.2.0

func (in *Loader) DeepCopy() *Loader

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

func (*Loader) DeepCopyInto added in v0.2.0

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

func (in *MAC) DeepCopy() *MAC

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

func (*MAC) DeepCopyInto added in v0.2.0

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

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

type Memory

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

func QuantityToMegaByte added in v0.2.0

func QuantityToMegaByte(quantity resource.Quantity) Memory

func (*Memory) DeepCopy added in v0.2.0

func (in *Memory) DeepCopy() *Memory

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

func (*Memory) DeepCopyInto added in v0.2.0

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

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

type Metadata added in v0.2.0

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

func (in *Metadata) DeepCopy() *Metadata

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

func (*Metadata) DeepCopyInto added in v0.2.0

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

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

func (in *Model) DeepCopy() *Model

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

func (*Model) DeepCopyInto added in v0.2.0

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

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

type NVRam

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

func (*NVRam) DeepCopy added in v0.2.0

func (in *NVRam) DeepCopy() *NVRam

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

func (*NVRam) DeepCopyInto added in v0.2.0

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

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"`
	SMBios     *SMBios   `xml:"smbios,omitempty"`
	BootOrder  []Boot    `xml:"boot"`
	BootMenu   *BootMenu `xml:"bootmenu,omitempty"`
	BIOS       *BIOS     `xml:"bios,omitempty"`
	Kernel     string    `xml:"kernel,omitempty"`
	Initrd     string    `xml:"initrd,omitempty"`
	KernelArgs string    `xml:"cmdline,omitempty"`
}

func (*OS) DeepCopy added in v0.2.0

func (in *OS) DeepCopy() *OS

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

func (*OS) DeepCopyInto added in v0.2.0

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

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

func (in *OSType) DeepCopy() *OSType

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

func (*OSType) DeepCopyInto added in v0.2.0

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

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

type RandomGenerator

type RandomGenerator struct {
}

func (*RandomGenerator) DeepCopy added in v0.2.0

func (in *RandomGenerator) DeepCopy() *RandomGenerator

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

func (*RandomGenerator) DeepCopyInto added in v0.2.0

func (in *RandomGenerator) DeepCopyInto(out *RandomGenerator)

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

func (in *ReadOnly) DeepCopy() *ReadOnly

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

func (*ReadOnly) DeepCopyInto added in v0.2.0

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

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

type Resource added in v0.0.3

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

func (*Resource) DeepCopy added in v0.2.0

func (in *Resource) DeepCopy() *Resource

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

func (*Resource) DeepCopyInto added in v0.2.0

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

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

func (in *SMBios) DeepCopy() *SMBios

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

func (*SMBios) DeepCopyInto added in v0.2.0

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

func (in *SecretSpec) DeepCopy() *SecretSpec

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

func (*SecretSpec) DeepCopyInto added in v0.2.0

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

func (in *SecretUsage) DeepCopy() *SecretUsage

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

func (*SecretUsage) DeepCopyInto added in v0.2.0

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,omitmepty"`
}

func (*Serial) DeepCopy added in v0.2.0

func (in *Serial) DeepCopy() *Serial

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

func (*Serial) DeepCopyInto added in v0.2.0

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

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

type SerialSource added in v0.2.0

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

func (*SerialSource) DeepCopy added in v0.2.0

func (in *SerialSource) DeepCopy() *SerialSource

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

func (*SerialSource) DeepCopyInto added in v0.2.0

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

func (in *SerialTarget) DeepCopy() *SerialTarget

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

func (*SerialTarget) DeepCopyInto added in v0.2.0

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

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

type StateChangeReason

type StateChangeReason string

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"`
}

func (*SysInfo) DeepCopy added in v0.2.0

func (in *SysInfo) DeepCopy() *SysInfo

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

func (*SysInfo) DeepCopyInto added in v0.2.0

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

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"`
}

func (*Timer) DeepCopy added in v0.2.0

func (in *Timer) DeepCopy() *Timer

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

func (*Timer) DeepCopyInto added in v0.2.0

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

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

func (in *Video) DeepCopy() *Video

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

func (*Video) DeepCopyInto added in v0.2.0

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

func (in *VideoModel) DeepCopy() *VideoModel

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

func (*VideoModel) DeepCopyInto added in v0.2.0

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

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

func (*Watchdog) DeepCopy added in v0.2.0

func (in *Watchdog) DeepCopy() *Watchdog

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

func (*Watchdog) DeepCopyInto added in v0.2.0

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