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 4e91cf20a8 control/controlknobs, all: add plumbed Knobs type, not global variables
Previously two tsnet nodes in the same process couldn't have disjoint
sets of controlknob settings from control as both would overwrite each
other's global variables.

This plumbs a new controlknobs.Knobs type around everywhere and hangs
the knobs sent by control on that instead.

Updates #9351

Change-Id: I75338646d36813ed971b4ffad6f9a8b41ec91560
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
auto.go control/controlclient: check c.closed in waitUnpause 2 years ago
client.go ipn/ipnlocal: fix deadlock in resetControlClientLocked 2 years ago
controlclient_test.go control/controlclient: clean up various things in prep for state overhaul 2 years ago
direct.go control/controlknobs, all: add plumbed Knobs type, not global variables 2 years ago
direct_test.go control/controlclient: add Auto.updateRoutine 2 years ago
map.go control/controlknobs, all: add plumbed Knobs type, not global variables 2 years ago
map_test.go control/controlknobs, all: add plumbed Knobs type, not global variables 2 years ago
noise.go control: use tstime instead of time (#8595) 2 years ago
noise_test.go control/controlclient: use dnscache.Resolver for Noise client 3 years ago
sign.go all: update copyright and license headers 3 years ago
sign_supported.go control: use tstime instead of time (#8595) 2 years ago
sign_supported_test.go all: update copyright and license headers 3 years ago
sign_unsupported.go all: update copyright and license headers 3 years ago
status.go all: implement AppendText alongside MarshalText (#9207) 2 years ago