Skip to content
callcount

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

third-party

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

1% in production calls vs 2026-W39 (182 → 183)

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

prod calls
183
non-test, non-generated
all calls
323
total callsites
modules
1
distinct callers
in loop
2%
of prod calls
in tests
43%
140 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 323, prioritizing in-loop and non-test usage. We link to source, never display it.

OptionsBuilder.WithName · 12 of 323 callsites
  • istio.io/istio @v0.0.0-20260928115056-32ddacd7a1cb

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

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

    pilot/pkg/model/fake_store.go:75

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

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

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

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

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

    pkg/kube/krt/map_test.go:45

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

    pkg/kube/krt/map_test.go:230

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

    pkg/kube/krt/map_test.go:246

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

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

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

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

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

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

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

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

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

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

top callers

The modules that reach for it

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

  • istio.io/istio323100%

siblings

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

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