package
0.4.1
Repository: https://github.com/docker-archive/deploykit.git
Documentation: pkg.go.dev

# Functions

DeepCopyObject makes a deep copy of the argument, using encoding/gob encode/decode.
Fetch fetchs content from the given URL string.
FromJSON decode the input JSON encoded as string or byte slice into a map.
FromMap decodes map into raw struct.
IndexOf returns the index of search in array.
NewTemplate fetches the content at the url and returns a template.
NewTemplateFromBytes builds the template from buffer with a contextURL which is used to deduce absolute path of any 'included' templates e.g.
QueryObject applies a JMESPath query specified by the expression, against the target object.
SplitLines splits the input into a string slice.
ToJSON encodes the input struct into a JSON string.
ToJSONFormat encodes the input struct into a JSON string with format prefix, and indent.
ToMap encodes the input as a map.
UnixTime returns a timestamp in unix time.
UpdateDocumentation uses reflection to generate documentation on usage and function signature.

# Structs

Function contains the description of an exported template function.
Options contains parameters for customizing the behavior of the engine.
Template is the templating engine.

# Interfaces

Context is a marker interface for a user-defined struct that is passed into the template engine (as context) and accessible in the exported template functions.
FunctionExporter is implemented by any plugins wishing to show help on the function it exports.

# Type aliases

Void is used in the template functions return value type to indicate a void.