NewLookupFunction returns a function for looking up objects in the cluster. If the resource does not exist, no error is raised.
(config *rest.Config)
| 36 | // |
| 37 | // If the resource does not exist, no error is raised. |
| 38 | func NewLookupFunction(config *rest.Config) lookupFunc { //nolint:revive |
| 39 | return newLookupFunction(clientProviderFromConfig{config: config}) |
| 40 | } |
| 41 | |
| 42 | type ClientProvider interface { |
| 43 | // GetClientFor returns a dynamic.NamespaceableResourceInterface suitable for interacting with resources |
nothing calls this directly
no test coverage detected
searching dependent graphs…