k8s.io/client-go/dynamic.NewForConfig
third-partyThe 4826th most-called third-party function by production calls. Called 297 times across 34 modules; 123 of those run outside tests and generated code.
No change in production calls since 2026-W37.
- prod calls
- 123
- non-test, non-generated
- all calls
- 297
- total callsites
- modules
- 34
- distinct callers
- in loop
- 0%
- of prod calls
- in tests
- 59%
- 174 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function3%A direct call to an exported package function, resolved by type.
- Package function (by syntax)97%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into NewForConfig from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 69 56%
- Argo 17 14%
- Kyverno 6 5%
- Istio 4 3%
- Velero 2 2%
where it's called
Callsites in the wild
12 representative callsites of 297, prioritizing in-loop and non-test usage. We link to source, never display it.
-
kubernetes/kubernetes @master
staging/src/k8s.io/apiextensions-apiserver/test/integration/cbor_test.go:200 ↗
in loop test -
k8s.io/apiextensions-apiserver @v0.37.0
test/integration/cbor_test.go:200
in loop test -
k8s.io/client-go @v0.37.0
dynamic/golden_test.go:217
in loop test - in loop test
- in loop test
- in loop test
-
k8s.io/client-go @v0.37.0
dynamic/golden_test.go:358
in loop test - in loop test
-
k8s.io/kubernetes @v1.37.0
test/integration/apiserver/admissionwebhook/admission_test.go:673
in loop test - in loop test
-
k8s.io/kubernetes @v1.37.0
test/integration/apiserver/cel/mutatingadmissionpolicy_test.go:829
in loop test - in loop test
top callers
The modules that reach for it
The modules that call NewForConfig most in this snapshot.
- github.com/kubernetes/kubernetes11137%
- k8s.io/kubernetes7626%
- k8s.io/apiextensions-apiserver269%
- github.com/argoproj/gitops-engine93%
- k8s.io/client-go93%