string.proto

Package: solo.io.envoy.type.matcher.v3

Types:

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

StringMatcher

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

"exact": string
"prefix": string
"suffix": string
"safeRegex": .solo.io.envoy.type.matcher.v3.RegexMatcher
"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, or safeRegex 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, or safeRegex 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, or safeRegex can be set.
safeRegex .solo.io.envoy.type.matcher.v3.RegexMatcher The input string must match the regular expression specified here. Only one of safeRegex, exact, prefix, or suffix 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": []solo.io.envoy.type.matcher.v3.StringMatcher

Field Type Description
patterns []solo.io.envoy.type.matcher.v3.StringMatcher