Documentation ¶
Index ¶
- Variables
- func DetachCD() error
- func EventuallyConnects(t ...int)
- func GatherAllLogs(services []string, logFiles []string)
- func GatherLog(logPath string)
- func HasDir(s string)
- func HasFile(s string)
- func Reboot(t ...int)
- func Scp(s, d, permissions string) error
- func Screenshot() (string, error)
- func Sudo(c string) (string, error)
- type VM
- func (vm VM) Destroy(additionalCleanup func(vm VM)) error
- func (vm VM) DetachCD() error
- func (vm VM) EventuallyConnects(t ...int)
- func (vm VM) GatherAllLogs(services []string, logFiles []string)
- func (vm VM) GatherLog(logPath string)
- func (vm VM) HasDir(s string)
- func (vm VM) HasFile(s string)
- func (vm VM) Reboot(t ...int)
- func (vm VM) Scp(s, d, permissions string) error
- func (vm VM) Screenshot() (string, error)
- func (vm *VM) Start(ctx context.Context) (context.Context, error)
- func (vm VM) Sudo(s string) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Machine types.Machine
Functions ¶
func EventuallyConnects ¶
func EventuallyConnects(t ...int)
func GatherAllLogs ¶
GatherAllLogs will try to gather as much info from the system as possible, including services, dmesg and os related info.
func GatherLog ¶
func GatherLog(logPath string)
GatherLog will try to scp the given log from the machine to a local file.
func Screenshot ¶
Types ¶
type VM ¶
type VM struct { StateDir string // contains filtered or unexported fields }
func (VM) EventuallyConnects ¶
func (VM) GatherAllLogs ¶
func (VM) Screenshot ¶
Click to show internal directories.
Click to hide internal directories.