FakeControllerSource implements listing/watching for testing.
| 55 | |
| 56 | // FakeControllerSource implements listing/watching for testing. |
| 57 | type 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 | |
| 64 | type FakePVControllerSource struct { |
| 65 | FakeControllerSource |
nothing calls this directly
no outgoing calls
no test coverage detected