tailscale/tsnet
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>
2023-09-11 12:44:03 -07:00
..
example client/web: add self node cache 2023-08-24 18:23:37 -04:00
example_tshello_test.go tsnet: add examples (#8289) 2023-07-19 12:36:49 -04:00
example_tsnet_test.go tsnet: add examples (#8289) 2023-07-19 12:36:49 -04:00
tsnet_test.go all: replace deprecated ioutil references 2023-08-23 23:53:19 +01:00
tsnet.go control/controlknobs, all: add plumbed Knobs type, not global variables 2023-09-11 12:44:03 -07:00