coder/tailnet
Spike Curtis af3fdc68c3
chore: refactor agent routines that use the v2 API (#12223)
In anticipation of needing the `LogSender` to run on a context that doesn't get immediately canceled when you `Close()` the agent, I've undertaken a little refactor to manage the goroutines that get run against the Tailnet and Agent API connection.

This handles controlling two contexts, one that gets canceled right away at the start of graceful shutdown, and another that stays up to allow graceful shutdown to complete.
2024-02-23 11:04:23 +04:00
..
proto fix(enterprise/coderd): check provisionerd API version on connection (#12191) 2024-02-16 18:43:07 +00:00
tailnettest fix: change servertailnet to register the DERP dialer before setting DERP map (#12137) 2024-02-15 10:51:12 +04:00
test feat: add AgentAPI using DRPC (#10811) 2023-12-18 22:53:28 +10:00
testdata feat: add AgentAPI using DRPC (#10811) 2023-12-18 22:53:28 +10:00
client.go feat: add logging to client tailnet yamux (#11908) 2024-01-30 09:58:59 +04:00
configmaps.go fix: change servertailnet to register the DERP dialer before setting DERP map (#12137) 2024-02-15 10:51:12 +04:00
configmaps_internal_test.go fix: stop spamming DERP map updates for equivalent maps (#11792) 2024-01-24 16:27:15 +04:00
conn.go fix: never send local endpoints if disabled (#12138) 2024-02-20 15:51:25 +10:00
conn_test.go fix: never send local endpoints if disabled (#12138) 2024-02-20 15:51:25 +10:00
convert.go feat: add AgentAPI using DRPC (#10811) 2023-12-18 22:53:28 +10:00
convert_test.go feat: add AgentAPI using DRPC (#10811) 2023-12-18 22:53:28 +10:00
coordinator.go chore: refactor agent routines that use the v2 API (#12223) 2024-02-23 11:04:23 +04:00
coordinator_internal_test.go feat: support v2 Tailnet API in AGPL coordinator (#11010) 2023-12-06 15:04:28 +04:00
coordinator_test.go fix: close MultiAgentConn when coordinator closes (#11941) 2024-01-31 00:38:19 +04:00
derp.go feat: automatically use websockets if DERP upgrade is unavailable (#6381) 2023-03-01 22:18:14 +00:00
derpmap.go chore: fail server startup on invalid DERP map (#10536) 2023-11-06 23:04:07 +10:00
derpmap_test.go chore: fail server startup on invalid DERP map (#10536) 2023-11-06 23:04:07 +10:00
multiagent.go chore: remove legacy wsconncache (#11816) 2024-01-30 07:56:36 +04:00
node.go chore: add setBlockEndpoints to nodeUpdater (#11636) 2024-01-18 10:02:15 +04:00
node_internal_test.go chore: add setBlockEndpoints to nodeUpdater (#11636) 2024-01-18 10:02:15 +04:00
peer.go feat: add AgentAPI using DRPC (#10811) 2023-12-18 22:53:28 +10:00
service.go fix(enterprise/coderd): check provisionerd API version on connection (#12191) 2024-02-16 18:43:07 +00:00
service_test.go chore: move FakeCoordinator to tailnettest (#11992) 2024-02-05 13:49:32 +04:00
trackedconn.go feat: use tailnet v2 API for coordination (#11638) 2024-01-22 11:07:50 +04:00
tunnel.go feat: support v2 Tailnet API in AGPL coordinator (#11010) 2023-12-06 15:04:28 +04:00
tunnel_internal_test.go feat: support v2 Tailnet API in AGPL coordinator (#11010) 2023-12-06 15:04:28 +04:00