Skip to content
callcount

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

third-party

The 2690th most-called third-party method by production calls. Called 276 times across 1 modules; 231 of those run outside tests and generated code.

1% in production calls vs 2026-W39 (229 → 231)

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

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

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

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

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

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

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

    pilot/pkg/bootstrap/servicecontroller.go:53

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

    pkg/config/analysis/analyzer.go:57

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

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

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

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

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

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

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

    pilot/pkg/xds/proxy_dependencies.go:71

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

    pilot/pkg/xds/rds.go:80

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

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

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

    pilot/pkg/xds/lds.go:99

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

    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/istio276100%

siblings

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

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