1
2
3
4
5
6
7 package envoy_service_auth_v3
8
9 import (
10 _ "github.com/cncf/udpa/go/udpa/annotations"
11 v3 "github.com/datawire/ambassador/v2/pkg/api/envoy/config/core/v3"
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 *v3.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_v3_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_v3_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_v3_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() *v3.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 *v3.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_v3_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_v3_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_v3_attribute_context_proto_rawDescGZIP(), []int{0, 0}
208 }
209
210 func (x *AttributeContext_Peer) GetAddress() *v3.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_v3_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_v3_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_v3_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_v3_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_v3_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_v3_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_v3_attribute_context_proto protoreflect.FileDescriptor
468
469 var file_envoy_service_auth_v3_attribute_context_proto_rawDesc = []byte{
470 0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
471 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
472 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
473 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61,
474 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x1a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f,
475 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x64, 0x64,
476 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f,
477 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33,
478 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
479 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d,
480 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64,
481 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
482 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70,
483 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65,
484 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97,
485 0x0c, 0x0a, 0x10, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74,
486 0x65, 0x78, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20,
487 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76,
488 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72,
489 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x50, 0x65, 0x65,
490 0x72, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4e, 0x0a, 0x0b, 0x64, 0x65, 0x73,
491 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c,
492 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61,
493 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
494 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x65,
495 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x07, 0x72, 0x65, 0x71,
496 0x75, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x65, 0x6e, 0x76,
497 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e,
498 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74,
499 0x65, 0x78, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71,
500 0x75, 0x65, 0x73, 0x74, 0x12, 0x6d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f,
501 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b,
502 0x32, 0x3e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
503 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
504 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
505 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
506 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
507 0x6f, 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x10, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f,
508 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
509 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72,
510 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x6d,
511 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x1a, 0xda,
512 0x02, 0x0a, 0x04, 0x50, 0x65, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
513 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
514 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e,
515 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
516 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
517 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x06, 0x6c, 0x61,
518 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x65, 0x6e, 0x76,
519 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e,
520 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74,
521 0x65, 0x78, 0x74, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45,
522 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1c, 0x0a, 0x09,
523 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
524 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65,
525 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
526 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x1a, 0x39, 0x0a, 0x0b,
527 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
528 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
529 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
530 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x32, 0x9a, 0xc5, 0x88, 0x1e, 0x2d, 0x0a, 0x2b,
531 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75,
532 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43,
533 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x1a, 0xb9, 0x01, 0x0a, 0x07,
534 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18,
535 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
536 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
537 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x04, 0x68, 0x74, 0x74, 0x70, 0x18,
538 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65,
539 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74,
540 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x48,
541 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x68, 0x74, 0x74, 0x70,
542 0x3a, 0x35, 0x9a, 0xc5, 0x88, 0x1e, 0x30, 0x0a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73,
543 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x41,
544 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e,
545 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0xd9, 0x03, 0x0a, 0x0b, 0x48, 0x74, 0x74, 0x70,
546 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
547 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
548 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12,
549 0x5a, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
550 0x32, 0x40, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
551 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
552 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65,
553 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74,
554 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70,
555 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12,
556 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68,
557 0x6f, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x06, 0x20,
558 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x71,
559 0x75, 0x65, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72,
560 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20,
561 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a,
562 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a,
563 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x0a, 0x20,
564 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a,
565 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64,
566 0x79, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x0c, 0x20,
567 0x01, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x61, 0x77, 0x42, 0x6f, 0x64, 0x79, 0x1a, 0x3a, 0x0a, 0x0c,
568 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
569 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
570 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
571 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x39, 0x9a, 0xc5, 0x88, 0x1e, 0x34, 0x0a,
572 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61,
573 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
574 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75,
575 0x65, 0x73, 0x74, 0x1a, 0x44, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x78,
576 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
577 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
578 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
579 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x2d, 0x9a, 0xc5, 0x88, 0x1e, 0x28,
580 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
581 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
582 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x46, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65,
583 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
584 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x42,
585 0x15, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
586 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02,
587 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
588 }
589
590 var (
591 file_envoy_service_auth_v3_attribute_context_proto_rawDescOnce sync.Once
592 file_envoy_service_auth_v3_attribute_context_proto_rawDescData = file_envoy_service_auth_v3_attribute_context_proto_rawDesc
593 )
594
595 func file_envoy_service_auth_v3_attribute_context_proto_rawDescGZIP() []byte {
596 file_envoy_service_auth_v3_attribute_context_proto_rawDescOnce.Do(func() {
597 file_envoy_service_auth_v3_attribute_context_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_auth_v3_attribute_context_proto_rawDescData)
598 })
599 return file_envoy_service_auth_v3_attribute_context_proto_rawDescData
600 }
601
602 var file_envoy_service_auth_v3_attribute_context_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
603 var file_envoy_service_auth_v3_attribute_context_proto_goTypes = []interface{}{
604 (*AttributeContext)(nil),
605 (*AttributeContext_Peer)(nil),
606 (*AttributeContext_Request)(nil),
607 (*AttributeContext_HttpRequest)(nil),
608 nil,
609 nil,
610 nil,
611 (*v3.Metadata)(nil),
612 (*v3.Address)(nil),
613 (*timestamp.Timestamp)(nil),
614 }
615 var file_envoy_service_auth_v3_attribute_context_proto_depIdxs = []int32{
616 1,
617 1,
618 2,
619 4,
620 7,
621 8,
622 5,
623 9,
624 3,
625 6,
626 10,
627 10,
628 10,
629 10,
630 0,
631 }
632
633 func init() { file_envoy_service_auth_v3_attribute_context_proto_init() }
634 func file_envoy_service_auth_v3_attribute_context_proto_init() {
635 if File_envoy_service_auth_v3_attribute_context_proto != nil {
636 return
637 }
638 if !protoimpl.UnsafeEnabled {
639 file_envoy_service_auth_v3_attribute_context_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
640 switch v := v.(*AttributeContext); i {
641 case 0:
642 return &v.state
643 case 1:
644 return &v.sizeCache
645 case 2:
646 return &v.unknownFields
647 default:
648 return nil
649 }
650 }
651 file_envoy_service_auth_v3_attribute_context_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
652 switch v := v.(*AttributeContext_Peer); i {
653 case 0:
654 return &v.state
655 case 1:
656 return &v.sizeCache
657 case 2:
658 return &v.unknownFields
659 default:
660 return nil
661 }
662 }
663 file_envoy_service_auth_v3_attribute_context_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
664 switch v := v.(*AttributeContext_Request); i {
665 case 0:
666 return &v.state
667 case 1:
668 return &v.sizeCache
669 case 2:
670 return &v.unknownFields
671 default:
672 return nil
673 }
674 }
675 file_envoy_service_auth_v3_attribute_context_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
676 switch v := v.(*AttributeContext_HttpRequest); i {
677 case 0:
678 return &v.state
679 case 1:
680 return &v.sizeCache
681 case 2:
682 return &v.unknownFields
683 default:
684 return nil
685 }
686 }
687 }
688 type x struct{}
689 out := protoimpl.TypeBuilder{
690 File: protoimpl.DescBuilder{
691 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
692 RawDescriptor: file_envoy_service_auth_v3_attribute_context_proto_rawDesc,
693 NumEnums: 0,
694 NumMessages: 7,
695 NumExtensions: 0,
696 NumServices: 0,
697 },
698 GoTypes: file_envoy_service_auth_v3_attribute_context_proto_goTypes,
699 DependencyIndexes: file_envoy_service_auth_v3_attribute_context_proto_depIdxs,
700 MessageInfos: file_envoy_service_auth_v3_attribute_context_proto_msgTypes,
701 }.Build()
702 File_envoy_service_auth_v3_attribute_context_proto = out.File
703 file_envoy_service_auth_v3_attribute_context_proto_rawDesc = nil
704 file_envoy_service_auth_v3_attribute_context_proto_goTypes = nil
705 file_envoy_service_auth_v3_attribute_context_proto_depIdxs = nil
706 }
707
View as plain text