2a2228f97b
We add setting.RawValue, a new type that facilitates unmarshalling JSON numbers and arrays as uint64 and []string (instead of float64 and []any) for policy setting values. We then use it to make setting.RawItem JSON-marshallable and update the tests. Updates #12687 Signed-off-by: Nick Khyl <nickk@tailscale.com> |
||
---|---|---|
.. | ||
internal | ||
rsop | ||
setting | ||
source | ||
handler.go | ||
policy_keys.go | ||
policy_keys_test.go | ||
syspolicy.go | ||
syspolicy_test.go | ||
syspolicy_windows.go |