k8s.io/apimachinery/pkg/api/meta.Accessor
third-partyThe 897th most-called third-party function by production calls. Called 1,025 times across 42 modules; 745 of those run outside tests and generated code.
1% in production calls vs 2026-W37 (738 → 745)
All of k8s.io/apimachinery/pkg/api/meta → Docs on pkg.go.dev ↗
- prod calls
- 745
- non-test, non-generated
- all calls
- 1,025
- total callsites
- modules
- 42
- distinct callers
- in loop
- 15%
- of prod calls
- in tests
- 27%
- 280 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 function49%A direct call to an exported package function, resolved by type.
- Package function (by syntax)51%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 589 79%
- Longhorn 38 5%
- Cilium 19 3%
- Velero 11 1%
- Kyverno 4 <1%
where it's called
Callsites in the wild
12 representative callsites of 1,025, 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.1
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/kubernetes37537%
- k8s.io/apiserver10110%
- k8s.io/kubernetes949%
- github.com/kubernetes/client-go576%
- k8s.io/client-go576%
siblings
More from k8s.io/apimachinery/pkg/api/meta
The other most-called functions in this package. See all →