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/ipn/localapi
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>
7 months ago
..
cert.go ipn/ipnlocal: do unexpired cert renewals in the background 1 year ago
debugderp.go all: avoid repeated default interface lookups 2 years ago
disabled_stubs.go
localapi.go ipn/{ipnlocal,localapi}: add API to toggle use of exit node 7 months ago
localapi_test.go ipn/localapi: sort localapi handler map keys 7 months ago
pprof.go