Documentation
¶
Index ¶
- func ExecuteStep(step config.Step, ec *ExecutionContext) error
- func ExecuteSteps(steps []config.Step, ec *ExecutionContext) error
- func HandleFile(step config.Step, ec *ExecutionContext) error
- func HandleIncludeVars(step config.Step, ec *ExecutionContext) error
- func HandleShell(step config.Step, ec *ExecutionContext) error
- func HandleTemplate(step config.Step, ec *ExecutionContext) error
- func HandleWithFileTree(step config.Step, ec *ExecutionContext) error
- func HandleWithItems(step config.Step, ec *ExecutionContext) error
- func Start(startConfig StartConfig, log logger.Logger) error
- type ExecutionContext
- type StartConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteStep ¶
func ExecuteStep(step config.Step, ec *ExecutionContext) error
func ExecuteSteps ¶
func ExecuteSteps(steps []config.Step, ec *ExecutionContext) error
func HandleFile ¶
func HandleFile(step config.Step, ec *ExecutionContext) error
func HandleIncludeVars ¶
func HandleIncludeVars(step config.Step, ec *ExecutionContext) error
func HandleShell ¶
func HandleShell(step config.Step, ec *ExecutionContext) error
func HandleTemplate ¶
func HandleTemplate(step config.Step, ec *ExecutionContext) error
func HandleWithFileTree ¶
func HandleWithFileTree(step config.Step, ec *ExecutionContext) error
func HandleWithItems ¶
func HandleWithItems(step config.Step, ec *ExecutionContext) error
Types ¶
type ExecutionContext ¶
type ExecutionContext struct {
Variables map[string]interface{}
CurrentDir string
CurrentFile string
Level int
CurrentIndex int
TotalSteps int
Logger logger.Logger
SudoPass string
Tags []string
DryRun bool
// Injected dependencies
Template template.Renderer
Evaluator expression.Evaluator
PathUtil *pathutil.PathExpander
FileTree *filetree.Walker
}
func (*ExecutionContext) Copy ¶
func (ec *ExecutionContext) Copy() ExecutionContext
Click to show internal directories.
Click to hide internal directories.