tailscale/util/syspolicy
Joe Tsai 8f86d4f8b9 all: use slices.Collect with maps.Keys instead of xmaps.Keys
In Go 1.23, the standard maps.Keys helper was altered relative to xmaps.Keys
to return and iterator, which can be used with slices.Collect.

Also, Go 1.21 added the clear built-in, which replaces xmaps.Clear,
and is semantically more correct with respect to NaNs.

Updates #8632
Updates #12912
Updates #cleanup

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2024-10-11 11:41:09 -07:00
..
internal all: use slices.Collect with maps.Keys instead of xmaps.Keys 2024-10-11 11:41:09 -07:00
setting all: use slices.Collect with maps.Keys instead of xmaps.Keys 2024-10-11 11:41:09 -07:00
source all: use slices.Collect with maps.Keys instead of xmaps.Keys 2024-10-11 11:41:09 -07:00
caching_handler_test.go util/syspolicy: add caching handler (#10288) 2023-11-17 12:31:51 -05:00
caching_handler.go util/syspolicy: add ReadStringArray interface (#11857) 2024-04-23 22:23:48 -07:00
handler_test.go util: add syspolicy package (#9550) 2023-09-29 13:40:35 -04:00
handler_windows.go util/syspolicy: add ReadStringArray interface (#11857) 2024-04-23 22:23:48 -07:00
handler.go all: do not depend on the testing package 2024-05-24 05:23:36 -07:00
policy_keys_windows.go util/syspolicy: add 'ResetToDefaults' (#11194) 2024-02-22 10:10:31 -08:00
policy_keys.go control/controlclient,posture,util/syspolicy: use predefined syspolicy keys instead of string literals 2024-09-04 15:25:19 -05:00
syspolicy_test.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2024-08-12 21:02:35 -05:00
syspolicy.go util/syspolicy, ipn: add "tailscale debug component-logs" support 2024-10-08 18:11:23 -05:00