Skip to content
callcount

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

third-party

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

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

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

Set.Contains · 12 of 272 callsites
  • istio.io/istio @v0.0.0-20260804075250-35fae141dc60

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

    in loop
  • istio.io/istio @v0.0.0-20260804075250-35fae141dc60

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

    in loop
  • istio.io/istio @v0.0.0-20260804075250-35fae141dc60

    pilot/pkg/bootstrap/servicecontroller.go:52

    in loop
  • istio.io/istio @v0.0.0-20260804075250-35fae141dc60

    pkg/config/analysis/analyzer.go:57

    in loop
  • istio.io/istio @v0.0.0-20260804075250-35fae141dc60

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

    in loop
  • istio.io/istio @v0.0.0-20260804075250-35fae141dc60

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

    in loop
  • istio.io/istio @v0.0.0-20260804075250-35fae141dc60

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

    in loop
  • istio.io/istio @v0.0.0-20260804075250-35fae141dc60

    pilot/pkg/xds/proxy_dependencies.go:71

    in loop
  • istio.io/istio @v0.0.0-20260804075250-35fae141dc60

    pilot/pkg/xds/rds.go:80

    in loop
  • istio.io/istio @v0.0.0-20260804075250-35fae141dc60

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

    in loop
  • istio.io/istio @v0.0.0-20260804075250-35fae141dc60

    pilot/pkg/xds/lds.go:99

    in loop
  • istio.io/istio @v0.0.0-20260804075250-35fae141dc60

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

siblings

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

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