headscale/hscontrol/db
Kristoffer Dalby 4b65cf48d0 Split up MapResponse
This commits extends the mapper with functions for creating "delta"
MapResponses for different purposes (peer changed, peer removed, derp).

This wires up the new state management with a new StateUpdate struct
letting the poll worker know what kind of update to send to the
connected nodes.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2023-09-19 10:20:21 -05:00
..
addresses.go Split code into modules 2023-05-26 12:24:50 +02:00
addresses_test.go Replace the timestamp based state system 2023-09-19 10:20:21 -05:00
api_key.go Split code into modules 2023-05-26 12:24:50 +02:00
api_key_test.go Replace the timestamp based state system 2023-09-19 10:20:21 -05:00
db.go Replace the timestamp based state system 2023-09-19 10:20:21 -05:00
machine.go Split up MapResponse 2023-09-19 10:20:21 -05:00
machine_test.go Replace the timestamp based state system 2023-09-19 10:20:21 -05:00
preauth_keys.go Split code into modules 2023-05-26 12:24:50 +02:00
preauth_keys_test.go Replace the timestamp based state system 2023-09-19 10:20:21 -05:00
routes.go Split up MapResponse 2023-09-19 10:20:21 -05:00
routes_test.go Replace the timestamp based state system 2023-09-19 10:20:21 -05:00
suite_test.go Replace the timestamp based state system 2023-09-19 10:20:21 -05:00
users.go introduce mapper package 2023-06-08 16:34:15 +02:00
users_test.go introduce mapper package 2023-06-08 16:34:15 +02:00