lib

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildValues

func BuildValues(valueFiles []string, values []string) ([]byte, error)

BuildValues builds a single Values map from the user inputed values files (--values) and indivitual values (--set)

func InputIterator added in v0.0.7

func InputIterator(args []string, recursive bool) <-chan InputIteratorResult

func Render added in v0.0.7

func Render(filePath string, ctx Context) (string, error)

Render a template

func UnmarshalEnv

func UnmarshalEnv() map[string]string

UnmarshalEnv takes the Environment and puts it into a struct

Types

type Context

type Context struct {
	Values map[string]interface{}
	Env    map[string]string
}

Context struct is used to pass into a template as "."

type InputIteratorResult added in v0.0.7

type InputIteratorResult struct {
	In, Out string
	Error   error
}

Jump to

Keyboard shortcuts

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