You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/appc
M. J. Fromberger e0f222b686
appc,ipn/ipnlocal: receive AppConnector updates via the event bus (#17411)
Add subscribers for AppConnector events

Make the RouteAdvertiser interface optional We cannot yet remove it because
the tests still depend on it to verify correctness. We will need to separately
update the test fixtures to remove that dependency.

Publish RouteInfo via the event bus, so we do not need a callback to do that. 
Replace it with a flag that indicates whether to treat the route info the connector 
has as "definitive" for filtering purposes.

Update the tests to simplify the construction of AppConnector values now that a
store callback is no longer required. Also fix a couple of pre-existing racy tests that 
were hidden by not being concurrent in the same way production is.

Updates #15160
Updates #17192

Change-Id: Id39525c0f02184e88feaf0d8a3c05504850e47ee
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
2 months ago
..
appctest appc: fix a deadlock in route advertisements (#15031) 10 months ago
appconnector.go appc,ipn/ipnlocal: receive AppConnector updates via the event bus (#17411) 2 months ago
appconnector_test.go appc,ipn/ipnlocal: receive AppConnector updates via the event bus (#17411) 2 months ago
observe.go feature/appconnectors: start making it modular 2 months ago
observe_disabled.go feature/appconnectors: start making it modular 2 months ago