template

package
v0.0.733-ga650ba6 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

type Template struct{}

Template is a rendering engine based on helm, which can render templates in a map

func New

func New() Template

New returns a new Helm engine

func (Template) ExecuteMap

func (h Template) ExecuteMap(templates map[string]string, values map[string]interface{}) map[string]string

ExecuteMap renders the templates with the passed in values

Jump to

Keyboard shortcuts

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