Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderStringFromTemplateWithValues ¶ added in v0.13.0
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
func (l *PluginFileLoader) String(f provisioner.RemoteFileSpec) (string, error)
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 (r *TemplateRenderer) File(f provisioner.RemoteFileSpec) (string, error)
func (*TemplateRenderer) MapFromJsonContents ¶ added in v0.13.0
func (r *TemplateRenderer) MapFromJsonContents(contents provisioner.RemoteFileSpec) (map[string]interface{}, error)
Click to show internal directories.
Click to hide internal directories.