k8s.io/apimachinery/pkg/runtime.Scheme.AddKnownTypes
third-partyThe 2608th most-called third-party method by production calls. Called 539 times across 43 modules; 230 of those run outside tests and generated code.
All of k8s.io/apimachinery/pkg/runtime → Docs on pkg.go.dev ↗
- prod calls
- 230
- non-test, non-generated
- all calls
- 539
- total callsites
- modules
- 43
- distinct callers
- in loop
- 4%
- of prod calls
- in tests
- 55%
- 294 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 140 61%
- Cilium 14 6%
- Istio 8 3%
- Velero 2 <1%
- Kyverno 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 539, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
istio/istio @v0.0.0-20260804075250-35fae141dc60
in loop - in loop
-
istio.io/istio @v0.0.0-20260804075250-35fae141dc60
pkg/kube/inject/initializer.go:72
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/rook12423%
- k8s.io/api5911%
- github.com/kubernetes-sigs/external-dns5410%
- sigs.k8s.io/external-dns5410%
- k8s.io/apiserver489%
siblings
More from k8s.io/apimachinery/pkg/runtime
The other most-called members in this package. See all →