Documentation ¶
Index ¶
- func BuildEnvList(logger io.Logger, exec *executable.ExecutableEnvironment, ...) ([]string, error)
- func BuildEnvMap(logger io.Logger, exec *executable.ExecutableEnvironment, ...) (map[string]string, error)
- func DefaultEnv(ctx *context.Context, executable *executable.Executable) map[string]string
- func Exec(ctx *context.Context, executable *executable.Executable, ...) error
- func RegisterRunner(runner Runner)
- func Reset()
- func ResolveParameterValue(logger io.Logger, param executable.Parameter, promptedEnv map[string]string) (string, error)
- func SetEnv(logger io.Logger, exec *executable.ExecutableEnvironment, ...) error
- type Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildEnvList ¶ added in v0.1.3
func BuildEnvList( logger io.Logger, exec *executable.ExecutableEnvironment, inputEnv map[string]string, defaultEnv map[string]string, ) ([]string, error)
func BuildEnvMap ¶ added in v0.1.3
func DefaultEnv ¶ added in v0.1.3
func DefaultEnv(ctx *context.Context, executable *executable.Executable) map[string]string
func Exec ¶
func Exec(ctx *context.Context, executable *executable.Executable, promptedEnv map[string]string) error
func RegisterRunner ¶
func RegisterRunner(runner Runner)
func ResolveParameterValue ¶
func SetEnv ¶
func SetEnv(logger io.Logger, exec *executable.ExecutableEnvironment, promptedEnv map[string]string) error
Types ¶
type Runner ¶
type Runner interface { Name() string Exec(ctx *context.Context, executable *executable.Executable, promptedEnv map[string]string) error IsCompatible(executable *executable.Executable) bool }
Click to show internal directories.
Click to hide internal directories.