Discover Packages
github.com/kudobuilder/kudo
pkg
engine
package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Jun 28, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Engine is the control struct for parsing and templating Kubernetes resources in an ordered fashion
New creates an engine with a default function map, using a modified Sprig func map. Because these
templates are rendered by the operator, we delete any functions that potentially access the environment
the controller is running in.
Render creates a fully rendered template based on a set of values. It parses these in strict mode,
returning errors when keys are missing.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.