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/types
Marwan Sulaiman 2dc0645368 ipn/ipnlocal,cmd/tailscale: persist tailnet name in user profile
This PR starts to persist the NetMap tailnet name in SetPrefs so that tailscaled
clients can use this value to disambiguate fast user switching from one tailnet
to another that are under the same exact login. We will also try to backfill
this information during backend starts and profile switches so that users don't
have to re-authenticate their profile. The first client to use this new
information is the CLI in 'tailscale switch -list' which now uses text/tabwriter
to display the ID, Tailnet, and Account. Since account names are ambiguous, we
allow the user to pass 'tailscale switch ID' to specify the exact tailnet they
want to switch to.

Updates #9286

Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
7 months ago
..
appctype types/appctype: correct app-connector cap name in documentation 7 months ago
dnstype types/dnstype: update the usage documentation on dnstype.Resolver 7 months ago
empty all: update copyright and license headers 1 year ago
flagtype all: update copyright and license headers 1 year ago
ipproto types/ipproto: import and test string parsing for ipproto 8 months ago
key types/key: update some doc strings for public key serialization 8 months ago
lazy types/lazy: helpers for lazily computed values 1 year ago
logger types/logger: add TestLogger 9 months ago
logid all: implement AppendText alongside MarshalText (#9207) 9 months ago
netlogtype all: update copyright and license headers 1 year ago
netmap ipn/ipnlocal,cmd/tailscale: persist tailnet name in user profile 7 months ago
nettype wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 1 year ago
opt types/opt: use switch in Bool.UnmarshalJSON (#9140) 9 months ago
persist types/persist: drop duplicated Persist.LoginName 10 months ago
preftype cmd/tailscaled,*: add start of configuration file support 8 months ago
ptr all: update copyright and license headers 1 year ago
structs all: update copyright and license headers 1 year ago
tkatype types/tkatype: add test for MarshaledSignature's JSON format 10 months ago
views types/views: add SliceContainsFunc like slices.ContainsFunc 9 months ago