Documentation ¶
Index ¶
- Variables
- func CleanupTags() error
- func DeleteSnapshot(path string, name string) error
- func DeleteVM(path_ string) error
- func GetGuestIPAddress(vmx string) (string, error)
- func RestoreSnapshot(path string, name string) error
- func Running() ([]string, error)
- func Start(path string, gui bool) error
- func Stop(path string) error
- func StoreTags(tags Tags) error
- func TakeSnapshot(path string, name string) error
- func UpdateTag(tag *Tag) error
- type CloneOptions
- type Lease
- type Leases
- type NetworkInterface
- type Snapshot
- type Tag
- type Tags
- type Vm
- func (vm *Vm) Clone(dst string, opts *CloneOptions) (*Vm, error)
- func (vm *Vm) Delete() error
- func (vm *Vm) GuestIPAddress() (string, error)
- func (vm *Vm) Id() string
- func (vm *Vm) Ip() (string, error)
- func (vm *Vm) Matches(q string) bool
- func (vm *Vm) ModifyCpu(cpus int) error
- func (vm *Vm) ModifyMemory(mem int) error
- func (vm *Vm) RestoreSnapshot(name string) error
- func (vm *Vm) Running() (bool, error)
- func (vm *Vm) Start() error
- func (vm *Vm) StartWithGui() error
- func (vm *Vm) StartedAt() (started time.Time, e error)
- func (vm *Vm) Stop() error
- func (vm *Vm) Vmx() (*Vmx, error)
- type Vms
- type Vmx
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CleanupTags ¶
func CleanupTags() error
func DeleteSnapshot ¶
func GetGuestIPAddress ¶
func RestoreSnapshot ¶
func TakeSnapshot ¶
Types ¶
type CloneOptions ¶
type NetworkInterface ¶
func LoadArpInterfaces ¶
func LoadArpInterfaces() ([]*NetworkInterface, error)
func ParseArpData ¶
func ParseArpData(s string) (ifs []*NetworkInterface)
type Vm ¶
type Vm struct { Path string Tags Tags State string IP string Name string // contains filtered or unexported fields }
func (*Vm) GuestIPAddress ¶
func (*Vm) ModifyMemory ¶
func (*Vm) RestoreSnapshot ¶
func (*Vm) StartWithGui ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.