2024-08-04 01:41:10 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
|
|
|
package setting
|
|
|
|
|
|
|
|
// Key is a string that uniquely identifies a policy and must remain unchanged
|
|
|
|
// once established and documented for a given policy setting. It may contain
|
|
|
|
// alphanumeric characters and zero or more [KeyPathSeparator]s to group
|
|
|
|
// individual policy settings into categories.
|
|
|
|
type Key string
|
|
|
|
|
|
|
|
// KeyPathSeparator allows logical grouping of policy settings into categories.
|
2024-10-18 15:18:06 +00:00
|
|
|
const KeyPathSeparator = '/'
|