k8s.io/apimachinery/pkg/runtime.Scheme.AddKnownTypes
third-partyThe 2645th most-called third-party method by production calls. Called 561 times across 44 modules; 236 of those run outside tests and generated code.
1% in production calls vs 2026-W39 (233 → 236)
All of k8s.io/apimachinery/pkg/runtime → Docs on pkg.go.dev ↗
- prod calls
- 236
- non-test, non-generated
- all calls
- 561
- total callsites
- modules
- 44
- distinct callers
- in loop
- 4%
- of prod calls
- in tests
- 55%
- 310 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 method100%A method on a value whose type is known exactly.
who calls this
Notable callers
Production calls into Scheme.AddKnownTypes from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 143 61%
- Cilium 14 6%
- Istio 8 3%
- KEDA 2 <1%
- Velero 2 <1%
where it's called
Callsites in the wild
12 representative callsites of 561, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb
pkg/kube/inject/initializer.go:72
in loop - in loop
-
istio/istio @v0.0.0-20260928115056-32ddacd7a1cb
in loop - in loop
- in loop
- in loop
- in loop
- in loop
- in loop test
- in loop test
top callers
The modules that reach for it
The modules that call Scheme.AddKnownTypes most in this snapshot.
- github.com/rook/rook12422%
- github.com/kubernetes-sigs/external-dns6311%
- sigs.k8s.io/external-dns6311%
- k8s.io/api6111%
- k8s.io/apiserver499%
siblings
More from k8s.io/apimachinery/pkg/runtime
The other most-called members in this package. See all →