Documentation
¶
Index ¶
- Variables
- 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 Start(path string, gui bool) error
- func Stop(path string) error
- func TakeSnapshot(path string, name string) error
- type CloneOptions
- type Lease
- type Leases
- type Snapshot
- 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) Ip() (string, error)
- func (vm *Vm) Name() string
- func (vm *Vm) RestoreSnapshot(name string) error
- func (vm *Vm) Running() bool
- 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 DeleteSnapshot ¶
func GetGuestIPAddress ¶
func RestoreSnapshot ¶
func TakeSnapshot ¶
Types ¶
type CloneOptions ¶
type Vm ¶
type Vm struct { Path string // contains filtered or unexported fields }
func (*Vm) GuestIPAddress ¶
func (*Vm) RestoreSnapshot ¶
func (*Vm) StartWithGui ¶
Click to show internal directories.
Click to hide internal directories.