Documentation ¶
Index ¶
- func CreateBundle(model v1.Model, output string, validate bool, dryRun string) (err error)
- func CreateTemplate(templateFile string, includeList []string, outputFile string, dryRun bool) (*template.Template, error)
- func ExpandInclude(includeTpl flags.IncludeList) ([]string, error)
- func GenerateBundle(createModelFunc func(string) (v1.Model, error), cFlags *CommonFlags, ...) 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)
- func ResolveYAML(text []byte, filePath string) ([]byte, error)
- type CommonFlags
- type HelperFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBundle ¶
func CreateTemplate ¶
func ExpandInclude ¶
func ExpandInclude(includeTpl flags.IncludeList) ([]string, error)
func GenerateBundle ¶
func RenderGeneric ¶
func RenderGeneric(context any, cFlags *CommonFlags, dryRun bool) error
func RenderGenericTemplate ¶
func RenderGenericTemplate(cFlags *CommonFlags, dryRun bool) error
Types ¶
type CommonFlags ¶
type CommonFlags struct { TemplateFile flags.String OutputFile flags.String IncludeList flags.IncludeList Values *values.Map }
func NewCommonFlags ¶
func NewCommonFlags() *CommonFlags
type HelperFunc ¶
Click to show internal directories.
Click to hide internal directories.