Documentation ¶
Overview ¶
Package exec provides an Executor type for executing a series of commands that represent command line programs. This allows the creation of single purpose binaries instead of the multipurpose runme binary program.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor executes a series of command line arguments.
func New ¶
func New(seqs []*config.Sequence, startAt string, fs ReadWriter, vals map[string]string) (*Executor, error)
New creates a new Executor.
func (*Executor) FailedNode ¶
FailedNode is the node that was run and failed. This is an empty string if no node failed.
type ReadWriter ¶
type ReadWriter interface { fs.ReadFileFS gfs.Writer }
ReadWriter is a file system with ReadFile() and WriteFile().
Click to show internal directories.
Click to hide internal directories.