testWatcher is an implementation of the ConfigWatcher interface that sends the updates and errors received from the dependency manager to respective channels, for the tests to verify.
| 77 | // the updates and errors received from the dependency manager to respective |
| 78 | // channels, for the tests to verify. |
| 79 | type testWatcher struct { |
| 80 | updateCh chan *xdsresource.XDSConfig |
| 81 | errorCh chan error |
| 82 | done chan struct{} |
| 83 | } |
| 84 | |
| 85 | func newTestWatcher() *testWatcher { |
| 86 | return &testWatcher{ |
nothing calls this directly
no outgoing calls
no test coverage detected