Address Matcher (proto)
type.matcher.v3.AddressMatcher
[type.matcher.v3.AddressMatcher proto]
Match an IP against a repeated CIDR range. This matcher is intended to be used in other matchers, for example in the filter state matcher to match a filter state object as an IP.
{
"ranges": [],
"invert_match": ...
}
- ranges
(repeated .xds.core.v3.CidrRange)
- invert_match
(bool) If true, the match result will be inverted. Defaults to false.
If set to false (default), the matcher will return true if the IP matches any of the CIDR ranges.
If set to true, the matcher will return true if the IP does NOT match any of the CIDR ranges.