Skip to content
callcount

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

third-party

The 2653rd most-called third-party method by production calls. Called 275 times across 1 modules; 229 of those run outside tests and generated code.

1% in production calls vs 2026-W37 (226 → 229)

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

prod calls
229
non-test, non-generated
all calls
275
total callsites
modules
1
distinct callers
in loop
58%
of prod calls
in tests
17%
46 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.Contains 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 275, prioritizing in-loop and non-test usage. We link to source, never display it.

Set.Contains · 12 of 275 callsites
  • istio.io/istio @v0.0.0-20260921104621-5b6314c52361

    pilot/pkg/networking/core/envoyfilter/extension_configuration_patch.go:43

    in loop
  • istio.io/istio @v0.0.0-20260921104621-5b6314c52361

    pilot/pkg/networking/core/tls.go:46

    in loop
  • istio.io/istio @v0.0.0-20260921104621-5b6314c52361

    pilot/pkg/bootstrap/servicecontroller.go:53

    in loop
  • istio.io/istio @v0.0.0-20260921104621-5b6314c52361

    pkg/config/analysis/analyzer.go:57

    in loop
  • istio.io/istio @v0.0.0-20260921104621-5b6314c52361

    pilot/pkg/serviceregistry/ambient/authorization.go:61

    in loop
  • istio.io/istio @v0.0.0-20260921104621-5b6314c52361

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

    in loop
  • istio.io/istio @v0.0.0-20260921104621-5b6314c52361

    pilot/pkg/networking/core/tls.go:68

    in loop
  • istio.io/istio @v0.0.0-20260921104621-5b6314c52361

    pilot/pkg/xds/proxy_dependencies.go:71

    in loop
  • istio.io/istio @v0.0.0-20260921104621-5b6314c52361

    pilot/pkg/xds/rds.go:80

    in loop
  • istio.io/istio @v0.0.0-20260921104621-5b6314c52361

    pkg/test/framework/components/echo/config/builder.go:98

    in loop
  • istio.io/istio @v0.0.0-20260921104621-5b6314c52361

    pilot/pkg/xds/lds.go:99

    in loop
  • istio.io/istio @v0.0.0-20260921104621-5b6314c52361

    pkg/test/framework/components/echo/config/builder.go:99

    in loop

top callers

The modules that reach for it

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

  • istio.io/istio275100%

siblings

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

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