Documentation ¶
Index ¶
- type Libvirt
- func (lv *Libvirt) CreateMachine(machine *models.Machine) error
- func (lv *Libvirt) CreateNetwork(network *models.Network) error
- func (lv *Libvirt) DeleteMachine(machine *models.Machine) error
- func (lv *Libvirt) GetMachineState(id string) (models.MachineState, error)
- func (lv *Libvirt) RebootMachine(machine *models.Machine) error
- func (lv *Libvirt) StartMachine(machine *models.Machine) error
- func (lv *Libvirt) StopMachine(machine *models.Machine) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Libvirt ¶
type Libvirt struct {
// contains filtered or unexported fields
}
func (*Libvirt) CreateNetwork ¶
CreateNetwork ensures that the specified network exists on the machine.
func (*Libvirt) GetMachineState ¶
func (lv *Libvirt) GetMachineState(id string) (models.MachineState, error)
func (*Libvirt) RebootMachine ¶
RebootMachine reboots an active machine.
func (*Libvirt) StartMachine ¶
StartMachine starts a new machine.
Click to show internal directories.
Click to hide internal directories.