tailscale/client/tailscale
Brad Fitzpatrick a5e1f7d703 ipn/{ipnlocal,localapi}: add API to toggle use of exit node
This is primarily for GUIs, so they don't need to remember the most
recently used exit node themselves.

This adds some CLI commands, but they're disabled and behind the WIP
envknob, as we need to consider naming (on/off is ambiguous with
running an exit node, etc) as well as automatic exit node selection in
the future. For now the CLI commands are effectively developer debug
things to test the LocalAPI.

Updates tailscale/corp#18724

Change-Id: I9a32b00e3ffbf5b29bfdcad996a4296b5e37be7e
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-04-07 16:01:00 -07:00
..
apitype cmd/tailscaled,*: add start of configuration file support 2023-10-16 10:40:27 -07:00
example/servetls all: update copyright and license headers 2023-01-27 15:36:29 -08:00
acl.go client/tailscale: add postures to UserRuleMatch 2024-03-06 15:36:17 +01:00
devices.go client/tailscale: add Device.PostureIdentity field 2023-12-19 22:01:20 +00: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 tailscale: update tailfs file and package names (#11590) 2024-04-02 13:32:30 -07:00
localclient.go ipn/{ipnlocal,localapi}: add API to toggle use of exit node 2024-04-07 16:01:00 -07:00
required_version.go all: require Go 1.21 2023-08-08 21:15: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 all: update copyright and license headers 2023-01-27 15:36:29 -08:00