renderer

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirRender

func DirRender(glob string, specs ...DirSpec) func(io.Writer) error

DirRender -

func HelmFileRenderer

func HelmFileRenderer(dir string, value interface{}) func(filename string) func(writer io.Writer) error

HelmFileRenderer -

func YttFileRenderer

func YttFileRenderer(value starlark.Value) func(filename string) func(writer io.Writer) error

YttFileRenderer -

Types

type DirSpec

type DirSpec struct {
	Dir          string
	FileRenderer func(filename string) func(writer io.Writer) error
}

DirSpec -

type Files

type Files struct {
	Dir string
}

Files -

func (Files) Get

func (f Files) Get(name string) string

Get -

func (Files) Glob

func (f Files) Glob(pattern string) map[string][]byte

Glob -

type YamlWriter

type YamlWriter struct {
	Writer io.Writer
	// contains filtered or unexported fields
}

YamlWriter -

func (*YamlWriter) Write

func (w *YamlWriter) Write(data []byte) (int, error)

Jump to

Keyboard shortcuts

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