Skip to content
callcount

k8s.io/code-generator/cmd/validation-gen/validators.Function

third-party

The 7558th most-called third-party function by production calls. Called 80 times across 2 modules; 80 of those run outside tests and generated code.

No change in production calls since 2026-W37.

All of k8s.io/code-generator/cmd/validation-gen/validators → Docs on pkg.go.dev ↗

prod calls
80
non-test, non-generated
all calls
80
total callsites
modules
2
distinct callers
in loop
18%
of prod calls
in tests
0%
0 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 →

  • Package function91%A direct call to an exported package function, resolved by type.
  • Package function (by syntax)9%A package function in a module outside the crawl, keyed by import path.

who calls this

Notable callers

Production calls into Function 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 80, prioritizing in-loop and non-test usage. We link to source, never display it.

Function · 12 of 80 callsites
  • k8s.io/code-generator @v0.37.0

    cmd/validation-gen/validators/item.go:132

    in loop
  • k8s.io/code-generator @v0.37.0

    cmd/validation-gen/validators/item.go:176

    in loop
  • k8s.io/code-generator @v0.37.0

    cmd/validation-gen/validators/union.go:292

    in loop
  • k8s.io/code-generator @v0.37.0

    cmd/validation-gen/validators/union.go:303

    in loop
  • k8s.io/code-generator @v0.37.0

    cmd/validation-gen/validators/union.go:307

    in loop
  • k8s.io/code-generator @v0.37.0

    cmd/validation-gen/validators/union.go:311

    in loop
  • k8s.io/code-generator @v0.37.0

    cmd/validation-gen/validators/union.go:510

    in loop
  • k8s.io/code-generator @v0.37.0

    cmd/validation-gen/validators/union.go:512

    in loop
  • k8s.io/code-generator @v0.37.0

    cmd/validation-gen/validation.go:826

    in loop
  • k8s.io/code-generator @v0.37.0

    cmd/validation-gen/validation.go:858

    in loop
  • in loop
  • k8s.io/code-generator @v0.37.0

    cmd/validation-gen/validation.go:889

    in loop

top callers

The modules that reach for it

The modules that call Function most in this snapshot.

  • k8s.io/code-generator7391%
  • github.com/kubernetes/kubernetes79%