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

Method GetClientFor

pkg/engine/lookup_func.go:46–46  ·  view source on GitHub ↗

GetClientFor returns a dynamic.NamespaceableResourceInterface suitable for interacting with resources corresponding to the provided apiVersion and kind, as well as a boolean indicating whether the resources are namespaced.

(apiVersion, kind string)

Source from the content-addressed store, hash-verified

44 // corresponding to the provided apiVersion and kind, as well as a boolean indicating whether the resources
45 // are namespaced.
46 GetClientFor(apiVersion, kind string) (dynamic.NamespaceableResourceInterface, bool, error)
47}
48
49type clientProviderFromConfig struct {

Callers 1

newLookupFunctionFunction · 0.65

Implementers 2

testClientProviderpkg/engine/engine_test.go
clientProviderFromConfigpkg/engine/lookup_func.go

Calls

no outgoing calls

Tested by

no test coverage detected