Skip to content
callcount

k8s.io/apimachinery/pkg/runtime.Scheme.AddKnownTypes

third-party

The 2615th most-called third-party method by production calls. Called 558 times across 42 modules; 233 of those run outside tests and generated code.

No change in production calls since 2026-W37.

All of k8s.io/apimachinery/pkg/runtime → Docs on pkg.go.dev ↗

prod calls
233
non-test, non-generated
all calls
558
total callsites
modules
42
distinct callers
in loop
4%
of prod calls
in tests
56%
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.

where it's called

Callsites in the wild

12 representative callsites of 558, prioritizing in-loop and non-test usage. We link to source, never display it.

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 →