Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Template ¶ added in v0.0.5
type Template struct { Values string `json:"values" yaml:"values"` Items []TemplateEntry `json:"items" yaml:"items"` }
func (Template) LoadValuesFile ¶ added in v0.0.5
type TemplateEntry ¶
type TemplateEntry struct { Template string `json:"template" yaml:"template"` Output string `json:"output" yaml:"output"` }
func (TemplateEntry) Execute ¶
func (t TemplateEntry) Execute(wr io.Writer, values map[string]interface{}) error
func (TemplateEntry) LoadTemplateFile ¶
func (t TemplateEntry) LoadTemplateFile() (string, error)
func (TemplateEntry) WriteToFile ¶
func (t TemplateEntry) WriteToFile(values map[string]interface{}) error
Click to show internal directories.
Click to hide internal directories.