Skip to content
callcount

k8s.io/apimachinery/pkg/labels.Selector.Matches

third-party

The 4113th most-called third-party method by production calls. Called 195 times across 31 modules; 146 of those run outside tests and generated code.

2% in production calls vs 2026-W37 (143 → 146)

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

prod calls
146
non-test, non-generated
all calls
195
total callsites
modules
31
distinct callers
in loop
66%
of prod calls
in tests
25%
49 calls
resolved
0%
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 →

  • Interface method100%Called through an interface. The runtime target may differ.

who calls this

Notable callers

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

Selector.Matches · 12 of 195 callsites

top callers

The modules that reach for it

The modules that call Selector.Matches most in this snapshot.

  • istio.io/istio2915%
  • github.com/istio/istio2714%
  • github.com/vmware-tanzu/velero2613%
  • github.com/velero-io/velero2412%
  • k8s.io/client-go147%

siblings

More from k8s.io/apimachinery/pkg/labels

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