Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSupportedVariables ¶
Return the variables that the template string expects.
func MultiplexAndExecute ¶
- templateString: the input string of the template to execute. - inventory: the inventory map of the variable data structure to apply the template to. The key of the map is the name of the variable, that should match related annotation in the template. Each map item is a slice where in each slice item is a single variable value.
The result is multiple templates from a single template string and multiple arbitrary variable values. func MultiplexAndExecute(templateString string, inventory map[string][]interface{}) ([]string, error) {
Types ¶
Click to show internal directories.
Click to hide internal directories.