Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor interface {
Execute(showPlan bool, showDiff bool, template *file.TaggedBytes, snippet *file.TaggedBytes, snippetProcessor *library.Processor, snippetVars library.InterpolatorParams, globals library.InterpolatorParams) ([]byte, error)
}
type ExecutorStep ¶
type ExecutorStep struct { Snippet string `yaml:"snippet,omitempty"` Processor *library.Processor `yaml:"processor,omitempty"` Interpolator library.InterpolatorParams `yaml:"interpolator,omitempty"` }
type InterpolationExecutor ¶
type InterpolationExecutor struct { ProcessorFactory factory.ProcessorFactory Interpolator interpolator.Interpolator Diff diff.Diff Output io.Writer File file.FileAccess Yaml yaml.YamlAccess }
func (*InterpolationExecutor) Execute ¶
func (i *InterpolationExecutor) Execute(showPlan bool, showDiff bool, template *file.TaggedBytes, snippet *file.TaggedBytes, snippetProcessor *library.Processor, snippetVars library.InterpolatorParams, globals library.InterpolatorParams) ([]byte, error)
type Plan ¶
type Plan struct { Global library.InterpolatorParams `yaml:"global,omitempty"` Steps []*Step `yaml:"steps,omitempty"` }
func FromScenarioTree ¶
func FromScenarioTree(node *library.ScenarioNode) *Plan
type Step ¶
type Step struct { Snippet string `yaml:"snippet,omitempty"` Params []TaggedParams `yaml:"params,omitempty"` Processor library.Processor `yaml:"processor,omitempty"` }
func (*Step) FlattenParams ¶
func (s *Step) FlattenParams() library.InterpolatorParams
type TaggedParams ¶
type TaggedParams struct { Tag string `yaml:"tag,omitempty"` Interpolator library.InterpolatorParams `yaml:"interpolator,omitempty"` }
Click to show internal directories.
Click to hide internal directories.