plan

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgSet added in v1.0.3

type ArgSet struct {
	Tag  string
	Args []string
}

type Executor

type Executor interface {
	Execute(showPlan bool, showDiff bool, template *file.TaggedBytes, snippet *file.TaggedBytes, snippetArgs []string, templateArgs []string) ([]byte, error)
}

type InterpolationExecutor

type InterpolationExecutor struct {
	Interpolator interpolator.Interpolator
	Diff         diff.Diff
	Output       io.Writer
	File         file.FileAccess
}

func (*InterpolationExecutor) Execute

func (i *InterpolationExecutor) Execute(showPlan bool, showDiff bool, template *file.TaggedBytes, snippet *file.TaggedBytes, snippetArgs []string, templateArgs []string) ([]byte, error)

type Plan added in v1.0.3

type Plan struct {
	Global ArgSet
	Steps  []*Step
}

func Append added in v1.0.3

func Append(a *Plan, b *Plan) *Plan

func FromScenarioTree added in v1.0.3

func FromScenarioTree(node *library.ScenarioNode) *Plan

type Step added in v1.0.3

type Step struct {
	Snippet string
	Args    []ArgSet
}

func (*Step) FlattenArgs added in v1.0.4

func (s *Step) FlattenArgs() []string

Jump to

Keyboard shortcuts

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