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>
2023-01-20 21:04:30 -08:00
..
c2ntypes.go ipn/ipnlocal: add c2n method to get SSH username candidates 2022-09-19 10:37:04 -07:00
derpmap.go net/netcheck: deflake (maybe) magicsock's TestNewConn 2022-11-05 22:02:13 -07:00
tailcfg_clone.go all: start groundwork for using capver for localapi & peerapi 2023-01-19 14:53:47 -08:00
tailcfg_export_test.go version, cmd/tailscale: add version.Meta, tailscale version --json 2023-01-20 21:04:30 -08:00
tailcfg_test.go version, cmd/tailscale: add version.Meta, tailscale version --json 2023-01-20 21:04:30 -08:00
tailcfg_view.go all: start groundwork for using capver for localapi & peerapi 2023-01-19 14:53:47 -08:00
tailcfg.go all: start groundwork for using capver for localapi & peerapi 2023-01-19 14:53:47 -08:00
tka.go cmd/tailscale,ipn: improve UX of lock init command, cosmetic changes 2022-11-28 10:39:04 -08:00