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

Function NewLookupFunction

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

NewLookupFunction returns a function for looking up objects in the cluster. If the resource does not exist, no error is raised.

(config *rest.Config)

Source from the content-addressed store, hash-verified

36//
37// If the resource does not exist, no error is raised.
38func NewLookupFunction(config *rest.Config) lookupFunc { //nolint:revive
39 return newLookupFunction(clientProviderFromConfig{config: config})
40}
41
42type ClientProvider interface {
43 // GetClientFor returns a dynamic.NamespaceableResourceInterface suitable for interacting with resources

Callers

nothing calls this directly

Calls 1

newLookupFunctionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…