1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-05-14 01:17:07 +02:00
juanfont.headscale/hscontrol/mapper
aergus-tng 4651d06fa8
Make matchers part of the Policy interface (#2514)
* Make matchers part of the Policy interface

* Prevent race condition between rules and matchers

* Test also matchers in tests for Policy.Filter

* Compute `filterChanged` in v2 policy correctly

* Fix nil vs. empty list issue in v2 policy test

* policy/v2: always clear ssh map

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

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
Co-authored-by: Aras Ergus <aras.ergus@tngtech.com>
Co-authored-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-05-01 07:06:30 +02:00
..
mapper_test.go policy/v2: make default (#2546) 2025-04-29 16:27:41 +02:00
mapper.go Make matchers part of the Policy interface (#2514) 2025-05-01 07:06:30 +02:00
suite_test.go introduce mapper package 2023-06-08 16:34:15 +02:00
tail_test.go ensure final dot on node name (#2503) 2025-04-11 12:39:08 +02:00
tail.go Multi network integration tests (#2464) 2025-03-21 11:49:32 +01:00