runner

package
v0.0.0-...-772fc7e Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	Conn    connector.Connection
	Retries int
	Debug   bool
	Host    config.HostCfg
	Index   int
}

func (*Runner) ExecuteCmd

func (r *Runner) ExecuteCmd(cmd string, retries int, printOutput bool, args ...string) (string, error)

func (*Runner) ExecuteTask

func (r *Runner) ExecuteTask(tasks []config.Task) (string, error)

func (*Runner) ScpFile

func (r *Runner) ScpFile(src, dst string) error

Jump to

Keyboard shortcuts

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