Documentation ¶
Index ¶
- Variables
- func Create(sshPort string)
- func CreateDisk(imageName, size string) error
- func Delete()
- func DetachCD() error
- func EventuallyConnects(t ...int)
- func GatherAllLogs(services []string, logFiles []string)
- func GatherLog(logPath string)
- func HasDir(s string)
- func Restart() error
- func SSHCommand(cmd string) (string, error)
- func SSHDialTimeout(network, addr string, config *ssh.ClientConfig, timeout time.Duration) (*ssh.Client, error)
- func Screenshot() (string, error)
- func SendFile(src, dst, permission string) error
- func Sudo(c string) (string, error)
- type Config
- type Conn
- type QEMU
Constants ¶
This section is empty.
Variables ¶
View Source
var ID string
View Source
var TempDir string
Functions ¶
func CreateDisk ¶
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 SSHCommand ¶
func SSHDialTimeout ¶
func Screenshot ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.