Skip to content
callcount

k8s.io/kubernetes/pkg/scheduler/testing.PodWrapper.Label

third-party

The 9130th most-called third-party method by production calls. Called 222 times across 1 modules; 65 of those run outside tests and generated code.

All of k8s.io/kubernetes/pkg/scheduler/testing → Docs on pkg.go.dev ↗

prod calls
65
non-test, non-generated
all calls
222
total callsites
modules
1
distinct callers
in loop
3%
of prod calls
in tests
71%
157 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 PodWrapper.Label 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 222, prioritizing in-loop and non-test usage. We link to source, never display it.

PodWrapper.Label · 12 of 222 callsites
  • k8s.io/kubernetes @v1.36.3

    pkg/scheduler/testing/workload_prep.go:57

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

    pkg/scheduler/testing/wrappers.go:767

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

    test/integration/scheduler/scoring/priorities_test.go:1230

    in loop test
  • k8s.io/kubernetes @v1.36.3

    test/integration/scheduler/plugins/plugins_test.go:2752

    in loop test
  • k8s.io/kubernetes @v1.36.3

    test/integration/scheduler/queueing/queue.go:165

  • k8s.io/kubernetes @v1.36.3

    test/integration/scheduler/queueing/queue.go:169

  • k8s.io/kubernetes @v1.36.3

    test/integration/scheduler/queueing/queue.go:616

  • k8s.io/kubernetes @v1.36.3

    test/integration/scheduler/queueing/queue.go:638

  • k8s.io/kubernetes @v1.36.3

    test/integration/scheduler/queueing/queue.go:667

  • k8s.io/kubernetes @v1.36.3

    test/integration/scheduler/queueing/queue.go:667

  • k8s.io/kubernetes @v1.36.3

    test/integration/scheduler/queueing/queue.go:671

  • k8s.io/kubernetes @v1.36.3

    test/integration/scheduler/queueing/queue.go:672

top callers

The modules that reach for it

The modules that call PodWrapper.Label most in this snapshot.

  • k8s.io/kubernetes222100%

siblings

More from k8s.io/kubernetes/pkg/scheduler/testing

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