You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util/syspolicy/setting
Brad Fitzpatrick 2434bc69fc util/syspolicy/{setting,ptype}: move PreferenceOption and Visibility to new leaf package
Step 3 in the series. See earlier cc532efc20 and d05e6dc09e.

This step moves some types into a new leaf "ptype" package out of the
big "settings" package. The policyclient.Client will later get new
methods to return those things (as well as Duration and Uint64, which
weren't done at the time of the earlier prototype).

Updates #16998
Updates #12614

Change-Id: I4d72d8079de3b5351ed602eaa72863372bd474a2
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 months ago
..
errors.go util/syspolicy/source: add package for reading policy settings from external stores 1 year ago
origin.go all: statically enforce json/v2 interface satisfaction (#15154) 9 months ago
policy_scope.go util/syspolicy: add rsop package that provides access to the resultant policy 1 year ago
policy_scope_test.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 1 year ago
raw_item.go util/syspolicy/*: move syspolicy keys to new const leaf "pkey" package 3 months ago
raw_item_test.go util/syspolicy/setting: make setting.RawItem JSON-marshallable 1 year ago
setting.go util/syspolicy/{setting,ptype}: move PreferenceOption and Visibility to new leaf package 3 months ago
setting_test.go util/syspolicy/*: move syspolicy keys to new const leaf "pkey" package 3 months ago
snapshot.go util/syspolicy/*: move syspolicy keys to new const leaf "pkey" package 3 months ago
snapshot_test.go util/syspolicy/{setting,ptype}: move PreferenceOption and Visibility to new leaf package 3 months ago
summary.go all: statically enforce json/v2 interface satisfaction (#15154) 9 months ago