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/tsnet
Brad Fitzpatrick 2b3e533048 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>
3 months ago
..
example tsnet: split user facing and backend logging 2 years ago
depaware.txt util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 3 months ago
example_tshello_test.go tsnet: add examples (#8289) 2 years ago
example_tsnet_test.go tsnet: split user facing and backend logging 2 years ago
packet_filter_test.go tsnet: add test for packet filter generation from netmap 7 months ago
tsnet.go ipn,tsnet: update AdvertiseTags documentation (#16931) 3 months ago
tsnet_test.go tsnet: use test logger for testcontrol and node logs 9 months ago