Documentation
¶
Overview ¶
Copyright © 2024-2025 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Copyright © 2024-2025 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Copyright © 2024-2025 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Copyright © 2024-2025 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Copyright © 2024-2025 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreTemplateEngine ¶
type CoreTemplateEngine struct {
Logger *log.MarkDevkitLogger
}
func (*CoreTemplateEngine) GetTemplateFile ¶
func (c *CoreTemplateEngine) GetTemplateFile(aspec *specs.AutogenSpec, atom, def *specs.AutogenAtom) string
func (*CoreTemplateEngine) SetLogger ¶
func (c *CoreTemplateEngine) SetLogger(l *log.MarkDevkitLogger)
type HelmTemplateEngine ¶
type HelmTemplateEngine struct {
*CoreTemplateEngine
}
func NewHelmTemplateEngine ¶
func NewHelmTemplateEngine() *HelmTemplateEngine
func (*HelmTemplateEngine) Render ¶
func (t *HelmTemplateEngine) Render(aspec *specs.AutogenSpec, atom, def *specs.AutogenAtom, valref *map[string]interface{}, targetFile string) error
type J2cliTemplateEngine ¶
type J2cliTemplateEngine struct { *CoreTemplateEngine Opts []string }
func NewJ2CliTemplateEngine ¶
func NewJ2CliTemplateEngine(opts []string) *J2cliTemplateEngine
func (*J2cliTemplateEngine) Render ¶
func (t *J2cliTemplateEngine) Render(aspec *specs.AutogenSpec, atom, def *specs.AutogenAtom, valref *map[string]interface{}, targetFile string) error
type Pongo2TemplateEngine ¶
type Pongo2TemplateEngine struct {
*CoreTemplateEngine
}
func NewPongo2TemplateEngine ¶
func NewPongo2TemplateEngine() *Pongo2TemplateEngine
func (*Pongo2TemplateEngine) Render ¶
func (t *Pongo2TemplateEngine) Render(aspec *specs.AutogenSpec, atom, def *specs.AutogenAtom, valref *map[string]interface{}, targetFile string) error
type TemplateEngine ¶
type TemplateEngine interface { Render(aspec *specs.AutogenSpec, atom, def *specs.AutogenAtom, values *map[string]interface{}, targetFile string) error SetLogger(l *log.MarkDevkitLogger) }
func NewTemplateEngine ¶
func NewTemplateEngine(t string, opts []string) (TemplateEngine, error)
Click to show internal directories.
Click to hide internal directories.