github.com/onsi/gomega.ContainElement
third-partyThe 3008th most-called third-party function by production calls. Called 1,135 times across 30 modules; 196 of those run outside tests and generated code.
- prod calls
- 196
- non-test, non-generated
- all calls
- 1,135
- total callsites
- modules
- 30
- distinct callers
- in loop
- 3%
- of prod calls
- in tests
- 83%
- 939 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 function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into ContainElement from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 107 55%
- KubeVirt 33 17%
- Velero 3 2%
where it's called
Callsites in the wild
12 representative callsites of 1,135, prioritizing in-loop and non-test usage. We link to source, never display it.
-
k8s.io/kubernetes @v1.36.3
test/e2e/storage/csimock/csi_volume_expansion.go:162
in loop - in loop
-
kubevirt.io/kubevirt @v1.9.0
tests/monitoring/metrics.go:128
in loop - in loop
-
k8s.io/kubernetes @v1.36.3
test/integration/dra/core.go:868
in loop - in loop
-
external-secrets/external-secrets @v1.3.2
pkg/controllers/externalsecret/externalsecret_controller_test.go:926 ↗
in loop test - in loop test
- in loop test
- in loop test
- in loop test
- in loop test
top callers
The modules that reach for it
The modules that call ContainElement most in this snapshot.
- github.com/kubevirt/kubevirt30927%
- kubevirt.io/kubevirt30927%
- github.com/navidrome/navidrome12511%
- github.com/cloudnative-pg/cloudnative-pg817%
- github.com/kubernetes/kubernetes565%
siblings
More from github.com/onsi/gomega
The other most-called functions in this package. See all →