MCPcopy Create free account
hub / github.com/cozystack/talm / Render

Method Render

pkg/engine/helm/engine.go:82–86  ·  view source on GitHub ↗

Render takes a chart, optional values, and value overrides, and attempts to render the Go templates. Render can be called repeatedly on the same engine. This will look in the chart's 'templates' data (e.g. the 'templates/' directory) and attempt to render the templates there using the values passe

(chrt *chart.Chart, values chartutil.Values)

Source from the content-addressed store, hash-verified

80// section contains a value named "bar", that value will be passed on to the
81// bar chart during render time.
82func (e Engine) Render(chrt *chart.Chart, values chartutil.Values) (map[string]string, error) {
83 tmap := allTemplates(chrt, values)
84
85 return e.render(tmap)
86}
87
88// Render takes a chart, optional values, and value overrides, and attempts to
89// render the Go templates using the default options.

Calls 2

renderMethod · 0.95
allTemplatesFunction · 0.85