k8s.io/apimachinery/pkg/util/sets.New
third-partyThe 28th most-called third-party function by production calls. Called 980 times across 44 modules; 799 of those run outside tests and generated code.
All of k8s.io/apimachinery/pkg/util/sets → Docs on pkg.go.dev ↗
- prod calls
- 799
- non-test, non-generated
- all calls
- 980
- total callsites
- modules
- 44
- distinct callers
- in loop
- 36%
- of prod calls
- in tests
- 12%
- 120 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 function (by syntax)100%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into New from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 751 94%
where it's called
Callsites in the wild
6 representative callsites of 980, prioritizing in-loop and non-test usage. We link to source, never display it.
-
gopkg.in/yaml.v3 @v1.0.0
config/load.go:375
in loop -
k8s.io/client-go @v0.29.3
in loop -
k8s.io/client-go @v0.29.3
-
sigs.k8s.io/yaml @v1.4.0
-
hashicorp/consul @v1.18.1
-
sigs.k8s.io/yaml @v1.4.0
test
top callers
The modules that reach for it
The modules that call New most in this snapshot.
- k8s.io/client-go47048%
- github.com/hashicorp/consul21021%
- sigs.k8s.io/yaml9610%