package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Functions
EmailLocal returns a new list which is a result of getting the local part of each email from the input list.
NewAnyMatcher returns a matcher function based on incoming values.
NewMatcher parses a matcher expression.
NewTraitsTemplateExpression parses expressions like {{external.foo}} or {{internal.bar}}, or a literal value like "prod".
RegexpReplace returns a new list which is the result of replacing each instance of [match] with [replacement] for each item in the input list.
# Constants
EmailLocalFnName is a name for email.local function.
RegexpMatchFnName is a name for regexp.match function.
RegexpNotMatchFnName is a name for regexp.not_match function.
RegexpReplaceFnName is a name for regexp.replace function.
# Structs
MatchExpression is a match expression.
TraitsTemplateExpression can interpolate user trait values into a string template to produce some values.
# Interfaces
Matcher matches strings against some internal criteria (e.g.
# Type aliases
MatcherFn converts function to a matcher interface.