Skip to content
callcount

k8s.io/apimachinery/pkg/util/sets.New

third-party

The 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.

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.

New · 6 of 980 callsites

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%