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 cc532efc20 util/syspolicy/*: move syspolicy keys to new const leaf "pkey" package
This is step 1 of ~3, breaking up #14720 into reviewable chunks, with
the aim to make syspolicy be a build-time configurable feature.

In this first (very noisy) step, all the syspolicy string key
constants move to a new constant-only (code-free) package. This will
make future steps more reviewable, without this movement noise.

There are no code or behavior changes here.

The future steps of this series can be seen in #14720: removing global
funcs from syspolicy resolution and using an interface that's plumbed
around instead. Then adding build tags.

Updates #12614

Change-Id: If73bf2c28b9c9b1a408fe868b0b6a25b03eeabd1
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/*: move syspolicy keys to new const leaf "pkey" 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/*: move syspolicy keys to new const leaf "pkey" package 3 months ago
summary.go all: statically enforce json/v2 interface satisfaction (#15154) 9 months ago
types.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 1 year ago