template

package
v0.0.0-...-20e6130 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2024 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Must

func Must(t *template.Template, err error) *template.Template

func New

func New(name string) *template.Template

func Render

func Render(out io.Writer, tmpl string, values interface{}) error

Render is a go template rendering function it includes all the sprig lib functions as well as some extras like a k8sLookup function to get values from k8s objects you can access environment variables from the template under .Env The passed values will be available under .Values in the templates

func SetAllowLabel

func SetAllowLabel(label string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL