Documentation
¶
Index ¶
- func CreateTemplate(templateFile string, includeList []string, outputFile string, dryRun bool) (*template.Template, error)
- func ExpandInclude(includeTpl flags.IncludeList) ([]string, error)
- func RenderBundle(cFlags *CommonFlags, validate bool, dryRun string) error
- func RenderGeneric(context any, cFlags *CommonFlags, dryRun bool) error
- func RenderGenericTemplate(cFlags *CommonFlags, dryRun bool) error
- func RenderTemplate(tmpl *template.Template, context any) ([]byte, error)
- type CommonFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTemplate ¶
func ExpandInclude ¶
func ExpandInclude(includeTpl flags.IncludeList) ([]string, error)
func RenderBundle ¶ added in v0.1.7
func RenderBundle(cFlags *CommonFlags, validate bool, dryRun string) error
func RenderGeneric ¶
func RenderGeneric(context any, cFlags *CommonFlags, dryRun bool) error
func RenderGenericTemplate ¶
func RenderGenericTemplate(cFlags *CommonFlags, dryRun bool) error
Types ¶
type CommonFlags ¶ added in v0.1.7
type CommonFlags struct {
TemplateFile flags.String
OutputFile flags.String
IncludeList flags.IncludeList
Values *values.Map
}
func NewCommonFlags ¶ added in v0.1.7
func NewCommonFlags() *CommonFlags
Click to show internal directories.
Click to hide internal directories.