Skip to content
callcount

k8s.io/client-go/rest.CopyConfig

third-party

The 6247th most-called third-party function by production calls. Called 323 times across 20 modules; 100 of those run outside tests and generated code.

No change in production calls since 2026-W48.

All of k8s.io/client-go/rest → Docs on pkg.go.dev ↗

prod calls
100
non-test, non-generated
all calls
323
total callsites
modules
20
distinct callers
in loop
0%
of prod calls
in tests
69%
223 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 function2%A direct call to an exported package function, resolved by type.
  • Package function (by syntax)98%A package function in a module outside the crawl, keyed by import path.

who calls this

Notable callers

Production calls into CopyConfig 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 323, prioritizing in-loop and non-test usage. We link to source, never display it.

CopyConfig · 12 of 323 callsites

top callers

The modules that reach for it

The modules that call CopyConfig most in this snapshot.

  • github.com/kubernetes/kubernetes15949%
  • k8s.io/kubernetes11435%
  • sigs.k8s.io/controller-runtime155%
  • k8s.io/client-go82%
  • github.com/loft-sh/vcluster52%

siblings

More from k8s.io/client-go/rest

The other most-called functions in this package. See all →