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 7b34154df2 all: deprecate Node.Capabilities (more), remove PeerChange.Capabilities [capver 89]
First we had Capabilities []string. Then
https://tailscale.com/blog/acl-grants (#4217) brought CapMap, a
superset of Capabilities. Except we never really finished the
transition inside the codebase to go all-in on CapMap. This does so.

Notably, this coverts Capabilities on the wire early to CapMap
internally so the code can only deal in CapMap, even against an old
control server.

In the process, this removes PeerChange.Capabilities support, which no
known control plane sent anyway. They can and should use
PeerChange.CapMap instead.

Updates #11508
Updates #4217

Change-Id: I872074e226b873f9a578d9603897b831d50b25d9
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
8 months ago
..
auto.go control/controlclient,util/execqueue: extract execqueue into a package 10 months ago
client.go tsnet: add a test for restarting a tsnet server, fix Windows 1 year ago
controlclient_test.go all: use reflect.TypeFor now available in Go 1.22 (#11078) 10 months ago
direct.go control/controlclient: fix panic regression from earlier load balancer hint header 8 months ago
direct_test.go control/controlclient: add Auto.updateRoutine 1 year ago
map.go all: deprecate Node.Capabilities (more), remove PeerChange.Capabilities [capver 89] 8 months ago
map_test.go all: deprecate Node.Capabilities (more), remove PeerChange.Capabilities [capver 89] 8 months ago
noise.go control/controlclient: send load balancing hint HTTP request header 8 months ago
noise_test.go control/controlclient: send load balancing hint HTTP request header 8 months ago
sign.go all: update copyright and license headers 2 years ago
sign_supported.go control/controlclient: support certstore without cgo 1 year ago
sign_supported_test.go all: update copyright and license headers 2 years ago
sign_unsupported.go control/controlclient: support certstore without cgo 1 year ago
status.go all: implement AppendText alongside MarshalText (#9207) 1 year ago