Documentation ¶
Index ¶
- func GetVNCPort(name string) int64
- func InitializeLibvirt()
- func ProcessCommand(name string, command string)
- func ProxyVNC(vncPort int64, password string, useSSL bool) int64
- type VIRXMLDevicesG
- type VIRXMLDevicesM
- type VIRXMLGraphics
- type VIRXMLInterface
- type VIRXMLMac
- type VIRXMLResG
- type VIRXMLResM
- type VIRXMLTargetM
- type VMDomain
- type VMNetDefinition
- type VMNetIfaceDefinition
- type VMStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVNCPort ¶
func InitializeLibvirt ¶
func InitializeLibvirt()
func ProcessCommand ¶
Types ¶
type VIRXMLDevicesG ¶
type VIRXMLDevicesG struct {
Graphics []VIRXMLGraphics `xml:"graphics"`
}
type VIRXMLDevicesM ¶
type VIRXMLDevicesM struct {
Interfaces []VIRXMLInterface `xml:"interface"`
}
type VIRXMLGraphics ¶
type VIRXMLInterface ¶
type VIRXMLInterface struct { Mac VIRXMLMac `xml:"mac"` Target VIRXMLTargetM `xml:"target"` }
type VIRXMLResG ¶
type VIRXMLResG struct { XMLName xml.Name `xml:"domain"` Devices VIRXMLDevicesG `xml:"devices"` }
type VIRXMLResM ¶
type VIRXMLResM struct { XMLName xml.Name `xml:"domain"` Devices VIRXMLDevicesM `xml:"devices"` }
type VIRXMLTargetM ¶
type VIRXMLTargetM struct {
Dev string `xml:"dev,attr"`
}
type VMNetDefinition ¶
type VMNetDefinition struct {
// contains filtered or unexported fields
}
func GetNWParams ¶
func GetNWParams(name string, vmType string) *VMNetDefinition
type VMNetIfaceDefinition ¶
type VMNetIfaceDefinition struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.