- Notifications
You must be signed in to change notification settings - Fork1k
Commit8c00ebc
authored
chore: refactor ServerTailnet to use tailnet.Controllers (#15408)
chore of#14729Refactors the `ServerTailnet` to use `tailnet.Controller` so that we reuse logic around reconnection and handling control messages, instead of reimplementing. This unifies our "client" use of the tailscale API across CLI, coderd, and wsproxy.1 parentf7cbf5d commit8c00ebc
File tree
20 files changed
+491
-1240
lines changed- agent
- coderd
- enterprise
- tailnet
- wsproxy
- wsproxysdk
- tailnet
- tailnettest
- test
20 files changed
+491
-1240
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
507 | 507 |
| |
508 | 508 |
| |
509 | 509 |
| |
510 |
| - | |
511 | 510 |
| |
512 | 511 |
| |
513 | 512 |
| |
| |||
537 | 536 |
| |
538 | 537 |
| |
539 | 538 |
| |
540 |
| - | |
541 | 539 |
| |
542 | 540 |
| |
543 | 541 |
| |
| |||
570 | 568 |
| |
571 | 569 |
| |
572 | 570 |
| |
573 |
| - | |
| 571 | + | |
574 | 572 |
| |
575 | 573 |
| |
576 | 574 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1919 | 1919 |
| |
1920 | 1920 |
| |
1921 | 1921 |
| |
1922 |
| - | |
| 1922 | + | |
| 1923 | + | |
1923 | 1924 |
| |
1924 | 1925 |
| |
1925 | 1926 |
| |
| |||
2408 | 2409 |
| |
2409 | 2410 |
| |
2410 | 2411 |
| |
| 2412 | + | |
2411 | 2413 |
| |
2412 |
| - | |
| 2414 | + | |
2413 | 2415 |
| |
2414 | 2416 |
| |
2415 | 2417 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
627 | 627 |
| |
628 | 628 |
| |
629 | 629 |
| |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
630 | 636 |
| |
631 | 637 |
| |
632 | 638 |
| |
633 |
| - | |
| 639 | + | |
634 | 640 |
| |
635 |
| - | |
636 |
| - | |
637 |
| - | |
638 | 641 |
| |
639 | 642 |
| |
640 | 643 |
| |
|
0 commit comments
Comments
(0)