k8s.io/apimachinery/pkg/util/validation/field.Forbidden
third-partyThe 606th most-called third-party function by production calls. Called 1,557 times across 16 modules; 1,221 of those run outside tests and generated code.
All of k8s.io/apimachinery/pkg/util/validation/field → Docs on pkg.go.dev ↗
- prod calls
- 1,221
- non-test, non-generated
- all calls
- 1,557
- total callsites
- modules
- 16
- distinct callers
- in loop
- 14%
- of prod calls
- in tests
- 22%
- 336 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,100 90%
- Kyverno 49 4%
- Cilium 2 <1%
- KubeVirt 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 1,557, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
-
k8s.io/kops @v1.36.1
pkg/apis/kops/validation/cluster.go:53
in loop - in loop
- in loop
- in loop
- in loop
-
k8s.io/kubernetes @v1.36.3
pkg/scheduler/apis/config/validation/validation_pluginargs.go:120
in loop - in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call Forbidden most in this snapshot.
- github.com/kubernetes/kubernetes53935%
- k8s.io/kubernetes34922%
- github.com/kubernetes/kops19513%
- k8s.io/kops19513%
- 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 →