string.proto

Package: xds.type.matcher.v3

Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/external/xds/type/matcher/v3/string.proto

StringMatcher

Specifies the way to match a string. [#next-free-field: 8]

"exact": string
"prefix": string
"suffix": string
"safeRegex": .xds.type.matcher.v3.RegexMatcher
"contains": string
"ignoreCase": bool

Field Type Description
exact string The input string must match exactly the string specified here. Examples: * abc only matches the value abc. Only one of exact, prefix, suffix, safeRegex, or contains can be set.
prefix string The input string must have the prefix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * abc matches the value abc.xyz. Only one of prefix, exact, suffix, safeRegex, or contains can be set.
suffix string The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * abc matches the value xyz.abc. Only one of suffix, exact, prefix, safeRegex, or contains can be set.
safeRegex .xds.type.matcher.v3.RegexMatcher The input string must match the regular expression specified here. Only one of safeRegex, exact, prefix, suffix, or contains can be set.
contains string The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead. Examples: * abc matches the value xyz.abc.def. Only one of contains, exact, prefix, suffix, or safeRegex can be set.
ignoreCase bool If true, indicates the exact/prefix/suffix matching should be case insensitive. This has no effect for the safe_regex match. For example, the matcher data will match both input string Data and data if set to true.

ListStringMatcher

Specifies a list of ways to match a string.

"patterns": []xds.type.matcher.v3.StringMatcher

Field Type Description
patterns []xds.type.matcher.v3.StringMatcher