MCPcopy
hub / github.com/helm/helm / Render

Method Render

pkg/engine/engine.go:79–82  ·  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 ci.Charter, values common.Values)

Source from the content-addressed store, hash-verified

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

Callers 10

LintMethod · 0.95
TestRenderWithDNSFunction · 0.95
TestAlterFuncMap_requireFunction · 0.95
renderResourcesMethod · 0.95
RenderFunction · 0.80
RenderWithClientFunction · 0.80
RenderWithClientProviderFunction · 0.80

Calls 2

renderMethod · 0.95
allTemplatesFunction · 0.85

Tested by 4

TestRenderWithDNSFunction · 0.76
TestAlterFuncMap_requireFunction · 0.76