tailscale/util/syspolicy/setting
Joe Tsai 3d28aa19cb
all: statically enforce json/v2 interface satisfaction (#15154)
The json/v2 prototype is still in flux and the API can/will change.

Statically enforce that types implementing the v2 methods
satisfy the correct interface so that changes to the signature
can be statically detected by the compiler.

Updates tailscale/corp#791

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2025-02-27 12:33:31 -08:00
..
errors.go util/syspolicy/source: add package for reading policy settings from external stores 2024-09-03 14:51:14 -05:00
key.go util/syspolicy: implement a syspolicy store that reads settings from environment variables 2024-10-30 11:12:22 -05:00
origin.go all: statically enforce json/v2 interface satisfaction (#15154) 2025-02-27 12:33:31 -08:00
policy_scope_test.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2024-08-12 21:02:35 -05:00
policy_scope.go util/syspolicy: add rsop package that provides access to the resultant policy 2024-10-16 00:06:14 -05:00
raw_item_test.go util/syspolicy/setting: make setting.RawItem JSON-marshallable 2024-10-30 12:50:29 -05:00
raw_item.go all: statically enforce json/v2 interface satisfaction (#15154) 2025-02-27 12:33:31 -08:00
setting_test.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2024-08-12 21:02:35 -05:00
setting.go util/syspolicy: add rsop package that provides access to the resultant policy 2024-10-16 00:06:14 -05:00
snapshot_test.go util/syspolicy/setting: make setting.Snapshot JSON-marshallable 2024-10-30 12:50:29 -05:00
snapshot.go all: statically enforce json/v2 interface satisfaction (#15154) 2025-02-27 12:33:31 -08:00
summary.go all: statically enforce json/v2 interface satisfaction (#15154) 2025-02-27 12:33:31 -08:00
types.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2024-08-12 21:02:35 -05:00