Skip to content
callcount

istio.io/istio/pkg/kube/krt.OptionsBuilder.WithName

third-party

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

All of istio.io/istio/pkg/kube/krt → Docs on pkg.go.dev ↗

prod calls
178
non-test, non-generated
all calls
282
total callsites
modules
1
distinct callers
in loop
2%
of prod calls
in tests
37%
104 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 OptionsBuilder.WithName 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 282, prioritizing in-loop and non-test usage. We link to source, never display it.

OptionsBuilder.WithName · 12 of 282 callsites
  • istio.io/istio @v0.0.0-20260804075250-35fae141dc60

    pilot/pkg/config/aggregate/config.go:63

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

    pilot/pkg/model/fake_store.go:75

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

    pilot/pkg/config/memory/store.go:90

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

    pilot/pkg/config/kube/file/controller.go:91

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

    pkg/kube/krt/map_test.go:200

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

    pkg/kube/krt/map_test.go:216

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

    pkg/config/mesh/meshwatcher/collection.go:39

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

    pkg/config/mesh/kubemesh/watcher.go:43

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

    pilot/pkg/config/kube/agentgateway/inference_policy_collection.go:44

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

    pilot/pkg/config/kube/ingress/gateways.go:47

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

    pkg/config/mesh/kubemesh/watcher.go:54

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

    pilot/pkg/config/kube/gatewaycommon/gatewayclass_collection.go:67

top callers

The modules that reach for it

The modules that call OptionsBuilder.WithName most in this snapshot.

  • istio.io/istio282100%

siblings

More from istio.io/istio/pkg/kube/krt

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