executors

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(p config.ShuttleProjectContext, command string, args []string, validateArgs bool)

Execute is the command executor for the plan files

func Help

func Help(scripts map[string]config.ShuttlePlanScript, script string, output io.Writer, template string) error

Types

type ActionExecutionContext

type ActionExecutionContext struct {
	ScriptContext ScriptExecutionContext
	Action        config.ShuttleAction
	ActionIndex   int
}

ActionExecutionContext gives context to the execution of Actions in a script

type ScriptExecutionContext

type ScriptExecutionContext struct {
	ScriptName string
	Script     config.ShuttlePlanScript
	Project    config.ShuttleProjectContext
	Args       map[string]string
}

ScriptExecutionContext gives context to the execution of a plan script

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL