k8s.io/apimachinery/pkg/runtime.DecodeInto
third-partyThe 6100th most-called third-party function by production calls. Called 200 times across 16 modules; 97 of those run outside tests and generated code.
All of k8s.io/apimachinery/pkg/runtime → Docs on pkg.go.dev ↗
- prod calls
- 97
- non-test, non-generated
- all calls
- 200
- total callsites
- modules
- 16
- distinct callers
- in loop
- 14%
- of prod calls
- in tests
- 52%
- 103 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 function29%A direct call to an exported package function, resolved by type.
- Package function (by syntax)71%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into DecodeInto from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 90 93%
- Istio 2 2%
- Longhorn 1 1%
where it's called
Callsites in the wild
12 representative callsites of 200, prioritizing in-loop and non-test usage. We link to source, never display it.
-
k8s.io/apimachinery @v0.36.3
pkg/runtime/codec_check.go:51
in loop -
k8s.io/kubernetes @v1.36.3
pkg/auth/authorizer/abac/abac.go:94
in loop - in loop
- in loop
-
k8s.io/kubernetes @v1.36.3
test/utils/audit.go:111
in loop -
k8s.io/apimachinery @v0.36.3
pkg/runtime/helper.go:145
in loop -
k8s.io/kubernetes @v1.36.3
cmd/kubeadm/app/componentconfigs/configset.go:180
in loop - in loop
- in loop
-
k8s.io/kubernetes @v1.36.3
test/soak/serve_hostnames/serve_hostnames.go:283
in loop - in loop
-
k8s.io/kubernetes @v1.36.3
cmd/kubeadm/app/util/config/initconfiguration.go:345
in loop
top callers
The modules that reach for it
The modules that call DecodeInto most in this snapshot.
- github.com/kubernetes/kubernetes9246%
- k8s.io/kubernetes4824%
- k8s.io/kubectl2010%
- k8s.io/apimachinery105%
- k8s.io/apiserver74%
siblings
More from k8s.io/apimachinery/pkg/runtime
The other most-called functions in this package. See all →