sigs.k8s.io/controller-runtime/pkg/client/apiutil.GVKForObject
third-partyThe 8021st most-called third-party function by production calls. Called 79 times across 10 modules; 74 of those run outside tests and generated code.
All of sigs.k8s.io/controller-runtime/pkg/client/apiutil → Docs on pkg.go.dev ↗
- prod calls
- 74
- non-test, non-generated
- all calls
- 79
- total callsites
- modules
- 10
- distinct callers
- in loop
- 9%
- of prod calls
- in tests
- 6%
- 5 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 function48%A direct call to an exported package function, resolved by type.
- Package function (by syntax)52%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into GVKForObject from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 38 51%
- Cilium 1 1%
where it's called
Callsites in the wild
12 representative callsites of 79, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
sigs.k8s.io/controller-runtime @v0.24.1
pkg/webhook/conversion/conversion_hubspoke.go:57
in loop -
sigs.k8s.io/controller-runtime @v0.24.1
pkg/envtest/webhook.go:198
in loop -
sigs.k8s.io/controller-runtime @v0.24.1
pkg/envtest/webhook.go:211
in loop -
sigs.k8s.io/controller-runtime @v0.24.1
pkg/client/fake/client.go:272
in loop -
sigs.k8s.io/controller-runtime @v0.24.1
pkg/cache/cache.go:454
in loop - in loop test
- in loop test
- in loop test
-
-
top callers
The modules that reach for it
The modules that call GVKForObject most in this snapshot.
- sigs.k8s.io/controller-runtime3848%
- github.com/loft-sh/vcluster2633%
- github.com/crossplane/crossplane56%
- github.com/cloudnative-pg/cloudnative-pg23%
- github.com/dapr/dapr23%