Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsWildcard ¶
ContainsWildcard reports whether a cloud object name uses one of Bruin's supported wildcard forms.
func ExtractPrefix ¶
ExtractPrefix returns the literal prefix that can be passed to an object-list API before applying the full wildcard expression locally.
func WildcardToRegex ¶
WildcardToRegex converts Bruin's object wildcard syntax to an anchored regular expression. An asterisk does not cross a slash, and braces represent comma-separated alternatives.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.