builder

package
v0.7.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildFromTemplate

func BuildFromTemplate(values *gotemplate.TplValues, templateName string) (string, error)

func BuildResourceFromYaml

func BuildResourceFromYaml[T any](obj T, bYaml string) (*T, error)

Types

type Template

type Template struct {
	action.BaseAction
	Template string
	Dst      string
	Values   gotemplate.TplValues
}

func (*Template) Execute

func (t *Template) Execute(runtime connector.Runtime) error

Jump to

Keyboard shortcuts

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