diff options
| author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2025-09-02 12:49:37 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <brad@danga.com> | 2025-09-02 16:42:25 -0700 |
| commit | 2b3e53304871fccb4f91fdef32a59ef8a30c9752 (patch) | |
| tree | 55f2ee346b907c2afd5a220da2c8f6906e6abe3c /control/controlhttp/controlhttpserver | |
| parent | 9e9bf130633fc1816646e5f1834054c0d7e551dc (diff) | |
| download | tailscale-2b3e53304871fccb4f91fdef32a59ef8a30c9752.tar.xz tailscale-2b3e53304871fccb4f91fdef32a59ef8a30c9752.zip | |
util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl
This is step 4 of making syspolicy a build-time feature.
This adds a policyclient.Get() accessor to return the correct
implementation to use: either the real one, or the no-op one. (A third
type, a static one for testing, also exists, so in general a
policyclient.Client should be plumbed around and not always fetched
via policyclient.Get whenever possible, especially if tests need to use
alternate syspolicy)
Updates #16998
Updates #12614
Change-Id: Iaf19670744a596d5918acfa744f5db4564272978
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions
