key.go 503 B

12345678910111213
  1. // Copyright (c) Tailscale Inc & AUTHORS
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. package setting
  4. // Key is a string that uniquely identifies a policy and must remain unchanged
  5. // once established and documented for a given policy setting. It may contain
  6. // alphanumeric characters and zero or more [KeyPathSeparator]s to group
  7. // individual policy settings into categories.
  8. type Key string
  9. // KeyPathSeparator allows logical grouping of policy settings into categories.
  10. const KeyPathSeparator = "/"