1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-10-28 10:51:44 +01:00
juanfont.headscale/hscontrol
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
..
assets update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
capver update capmap and deps for release (#2522) 2025-05-02 22:12:29 +02:00
db all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
derp feat: add verify client config for embedded DERP (#2260) 2025-06-18 09:24:53 +02:00
dns cmd/hi: fixes and qol (#2649) 2025-06-23 13:43:14 +02:00
mapper all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
notifier cmd/hi: fixes and qol (#2649) 2025-06-23 13:43:14 +02:00
policy all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
routes Multi network integration tests (#2464) 2025-03-21 11:49:32 +01:00
state all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
templates web: change node registration parameter order (#2607) 2025-05-21 11:18:53 +02:00
types all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
util Ensure that a username starts with a letter (#2635) 2025-06-24 14:45:44 +02:00
app.go Clarify SIGHUP log message (#2661) 2025-07-04 09:30:51 +02:00
auth.go state: introduce state 2025-06-24 07:58:54 +02:00
debug.go all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
grpcv1_test.go
grpcv1.go all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
handlers.go fix typo in parseCapabilityVersion, and removed unused error (#2644) (#2644) 2025-07-04 09:40:29 +02:00
metrics.go Handle /derp/latency-check (#2227) 2024-11-06 15:59:38 +01:00
noise.go state: introduce state 2025-06-24 07:58:54 +02:00
oidc.go state: introduce state 2025-06-24 07:58:54 +02:00
platform_config.go Return better web errors to the user (#2398) 2025-02-01 15:25:18 +01:00
poll.go all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
suite_test.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
tailsql.go fix typo in TailSQL's log 2025-05-18 07:15:41 +02:00