Documentation
¶
Overview ¶
Package render provides YAML template rendering helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FuncMap ¶
func FuncMap(tracker *EnvTracker) template.FuncMap
FuncMap returns template helpers for YAML rendering.
func RenderFile ¶
RenderFile loads and renders a YAML template file.
Types ¶
type EnvTracker ¶
type EnvTracker struct {
// contains filtered or unexported fields
}
EnvTracker tracks referenced environment variables during template rendering.
func (*EnvTracker) Missing ¶
func (t *EnvTracker) Missing() []string
Missing returns a list of missing environment variables.
Click to show internal directories.
Click to hide internal directories.