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

Function allTemplates

pkg/engine/helm/engine.go:501–506  ·  view source on GitHub ↗

allTemplates returns all templates for a chart and its dependencies. As it goes, it also prepares the values in a scope-sensitive manner.

(c *chart.Chart, vals chartutil.Values)

Source from the content-addressed store, hash-verified

499//
500// As it goes, it also prepares the values in a scope-sensitive manner.
501func allTemplates(c *chart.Chart, vals chartutil.Values) map[string]renderable {
502 templates := make(map[string]renderable)
503 recAllTpls(c, templates, vals)
504
505 return templates
506}
507
508// recAllTpls recurses through the templates in a chart.
509//

Callers 2

RenderMethod · 0.85
TestAllTemplatesFunction · 0.85

Calls 1

recAllTplsFunction · 0.85

Tested by 1

TestAllTemplatesFunction · 0.68