Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathBuilder ¶
type Processor ¶
type Processor interface { ValidateSnippet(path string) (SnippetHint, error) ParsePassthroughFlags(args []string) (*library.ScenarioNode, []string, error) ProcessTemplate(template *file.TaggedBytes, snippet *file.TaggedBytes, options map[string]interface{}) ([]byte, error) }
type SnippetGenerator ¶
type SnippetGenerator interface {
GenerateSnippets(schema *yaml.SchemaNode) ([]*file.TaggedBytes, error)
}
func NewSnippetGenerator ¶
func NewSnippetGenerator(y yaml.YamlAccess, builder PathBuilder) SnippetGenerator
type SnippetHint ¶ added in v2.0.1
Click to show internal directories.
Click to hide internal directories.