v1alpha1

package
v1.11.0-RC2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SprigTemplate

func SprigTemplate(context string) templateMiddleware

SprigTemplate updates the template instance with sprig based templating features

func StandardTemplate

func StandardTemplate(context string) templateMiddleware

StandardTemplate updates the template instance with go standard templating features

func TextTemplate

func TextTemplate(context, given string, values map[string]interface{}) (updated string, err error)

TextTemplate executes the provided template document against the provided template values

NOTE:

This is an implementation of Templater

Types

type Templater

type Templater func(context, given string, values map[string]interface{}) (updated string, err error)

Templater abstracts executing a template and returning the templated result

Jump to

Keyboard shortcuts

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