1
2
3
4
5
6
7 package envoy_service_auth_v4alpha
8
9 import (
10 _ "github.com/cncf/udpa/go/udpa/annotations"
11 v4alpha "github.com/datawire/ambassador/v2/pkg/api/envoy/config/core/v4alpha"
12 proto "github.com/golang/protobuf/proto"
13 timestamp "github.com/golang/protobuf/ptypes/timestamp"
14 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16 reflect "reflect"
17 sync "sync"
18 )
19
20 const (
21
22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23
24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25 )
26
27
28
29 const _ = proto.ProtoPackageIsVersion4
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49 type AttributeContext struct {
50 state protoimpl.MessageState
51 sizeCache protoimpl.SizeCache
52 unknownFields protoimpl.UnknownFields
53
54
55
56
57 Source *AttributeContext_Peer `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
58
59
60
61 Destination *AttributeContext_Peer `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
62
63 Request *AttributeContext_Request `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
64
65
66
67
68 ContextExtensions map[string]string `protobuf:"bytes,10,rep,name=context_extensions,json=contextExtensions,proto3" json:"context_extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
69
70 MetadataContext *v4alpha.Metadata `protobuf:"bytes,11,opt,name=metadata_context,json=metadataContext,proto3" json:"metadata_context,omitempty"`
71 }
72
73 func (x *AttributeContext) Reset() {
74 *x = AttributeContext{}
75 if protoimpl.UnsafeEnabled {
76 mi := &file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes[0]
77 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
78 ms.StoreMessageInfo(mi)
79 }
80 }
81
82 func (x *AttributeContext) String() string {
83 return protoimpl.X.MessageStringOf(x)
84 }
85
86 func (*AttributeContext) ProtoMessage() {}
87
88 func (x *AttributeContext) ProtoReflect() protoreflect.Message {
89 mi := &file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes[0]
90 if protoimpl.UnsafeEnabled && x != nil {
91 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
92 if ms.LoadMessageInfo() == nil {
93 ms.StoreMessageInfo(mi)
94 }
95 return ms
96 }
97 return mi.MessageOf(x)
98 }
99
100
101 func (*AttributeContext) Descriptor() ([]byte, []int) {
102 return file_envoy_service_auth_v4alpha_attribute_context_proto_rawDescGZIP(), []int{0}
103 }
104
105 func (x *AttributeContext) GetSource() *AttributeContext_Peer {
106 if x != nil {
107 return x.Source
108 }
109 return nil
110 }
111
112 func (x *AttributeContext) GetDestination() *AttributeContext_Peer {
113 if x != nil {
114 return x.Destination
115 }
116 return nil
117 }
118
119 func (x *AttributeContext) GetRequest() *AttributeContext_Request {
120 if x != nil {
121 return x.Request
122 }
123 return nil
124 }
125
126 func (x *AttributeContext) GetContextExtensions() map[string]string {
127 if x != nil {
128 return x.ContextExtensions
129 }
130 return nil
131 }
132
133 func (x *AttributeContext) GetMetadataContext() *v4alpha.Metadata {
134 if x != nil {
135 return x.MetadataContext
136 }
137 return nil
138 }
139
140
141
142
143
144
145 type AttributeContext_Peer struct {
146 state protoimpl.MessageState
147 sizeCache protoimpl.SizeCache
148 unknownFields protoimpl.UnknownFields
149
150
151
152 Address *v4alpha.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
153
154
155
156
157
158 Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
159
160
161
162 Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
163
164
165
166
167
168
169
170
171
172 Principal string `protobuf:"bytes,4,opt,name=principal,proto3" json:"principal,omitempty"`
173
174
175 Certificate string `protobuf:"bytes,5,opt,name=certificate,proto3" json:"certificate,omitempty"`
176 }
177
178 func (x *AttributeContext_Peer) Reset() {
179 *x = AttributeContext_Peer{}
180 if protoimpl.UnsafeEnabled {
181 mi := &file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes[1]
182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
183 ms.StoreMessageInfo(mi)
184 }
185 }
186
187 func (x *AttributeContext_Peer) String() string {
188 return protoimpl.X.MessageStringOf(x)
189 }
190
191 func (*AttributeContext_Peer) ProtoMessage() {}
192
193 func (x *AttributeContext_Peer) ProtoReflect() protoreflect.Message {
194 mi := &file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes[1]
195 if protoimpl.UnsafeEnabled && x != nil {
196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
197 if ms.LoadMessageInfo() == nil {
198 ms.StoreMessageInfo(mi)
199 }
200 return ms
201 }
202 return mi.MessageOf(x)
203 }
204
205
206 func (*AttributeContext_Peer) Descriptor() ([]byte, []int) {
207 return file_envoy_service_auth_v4alpha_attribute_context_proto_rawDescGZIP(), []int{0, 0}
208 }
209
210 func (x *AttributeContext_Peer) GetAddress() *v4alpha.Address {
211 if x != nil {
212 return x.Address
213 }
214 return nil
215 }
216
217 func (x *AttributeContext_Peer) GetService() string {
218 if x != nil {
219 return x.Service
220 }
221 return ""
222 }
223
224 func (x *AttributeContext_Peer) GetLabels() map[string]string {
225 if x != nil {
226 return x.Labels
227 }
228 return nil
229 }
230
231 func (x *AttributeContext_Peer) GetPrincipal() string {
232 if x != nil {
233 return x.Principal
234 }
235 return ""
236 }
237
238 func (x *AttributeContext_Peer) GetCertificate() string {
239 if x != nil {
240 return x.Certificate
241 }
242 return ""
243 }
244
245
246 type AttributeContext_Request struct {
247 state protoimpl.MessageState
248 sizeCache protoimpl.SizeCache
249 unknownFields protoimpl.UnknownFields
250
251
252 Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
253
254 Http *AttributeContext_HttpRequest `protobuf:"bytes,2,opt,name=http,proto3" json:"http,omitempty"`
255 }
256
257 func (x *AttributeContext_Request) Reset() {
258 *x = AttributeContext_Request{}
259 if protoimpl.UnsafeEnabled {
260 mi := &file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes[2]
261 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
262 ms.StoreMessageInfo(mi)
263 }
264 }
265
266 func (x *AttributeContext_Request) String() string {
267 return protoimpl.X.MessageStringOf(x)
268 }
269
270 func (*AttributeContext_Request) ProtoMessage() {}
271
272 func (x *AttributeContext_Request) ProtoReflect() protoreflect.Message {
273 mi := &file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes[2]
274 if protoimpl.UnsafeEnabled && x != nil {
275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
276 if ms.LoadMessageInfo() == nil {
277 ms.StoreMessageInfo(mi)
278 }
279 return ms
280 }
281 return mi.MessageOf(x)
282 }
283
284
285 func (*AttributeContext_Request) Descriptor() ([]byte, []int) {
286 return file_envoy_service_auth_v4alpha_attribute_context_proto_rawDescGZIP(), []int{0, 1}
287 }
288
289 func (x *AttributeContext_Request) GetTime() *timestamp.Timestamp {
290 if x != nil {
291 return x.Time
292 }
293 return nil
294 }
295
296 func (x *AttributeContext_Request) GetHttp() *AttributeContext_HttpRequest {
297 if x != nil {
298 return x.Http
299 }
300 return nil
301 }
302
303
304
305
306 type AttributeContext_HttpRequest struct {
307 state protoimpl.MessageState
308 sizeCache protoimpl.SizeCache
309 unknownFields protoimpl.UnknownFields
310
311
312
313
314
315 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
316
317 Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
318
319
320
321 Headers map[string]string `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
322
323
324 Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
325
326 Host string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
327
328 Scheme string `protobuf:"bytes,6,opt,name=scheme,proto3" json:"scheme,omitempty"`
329
330
331 Query string `protobuf:"bytes,7,opt,name=query,proto3" json:"query,omitempty"`
332
333
334 Fragment string `protobuf:"bytes,8,opt,name=fragment,proto3" json:"fragment,omitempty"`
335
336 Size int64 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
337
338
339
340
341 Protocol string `protobuf:"bytes,10,opt,name=protocol,proto3" json:"protocol,omitempty"`
342
343 Body string `protobuf:"bytes,11,opt,name=body,proto3" json:"body,omitempty"`
344
345
346
347
348 RawBody []byte `protobuf:"bytes,12,opt,name=raw_body,json=rawBody,proto3" json:"raw_body,omitempty"`
349 }
350
351 func (x *AttributeContext_HttpRequest) Reset() {
352 *x = AttributeContext_HttpRequest{}
353 if protoimpl.UnsafeEnabled {
354 mi := &file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes[3]
355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
356 ms.StoreMessageInfo(mi)
357 }
358 }
359
360 func (x *AttributeContext_HttpRequest) String() string {
361 return protoimpl.X.MessageStringOf(x)
362 }
363
364 func (*AttributeContext_HttpRequest) ProtoMessage() {}
365
366 func (x *AttributeContext_HttpRequest) ProtoReflect() protoreflect.Message {
367 mi := &file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes[3]
368 if protoimpl.UnsafeEnabled && x != nil {
369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
370 if ms.LoadMessageInfo() == nil {
371 ms.StoreMessageInfo(mi)
372 }
373 return ms
374 }
375 return mi.MessageOf(x)
376 }
377
378
379 func (*AttributeContext_HttpRequest) Descriptor() ([]byte, []int) {
380 return file_envoy_service_auth_v4alpha_attribute_context_proto_rawDescGZIP(), []int{0, 2}
381 }
382
383 func (x *AttributeContext_HttpRequest) GetId() string {
384 if x != nil {
385 return x.Id
386 }
387 return ""
388 }
389
390 func (x *AttributeContext_HttpRequest) GetMethod() string {
391 if x != nil {
392 return x.Method
393 }
394 return ""
395 }
396
397 func (x *AttributeContext_HttpRequest) GetHeaders() map[string]string {
398 if x != nil {
399 return x.Headers
400 }
401 return nil
402 }
403
404 func (x *AttributeContext_HttpRequest) GetPath() string {
405 if x != nil {
406 return x.Path
407 }
408 return ""
409 }
410
411 func (x *AttributeContext_HttpRequest) GetHost() string {
412 if x != nil {
413 return x.Host
414 }
415 return ""
416 }
417
418 func (x *AttributeContext_HttpRequest) GetScheme() string {
419 if x != nil {
420 return x.Scheme
421 }
422 return ""
423 }
424
425 func (x *AttributeContext_HttpRequest) GetQuery() string {
426 if x != nil {
427 return x.Query
428 }
429 return ""
430 }
431
432 func (x *AttributeContext_HttpRequest) GetFragment() string {
433 if x != nil {
434 return x.Fragment
435 }
436 return ""
437 }
438
439 func (x *AttributeContext_HttpRequest) GetSize() int64 {
440 if x != nil {
441 return x.Size
442 }
443 return 0
444 }
445
446 func (x *AttributeContext_HttpRequest) GetProtocol() string {
447 if x != nil {
448 return x.Protocol
449 }
450 return ""
451 }
452
453 func (x *AttributeContext_HttpRequest) GetBody() string {
454 if x != nil {
455 return x.Body
456 }
457 return ""
458 }
459
460 func (x *AttributeContext_HttpRequest) GetRawBody() []byte {
461 if x != nil {
462 return x.RawBody
463 }
464 return nil
465 }
466
467 var File_envoy_service_auth_v4alpha_attribute_context_proto protoreflect.FileDescriptor
468
469 var file_envoy_service_auth_v4alpha_attribute_context_proto_rawDesc = []byte{
470 0x0a, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
471 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, 0x74, 0x74,
472 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70,
473 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76,
474 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61,
475 0x1a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
476 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, 0x64, 0x64, 0x72,
477 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79,
478 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x61,
479 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
480 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
481 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
482 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
483 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
484 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
485 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f,
486 0x74, 0x6f, 0x22, 0xc4, 0x0c, 0x0a, 0x10, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
487 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x49, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63,
488 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
489 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x34, 0x61,
490 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f,
491 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72,
492 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
493 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
494 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x34, 0x61,
495 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f,
496 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74,
497 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65,
498 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
499 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x34,
500 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43,
501 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07,
502 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x72, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65,
503 0x78, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20,
504 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76,
505 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61,
506 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
507 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
508 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78,
509 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4e, 0x0a, 0x10, 0x6d,
510 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18,
511 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
512 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68,
513 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x6d, 0x65, 0x74, 0x61,
514 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x1a, 0xe4, 0x02, 0x0a, 0x04,
515 0x50, 0x65, 0x65, 0x72, 0x12, 0x3c, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
516 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
517 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68,
518 0x61, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
519 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20,
520 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x55, 0x0a, 0x06,
521 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x65,
522 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74,
523 0x68, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62,
524 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x2e,
525 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62,
526 0x65, 0x6c, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c,
527 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61,
528 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65,
529 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63,
530 0x61, 0x74, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74,
531 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
532 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
533 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x32,
534 0x9a, 0xc5, 0x88, 0x1e, 0x2d, 0x0a, 0x2b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72,
535 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74,
536 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x50, 0x65,
537 0x65, 0x72, 0x1a, 0xbe, 0x01, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e,
538 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
539 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
540 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x4c,
541 0x0a, 0x04, 0x68, 0x74, 0x74, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x65,
542 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74,
543 0x68, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62,
544 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52,
545 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x35, 0x9a, 0xc5,
546 0x88, 0x1e, 0x30, 0x0a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69,
547 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69,
548 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75,
549 0x65, 0x73, 0x74, 0x1a, 0xde, 0x03, 0x0a, 0x0b, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75,
550 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
551 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20,
552 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x5f, 0x0a, 0x07, 0x68,
553 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x65,
554 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74,
555 0x68, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62,
556 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52,
557 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e,
558 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04,
559 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68,
560 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
561 0x68, 0x6f, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x06,
562 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05,
563 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65,
564 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08,
565 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12,
566 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69,
567 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x0a,
568 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12,
569 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f,
570 0x64, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x0c,
571 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x61, 0x77, 0x42, 0x6f, 0x64, 0x79, 0x1a, 0x3a, 0x0a,
572 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
573 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
574 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
575 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x39, 0x9a, 0xc5, 0x88, 0x1e, 0x34,
576 0x0a, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
577 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
578 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71,
579 0x75, 0x65, 0x73, 0x74, 0x1a, 0x44, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45,
580 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
581 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
582 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
583 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x2d, 0x9a, 0xc5, 0x88, 0x1e,
584 0x28, 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
585 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
586 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x4b, 0x0a, 0x28, 0x69, 0x6f, 0x2e,
587 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
588 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x34,
589 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x15, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
590 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80,
591 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x03, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
592 }
593
594 var (
595 file_envoy_service_auth_v4alpha_attribute_context_proto_rawDescOnce sync.Once
596 file_envoy_service_auth_v4alpha_attribute_context_proto_rawDescData = file_envoy_service_auth_v4alpha_attribute_context_proto_rawDesc
597 )
598
599 func file_envoy_service_auth_v4alpha_attribute_context_proto_rawDescGZIP() []byte {
600 file_envoy_service_auth_v4alpha_attribute_context_proto_rawDescOnce.Do(func() {
601 file_envoy_service_auth_v4alpha_attribute_context_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_auth_v4alpha_attribute_context_proto_rawDescData)
602 })
603 return file_envoy_service_auth_v4alpha_attribute_context_proto_rawDescData
604 }
605
606 var file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
607 var file_envoy_service_auth_v4alpha_attribute_context_proto_goTypes = []interface{}{
608 (*AttributeContext)(nil),
609 (*AttributeContext_Peer)(nil),
610 (*AttributeContext_Request)(nil),
611 (*AttributeContext_HttpRequest)(nil),
612 nil,
613 nil,
614 nil,
615 (*v4alpha.Metadata)(nil),
616 (*v4alpha.Address)(nil),
617 (*timestamp.Timestamp)(nil),
618 }
619 var file_envoy_service_auth_v4alpha_attribute_context_proto_depIdxs = []int32{
620 1,
621 1,
622 2,
623 4,
624 7,
625 8,
626 5,
627 9,
628 3,
629 6,
630 10,
631 10,
632 10,
633 10,
634 0,
635 }
636
637 func init() { file_envoy_service_auth_v4alpha_attribute_context_proto_init() }
638 func file_envoy_service_auth_v4alpha_attribute_context_proto_init() {
639 if File_envoy_service_auth_v4alpha_attribute_context_proto != nil {
640 return
641 }
642 if !protoimpl.UnsafeEnabled {
643 file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
644 switch v := v.(*AttributeContext); i {
645 case 0:
646 return &v.state
647 case 1:
648 return &v.sizeCache
649 case 2:
650 return &v.unknownFields
651 default:
652 return nil
653 }
654 }
655 file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
656 switch v := v.(*AttributeContext_Peer); i {
657 case 0:
658 return &v.state
659 case 1:
660 return &v.sizeCache
661 case 2:
662 return &v.unknownFields
663 default:
664 return nil
665 }
666 }
667 file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
668 switch v := v.(*AttributeContext_Request); i {
669 case 0:
670 return &v.state
671 case 1:
672 return &v.sizeCache
673 case 2:
674 return &v.unknownFields
675 default:
676 return nil
677 }
678 }
679 file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
680 switch v := v.(*AttributeContext_HttpRequest); i {
681 case 0:
682 return &v.state
683 case 1:
684 return &v.sizeCache
685 case 2:
686 return &v.unknownFields
687 default:
688 return nil
689 }
690 }
691 }
692 type x struct{}
693 out := protoimpl.TypeBuilder{
694 File: protoimpl.DescBuilder{
695 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
696 RawDescriptor: file_envoy_service_auth_v4alpha_attribute_context_proto_rawDesc,
697 NumEnums: 0,
698 NumMessages: 7,
699 NumExtensions: 0,
700 NumServices: 0,
701 },
702 GoTypes: file_envoy_service_auth_v4alpha_attribute_context_proto_goTypes,
703 DependencyIndexes: file_envoy_service_auth_v4alpha_attribute_context_proto_depIdxs,
704 MessageInfos: file_envoy_service_auth_v4alpha_attribute_context_proto_msgTypes,
705 }.Build()
706 File_envoy_service_auth_v4alpha_attribute_context_proto = out.File
707 file_envoy_service_auth_v4alpha_attribute_context_proto_rawDesc = nil
708 file_envoy_service_auth_v4alpha_attribute_context_proto_goTypes = nil
709 file_envoy_service_auth_v4alpha_attribute_context_proto_depIdxs = nil
710 }
711
View as plain text