plugincontents

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderStringFromTemplateWithValues added in v0.13.0

func RenderStringFromTemplateWithValues(expr string, values interface{}, config interface{}) (string, error)

Types

type PluginFileLoader added in v0.13.0

type PluginFileLoader struct {
	FileLoader *provisioner.RemoteFileLoader
	// contains filtered or unexported fields
}

func NewPluginFileLoader added in v0.13.0

func NewPluginFileLoader(p *api.Plugin) *PluginFileLoader

func (*PluginFileLoader) String added in v0.13.0

type TemplateRenderer

type TemplateRenderer struct {
	// contains filtered or unexported fields
}

func NewTemplateRenderer added in v0.13.0

func NewTemplateRenderer(p *api.Plugin, values interface{}, config interface{}) *TemplateRenderer

func (*TemplateRenderer) File added in v0.13.0

func (*TemplateRenderer) MapFromJsonContents added in v0.13.0

func (r *TemplateRenderer) MapFromJsonContents(contents provisioner.RemoteFileSpec) (map[string]interface{}, error)

func (*TemplateRenderer) String added in v0.13.0

func (r *TemplateRenderer) String(str string) (string, error)

Jump to

Keyboard shortcuts

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