tailscale/cmd
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
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
cloner util/codegen, all: use latest year, not time.Now, in generated files 2023-01-02 20:38:32 -08:00
containerboot cmd/containerboot: use TS_AUTHKEY as the parameter for auth keys 2023-01-05 13:03:39 -08:00
derper util/endian: delete package; use updated josharian/native instead 2022-12-12 20:12:45 -08:00
derpprobe cmd/derpprobe: add -once flag for one-off CLI diagnostics 2022-11-23 17:41:12 -08:00
gitops-pusher cmd/gitops-pusher: support alternate api-server URLs 2022-12-14 05:07:12 -08:00
hello refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
k8s-operator cmd/k8s-operator: move the operator into its own namespace. 2022-12-14 20:05:35 -08:00
mkmanifest cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 2022-11-21 18:15:51 -05:00
mkpkg cmd/mkpkg: use package flag (#4373) 2022-04-07 16:38:33 -04:00
nardump cmd/nardump: Go tool to build Nix NARs and compute their hashes. 2022-12-24 15:22:41 -08:00
netlogfmt cmd/netlogfmt: handle any stream of network logs (#6108) 2022-10-28 10:40:45 -07:00
nginx-auth cmd/nginx-auth: add experimental status badge to README 2022-10-25 11:03:40 -07:00
pgproxy cmd/pgproxy: link to blog post at the top. 2022-10-04 16:47:12 -07:00
printdep cmd/printdep: support printing the toolchain SRI hash. 2022-12-24 15:40:22 -08:00
proxy-to-grafana all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
speedtest net/speedtest: retune to meet iperf on localhost in a VM 2022-09-23 10:46:04 -07:00
ssh-auth-none-demo ssh/tailssh: add password-forcing workaround for buggy SSH clients 2022-10-11 15:03:02 -07:00
stunc cmd/stunc: add command for making debug stun requests 2022-11-23 15:38:54 -08:00
sync-containers cmd/sync-containers: add a dry-run option. 2022-12-19 19:00:53 -08:00
tailscale version, cmd/tailscale: add version.Meta, tailscale version --json 2023-01-20 21:04:30 -08:00
tailscaled go.mod: bump AWS SDK past a breaking API change of theirs 2023-01-20 10:14:56 -08:00
testcontrol all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
testwrapper cmd/testwrapper: move from corp; mark magicsock test as flaky 2023-01-18 12:08:23 -05:00
tsconnect wgengine/netstack: change netstack API to require LocalBackend 2022-12-23 14:01:26 -08:00
tsshd all: remove old +build tags 2022-11-04 07:25:42 -07:00
viewer util/codegen, all: use latest year, not time.Now, in generated files 2023-01-02 20:38:32 -08:00