Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Machine ¶
type Machine struct { Name string Networking MachineNetworking Options MachineOptions Domain libvirt.Domain Status MachineStatus }
func CreateMachine ¶
func CreateMachine(virt *libvirt.Libvirt, options MachineOptions) *Machine
func (*Machine) AttachAgentSock ¶
func (m *Machine) AttachAgentSock(virt *libvirt.Libvirt)
func (*Machine) DetermineNetworking ¶
func (m *Machine) DetermineNetworking(virt *libvirt.Libvirt) *MachineNetworking
func (*Machine) PostCreate ¶
func (m *Machine) PostCreate(virt *libvirt.Libvirt)
type MachineNetworking ¶
TODO: Extend this into support multiple interfaces. The machine might have been set up in such a way that it has passthrough of a physcial card and the virtual card.
type MachineOptions ¶
type MachineStatus ¶
Click to show internal directories.
Click to hide internal directories.