Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExitStatus ¶
IsExitStatus checks if given `err` is an exit status
Types ¶
type DefaultExecutor ¶
type DefaultExecutor struct {
// contains filtered or unexported fields
}
DefaultExecutor is a default executor used for jobs Uses `mvdan.cc/sh/v3/interp` under the hood
func NewDefaultExecutor ¶
NewDefaultExecutor creates new default executor
type Job ¶
type Job struct {
Command string
Dir string
Env variables.Container
Vars variables.Container
Timeout *time.Duration
Stdout, Stderr io.Writer
Stdin io.Reader
Next *Job
}
Job is a linked list of jobs to execute by Executor
func NewJobFromCommand ¶
NewJobFromCommand creates new Job instance from given command
Click to show internal directories.
Click to hide internal directories.