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