1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-10-14 11:17:33 +02:00
juanfont.headscale/cmd/headscale/cli
Kristoffer Dalby 73023c2ec3 all: use immutable node view in read path
This commit changes most of our (*)types.Node to
types.NodeView, which is a readonly version of the
underlying node ensuring that there is no mutations
happening in the read path.

Based on the migration, there didnt seem to be any, but the
idea here is to prevent it in the future and simplify other
new implementations.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-07-07 21:28:59 +01:00
..
api_key.go Only load needed part of configuration (#2109) 2024-09-07 09:23:58 +02:00
configtest.go Only load needed part of configuration (#2109) 2024-09-07 09:23:58 +02:00
debug.go use dedicated registration ID for auth flow (#2337) 2025-01-26 22:20:11 +01:00
dump_config.go
generate.go
mockoidc.go fix oidc test, add tests for migration 2024-11-23 21:14:55 +01:00
nodes.go cli/nodes: filter nodes without any routes (#2551) 2025-05-01 13:27:54 +03:00
policy.go all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
preauthkeys.go fix: change FormatUint base from 64 to 10 in preauthkeys list command (#2588) 2025-05-13 18:40:17 +00:00
pterm_style.go
root.go cli: policy check, dont require config or log (#2580) 2025-05-09 23:19:47 +02:00
serve.go db: add sqlite "source of truth" schema 2025-07-07 15:48:38 +01:00
users.go fix tags not resolving to username if email is present (#2309) 2024-12-19 13:10:10 +01:00
utils.go bring back last_seen in database (#2579) 2025-05-10 09:49:08 +02:00
version.go add git hash to binary, print on startup (#2415) 2025-02-07 13:49:34 +01:00