MCPcopy
hub / github.com/open-policy-agent/gatekeeper / write

Function write

pkg/watch/set_test.go:12–16  ·  view source on GitHub ↗
(ints chan schema.GroupVersionKind, toWrite schema.GroupVersionKind)

Source from the content-addressed store, hash-verified

10)
11
12func write(ints chan schema.GroupVersionKind, toWrite schema.GroupVersionKind) func() {
13 return func() {
14 ints <- toWrite
15 }
16}
17
18func TestSet_Replace_Race(t *testing.T) {
19 // CAUTION: This is a race condition test. It should not be flaky.

Callers 1

TestSet_Replace_RaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…