Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
func Exec( ctx *context.Context, executable *executable.Executable, eng engine.Engine, inputEnv map[string]string, inputArgs []string, ) error
func ExpressionEnv ¶ added in v1.1.0
func ExpressionEnv( ctx *context.Context, executable *executable.Executable, dataMap, envMap map[string]string, ) expression.Data
func RegisterRunner ¶
func RegisterRunner(runner Runner)
Types ¶
type Runner ¶
type Runner interface {
Name() string
Exec(
ctx *context.Context,
e *executable.Executable,
eng engine.Engine,
inputEnv map[string]string,
inputArgs []string,
) error
IsCompatible(executable *executable.Executable) bool
}
Click to show internal directories.
Click to hide internal directories.