You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/proto/envoy/config/common/matcher/v3/matcher.proto
+16-5Lines changed: 16 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,17 @@ message Matcher {
41
41
// Protocol-specific action to take.
42
42
core.v3.TypedExtensionConfigaction=2;
43
43
}
44
+
45
+
// If true, the action will be taken but the caller will behave as if no
46
+
// match was found. This applies both to actions directly encoded in the
47
+
// action field and to actions returned from a nested matcher tree in the
48
+
// matcher field. A subsequent matcher on_no_match action will be used
49
+
// instead.
50
+
//
51
+
// This field is not supported in all contexts in which the matcher API is
52
+
// used. If this field is set in a context in which it's not supported,
53
+
// the resource will be rejected.
54
+
boolkeep_matching=3;
44
55
}
45
56
46
57
// A linear list of field matchers.
@@ -84,7 +95,7 @@ message Matcher {
84
95
// A list of predicates to be AND-ed together.
85
96
PredicateListand_matcher=3;
86
97
87
-
// The invert of a predicate
98
+
// The inverse of a predicate
88
99
Predicatenot_matcher=4;
89
100
}
90
101
}
@@ -137,8 +148,8 @@ message Matcher {
137
148
MatcherTreematcher_tree=2;
138
149
}
139
150
140
-
// Optional OnMatch to use if the matcher failed.
141
-
// If specified, the OnMatch is used, and the matcher is considered
151
+
// Optional ``OnMatch`` to use if the matcher failed.
152
+
// If specified, the ``OnMatch`` is used, and the matcher is considered
142
153
// to have matched.
143
154
// If not specified, the matcher is considered not to have matched.
144
155
OnMatchon_no_match=3;
@@ -204,9 +215,9 @@ message HttpHeadersMatch {
204
215
//
205
216
// .. attention::
206
217
//
207
-
// Searching for patterns in HTTP body is potentially cpu intensive. For each specified pattern, http body is scanned byte by byte to find a match.
218
+
// Searching for patterns in HTTP body is potentially CPU-intensive. For each specified pattern, HTTP body is scanned byte by byte to find a match.
208
219
// If multiple patterns are specified, the process is repeated for each pattern. If location of a pattern is known, ``bytes_limit`` should be specified
0 commit comments