machine

package
v1.22.6-40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TempDir string

Functions

func Create

func Create(sshPort string)

func Delete

func Delete()

func DetachCD

func DetachCD() error

func EventuallyConnects

func EventuallyConnects(t ...int)

func GatherAllLogs

func GatherAllLogs(services []string, logFiles []string)

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 HasDir

func HasDir(s string)

func Restart

func Restart() error

func SSHCommand

func SSHCommand(cmd string) (string, error)

func SendFile

func SendFile(src, dst, permission string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL