MCPcopy
hub / github.com/kubernetes/client-go / FakeControllerSource

Struct FakeControllerSource

tools/cache/testing/fake_controller_source.go:57–62  ·  tools/cache/testing/fake_controller_source.go::FakeControllerSource

FakeControllerSource implements listing/watching for testing.

Source from the content-addressed store, hash-verified

55
56// FakeControllerSource implements listing/watching for testing.
57type FakeControllerSource struct {
58 lock sync.RWMutex
59 Items map[nnu]runtime.Object
60 changes []watch.Event // one change per resourceVersion
61 Broadcaster *watch.Broadcaster
62}
63
64type FakePVControllerSource struct {
65 FakeControllerSource

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected