k8s.io/apimachinery/pkg/runtime.Decoder.Decode
third-partyThe 8121st most-called third-party method by production calls. Called 126 times across 25 modules; 73 of those run outside tests and generated code.
All of k8s.io/apimachinery/pkg/runtime → Docs on pkg.go.dev ↗
- prod calls
- 73
- non-test, non-generated
- all calls
- 126
- total callsites
- modules
- 25
- distinct callers
- in loop
- 25%
- of prod calls
- in tests
- 42%
- 53 calls
- resolved
- 0%
- 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 →
- Interface method100%Called through an interface. The runtime target may differ.
who calls this
Notable callers
Production calls into Decoder.Decode from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 58 79%
- Cilium 4 5%
- Istio 2 3%
- Kyverno 1 1%
- Velero 1 1%
where it's called
Callsites in the wild
12 representative callsites of 126, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
k8s.io/apiserver @v0.36.3
pkg/admission/plugin/webhook/manifest/loader/loader.go:58
in loop - in loop
-
k8s.io/apiserver @v0.36.3
pkg/admission/plugin/policy/manifest/loader/loader.go:71
in loop -
k8s.io/kops @v1.36.1
pkg/applylib/mocks/harness.go:86
in loop - in loop
-
k8s.io/apiserver @v0.36.3
pkg/admission/plugin/webhook/manifest/loader/loader.go:91
in loop -
k8s.io/apimachinery @v0.36.3
pkg/runtime/serializer/recognizer/recognizer.go:102
in loop -
k8s.io/kubectl @v0.36.3
pkg/cmd/get/sorter.go:106
in loop -
k8s.io/apimachinery @v0.36.3
pkg/runtime/serializer/recognizer/recognizer.go:110
in loop -
k8s.io/apiserver @v0.36.3
pkg/admission/plugin/policy/manifest/loader/loader.go:114
in loop
top callers
The modules that reach for it
The modules that call Decoder.Decode most in this snapshot.
- k8s.io/apimachinery4637%
- github.com/velero-io/velero1411%
- github.com/vmware-tanzu/velero1411%
- k8s.io/apiserver1411%
- k8s.io/client-go54%
siblings
More from k8s.io/apimachinery/pkg/runtime
The other most-called members in this package. See all →