k8s.io/apimachinery/pkg/apis/meta/v1/unstructured.Unstructured.GetAnnotations
third-partyThe 8618th most-called third-party method by production calls. Called 85 times across 15 modules; 69 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
- 69
- non-test, non-generated
- all calls
- 85
- total callsites
- modules
- 15
- distinct callers
- in loop
- 33%
- of prod calls
- in tests
- 19%
- 16 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 method93%A method on a value whose type is known exactly.
- Embedded method7%Reached through an embedded type.
who calls this
Notable callers
Production calls into Unstructured.GetAnnotations from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 19 28%
- Kyverno 10 14%
- Velero 10 14%
- Istio 6 9%
- External Secrets 1 1%
where it's called
Callsites in the wild
12 representative callsites of 85, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
-
sigs.k8s.io/cli-utils @v0.37.2
pkg/manifestreader/common.go:127
in loop - in loop
- in loop
-
sigs.k8s.io/external-dns @v0.21.0
source/unstructured.go:148
in loop - in loop
- in loop
- in loop
- in loop
-
sigs.k8s.io/external-dns @v0.21.0
source/unstructured.go:149
in loop
top callers
The modules that reach for it
The modules that call Unstructured.GetAnnotations most in this snapshot.
- sigs.k8s.io/cli-utils2024%
- github.com/kyverno/kyverno1315%
- github.com/velero-io/velero1012%
- github.com/vmware-tanzu/velero1012%
- k8s.io/apiextensions-apiserver56%
siblings
More from k8s.io/apimachinery/pkg/apis/meta/v1/unstructured
The other most-called members in this package. See all →