tailscale/client/tailscale
Irbe Krumina 2c8859c2e7
client/tailscale,ipn/{ipnlocal,localapi}: add a pre-shutdown localAPI endpoint that terminates control connections. (#14028)
Adds a /disconnect-control local API endpoint that just shuts down control client.
This can be run before shutting down an HA subnet router/app connector replica - it will ensure
that all connection to control are dropped and control thus considers this node inactive and tells
peers to switch over to another replica. Meanwhile the existing connections keep working (assuming
that the replica is given some graceful shutdown period).

Updates tailscale/tailscale#14020

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2024-11-07 19:27:53 +00:00
..
apitype cli: add tailscale dns query (#13368) 2024-09-24 20:18:45 +00:00
example/servetls all: update copyright and license headers 2023-01-27 15:36:29 -08:00
acl.go client/tailscale: adding missing proto field in ACL parsing structures (#13051) 2024-09-03 18:04:39 +00:00
devices.go client/tailscale: add NodeID to device 2024-06-17 17:06:18 +02:00
dns.go various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
keys.go client/tailscale: revert CreateKey API change, add Client.CreateKeyWithExpiry 2023-05-12 21:05:12 -07:00
localclient_test.go ipn/localapi,client/tailscale,cmd/derper: add WhoIs lookup by nodekey, use in derper 2024-06-14 08:37:38 -07:00
localclient.go client/tailscale,ipn/{ipnlocal,localapi}: add a pre-shutdown localAPI endpoint that terminates control connections. (#14028) 2024-11-07 19:27:53 +00:00
required_version.go all: switch to and require Go 1.23 2024-08-22 12:31:08 -07:00
routes.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tailnet.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tailscale.go client/tailscale,cmd/{cli,get-authkey,k8s-operator}: set distinct User-Agents 2024-10-11 10:45:03 -05:00