templates

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecutePathTemplates

func ExecutePathTemplates(valuesIn io.Reader, tplPath string) (string, error)

ExecutePathTemplates reads a YAML/JSON file from the valuesIn reader, uses it as values to populate the tplPath path.

func ExecuteTemplates

func ExecuteTemplates(valuesIn io.Reader, out io.Writer, tplFile string) error

ExecuteTemplates -- Reads a YAML/JSON file from the valuesIn, uses it as values to populate the tplFile templates and writes the executed templates to the out writer.

func WalkExecuteTemplates

func WalkExecuteTemplates(templatesRootPath string, inputPath string, newRootPath string)

WalkExecuteTemplates is the main driver of the templating execution. Traverses the input templateRootPath to define directories and files

Types

This section is empty.

Jump to

Keyboard shortcuts

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