Documentation
¶
Index ¶
- Constants
- type Engine
- type HelmRenderingEngine
- func (h HelmRenderingEngine) Render(content string, values map[string]interface{}) string
- func (h HelmRenderingEngine) RenderFiles(files []*chart.File, values map[string]interface{}, ...) map[string]string
- func (h HelmRenderingEngine) RenderMap(contentMap map[string]string, values map[string]interface{}) map[string]string
Constants ¶
View Source
const HelmEngine = "helm"
HelmEngine is the helm engine constant to identify the engine type
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface { Render(content string, values map[string]interface{}) string RenderMap(contentMap map[string]string, values map[string]interface{}) map[string]string }
Engine is an interface representing a generic rendering engine
func NewHelmRenderingEngine ¶
func NewHelmRenderingEngine() Engine
NewHelmRenderingEngine returns a new Helm engine
type HelmRenderingEngine ¶
type HelmRenderingEngine struct{}
HelmRenderingEngine is a rendering engine based on helm which satisfies the RenderingEngine interface
func (HelmRenderingEngine) Render ¶
func (h HelmRenderingEngine) Render(content string, values map[string]interface{}) string
Render renders the template interpolating the supplied values
func (HelmRenderingEngine) RenderFiles ¶
func (h HelmRenderingEngine) RenderFiles(files []*chart.File, values map[string]interface{}, defaults map[string]interface{}) map[string]string
RenderFiles render files as they where charts with helm
Click to show internal directories.
Click to hide internal directories.