()
| 83 | } |
| 84 | |
| 85 | func newTestWatcher() *testWatcher { |
| 86 | return &testWatcher{ |
| 87 | updateCh: make(chan *xdsresource.XDSConfig, 1), |
| 88 | errorCh: make(chan error), |
| 89 | done: make(chan struct{}), |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | // Update sends the received XDSConfig update to the update channel. Does not |
| 94 | // send updates if the done channel is closed. The done channel is closed in the |
no outgoing calls
no test coverage detected