Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("executable file not found in $PATH")
ErrNotFound is the error resulting if a path search failed to find an executable file.
Functions ¶
This section is empty.
Types ¶
type NodeType ¶
type NodeType interface { Match(Opts, Opts) bool Execute(ws *Workspace, in Opts, output chan string) (int, Opts, error) }
NodeType is the interface for a node. All implementations on NodeType are stateless THe Execute method must be a pure(ish) function operating on in and returning an out Opts
func GetNodeType ¶
GetNodeType returns the node from the given the type and opts
type Opts ¶
type Opts map[string]interface{}
Opts are the options on the node type that will be compared to those on the event
type Workspace ¶
type Workspace struct { BasePath string // The root path for this workspace FetchCache string // The host level cache of downloaded files (not per workspace, but handy to have listed in this struct) }
Workspace is anything specific to a workspace for a single run or any locations common between runs
Click to show internal directories.
Click to hide internal directories.