Skip to content
callcount

istio.io/istio/pkg/util/sets.Set.Insert

third-party

The 2302nd most-called third-party method by production calls. Called 321 times across 1 modules; 274 of those run outside tests and generated code.

0% in production calls vs 2026-W39 (273 → 274)

All of istio.io/istio/pkg/util/sets → Docs on pkg.go.dev ↗

prod calls
274
non-test, non-generated
all calls
321
total callsites
modules
1
distinct callers
in loop
84%
of prod calls
in tests
15%
47 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 →

  • Concrete method100%A method on a value whose type is known exactly.

who calls this

Notable callers

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

Set.Insert · 12 of 321 callsites
  • istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb

    pilot/cmd/pilot-discovery/app/options.go:31

    in loop
  • istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb

    pilot/cmd/pilot-discovery/app/options.go:40

    in loop
  • istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb

    pilot/pkg/xds/proxy_dependencies.go:46

    in loop
  • istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb

    pilot/test/xdstest/extract.go:50

    in loop
  • istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb

    pkg/config/analysis/analyzers/telemetry/lightstep.go:53

    in loop
  • istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb

    pilot/pkg/xds/proxy_dependencies.go:54

    in loop
  • istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb

    pilot/pkg/bootstrap/servicecontroller.go:57

    in loop
  • istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb

    pkg/test/framework/components/echo/config/param/template.go:60

    in loop
  • istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb

    pilot/pkg/model/virtualservice.go:62

    in loop
  • istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb

    cni/pkg/install/binaries.go:63

    in loop
  • istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb

    pilot/pkg/model/config.go:67

    in loop
  • istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb

    pkg/test/framework/components/cluster/clusters.go:71

    in loop

top callers

The modules that reach for it

The modules that call Set.Insert most in this snapshot.

  • istio.io/istio321100%

siblings

More from istio.io/istio/pkg/util/sets

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