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/tailcfg
Brad Fitzpatrick ba5aa2c486 version, cmd/tailscale: add version.Meta, tailscale version --json
Add `tailscale version --json` JSON output mode. This will be used
later for a double-opt-in (per node consent like Tailscale SSH +
control config) to let admins do remote upgrades via `tailscale
update` via a c2n call, which would then need to verify the
cmd/tailscale found on disk for running tailscale update corresponds
to the running tailscaled, refusing if anything looks amiss.

Plus JSON output modes are just nice to have, rather than parsing
unstable/fragile/obscure text formats.

Updates #6995
Updates #6907

Change-Id: I7821ab7fbea4612f4b9b7bdc1be1ad1095aca71b
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 year ago
..
c2ntypes.go ipn/ipnlocal: add c2n method to get SSH username candidates 2 years ago
derpmap.go net/netcheck: deflake (maybe) magicsock's TestNewConn 2 years ago
tailcfg.go all: start groundwork for using capver for localapi & peerapi 1 year ago
tailcfg_clone.go all: start groundwork for using capver for localapi & peerapi 1 year ago
tailcfg_export_test.go version, cmd/tailscale: add version.Meta, tailscale version --json 1 year ago
tailcfg_test.go version, cmd/tailscale: add version.Meta, tailscale version --json 1 year ago
tailcfg_view.go all: start groundwork for using capver for localapi & peerapi 1 year ago
tka.go cmd/tailscale,ipn: improve UX of lock init command, cosmetic changes 2 years ago