1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HostMatch {
#[prost(oneof="host_match::Match", tags="1, 2")]
pub r#match: ::core::option::Option<host_match::Match>,
}
pub mod host_match {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Suffix {
#[prost(string, repeated, tag="1")]
pub reverse_labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Match {
#[prost(string, tag="1")]
Exact(::prost::alloc::string::String),
#[prost(message, tag="2")]
Suffix(Suffix),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HttpRouteMatch {
#[prost(message, optional, tag="1")]
pub path: ::core::option::Option<PathMatch>,
#[prost(message, repeated, tag="2")]
pub headers: ::prost::alloc::vec::Vec<HeaderMatch>,
#[prost(message, repeated, tag="3")]
pub query_params: ::prost::alloc::vec::Vec<QueryParamMatch>,
#[prost(message, optional, tag="4")]
pub method: ::core::option::Option<super::http_types::HttpMethod>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PathMatch {
#[prost(oneof="path_match::Kind", tags="1, 2, 3")]
pub kind: ::core::option::Option<path_match::Kind>,
}
pub mod path_match {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(string, tag="1")]
Exact(::prost::alloc::string::String),
#[prost(string, tag="2")]
Prefix(::prost::alloc::string::String),
#[prost(string, tag="3")]
Regex(::prost::alloc::string::String),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HeaderMatch {
#[prost(string, tag="1")]
pub name: ::prost::alloc::string::String,
#[prost(oneof="header_match::Value", tags="2, 3")]
pub value: ::core::option::Option<header_match::Value>,
}
pub mod header_match {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Value {
#[prost(bytes, tag="2")]
Exact(::prost::alloc::vec::Vec<u8>),
#[prost(string, tag="3")]
Regex(::prost::alloc::string::String),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryParamMatch {
#[prost(string, tag="1")]
pub name: ::prost::alloc::string::String,
#[prost(oneof="query_param_match::Value", tags="2, 3")]
pub value: ::core::option::Option<query_param_match::Value>,
}
pub mod query_param_match {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Value {
#[prost(string, tag="2")]
Exact(::prost::alloc::string::String),
#[prost(string, tag="3")]
Regex(::prost::alloc::string::String),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RequestHeaderModifier {
#[prost(message, optional, tag="1")]
pub add: ::core::option::Option<super::http_types::Headers>,
#[prost(message, optional, tag="2")]
pub set: ::core::option::Option<super::http_types::Headers>,
#[prost(string, repeated, tag="3")]
pub remove: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RequestRedirect {
#[prost(message, optional, tag="1")]
pub scheme: ::core::option::Option<super::http_types::Scheme>,
#[prost(string, tag="2")]
pub host: ::prost::alloc::string::String,
#[prost(message, optional, tag="3")]
pub path: ::core::option::Option<PathModifier>,
#[prost(uint32, tag="4")]
pub port: u32,
#[prost(uint32, tag="5")]
pub status: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PathModifier {
#[prost(oneof="path_modifier::Replace", tags="1, 2")]
pub replace: ::core::option::Option<path_modifier::Replace>,
}
pub mod path_modifier {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Replace {
#[prost(string, tag="1")]
Full(::prost::alloc::string::String),
#[prost(string, tag="2")]
Prefix(::prost::alloc::string::String),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HttpFailureInjector {
#[prost(uint32, tag="1")]
pub status: u32,
#[prost(string, tag="2")]
pub message: ::prost::alloc::string::String,
#[prost(message, optional, tag="3")]
pub ratio: ::core::option::Option<Ratio>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Ratio {
#[prost(uint32, tag="1")]
pub numerator: u32,
#[prost(uint32, tag="2")]
pub denominator: u32,
}