k8s.io/client-go/dynamic.NewForConfig
third-partyThe 4839th most-called third-party function by production calls. Called 296 times across 34 modules; 122 of those run outside tests and generated code.
- prod calls
- 122
- non-test, non-generated
- all calls
- 296
- 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 68 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 296, prioritizing in-loop and non-test usage. We link to source, never display it.
-
k8s.io/kubernetes @v1.36.3
test/integration/apiserver/apply/status_test.go:184
in loop test -
kubernetes/kubernetes @master
staging/src/k8s.io/apiextensions-apiserver/test/integration/cbor_test.go:200 ↗
in loop test -
k8s.io/apiextensions-apiserver @v0.36.3
test/integration/cbor_test.go:200
in loop test - in loop test
- in loop test
-
k8s.io/client-go @v0.36.3
dynamic/golden_test.go:217
in loop test - in loop test
- in loop test
-
k8s.io/client-go @v0.36.3
dynamic/golden_test.go:358
in loop test -
k8s.io/kubernetes @v1.36.3
test/integration/apiserver/cel/mutatingadmissionpolicy_test.go:514
in loop test -
k8s.io/kubernetes @v1.36.3
test/integration/apiserver/admissionwebhook/admission_test.go:662
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/kubernetes11138%
- k8s.io/kubernetes7626%
- k8s.io/apiextensions-apiserver269%
- github.com/argoproj/gitops-engine93%
- k8s.io/client-go93%