k8s.io/apimachinery/pkg/apis/meta/v1/unstructured.Unstructured.GetAPIVersion
third-partyThe 5971st most-called third-party method by production calls. Called 146 times across 22 modules; 99 of those run outside tests and generated code.
All of k8s.io/apimachinery/pkg/apis/meta/v1/unstructured → Docs on pkg.go.dev ↗
- prod calls
- 99
- non-test, non-generated
- all calls
- 146
- total callsites
- modules
- 22
- distinct callers
- in loop
- 39%
- of prod calls
- in tests
- 32%
- 47 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 →
- Concrete method99%A method on a value whose type is known exactly.
- Embedded method1%Reached through an embedded type.
who calls this
Notable callers
Production calls into Unstructured.GetAPIVersion from notable Go projects. Open one on the map to see what else it hammers.
- Kyverno 54 55%
- Kubernetes 17 17%
- Istio 4 4%
- Velero 2 2%
- Flux 1 1%
where it's called
Callsites in the wild
12 representative callsites of 146, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
kubesphere/kubesphere @v0.0.0-20260715011438-04a29b5c6014
in loop - in loop
-
k8s.io/apiextensions-apiserver @v0.36.3
pkg/apiserver/conversion/webhook_converter.go:132
in loop -
kyverno/kyverno @v1.18.2
in loop - in loop
- in loop
-
kubesphere/kubesphere @v0.0.0-20260715011438-04a29b5c6014
in loop -
kyverno/kyverno @v1.18.2
in loop -
k8s.io/apiextensions-apiserver @v0.36.3
pkg/apiserver/conversion/webhook_converter.go:308
in loop - in loop
-
k8s.io/apimachinery @v0.36.3
pkg/apis/meta/v1/unstructured/helpers.go:505
in loop
top callers
The modules that reach for it
The modules that call Unstructured.GetAPIVersion most in this snapshot.
- github.com/kyverno/kyverno5437%
- k8s.io/apiextensions-apiserver3222%
- github.com/crossplane/crossplane107%
- sigs.k8s.io/controller-runtime85%
- github.com/kubernetes-sigs/external-dns53%
siblings
More from k8s.io/apimachinery/pkg/apis/meta/v1/unstructured
The other most-called members in this package. See all →