Range matcher¶
.xds.type.matcher.v3.Int64RangeMatcher¶
[.xds.type.matcher.v3.Int64RangeMatcher proto]
Specifies a set of ranges for matching an int64 number and the associated match actions.
{
"range_matchers": []
}
- range_matchers
(repeated .xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher) Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
.xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher¶
[.xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher proto]
Specifies a list of number ranges and a match action.
{
"ranges": [],
"on_match": "{...}"
}
- ranges
(repeated .xds.type.v3.Int64Range, REQUIRED) A non-empty set of int64 ranges.
- on_match
(.xds.type.matcher.v3.Matcher.OnMatch) Match action to apply when the input number is within one of the ranges.
.xds.type.matcher.v3.Int32RangeMatcher¶
[.xds.type.matcher.v3.Int32RangeMatcher proto]
Specifies a set of ranges for matching an int32 number and the associated match actions.
{
"range_matchers": []
}
- range_matchers
(repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher) Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
.xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher¶
[.xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher proto]
Specifies a list of number ranges and a match action.
{
"ranges": [],
"on_match": "{...}"
}
- ranges
(repeated .xds.type.v3.Int32Range, REQUIRED) A non-empty set of int32 ranges.
- on_match
(.xds.type.matcher.v3.Matcher.OnMatch) Match action to apply when the input number is within one of the ranges.
.xds.type.matcher.v3.DoubleRangeMatcher¶
[.xds.type.matcher.v3.DoubleRangeMatcher proto]
Specifies a set of ranges for matching a double number and the associated match actions.
{
"range_matchers": []
}
- range_matchers
(repeated .xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher) Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
.xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher¶
[.xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher proto]
Specifies a list of number ranges and a match action.
{
"ranges": [],
"on_match": "{...}"
}
- ranges
(repeated .xds.type.v3.DoubleRange, REQUIRED) A non-empty set of double ranges.
- on_match
(.xds.type.matcher.v3.Matcher.OnMatch) Match action to apply when the input number is within one of the ranges.