Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendYamlResources ¶
Types ¶
type PartialYaml ¶
type PartialYaml map[string]interface{}
func (PartialYaml) AddIfNotZero ¶
func (p PartialYaml) AddIfNotZero(k string, v interface{})
func (PartialYaml) ToYaml ¶
func (p PartialYaml) ToYaml() (string, error)
type Templater ¶
type Templater struct {
// contains filtered or unexported fields
}
func New ¶
func New(writer filewriter.FileWriter) *Templater
func (*Templater) WriteBytesToFile ¶
func (t *Templater) WriteBytesToFile(content []byte, fileName string, f ...filewriter.FileOptionsFunc) (filePath string, err error)
func (*Templater) WriteToFile ¶
func (t *Templater) WriteToFile(templateContent string, data interface{}, fileName string, f ...filewriter.FileOptionsFunc) (filePath string, err error)
Click to show internal directories.
Click to hide internal directories.