k8s.io/apimachinery/pkg/api/meta.Accessor
third-partyThe 922nd most-called third-party function by production calls. Called 1,063 times across 43 modules; 771 of those run outside tests and generated code.
No change in production calls since 2026-W48.
All of k8s.io/apimachinery/pkg/api/meta → Docs on pkg.go.dev ↗
- prod calls
- 771
- non-test, non-generated
- all calls
- 1,063
- total callsites
- modules
- 43
- distinct callers
- in loop
- 15%
- of prod calls
- in tests
- 27%
- 292 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 Accessor from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 606 79%
- Longhorn 38 5%
- Cilium 19 2%
- Velero 15 2%
- Kyverno 5 <1%
where it's called
Callsites in the wild
12 representative callsites of 1,063, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
linkerd/linkerd2 @v18.9.1+incompatible
in loop - in loop
- in loop
- in loop
- in loop
- in loop
-
sigs.k8s.io/controller-runtime @v0.25.3
pkg/internal/objectutil/objectutil.go:29
in loop - in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call Accessor most in this snapshot.
- github.com/kubernetes/kubernetes40438%
- k8s.io/apiserver10110%
- k8s.io/kubernetes949%
- github.com/kubernetes/client-go575%
- k8s.io/client-go575%
siblings
More from k8s.io/apimachinery/pkg/api/meta
The other most-called functions in this package. See all →