Documentation ¶
Index ¶
- type VM
- func (vm *VM) Destroy() error
- func (vm *VM) GetIPs() []net.IP
- func (vm *VM) GetName() string
- func (vm *VM) GetSSH(options libssh.Options) (libssh.Client, error)
- func (vm *VM) GetState() (string, error)
- func (vm *VM) Halt() error
- func (vm *VM) Provision() error
- func (vm *VM) Resume() error
- func (vm *VM) Start() error
- func (vm *VM) Suspend() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VM ¶
type VM struct { MockGetSSH func(options libssh.Options) (libssh.Client, error) MockDestroy func() error MockHalt func() error MockSuspend func() error MockResume func() error MockStart func() error MockGetIPs func() []net.IP MockGetName func() string MockGetState func() (string, error) MockProvision func() error }
VM represents a Mock VM wrapper.
func (*VM) GetIPs ¶
GetIPs returns a list of ip addresses associated with the vm through VMware tools
Click to show internal directories.
Click to hide internal directories.