Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidKeyMsg = "A valid key must have no more than 255 characters; only A-Z, a-z, 0-9, and _ are allowed"
Functions ¶
func GroupChain ¶ added in v1.124.0
GroupChain returns a namespace path and the group paths above it, closest first. CI resolves a variable in that order, so a lookup that walks the group tree must use the same order.
group/subgroup -> [group/subgroup, group] group -> [group] "" -> nil
func IsValidKey ¶
IsValidKey checks if a key is valid if it follows the following criteria: must have no more than 255 characters; only A-Z, a-z, 0-9, and _ are allowed
func ParentNamespace ¶ added in v1.124.0
ParentNamespace returns the namespace that holds a project or group path. A top-level path has nothing above it, so the result is empty.
acme/platform/api -> acme/platform acme/api -> acme
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.