MCPcopy Create free account
hub / github.com/helm/helm / GetClientFor

Method GetClientFor

pkg/engine/lookup_func.go:53–55  ·  view source on GitHub ↗
(apiVersion, kind string)

Source from the content-addressed store, hash-verified

51}
52
53func (c clientProviderFromConfig) GetClientFor(apiVersion, kind string) (dynamic.NamespaceableResourceInterface, bool, error) {
54 return getDynamicClientOnKind(apiVersion, kind, c.config)
55}
56
57func newLookupFunction(clientProvider ClientProvider) lookupFunc {
58 return func(apiversion string, kind string, namespace string, name string) (map[string]any, error) {

Callers

nothing calls this directly

Calls 1

getDynamicClientOnKindFunction · 0.85

Tested by

no test coverage detected