tpl

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultName = "tpl"
)

Variables

This section is empty.

Functions

func NewDefault

func NewDefault(name string) dukkha.Renderer

Types

type Driver

type Driver struct {
	rs.BaseField `yaml:"-"`

	renderer.BaseRenderer `yaml:",inline"`

	Options configSpec `yaml:",inline"`
	// contains filtered or unexported fields
}

func (*Driver) Init

func (d *Driver) Init(cacheFS *fshelper.OSFS) error

func (*Driver) RenderYaml

func (d *Driver) RenderYaml(
	rc dukkha.RenderingContext, rawData interface{},
	attributes []dukkha.RendererAttribute,
) ([]byte, error)

Jump to

Keyboard shortcuts

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