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
Brad Fitzpatrick 1ca4ae598a ipn/ipnlocal: use policyclient.Client always, stop using global syspolicy funcs
Step 4 of N. See earlier commits in the series (via the issue) for the
plan.

This adds the missing methods to policyclient.Client and then uses it
everywhere in ipn/ipnlocal and locks it in with a new dep test.

Still plenty of users of the global syspolicy elsewhere in the tree,
but this is a lot of them.

Updates #16998
Updates #12614

Change-Id: I25b136539ae1eedbcba80124de842970db0ca314
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 months ago
..
internal util/syspolicy/*: move syspolicy keys to new const leaf "pkey" package 3 months ago
pkey util/syspolicy/*: move syspolicy keys to new const leaf "pkey" package 3 months ago
policyclient ipn/ipnlocal: use policyclient.Client always, stop using global syspolicy funcs 3 months ago
ptype util/syspolicy/{setting,ptype}: move PreferenceOption and Visibility to new leaf package 3 months ago
rsop util/syspolicy/{setting,ptype}: move PreferenceOption and Visibility to new leaf package 3 months ago
setting util/syspolicy/{setting,ptype}: move PreferenceOption and Visibility to new leaf package 3 months ago
source util/syspolicy/{setting,ptype}: move PreferenceOption and Visibility to new leaf package 3 months ago
handler.go util/syspolicy/*: move syspolicy keys to new const leaf "pkey" package 3 months ago
policy_keys.go util/syspolicy/*: move syspolicy keys to new const leaf "pkey" package 3 months ago
policy_keys_test.go util/syspolicy/*: move syspolicy keys to new const leaf "pkey" package 3 months ago
syspolicy.go util/syspolicy/{setting,ptype}: move PreferenceOption and Visibility to new leaf package 3 months ago
syspolicy_test.go util/syspolicy/{setting,ptype}: move PreferenceOption and Visibility to new leaf package 3 months ago
syspolicy_windows.go all: unify some redundant testing.TB interface copies 8 months ago