Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLogWriter io.Writer
DefaultLogWriter default logging driver to write stdout.
View Source
var Env []string
Env - global list of environment variables.
Functions ¶
This section is empty.
Types ¶
type ShRunner ¶ added in v0.4.1
type ShRunner struct { Env []string Timeout time.Duration LogLabels []string ShowResultMessage bool Interrupted bool // contains filtered or unexported fields }
ShRunner - runs shell commands.
func NewExecutor ¶ added in v0.4.1
NewExecutor - create new sh runner.
func (*ShRunner) RunMutely ¶ added in v0.4.1
RunMutely - exec command and hide secrets in output. Return command output and errors output.
func (*ShRunner) RunWithTty ¶ added in v0.4.1
Click to show internal directories.
Click to hide internal directories.