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/ipn
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>
3 weeks ago
..
conffile ipn/{conffile,ipnlocal}: start booting tailscaled from a config file w/ auth key 7 months ago
ipnauth go.mod, all: move away from inet.af domain seized by Taliban 3 months ago
ipnlocal tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 3 weeks ago
ipnserver all: use Go 1.22 range-over-int 1 month ago
ipnstate ipn/ipnlocal: populate peers' capabilities (#11365) 2 months ago
localapi health: add Tracker type, in prep for removing global variables 3 weeks ago
policy ipn,tailconfig: clean up unreleased and removed app connector service 6 months ago
store ipn/store: omit AWS & Kubernetes support on 'small' Linux GOARCHes 1 month ago
backend.go ipn: remove unused Options.LegacyMigrationPrefs 1 month ago
conf.go cmd/k8s-operator,ipn/conf.go: fix --accept-routes for proxies (#11453) 2 months ago
doc.go all: update copyright and license headers 1 year ago
ipn_clone.go ipn/{localapi, ipnlocal}: forget the prior exit node when localAPI is used to zero the ExitNodeID (#11681) 1 month ago
ipn_test.go net/packet: split off checksum munging into different pkg 7 months ago
ipn_view.go ipn/{localapi, ipnlocal}: forget the prior exit node when localAPI is used to zero the ExitNodeID (#11681) 1 month ago
prefs.go all: use Go 1.22 range-over-int 1 month ago
prefs_test.go all: use Go 1.22 range-over-int 1 month ago
serve.go all: deprecate Node.Capabilities (more), remove PeerChange.Capabilities [capver 89] 2 months ago
serve_test.go {ipn/serve,cmd/tailscale/cli}: move some shared funcs to ipn 2 months ago
store.go ipn: add comment about thread-safety to StateStore 2 months ago
store_test.go ipn: avoid useless no-op WriteState calls 10 months ago