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/control/controlclient
Brad Fitzpatrick 3f8e185003 health: add Warnable, move ownership of warnable items to callers
The health package was turning into a rando dumping ground. Make a new
Warnable type instead that callers can request an instance of, and
then Set it locally in their code without the health package being
aware of all the things that are warnable. (For plenty of things the
health package will want to know details of how Tailscale works so it
can better prioritize/suppress errors, but lots of the warnings are
pretty leaf-y and unrelated)

This just moves two of the health warnings. Can probably move more
later.

Change-Id: I51e50e46eb633f4e96ced503d3b18a1891de1452
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
auto.go control/controlclient: make Status.Persist a PersistView 2 years ago
client.go cmd,ipn/ipnlocal,tailcfg: implement TKA disablement 2 years ago
controlclient_test.go control/controlclient: store netinfo and hostinfo separately 3 years ago
debug.go ipn/ipnlocal: add c2n /debug/{goroutines,prefs,metrics} 2 years ago
direct.go health: add Warnable, move ownership of warnable items to callers 2 years ago
direct_test.go all: convert more code to use net/netip directly 2 years ago
map.go wgengine/wgcfg: plumb down audit log IDs (#5855) 2 years ago
map_test.go all: fix spelling mistakes 2 years ago
noise.go control/controlclient: export NoiseClient 2 years ago
noise_test.go control/controlclient: export NoiseClient 2 years ago
sign.go control/controlclient: update machine certificate signature version 3 years ago
sign_supported.go all: remove old +build tags 2 years ago
sign_supported_test.go all: remove old +build tags 2 years ago
sign_unsupported.go all: remove old +build tags 2 years ago
status.go control/controlclient: make Status.Persist a PersistView 2 years ago