lib

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifer

type Manifer interface {
	Compose(
		templatePath string,
		libraryPaths []string,
		scenarioNames []string,
		passthrough []string,
		showPlan bool,
		showDiff bool) ([]byte, error)

	ComposeFromBytes(
		template *file.TaggedBytes,
		libraryPaths []string,
		scenarioNames []string,
		passthrough []string,
		showPlan bool,
		showDiff bool) ([]byte, error)

	ListScenarios(libraryPaths []string, all bool) ([]scenario.ScenarioEntry, error)

	GetScenarioTree(libraryPaths []string, name string) (*library.ScenarioNode, error)

	GetSnippetScenarioNode(libType library.Type, passthroughArgs []string) (*library.ScenarioNode, []string, error)

	GetVarScenarioNode(passthroughArgs []string) (*library.ScenarioNode, []string, error)

	Generate(libType library.Type, templatePath string, libPath string, snippetDir string) (*library.Library, error)

	Import(libType library.Type, path string, recursive bool, outPath string) (*library.Library, error)

	AddScenario(libraryPath string, name string, description string, scenarioDeps []string, passthrough []string) (*library.Library, error)
}

func NewManifer

func NewManifer(logger io.Writer) Manifer

logger used for Composer's showDiff/showPlan

Jump to

Keyboard shortcuts

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