MCPcopy Index your code
hub / github.com/helm/helm / RenderWithClientProvider

Function RenderWithClientProvider

pkg/engine/engine.go:104–108  ·  view source on GitHub ↗

RenderWithClientProvider 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. This function differs from RenderWithClient in that it lets y

(chrt ci.Charter, values common.Values, clientProvider ClientProvider)

Source from the content-addressed store, hash-verified

102// functions that interact with the client.
103// This function differs from RenderWithClient in that it lets you customize the way a dynamic client is constructed.
104func RenderWithClientProvider(chrt ci.Charter, values common.Values, clientProvider ClientProvider) (map[string]string, error) {
105 return Engine{
106 clientProvider: &clientProvider,
107 }.Render(chrt, values)
108}
109
110// renderable is an object that can be rendered.
111type renderable struct {

Calls 1

RenderMethod · 0.80

Tested by 2

Used in the wild real call sites across dependent graphs

searching dependent graphs…