erbrenderer

package
v0.0.0-...-e2c346a Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewERBRenderer

func NewERBRenderer(
	fs boshsys.FileSystem,
	runner boshsys.CmdRunner,
	logger boshlog.Logger,
) erbRenderer

Types

type ERBRenderer

type ERBRenderer interface {
	Render(srcPath, dstPath string, context TemplateEvaluationContext) error
}

type PropertiesResolver

type PropertiesResolver interface {
	Resolve() map[string]interface{}
}

func NewPropertiesResolver

func NewPropertiesResolver(
	defaultProperties map[string]interface{},
	propertiesWithValues map[string]interface{},
) PropertiesResolver

type TemplateEvaluationContext

type TemplateEvaluationContext interface {
	MarshalJSON() ([]byte, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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