Skip to content
callcount

k8s.io/kubernetes/test/utils/client-go/ktesting.TContext.Client

third-party

The 2502nd most-called third-party method by production calls. Called 379 times across 1 modules; 245 of those run outside tests and generated code.

No change in production calls since 2026-W37.

All of k8s.io/kubernetes/test/utils/client-go/ktesting → Docs on pkg.go.dev ↗

prod calls
245
non-test, non-generated
all calls
379
total callsites
modules
1
distinct callers
in loop
23%
of prod calls
in tests
35%
134 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 TContext.Client 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 379, prioritizing in-loop and non-test usage. We link to source, never display it.

TContext.Client · 12 of 379 callsites
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/uses_all_resources.go:62

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/partitionable_devices.go:77

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/uses_all_resources.go:78

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/partitionable_devices.go:87

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/optional_node_operations.go:104

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/device_taints.go:108

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/device_taints.go:113

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/device_taints.go:123

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/pod_group.go:125

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/optional_node_operations.go:135

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/device_taints.go:139

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/pod_group.go:145

    in loop

top callers

The modules that reach for it

The modules that call TContext.Client most in this snapshot.

  • k8s.io/kubernetes379100%