tailscale / tailscale-client-go

A client implementation for the Tailscale HTTP API
MIT License
61 stars 27 forks source link

Add method for ACL validation #27

Closed davidsbond closed 2 years ago

davidsbond commented 2 years ago

This commit adds a ValidateACL method to the Client type that will be used to check the ACL is well formatted and the specified tests pass. It uses the JSON object method described in the API documentation.

This will be required for implementing additional validation as requested on the terraform provider:

https://github.com/tailscale/terraform-provider-tailscale/issues/158

Signed-off-by: David Bond davidsbond93@gmail.com