plugincontents

package
v0.12.7 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

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

func LoaderFor

func LoaderFor(p *pluginmodel.Plugin) *Loader

func (*Loader) StringFrom

func (l *Loader) StringFrom(contents pluginmodel.Contents) (string, error)

type TemplateRenderer

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

func TemplateRendererFor

func TemplateRendererFor(p *pluginmodel.Plugin, values interface{}) *TemplateRenderer

func (*TemplateRenderer) MapFromContents

func (r *TemplateRenderer) MapFromContents(contents pluginmodel.Contents) (map[string]interface{}, error)

func (*TemplateRenderer) StringFrom

func (r *TemplateRenderer) StringFrom(contents pluginmodel.Contents) (string, error)

Jump to

Keyboard shortcuts

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