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 a79b1d23b8 control/controlclient: convert PeersChanged nodes to patches internally
So even if the server doesn't support sending patches (neither the
Tailscale control server nor Headscale yet do), this makes the client
convert a changed node to its diff so the diffs can be processed
individually in a follow-up change.

This lets us make progress on #1909 without adding a dependency on
finishing the server-side part, and also means other control servers
will get the same upcoming optimizations.

And add some clientmetrics while here.

Updates #1909

Change-Id: I9533bcb8bba5227e17389f0b10dff71f33ee54ec
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
auto.go control/controlclient: move lastUpdateGenInformed to tighter scope 2 years ago
client.go all: update copyright and license headers 3 years ago
controlclient_test.go all: update copyright and license headers 3 years ago
direct.go types/netmap, all: make NetworkMap.SelfNode a tailcfg.NodeView 2 years ago
direct_test.go control/controlclient: add Auto.updateRoutine 2 years ago
map.go control/controlclient: convert PeersChanged nodes to patches internally 2 years ago
map_test.go control/controlclient: convert PeersChanged nodes to patches internally 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: update copyright and license headers 3 years ago