tailscale/ipn/localapi
Brad Fitzpatrick ebc552d2e0 health: add Tracker type, in prep for removing global variables
This moves most of the health package global variables to a new
`health.Tracker` type.

But then rather than plumbing the Tracker in tsd.System everywhere,
this only goes halfway and makes one new global Tracker
(`health.Global`) that all the existing callers now use.

A future change will eliminate that global.

Updates #11874
Updates #4136

Change-Id: I6ee27e0b2e35f68cb38fecdb3b2dc4c3f2e09d68
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-04-25 13:46:22 -07:00
..
cert.go ipn/ipnlocal: do unexpired cert renewals in the background 2023-10-12 16:02:45 -07:00
debugderp.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
disabled_stubs.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
localapi_test.go ipn/localapi: sort localapi handler map keys 2024-04-05 20:44:11 -07:00
localapi.go health: add Tracker type, in prep for removing global variables 2024-04-25 13:46:22 -07:00
pprof.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00