expand

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OSEnvironment

func OSEnvironment(environ []string) map[string]string

OSEnvironment converts a []string with "key=value" items to a map["key"]="value".

func Run

func Run(environ []string, path string, text []byte, values, passed yamlx.Values, customFn template.FuncMap) ([]byte, error)

Run expands a template text with values and returns the resulting text. Path is used to support {{ .Files }}. See https://golang.org/pkg/text/template/

Types

This section is empty.

Directories

Path Synopsis
Package files provides templating functions based on github.com/helm/helm/pkg/chartutil/files.go
Package files provides templating functions based on github.com/helm/helm/pkg/chartutil/files.go

Jump to

Keyboard shortcuts

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