sigs.k8s.io/controller-runtime/pkg/client/apiutil.GVKForObject
third-partyThe 7808th most-called third-party function by production calls. Called 83 times across 10 modules; 78 of those run outside tests and generated code.
No change in production calls since 2026-W39.
All of sigs.k8s.io/controller-runtime/pkg/client/apiutil → Docs on pkg.go.dev ↗
- prod calls
- 78
- non-test, non-generated
- all calls
- 83
- total callsites
- modules
- 10
- distinct callers
- in loop
- 10%
- 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 function52%A direct call to an exported package function, resolved by type.
- Package function (by syntax)48%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 43 55%
- Cilium 1 1%
where it's called
Callsites in the wild
12 representative callsites of 83, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
sigs.k8s.io/controller-runtime @v0.25.1
pkg/webhook/conversion/conversion_hubspoke.go:57
in loop -
sigs.k8s.io/controller-runtime @v0.25.1
pkg/client/fake/versioned_tracker.go:104
in loop -
sigs.k8s.io/controller-runtime @v0.25.1
pkg/envtest/webhook.go:201
in loop -
sigs.k8s.io/controller-runtime @v0.25.1
pkg/envtest/webhook.go:214
in loop -
sigs.k8s.io/controller-runtime @v0.25.1
pkg/client/fake/client.go:283
in loop -
sigs.k8s.io/controller-runtime @v0.25.1
pkg/cache/cache.go:395
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-runtime4352%
- github.com/loft-sh/vcluster2530%
- github.com/crossplane/crossplane56%
- github.com/cloudnative-pg/cloudnative-pg22%
- github.com/dapr/dapr22%