Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChildRunnerError ¶
type ChildRunnerError struct {
Parent string
Child string
// contains filtered or unexported fields
}
func (ChildRunnerError) Error ¶
func (e ChildRunnerError) Error() string
func (ChildRunnerError) Unwrap ¶
func (e ChildRunnerError) Unwrap() error
type Do ¶
type Do struct {
Runners []runner.Runner `json:"runners"`
Label string `json:"label"`
Description string `json:"description"`
// contains filtered or unexported fields
}
Do is a runner that wraps a collection of runners and executes each of them in a goroutine. It returns a map associating each runner's Op to its ID.
type Seq ¶
type Seq struct {
Runners []runner.Runner `json:"runners"`
Label string `json:"label"`
Description string `json:"description"`
Timeout runner.Timeout `json:"timeout"`
// contains filtered or unexported fields
}
Seq wraps a collection of runners and executes them in order, returning all of their Ops keyed by their ID(). If one of the runners has a status other than Success, subsequent runners will not be executed and the Seq will return a status.Fail.
Click to show internal directories.
Click to hide internal directories.