headscale/hscontrol/util
Kristoffer Dalby e0a436cefc hscontrol/util/zlog/zf: add tag, authkey, and route constants
Add new zerolog field constants for improved logging consistency:

- Tag fields: CurrentTags, RemovedTags, RejectedTags, NewTags, OldTags,
  IsTagged, WasAuthKeyTagged
- Node fields: ExistingNodeID
- AuthKey fields: AuthKeyID, AuthKeyUsed, AuthKeyExpired, AuthKeyReusable,
  NodeKeyRotation
- Route fields: RoutesApprovedOld, RoutesApprovedNew, OldAnnouncedRoutes,
  NewAnnouncedRoutes, ApprovedRoutes, OldApprovedRoutes, NewApprovedRoutes,
  AutoApprovedRoutes, AllApprovedRoutes, RouteChanged
2026-02-06 07:40:29 +01:00
..
zlog hscontrol/util/zlog/zf: add tag, authkey, and route constants 2026-02-06 07:40:29 +01:00
addr.go Experimental implementation of Policy v2 (#2214) 2025-03-10 16:20:29 +01:00
addr_test.go use cmp.Diff instead of reflect.DeepEqual 2023-07-01 21:55:47 +02:00
const.go Split code into modules 2023-05-26 12:24:50 +02:00
dns.go util/dns: fix variable redeclaration in ValidateDNSName 2026-01-17 10:13:24 +01:00
dns_test.go stricter hostname validation and replace (#2383) 2025-10-22 13:50:39 +02:00
file.go improve errors for missing directories (#1765) 2024-02-17 13:36:19 +01:00
key.go use tsaddr library and cleanups (#2150) 2024-10-02 09:06:09 +02:00
log.go modernize: run gopls modernize to bring up to 1.25 (#2920) 2025-12-01 19:40:25 +01:00
net.go integration: replace time.Sleep with assert.EventuallyWithT (#2680) 2025-07-10 23:38:55 +02:00
prompt.go cmd: add option to get and set policy directly from database (#2765) 2025-09-12 16:55:15 +02:00
prompt_test.go cmd: add option to get and set policy directly from database (#2765) 2025-09-12 16:55:15 +02:00
string.go stricter hostname validation and replace (#2383) 2025-10-22 13:50:39 +02:00
string_test.go allow users to be defined with @ in v1 (#2495) 2025-03-30 11:19:05 +00:00
test.go fix route table migration wiping routes 0.22 -> 0.23 (#2076) 2024-08-27 18:54:28 +02:00
util.go types: make pre auth key use bcrypt (#2853) 2025-11-12 16:36:36 +01:00
util_test.go types: make pre auth key use bcrypt (#2853) 2025-11-12 16:36:36 +01:00