modulepackage
3.24.35
Repository: https://github.com/flanksource/gomplate.git
Documentation: pkg.go.dev
# README
Gomplate
Flanksource Gomplate is a fork of the https://github.com/hairyhenderson/gomplate tool and adds
- A standard library interface for running templates using:
- Go text/template
- CEL (with celext, kubernetes extensions, and many gomplate functions remapped)
- Javascript (otto)
# Packages
Package base64 contains Base64 encoding/decoding functions.
No description provided by the author
Package coll contains functions to help manipulate and query collections of data, like slices/arrays and maps.
Package conv contains functions that help converting data between different types.
Package data contains functions that parse and produce data structures in different formats.
Package funcs is an internal package that provides gomplate namespaces and
functions to be used in 'text/template' templates.
No description provided by the author
No description provided by the author
No description provided by the author
Package math contains set of basic math functions to be able to perform simple arithmetic operations.
Package random contains functions for generating random values.
Package regexp contains functions for dealing with regular expressions.
Package strings contains functions to manipulate strings.
Package test contains functions to help validate assumptions and can cause template generation to fail in specific cases.
No description provided by the author
Package time contains functions to help work with date and time.
Package tmpl contains functions for defining or executing in-line templates.
No description provided by the author
# Functions
CreateFuncs - function mappings are created here.
No description provided by the author
LoadSharedLibrary loads a shared library for Otto.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Serialize iterates over each key-value pair in the input map serializes any struct value to map[string]any.
# Variables
Metrics tracks interesting basic metrics around gomplate executions.
# Structs
No description provided by the author
MetricsType - Warning: experimental! This may change in breaking ways without warning.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author