summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2024-04-25 20:29:20 -0700
committerBrad Fitzpatrick <brad@danga.com>2024-04-25 22:13:04 -0700
commit723c775dbbb4e4ad8a9a57a032d5a77ddcf37a8b (patch)
treefa2b9d3e3db1f0d090fc9970bf79088a5730ce84 /control/controlknobs
parentcb66952a0d8e03ac7d73f5cfa84039a98c615594 (diff)
downloadtailscale-723c775dbbb4e4ad8a9a57a032d5a77ddcf37a8b.tar.xz
tailscale-723c775dbbb4e4ad8a9a57a032d5a77ddcf37a8b.zip
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>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions