k8s.io/apimachinery/pkg/fields.SelectorFromSet
third-partyThe 7575th most-called third-party function by production calls. Called 135 times across 18 modules; 79 of those run outside tests and generated code.
No change in production calls since 2026-W37.
All of k8s.io/apimachinery/pkg/fields → Docs on pkg.go.dev ↗
- prod calls
- 79
- non-test, non-generated
- all calls
- 135
- total callsites
- modules
- 18
- distinct callers
- in loop
- 13%
- of prod calls
- in tests
- 41%
- 56 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 function57%A direct call to an exported package function, resolved by type.
- Package function (by syntax)43%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into SelectorFromSet from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 60 76%
- Argo 10 13%
- Tailscale 1 1%
where it's called
Callsites in the wild
12 representative callsites of 135, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
k8s.io/kubernetes @v1.37.0
test/e2e/apimachinery/protocol.go:68
in loop -
k8s.io/apiserver @v0.37.0
pkg/storage/testing/store_benchmarks.go:249
in loop -
kubernetes/kubernetes @master
staging/src/k8s.io/apiserver/pkg/storage/testing/store_benchmarks.go:249 ↗
in loop -
k8s.io/apiserver @v0.37.0
pkg/storage/testing/store_benchmarks.go:312
in loop -
kubernetes/kubernetes @master
staging/src/k8s.io/apiserver/pkg/storage/testing/store_benchmarks.go:312 ↗
in loop -
k8s.io/apiserver @v0.37.0
pkg/storage/testing/store_benchmarks.go:344
in loop -
kubernetes/kubernetes @master
staging/src/k8s.io/apiserver/pkg/storage/testing/store_benchmarks.go:344 ↗
in loop -
kubernetes/kubernetes @master
staging/src/k8s.io/apiserver/pkg/storage/testing/store_benchmarks.go:465 ↗
in loop -
k8s.io/apiserver @v0.37.0
pkg/storage/testing/store_benchmarks.go:468
in loop -
-
google/gvisor @v0.0.0-20260919054224-26f3455a4cb9
top callers
The modules that reach for it
The modules that call SelectorFromSet most in this snapshot.
- github.com/kubernetes/kubernetes3828%
- k8s.io/apiserver2921%
- sigs.k8s.io/controller-runtime1914%
- github.com/prometheus-operator/prometheus-operator118%
- k8s.io/kubernetes86%
siblings
More from k8s.io/apimachinery/pkg/fields
The other most-called functions in this package. See all →