k8s.io/apimachinery/pkg/util/validation/field.Forbidden
third-partyThe 605th most-called third-party function by production calls. Called 1,648 times across 16 modules; 1,243 of those run outside tests and generated code.
0% in production calls vs 2026-W37 (1,239 → 1,243)
All of k8s.io/apimachinery/pkg/util/validation/field → Docs on pkg.go.dev ↗
- prod calls
- 1,243
- non-test, non-generated
- all calls
- 1,648
- total callsites
- modules
- 16
- distinct callers
- in loop
- 14%
- of prod calls
- in tests
- 25%
- 405 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 function43%A direct call to an exported package function, resolved by type.
- Package function (by syntax)57%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into Forbidden from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 1,115 90%
- Kyverno 56 5%
- Cilium 2 <1%
- KubeVirt 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 1,648, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
- in loop
- in loop
-
k8s.io/kops @v1.36.2
pkg/apis/kops/validation/cluster.go:53
in loop - in loop
- in loop
- in loop
- in loop
- in loop
-
k8s.io/kubernetes @v1.37.0
pkg/scheduler/apis/config/validation/validation_pluginargs.go:120
in loop
top callers
The modules that reach for it
The modules that call Forbidden most in this snapshot.
- github.com/kubernetes/kubernetes54133%
- k8s.io/kubernetes39424%
- github.com/kubernetes/kops19512%
- k8s.io/kops19512%
- github.com/cert-manager/cert-manager1157%
siblings
More from k8s.io/apimachinery/pkg/util/validation/field
The other most-called functions in this package. See all →