Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Domain ¶
type Domain struct { // The domain object Dom *libvirt.Domain // IP address of the VM. IP string // Snapshot list the VM has. Snapshots []string }
Domain represents a domain.
type VMManager ¶
type VMManager struct {
Conn *libvirt.Libvirt
}
func New ¶
New creates a new libvirt RPC connection. It dials libvirt either on the local machine or the remote one depending on the transport parameter "unix" for local and "ssh" for remote connections.
Click to show internal directories.
Click to hide internal directories.