# Packages
Package parameters defines data structure for the data-driven renderer
Parameters is a tree structure and can be created from a YAML files or 'key=value' pairs.
# Functions
CidrHost calculates a full host IP address within a given IP network address prefix.
CidrNetmask converts an IPv4 address prefix given in CIDR notation into a subnet mask address.
CidrSubnets calculates a subnet address within a given IP network address prefix.
CidrSubnetSizes calculates a sequence of consecutive subnet prefixes that may be of different prefix lengths under a common base prefix.
ExtraFunctions provides additional template functions to the standard (text/template) ones.
FromJSON is a template function, that unmarshalls JSON string to a map.
FromYAML is a template function, that unmarshalls YAML string to a map.
Gzip compresses the input using gzip algorithm.
JSONPath is a template function, that evaluates JSONPath expression against a data structure and returns a list of results.
MergeFunctions merges two template.FuncMap instances, overrides if necessary.
N returns a slice of integers form the given start to end (inclusive).
NetFunctions provides additional template functions to the standard (text/template) ones.
New creates a new renderer with the specified parameters and zero or more options.
ToYAML is a template function, it turns a marshallable structure into a YAML fragment.
Ungzip un-compresses the input using gzip algorithm.
WithCryptFunctions mutates Renderer configuration by merging the Crypt template functions.
WithDelim mutates Renderer configuration by replacing the left and right delimiters.
WithExtraFunctions mutates Renderer configuration by merging the custom template functions.
WithFunctions mutates Renderer configuration by replacing the template functions.
WithMoreFunctions mutates Renderer configuration by merging the given template functions,.
WithMoreParameters mutates Renderer configuration by merging the given template parameters.
WithNetFunctions mutates Renderer configuration by merging the custom template functions.
WithOptions mutates Renderer configuration by replacing the template functions.
WithParameters mutates Renderer configuration by replacing all template parameters.
WithSprigFunctions mutates Renderer configuration by merging the Sprig template functions.
# Interfaces
Renderer allows for parameterised text template rendering.