MCPcopy
hub / github.com/helm/helm / RenderWithClient

Function RenderWithClient

pkg/engine/engine.go:93–98  ·  view source on GitHub ↗

RenderWithClient takes a chart, optional values, and value overrides, and attempts to render the Go templates using the default options. This engine is client aware and so can have template functions that interact with the client.

(chrt ci.Charter, values common.Values, config *rest.Config)

Source from the content-addressed store, hash-verified

91// render the Go templates using the default options. This engine is client aware and so can have template
92// functions that interact with the client.
93func RenderWithClient(chrt ci.Charter, values common.Values, config *rest.Config) (map[string]string, error) {
94 var clientProvider ClientProvider = clientProviderFromConfig{config}
95 return Engine{
96 clientProvider: &clientProvider,
97 }.Render(chrt, values)
98}
99
100// RenderWithClientProvider takes a chart, optional values, and value overrides, and attempts to
101// render the Go templates using the default options. This engine is client aware and so can have template

Callers

nothing calls this directly

Calls 1

RenderMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…