k8s.io/apimachinery/pkg/labels.Selector.Matches
third-partyThe 4198th most-called third-party method by production calls. Called 165 times across 31 modules; 142 of those run outside tests and generated code.
All of k8s.io/apimachinery/pkg/labels → Docs on pkg.go.dev ↗
- prod calls
- 142
- non-test, non-generated
- all calls
- 165
- total callsites
- modules
- 31
- distinct callers
- in loop
- 63%
- of prod calls
- in tests
- 14%
- 23 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.
- Istio 52 37%
- Kubernetes 44 31%
- Velero 9 6%
- Kyverno 4 3%
- Cilium 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 165, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
kubesphere/kubesphere @v0.0.0-20260715011438-04a29b5c6014
in loop - in loop
- in loop
- in loop
- in loop
-
helm/v4 @v4.2.3
pkg/action/list.go:293
in loop -
istio/istio @v0.0.0-20260804075250-35fae141dc60
in loop -
knative.dev/pkg @v0.0.0-20260727151759-521cb33b33dd
webhook/psbinding/index.go:80
in loop -
sigs.k8s.io/controller-runtime @v0.24.1
pkg/internal/objectutil/objectutil.go:35
in loop - in loop
top callers
The modules that reach for it
The modules that call Selector.Matches most in this snapshot.
- istio.io/istio2918%
- github.com/istio/istio2716%
- k8s.io/client-go148%
- github.com/kubernetes/client-go117%
- github.com/vmware-tanzu/velero106%
siblings
More from k8s.io/apimachinery/pkg/labels
The other most-called members in this package. See all →