Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRequiredArg0Empty = errors.New("required first arg is empty")
View Source
var ErrRequiredArg0Nil = errors.New("required first arg is nil")
Functions ¶
func RenderWithReferences ¶
func RenderWithReferences(referenceTpl Renderable) (rendered string, err error)
Types ¶
type HelmCmd ¶
type HelmCmd struct {
// contains filtered or unexported fields
}
func (*HelmCmd) CreateManifest ¶
func (*HelmCmd) CreateValues ¶
type Renderable ¶
type Renderable struct { // tpl is the current template. Tpl string // vals are the values to be supplied to the template. Vals Values }
renderable is an object that can be rendered.
type Values ¶
type Values struct {
Values map[interface{}]interface{}
}
Values represents a collection of chart values. type Values map[string]interface{} We wrap this so that we can pass it to a chart using our engine as Values Now apply the template to resolve references e.g. {{ Values.this.port }}
Click to show internal directories.
Click to hide internal directories.