Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeCPU = "3" TypeMemory = "4" TypeIDE = "5" TypeSCSI = "6" TypeNetwork = "10" TypeFloppy = "14" TypeCDROM = "15" TypeDisk = "17" TypeUSB = "23" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskDetails ¶
type DiskSection ¶
type DiskSection struct { Info string `xml:"Info"` Disk []DiskDetails }
type Envelope ¶
type Envelope struct { File []References `xml:"References>File"` DiskSection DiskSection `xml:"DiskSection"` NetworkSection NetworkSection `xml:"NetworkSection"` VirtualSystem VirtualSystem `xml:"VirtualSystem"` }
type NetworkSection ¶
type OperatingSystem ¶
type References ¶
type VirtualHardware ¶
type VirtualHardware struct { Info string `xml:"Info"` System VirtualHardwareSystem `xml:"System"` Items []VirtualHardwareItem `xml:"Item"` }
type VirtualHardwareItem ¶
type VirtualHardwareItem struct { Required string `xml:"required,attr"` Address string `xml:"Address"` AddressOnParent string `xml:"AddressOnParent"` AllocationUnits string `xml:"AllocationUnits"` AutomaticAllocation string `xml:"AutomaticAllocation"` Connection string `xml:"Connection"` Description string `xml:"Description"` ElementName string `xml:"ElementName"` HostResource string `xml:"HostResource"` InstanceID string `xml:"InstanceID"` Parent string `xml:"Parent"` ResourceSubType string `xml:"ResourceSubType"` ResourceType string `xml:"ResourceType"` VirtualQuantity string `xml:"VirtualQuantity"` }
type VirtualHardwareSystem ¶
type VirtualSystem ¶
type VirtualSystem struct { ID string `xml:"id,attr"` Info string `xml:"Info"` Name string `xml:"Name"` OperatingSystem OperatingSystem `xml:"OperatingSystemSection"` VirtualHardware VirtualHardware `xml:"VirtualHardwareSection"` }
Click to show internal directories.
Click to hide internal directories.