headscale/hscontrol/db
Kristoffer Dalby b918aa03fc
move to use tailscfg types over strings/custom types (#1612)
* rename database only fields

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* use correct endpoint type over string list

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* remove HostInfo wrapper

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* wrap errors in database hooks

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2023-11-21 18:20:06 +01:00
..
addresses_test.go remove the use key stripping and store the proper keys (#1603) 2023-11-16 17:55:29 +01:00
addresses.go Rename Machine to Node (#1553) 2023-09-24 06:42:05 -05:00
api_key_test.go Replace the timestamp based state system 2023-09-19 10:20:21 -05:00
api_key.go introduce rw lock for db, ish... 2023-09-19 10:20:21 -05:00
db.go Use tailscale key types instead of strings (#1609) 2023-11-19 22:37:04 +01:00
node_test.go move to use tailscfg types over strings/custom types (#1612) 2023-11-21 18:20:06 +01:00
node.go Use tailscale key types instead of strings (#1609) 2023-11-19 22:37:04 +01:00
preauth_keys_test.go remove the use key stripping and store the proper keys (#1603) 2023-11-16 17:55:29 +01:00
preauth_keys.go Rename Machine to Node (#1553) 2023-09-24 06:42:05 -05:00
routes_test.go move to use tailscfg types over strings/custom types (#1612) 2023-11-21 18:20:06 +01:00
routes.go move to use tailscfg types over strings/custom types (#1612) 2023-11-21 18:20:06 +01:00
suite_test.go Use tailscale key types instead of strings (#1609) 2023-11-19 22:37:04 +01:00
users_test.go remove the use key stripping and store the proper keys (#1603) 2023-11-16 17:55:29 +01:00
users.go Rename Machine to Node (#1553) 2023-09-24 06:42:05 -05:00