Documentation ¶
Overview ¶
Copyright © 2019-2023 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Index ¶
- type RenderEngine
- func (re *RenderEngine) CloneWithoutValues() *RenderEngine
- func (re *RenderEngine) LoadDefaultValues(files []string) error
- func (re *RenderEngine) LoadTemplates(templateDirs []string) error
- func (re *RenderEngine) LoadValues(files []string) error
- func (re *RenderEngine) Render(raw *[]byte, overrideValues map[string]interface{}) (string, error)
- func (re *RenderEngine) RenderFile(file string, overrideValues map[string]interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RenderEngine ¶
type RenderEngine struct { Config *config.LuetConfig Templates []*chart.File MetadataNamespace string Values map[string]interface{} DefValues map[string]interface{} }
func NewRenderEngine ¶
func NewRenderEngine(cfg *config.LuetConfig) *RenderEngine
func (*RenderEngine) CloneWithoutValues ¶
func (re *RenderEngine) CloneWithoutValues() *RenderEngine
func (*RenderEngine) LoadDefaultValues ¶
func (re *RenderEngine) LoadDefaultValues(files []string) error
func (*RenderEngine) LoadTemplates ¶
func (re *RenderEngine) LoadTemplates(templateDirs []string) error
func (*RenderEngine) LoadValues ¶
func (re *RenderEngine) LoadValues(files []string) error
func (*RenderEngine) Render ¶
func (re *RenderEngine) Render(raw *[]byte, overrideValues map[string]interface{}) (string, error)
func (*RenderEngine) RenderFile ¶
func (re *RenderEngine) RenderFile(file string, overrideValues map[string]interface{}) (string, error)
Click to show internal directories.
Click to hide internal directories.