rendering

package
v0.0.712-g0f3c60d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const HelmEngine = "helm"

Variables

This section is empty.

Functions

This section is empty.

Types

type HelmRenderingEngine

type HelmRenderingEngine struct{}

func (HelmRenderingEngine) Render

func (h HelmRenderingEngine) Render(content string, values map[string]interface{}) string

func (HelmRenderingEngine) RenderFiles

func (h HelmRenderingEngine) RenderFiles(files []*chart.File, values map[string]interface{}, defaults map[string]interface{}) map[string]string

func (HelmRenderingEngine) RenderMap

func (h HelmRenderingEngine) RenderMap(contentMap map[string]string, values map[string]interface{}) map[string]string

RenderMap renders the values passed from a map[string]string

type RenderingEngine

type RenderingEngine interface {
	Render(content string, values map[string]interface{}) string
	RenderMap(contentMap map[string]string, values map[string]interface{}) map[string]string
}

func NewHelmRenderingEngine

func NewHelmRenderingEngine() RenderingEngine

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL