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)
| 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. |
| 93 | func 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 |
nothing calls this directly
no test coverage detected
searching dependent graphs…