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/cmd
Brad Fitzpatrick 723c775dbb tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing
This adds a health.Tracker to tsd.System, accessible via
a new tsd.System.HealthTracker method.

In the future, that new method will return a tsd.System-specific
HealthTracker, so multiple tsnet.Servers in the same process are
isolated. For now, though, it just always returns the temporary
health.Global value. That permits incremental plumbing over a number
of changes. When the second to last health.Global reference is gone,
then the tsd.System.HealthTracker implementation can return a private
Tracker.

The primary plumbing this does is adding it to LocalBackend and its
dozen and change health calls. A few misc other callers are also
plumbed. Subsequent changes will flesh out other parts of the tree
(magicsock, controlclient, etc).

Updates #11874
Updates #4136

Change-Id: Id51e73cfc8a39110425b6dc19d18b3975eac75ce
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 month ago
..
addlicense all: update tools that manage copyright headers 1 year ago
build-webclient client/web: precompress assets 6 months ago
cloner all: use Go 1.22 range-over-int 2 months ago
connector-gen cmd/connector-gen: add helper tool for wide app connector configurations 6 months ago
containerboot cmd{containerboot,k8s-operator},util/linuxfw: support ExternalName Services (#11802) 1 month ago
derper tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 1 month ago
derpprobe cmd/{derper,derpprobe}: add --version flag 2 months ago
dist release/dist/qnap: add qnap target builder 1 month ago
get-authkey util/cmpx: delete now that we're using Go 1.22 4 months ago
gitops-pusher cmd/gitops-pusher: only use OAuth creds if non-empty string 4 months ago
hello cmd/hello: link to the Hello KB article (#11022) 4 months ago
k8s-operator cmd/k8s-operator,k8s-operator: proxyclass affinity (#11862) 1 month ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 1 year ago
mkpkg go.mod: upgrade nfpm to v2 (#8786) 10 months ago
mkversion version/mkversion: open-source version generation logic 1 year ago
nardump all: update copyright and license headers 1 year ago
netlogfmt all: use Go 1.22 range-over-int 2 months ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 1 year ago
pgproxy various: add golangci-lint, fix issues (#7905) 1 year ago
printdep cmd/printdep: print correct toolchain URL 1 year ago
proxy-to-grafana all: use Go 1.22 range-over-int 2 months ago
sniproxy all: use Go 1.22 range-over-int 2 months ago
speedtest all: update copyright and license headers 1 year ago
ssh-auth-none-demo all: replace deprecated ioutil references 9 months ago
stunc all: update copyright and license headers 1 year ago
stund build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#11410) 2 months ago
sync-containers all: adjust some build tags for plan9 9 months ago
tailscale tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 1 month ago
tailscaled tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 1 month ago
testcontrol all: use Go 1.22 range-over-int 2 months ago
testwrapper cmd/testwrapper: apply results of all unit tests to coverage for all packages 3 months ago
tsconnect ipn/ipnlocal: make StartLoginInteractive take (yet unused) context 2 months ago
tsidp cmd/tsidp: add start of OIDC Tailscale IdP 7 months ago
tsshd all: update copyright and license headers 1 year ago
viewer all: use Go 1.22 range-over-int 2 months ago