| 1 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 |
// versions: |
| 3 |
// protoc-gen-go v1.30.0 |
| 4 |
// protoc v5.29.1 |
| 5 |
// source: envoy/service/auth/v3/attribute_context.proto |
| 6 |
|
| 7 |
package authv3 |
| 8 |
|
| 9 |
import ( |
| 10 |
_ "github.com/cncf/xds/go/udpa/annotations" |
| 11 |
v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" |
| 12 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 13 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 14 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 15 |
reflect "reflect" |
| 16 |
sync "sync" |
| 17 |
) |
| 18 |
|
| 19 |
const ( |
| 20 |
// Verify that this generated code is sufficiently up-to-date. |
| 21 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 22 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 23 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 24 |
) |
| 25 |
|
| 26 |
// An attribute is a piece of metadata that describes an activity on a network. |
| 27 |
// For example, the size of an HTTP request, or the status code of an HTTP response. |
| 28 |
// |
| 29 |
// Each attribute has a type and a name, which is logically defined as a proto message field |
| 30 |
// of the “AttributeContext“. The “AttributeContext“ is a collection of individual attributes |
| 31 |
// supported by Envoy authorization system. |
| 32 |
// [#comment: The following items are left out of this proto |
| 33 |
// Request.Auth field for jwt tokens |
| 34 |
// Request.Api for api management |
| 35 |
// Origin peer that originated the request |
| 36 |
// Caching Protocol |
| 37 |
// request_context return values to inject back into the filter chain |
| 38 |
// peer.claims -- from X.509 extensions |
| 39 |
// Configuration |
| 40 |
// - field mask to send |
| 41 |
// - which return values from request_context are copied back |
| 42 |
// - which return values are copied into request_headers] |
| 43 |
// [#next-free-field: 14] |
| 44 |
type AttributeContext struct { |
| 45 |
state protoimpl.MessageState |
| 46 |
sizeCache protoimpl.SizeCache |
| 47 |
unknownFields protoimpl.UnknownFields |
| 48 |
|
| 49 |
// The source of a network activity, such as starting a TCP connection. |
| 50 |
// In a multi hop network activity, the source represents the sender of the |
| 51 |
// last hop. |
| 52 |
Source *AttributeContext_Peer `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` |
| 53 |
// The destination of a network activity, such as accepting a TCP connection. |
| 54 |
// In a multi hop network activity, the destination represents the receiver of |
| 55 |
// the last hop. |
| 56 |
Destination *AttributeContext_Peer `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` |
| 57 |
// Represents a network request, such as an HTTP request. |
| 58 |
Request *AttributeContext_Request `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"` |
| 59 |
// This is analogous to http_request.headers, however these contents will not be sent to the |
| 60 |
// upstream server. Context_extensions provide an extension mechanism for sending additional |
| 61 |
// information to the auth server without modifying the proto definition. It maps to the |
| 62 |
// internal opaque context in the filter chain. |
| 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 |
// Dynamic metadata associated with the request. |
| 65 |
MetadataContext *v3.Metadata `protobuf:"bytes,11,opt,name=metadata_context,json=metadataContext,proto3" json:"metadata_context,omitempty"` |
| 66 |
// Metadata associated with the selected route. |
| 67 |
RouteMetadataContext *v3.Metadata `protobuf:"bytes,13,opt,name=route_metadata_context,json=routeMetadataContext,proto3" json:"route_metadata_context,omitempty"` |
| 68 |
// TLS session details of the underlying connection. |
| 69 |
// This is not populated by default and will be populated only if the ext_authz filter has |
| 70 |
// been specifically configured to include this information. |
| 71 |
// For HTTP ext_authz, that requires :ref:`include_tls_session <config_http_filters_ext_authz>` |
| 72 |
// to be set to true. |
| 73 |
// For network ext_authz, that requires :ref:`include_tls_session <config_network_filters_ext_authz>` |
| 74 |
// to be set to true. |
| 75 |
TlsSession *AttributeContext_TLSSession `protobuf:"bytes,12,opt,name=tls_session,json=tlsSession,proto3" json:"tls_session,omitempty"` |
| 76 |
} |
| 77 |
|
| 78 |
func (x *AttributeContext) Reset() { |
| 79 |
*x = AttributeContext{} |
| 80 |
if protoimpl.UnsafeEnabled { |
| 81 |
mi := &file_envoy_service_auth_v3_attribute_context_proto_msgTypes[0] |
| 82 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 83 |
ms.StoreMessageInfo(mi) |
| 84 |
} |
| 85 |
} |
| 86 |
|
| 87 |
func (x *AttributeContext) String() string { |
| 88 |
return protoimpl.X.MessageStringOf(x) |
| 89 |
} |
| 90 |
|
| 91 |
func (*AttributeContext) ProtoMessage() {} |
| 92 |
|
| 93 |
func (x *AttributeContext) ProtoReflect() protoreflect.Message { |
| 94 |
mi := &file_envoy_service_auth_v3_attribute_context_proto_msgTypes[0] |
| 95 |
if protoimpl.UnsafeEnabled && x != nil { |
| 96 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 97 |
if ms.LoadMessageInfo() == nil { |
| 98 |
ms.StoreMessageInfo(mi) |
| 99 |
} |
| 100 |
return ms |
| 101 |
} |
| 102 |
return mi.MessageOf(x) |
| 103 |
} |
| 104 |
|
| 105 |
// Deprecated: Use AttributeContext.ProtoReflect.Descriptor instead. |
| 106 |
func (*AttributeContext) Descriptor() ([]byte, []int) { |
| 107 |
return file_envoy_service_auth_v3_attribute_context_proto_rawDescGZIP(), []int{0} |
| 108 |
} |
| 109 |
|
| 110 |
func (x *AttributeContext) GetSource() *AttributeContext_Peer { |
| 111 |
if x != nil { |
| 112 |
return x.Source |
| 113 |
} |
| 114 |
return nil |
| 115 |
} |
| 116 |
|
| 117 |
func (x *AttributeContext) GetDestination() *AttributeContext_Peer { |
| 118 |
if x != nil { |
| 119 |
return x.Destination |
| 120 |
} |
| 121 |
return nil |
| 122 |
} |
| 123 |
|
| 124 |
func (x *AttributeContext) GetRequest() *AttributeContext_Request { |
| 125 |
if x != nil { |
| 126 |
return x.Request |
| 127 |
} |
| 128 |
return nil |
| 129 |
} |
| 130 |
|
| 131 |
func (x *AttributeContext) GetContextExtensions() map[string]string { |
| 132 |
if x != nil { |
| 133 |
return x.ContextExtensions |
| 134 |
} |
| 135 |
return nil |
| 136 |
} |
| 137 |
|
| 138 |
func (x *AttributeContext) GetMetadataContext() *v3.Metadata { |
| 139 |
if x != nil { |
| 140 |
return x.MetadataContext |
| 141 |
} |
| 142 |
return nil |
| 143 |
} |
| 144 |
|
| 145 |
func (x *AttributeContext) GetRouteMetadataContext() *v3.Metadata { |
| 146 |
if x != nil { |
| 147 |
return x.RouteMetadataContext |
| 148 |
} |
| 149 |
return nil |
| 150 |
} |
| 151 |
|
| 152 |
func (x *AttributeContext) GetTlsSession() *AttributeContext_TLSSession { |
| 153 |
if x != nil { |
| 154 |
return x.TlsSession |
| 155 |
} |
| 156 |
return nil |
| 157 |
} |
| 158 |
|
| 159 |
// This message defines attributes for a node that handles a network request. |
| 160 |
// The node can be either a service or an application that sends, forwards, |
| 161 |
// or receives the request. Service peers should fill in the “service“, |
| 162 |
// “principal“, and “labels“ as appropriate. |
| 163 |
// [#next-free-field: 6] |
| 164 |
type AttributeContext_Peer struct { |
| 165 |
state protoimpl.MessageState |
| 166 |
sizeCache protoimpl.SizeCache |
| 167 |
unknownFields protoimpl.UnknownFields |
| 168 |
|
| 169 |
// The address of the peer, this is typically the IP address. |
| 170 |
// It can also be UDS path, or others. |
| 171 |
Address *v3.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` |
| 172 |
// The canonical service name of the peer. |
| 173 |
// It should be set to :ref:`the HTTP x-envoy-downstream-service-cluster |
| 174 |
// <config_http_conn_man_headers_downstream-service-cluster>` |
| 175 |
// If a more trusted source of the service name is available through mTLS/secure naming, it |
| 176 |
// should be used. |
| 177 |
Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` |
| 178 |
// The labels associated with the peer. |
| 179 |
// These could be pod labels for Kubernetes or tags for VMs. |
| 180 |
// The source of the labels could be an X.509 certificate or other configuration. |
| 181 |
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"` |
| 182 |
// The authenticated identity of this peer. |
| 183 |
// For example, the identity associated with the workload such as a service account. |
| 184 |
// If an X.509 certificate is used to assert the identity this field should be sourced from |
| 185 |
// “URI Subject Alternative Names“, “DNS Subject Alternate Names“ or “Subject“ in that order. |
| 186 |
// The primary identity should be the principal. The principal format is issuer specific. |
| 187 |
// |
| 188 |
// Examples: |
| 189 |
// |
| 190 |
// - SPIFFE format is “spiffe://trust-domain/path“. |
| 191 |
// - Google account format is “https://accounts.google.com/{userid}“. |
| 192 |
Principal string `protobuf:"bytes,4,opt,name=principal,proto3" json:"principal,omitempty"` |
| 193 |
// The X.509 certificate used to authenticate the identify of this peer. |
| 194 |
// When present, the certificate contents are encoded in URL and PEM format. |
| 195 |
Certificate string `protobuf:"bytes,5,opt,name=certificate,proto3" json:"certificate,omitempty"` |
| 196 |
} |
| 197 |
|
| 198 |
func (x *AttributeContext_Peer) Reset() { |
| 199 |
*x = AttributeContext_Peer{} |
| 200 |
if protoimpl.UnsafeEnabled { |
| 201 |
mi := &file_envoy_service_auth_v3_attribute_context_proto_msgTypes[1] |
| 202 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 203 |
ms.StoreMessageInfo(mi) |
| 204 |
} |
| 205 |
} |
| 206 |
|
| 207 |
func (x *AttributeContext_Peer) String() string { |
| 208 |
return protoimpl.X.MessageStringOf(x) |
| 209 |
} |
| 210 |
|
| 211 |
func (*AttributeContext_Peer) ProtoMessage() {} |
| 212 |
|
| 213 |
func (x *AttributeContext_Peer) ProtoReflect() protoreflect.Message { |
| 214 |
mi := &file_envoy_service_auth_v3_attribute_context_proto_msgTypes[1] |
| 215 |
if protoimpl.UnsafeEnabled && x != nil { |
| 216 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 217 |
if ms.LoadMessageInfo() == nil { |
| 218 |
ms.StoreMessageInfo(mi) |
| 219 |
} |
| 220 |
return ms |
| 221 |
} |
| 222 |
return mi.MessageOf(x) |
| 223 |
} |
| 224 |
|
| 225 |
// Deprecated: Use AttributeContext_Peer.ProtoReflect.Descriptor instead. |
| 226 |
func (*AttributeContext_Peer) Descriptor() ([]byte, []int) { |
| 227 |
return file_envoy_service_auth_v3_attribute_context_proto_rawDescGZIP(), []int{0, 0} |
| 228 |
} |
| 229 |
|
| 230 |
func (x *AttributeContext_Peer) GetAddress() *v3.Address { |
| 231 |
if x != nil { |
| 232 |
return x.Address |
| 233 |
} |
| 234 |
return nil |
| 235 |
} |
| 236 |
|
| 237 |
func (x *AttributeContext_Peer) GetService() string { |
| 238 |
if x != nil { |
| 239 |
return x.Service |
| 240 |
} |
| 241 |
return "" |
| 242 |
} |
| 243 |
|
| 244 |
func (x *AttributeContext_Peer) GetLabels() map[string]string { |
| 245 |
if x != nil { |
| 246 |
return x.Labels |
| 247 |
} |
| 248 |
return nil |
| 249 |
} |
| 250 |
|
| 251 |
func (x *AttributeContext_Peer) GetPrincipal() string { |
| 252 |
if x != nil { |
| 253 |
return x.Principal |
| 254 |
} |
| 255 |
return "" |
| 256 |
} |
| 257 |
|
| 258 |
func (x *AttributeContext_Peer) GetCertificate() string { |
| 259 |
if x != nil { |
| 260 |
return x.Certificate |
| 261 |
} |
| 262 |
return "" |
| 263 |
} |
| 264 |
|
| 265 |
// Represents a network request, such as an HTTP request. |
| 266 |
type AttributeContext_Request struct { |
| 267 |
state protoimpl.MessageState |
| 268 |
sizeCache protoimpl.SizeCache |
| 269 |
unknownFields protoimpl.UnknownFields |
| 270 |
|
| 271 |
// The timestamp when the proxy receives the first byte of the request. |
| 272 |
Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` |
| 273 |
// Represents an HTTP request or an HTTP-like request. |
| 274 |
Http *AttributeContext_HttpRequest `protobuf:"bytes,2,opt,name=http,proto3" json:"http,omitempty"` |
| 275 |
} |
| 276 |
|
| 277 |
func (x *AttributeContext_Request) Reset() { |
| 278 |
*x = AttributeContext_Request{} |
| 279 |
if protoimpl.UnsafeEnabled { |
| 280 |
mi := &file_envoy_service_auth_v3_attribute_context_proto_msgTypes[2] |
| 281 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 282 |
ms.StoreMessageInfo(mi) |
| 283 |
} |
| 284 |
} |
| 285 |
|
| 286 |
func (x *AttributeContext_Request) String() string { |
| 287 |
return protoimpl.X.MessageStringOf(x) |
| 288 |
} |
| 289 |
|
| 290 |
func (*AttributeContext_Request) ProtoMessage() {} |
| 291 |
|
| 292 |
func (x *AttributeContext_Request) ProtoReflect() protoreflect.Message { |
| 293 |
mi := &file_envoy_service_auth_v3_attribute_context_proto_msgTypes[2] |
| 294 |
if protoimpl.UnsafeEnabled && x != nil { |
| 295 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 296 |
if ms.LoadMessageInfo() == nil { |
| 297 |
ms.StoreMessageInfo(mi) |
| 298 |
} |
| 299 |
return ms |
| 300 |
} |
| 301 |
return mi.MessageOf(x) |
| 302 |
} |
| 303 |
|
| 304 |
// Deprecated: Use AttributeContext_Request.ProtoReflect.Descriptor instead. |
| 305 |
func (*AttributeContext_Request) Descriptor() ([]byte, []int) { |
| 306 |
return file_envoy_service_auth_v3_attribute_context_proto_rawDescGZIP(), []int{0, 1} |
| 307 |
} |
| 308 |
|
| 309 |
func (x *AttributeContext_Request) GetTime() *timestamppb.Timestamp { |
| 310 |
if x != nil { |
| 311 |
return x.Time |
| 312 |
} |
| 313 |
return nil |
| 314 |
} |
| 315 |
|
| 316 |
func (x *AttributeContext_Request) GetHttp() *AttributeContext_HttpRequest { |
| 317 |
if x != nil { |
| 318 |
return x.Http |
| 319 |
} |
| 320 |
return nil |
| 321 |
} |
| 322 |
|
| 323 |
// This message defines attributes for an HTTP request. |
| 324 |
// HTTP/1.x, HTTP/2, gRPC are all considered as HTTP requests. |
| 325 |
// [#next-free-field: 14] |
| 326 |
type AttributeContext_HttpRequest struct { |
| 327 |
state protoimpl.MessageState |
| 328 |
sizeCache protoimpl.SizeCache |
| 329 |
unknownFields protoimpl.UnknownFields |
| 330 |
|
| 331 |
// The unique ID for a request, which can be propagated to downstream |
| 332 |
// systems. The ID should have low probability of collision |
| 333 |
// within a single day for a specific service. |
| 334 |
// For HTTP requests, it should be X-Request-ID or equivalent. |
| 335 |
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 336 |
// The HTTP request method, such as “GET“, “POST“. |
| 337 |
Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` |
| 338 |
// The HTTP request headers. If multiple headers share the same key, they |
| 339 |
// must be merged according to the HTTP spec. All header keys must be |
| 340 |
// lower-cased, because HTTP header keys are case-insensitive. |
| 341 |
// Header value is encoded as UTF-8 string. Non-UTF-8 characters will be replaced by "!". |
| 342 |
// This field will not be set if |
| 343 |
// :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>` |
| 344 |
// is set to true. |
| 345 |
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"` |
| 346 |
// A list of the raw HTTP request headers. This is used instead of |
| 347 |
// :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>` when |
| 348 |
// :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>` |
| 349 |
// is set to true. |
| 350 |
// |
| 351 |
// Note that this is not actually a map type. “header_map“ contains a single repeated field |
| 352 |
// “headers“. |
| 353 |
// |
| 354 |
// Here, only the “key“ and “raw_value“ fields will be populated for each HeaderValue, and |
| 355 |
// that is only when |
| 356 |
// :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>` |
| 357 |
// is set to true. |
| 358 |
// |
| 359 |
// Also, unlike the |
| 360 |
// :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>` |
| 361 |
// field, headers with the same key are not combined into a single comma separated header. |
| 362 |
HeaderMap *v3.HeaderMap `protobuf:"bytes,13,opt,name=header_map,json=headerMap,proto3" json:"header_map,omitempty"` |
| 363 |
// The request target, as it appears in the first line of the HTTP request. This includes |
| 364 |
// the URL path and query-string. No decoding is performed. |
| 365 |
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` |
| 366 |
// The HTTP request “Host“ or “:authority“ header value. |
| 367 |
Host string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"` |
| 368 |
// The HTTP URL scheme, such as “http“ and “https“. |
| 369 |
Scheme string `protobuf:"bytes,6,opt,name=scheme,proto3" json:"scheme,omitempty"` |
| 370 |
// This field is always empty, and exists for compatibility reasons. The HTTP URL query is |
| 371 |
// included in “path“ field. |
| 372 |
Query string `protobuf:"bytes,7,opt,name=query,proto3" json:"query,omitempty"` |
| 373 |
// This field is always empty, and exists for compatibility reasons. The URL fragment is |
| 374 |
// not submitted as part of HTTP requests; it is unknowable. |
| 375 |
Fragment string `protobuf:"bytes,8,opt,name=fragment,proto3" json:"fragment,omitempty"` |
| 376 |
// The HTTP request size in bytes. If unknown, it must be -1. |
| 377 |
Size int64 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"` |
| 378 |
// The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2". |
| 379 |
// |
| 380 |
// See :repo:`headers.h:ProtocolStrings <source/common/http/headers.h>` for a list of all |
| 381 |
// possible values. |
| 382 |
Protocol string `protobuf:"bytes,10,opt,name=protocol,proto3" json:"protocol,omitempty"` |
| 383 |
// The HTTP request body. |
| 384 |
Body string `protobuf:"bytes,11,opt,name=body,proto3" json:"body,omitempty"` |
| 385 |
// The HTTP request body in bytes. This is used instead of |
| 386 |
// :ref:`body <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.body>` when |
| 387 |
// :ref:`pack_as_bytes <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.BufferSettings.pack_as_bytes>` |
| 388 |
// is set to true. |
| 389 |
RawBody []byte `protobuf:"bytes,12,opt,name=raw_body,json=rawBody,proto3" json:"raw_body,omitempty"` |
| 390 |
} |
| 391 |
|
| 392 |
func (x *AttributeContext_HttpRequest) Reset() { |
| 393 |
*x = AttributeContext_HttpRequest{} |
| 394 |
if protoimpl.UnsafeEnabled { |
| 395 |
mi := &file_envoy_service_auth_v3_attribute_context_proto_msgTypes[3] |
| 396 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 397 |
ms.StoreMessageInfo(mi) |
| 398 |
} |
| 399 |
} |
| 400 |
|
| 401 |
func (x *AttributeContext_HttpRequest) String() string { |
| 402 |
return protoimpl.X.MessageStringOf(x) |
| 403 |
} |
| 404 |
|
| 405 |
func (*AttributeContext_HttpRequest) ProtoMessage() {} |
| 406 |
|
| 407 |
func (x *AttributeContext_HttpRequest) ProtoReflect() protoreflect.Message { |
| 408 |
mi := &file_envoy_service_auth_v3_attribute_context_proto_msgTypes[3] |
| 409 |
if protoimpl.UnsafeEnabled && x != nil { |
| 410 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 411 |
if ms.LoadMessageInfo() == nil { |
| 412 |
ms.StoreMessageInfo(mi) |
| 413 |
} |
| 414 |
return ms |
| 415 |
} |
| 416 |
return mi.MessageOf(x) |
| 417 |
} |
| 418 |
|
| 419 |
// Deprecated: Use AttributeContext_HttpRequest.ProtoReflect.Descriptor instead. |
| 420 |
func (*AttributeContext_HttpRequest) Descriptor() ([]byte, []int) { |
| 421 |
return file_envoy_service_auth_v3_attribute_context_proto_rawDescGZIP(), []int{0, 2} |
| 422 |
} |
| 423 |
|
| 424 |
func (x *AttributeContext_HttpRequest) GetId() string { |
| 425 |
if x != nil { |
| 426 |
return x.Id |
| 427 |
} |
| 428 |
return "" |
| 429 |
} |
| 430 |
|
| 431 |
func (x *AttributeContext_HttpRequest) GetMethod() string { |
| 432 |
if x != nil { |
| 433 |
return x.Method |
| 434 |
} |
| 435 |
return "" |
| 436 |
} |
| 437 |
|
| 438 |
func (x *AttributeContext_HttpRequest) GetHeaders() map[string]string { |
| 439 |
if x != nil { |
| 440 |
return x.Headers |
| 441 |
} |
| 442 |
return nil |
| 443 |
} |
| 444 |
|
| 445 |
func (x *AttributeContext_HttpRequest) GetHeaderMap() *v3.HeaderMap { |
| 446 |
if x != nil { |
| 447 |
return x.HeaderMap |
| 448 |
} |
| 449 |
return nil |
| 450 |
} |
| 451 |
|
| 452 |
func (x *AttributeContext_HttpRequest) GetPath() string { |
| 453 |
if x != nil { |
| 454 |
return x.Path |
| 455 |
} |
| 456 |
return "" |
| 457 |
} |
| 458 |
|
| 459 |
func (x *AttributeContext_HttpRequest) GetHost() string { |
| 460 |
if x != nil { |
| 461 |
return x.Host |
| 462 |
} |
| 463 |
return "" |
| 464 |
} |
| 465 |
|
| 466 |
func (x *AttributeContext_HttpRequest) GetScheme() string { |
| 467 |
if x != nil { |
| 468 |
return x.Scheme |
| 469 |
} |
| 470 |
return "" |
| 471 |
} |
| 472 |
|
| 473 |
func (x *AttributeContext_HttpRequest) GetQuery() string { |
| 474 |
if x != nil { |
| 475 |
return x.Query |
| 476 |
} |
| 477 |
return "" |
| 478 |
} |
| 479 |
|
| 480 |
func (x *AttributeContext_HttpRequest) GetFragment() string { |
| 481 |
if x != nil { |
| 482 |
return x.Fragment |
| 483 |
} |
| 484 |
return "" |
| 485 |
} |
| 486 |
|
| 487 |
func (x *AttributeContext_HttpRequest) GetSize() int64 { |
| 488 |
if x != nil { |
| 489 |
return x.Size |
| 490 |
} |
| 491 |
return 0 |
| 492 |
} |
| 493 |
|
| 494 |
func (x *AttributeContext_HttpRequest) GetProtocol() string { |
| 495 |
if x != nil { |
| 496 |
return x.Protocol |
| 497 |
} |
| 498 |
return "" |
| 499 |
} |
| 500 |
|
| 501 |
func (x *AttributeContext_HttpRequest) GetBody() string { |
| 502 |
if x != nil { |
| 503 |
return x.Body |
| 504 |
} |
| 505 |
return "" |
| 506 |
} |
| 507 |
|
| 508 |
func (x *AttributeContext_HttpRequest) GetRawBody() []byte { |
| 509 |
if x != nil { |
| 510 |
return x.RawBody |
| 511 |
} |
| 512 |
return nil |
| 513 |
} |
| 514 |
|
| 515 |
// This message defines attributes for the underlying TLS session. |
| 516 |
type AttributeContext_TLSSession struct { |
| 517 |
state protoimpl.MessageState |
| 518 |
sizeCache protoimpl.SizeCache |
| 519 |
unknownFields protoimpl.UnknownFields |
| 520 |
|
| 521 |
// SNI used for TLS session. |
| 522 |
Sni string `protobuf:"bytes,1,opt,name=sni,proto3" json:"sni,omitempty"` |
| 523 |
} |
| 524 |
|
| 525 |
func (x *AttributeContext_TLSSession) Reset() { |
| 526 |
*x = AttributeContext_TLSSession{} |
| 527 |
if protoimpl.UnsafeEnabled { |
| 528 |
mi := &file_envoy_service_auth_v3_attribute_context_proto_msgTypes[4] |
| 529 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 530 |
ms.StoreMessageInfo(mi) |
| 531 |
} |
| 532 |
} |
| 533 |
|
| 534 |
func (x *AttributeContext_TLSSession) String() string { |
| 535 |
return protoimpl.X.MessageStringOf(x) |
| 536 |
} |
| 537 |
|
| 538 |
func (*AttributeContext_TLSSession) ProtoMessage() {} |
| 539 |
|
| 540 |
func (x *AttributeContext_TLSSession) ProtoReflect() protoreflect.Message { |
| 541 |
mi := &file_envoy_service_auth_v3_attribute_context_proto_msgTypes[4] |
| 542 |
if protoimpl.UnsafeEnabled && x != nil { |
| 543 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 544 |
if ms.LoadMessageInfo() == nil { |
| 545 |
ms.StoreMessageInfo(mi) |
| 546 |
} |
| 547 |
return ms |
| 548 |
} |
| 549 |
return mi.MessageOf(x) |
| 550 |
} |
| 551 |
|
| 552 |
// Deprecated: Use AttributeContext_TLSSession.ProtoReflect.Descriptor instead. |
| 553 |
func (*AttributeContext_TLSSession) Descriptor() ([]byte, []int) { |
| 554 |
return file_envoy_service_auth_v3_attribute_context_proto_rawDescGZIP(), []int{0, 3} |
| 555 |
} |
| 556 |
|
| 557 |
func (x *AttributeContext_TLSSession) GetSni() string { |
| 558 |
if x != nil { |
| 559 |
return x.Sni |
| 560 |
} |
| 561 |
return "" |
| 562 |
} |
| 563 |
|
| 564 |
var File_envoy_service_auth_v3_attribute_context_proto protoreflect.FileDescriptor |
| 565 |
|
| 566 |
var file_envoy_service_auth_v3_attribute_context_proto_rawDesc = []byte{ |
| 567 |
0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, |
| 568 |
0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, |
| 569 |
0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 570 |
0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, |
| 571 |
0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x1a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, |
| 572 |
0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x64, 0x64, |
| 573 |
0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, |
| 574 |
0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, |
| 575 |
0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, |
| 576 |
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, |
| 577 |
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, |
| 578 |
0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, |
| 579 |
0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, |
| 580 |
0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, |
| 581 |
0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, |
| 582 |
0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, |
| 583 |
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xce, |
| 584 |
0x0e, 0x0a, 0x10, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, |
| 585 |
0x65, 0x78, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, |
| 586 |
0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, |
| 587 |
0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, |
| 588 |
0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x50, 0x65, 0x65, |
| 589 |
0x72, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4e, 0x0a, 0x0b, 0x64, 0x65, 0x73, |
| 590 |
0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, |
| 591 |
0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, |
| 592 |
0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, |
| 593 |
0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x65, |
| 594 |
0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x07, 0x72, 0x65, 0x71, |
| 595 |
0x75, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x65, 0x6e, 0x76, |
| 596 |
0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, |
| 597 |
0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, |
| 598 |
0x65, 0x78, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, |
| 599 |
0x75, 0x65, 0x73, 0x74, 0x12, 0x6d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, |
| 600 |
0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, |
| 601 |
0x32, 0x3e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 602 |
0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, |
| 603 |
0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, |
| 604 |
0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, |
| 605 |
0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, |
| 606 |
0x6f, 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x10, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, |
| 607 |
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, |
| 608 |
0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, |
| 609 |
0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x6d, |
| 610 |
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x54, |
| 611 |
0x0a, 0x16, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, |
| 612 |
0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, |
| 613 |
0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, |
| 614 |
0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x14, |
| 615 |
0x72, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, |
| 616 |
0x74, 0x65, 0x78, 0x74, 0x12, 0x53, 0x0a, 0x0b, 0x74, 0x6c, 0x73, 0x5f, 0x73, 0x65, 0x73, 0x73, |
| 617 |
0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x6e, 0x76, 0x6f, |
| 618 |
0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, |
| 619 |
0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, |
| 620 |
0x78, 0x74, 0x2e, 0x54, 0x4c, 0x53, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x74, |
| 621 |
0x6c, 0x73, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xda, 0x02, 0x0a, 0x04, 0x50, 0x65, |
| 622 |
0x65, 0x72, 0x12, 0x37, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, |
| 623 |
0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, |
| 624 |
0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, |
| 625 |
0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, |
| 626 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, |
| 627 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, |
| 628 |
0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, |
| 629 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, |
| 630 |
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x50, |
| 631 |
0x65, 0x65, 0x72, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, |
| 632 |
0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, |
| 633 |
0x69, 0x70, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, |
| 634 |
0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, |
| 635 |
0x63, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, |
| 636 |
0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, |
| 637 |
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, |
| 638 |
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, |
| 639 |
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, |
| 640 |
0x38, 0x01, 0x3a, 0x32, 0x9a, 0xc5, 0x88, 0x1e, 0x2d, 0x0a, 0x2b, 0x65, 0x6e, 0x76, 0x6f, 0x79, |
| 641 |
0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, |
| 642 |
0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, |
| 643 |
0x74, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x1a, 0xb9, 0x01, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 644 |
0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, |
| 645 |
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 646 |
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, |
| 647 |
0x6d, 0x65, 0x12, 0x47, 0x0a, 0x04, 0x68, 0x74, 0x74, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 648 |
0x32, 0x33, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 649 |
0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, |
| 650 |
0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, |
| 651 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x35, 0x9a, 0xc5, 0x88, |
| 652 |
0x1e, 0x30, 0x0a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 653 |
0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, |
| 654 |
0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 655 |
0x73, 0x74, 0x1a, 0xc5, 0x04, 0x0a, 0x0b, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 656 |
0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, |
| 657 |
0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, |
| 658 |
0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x70, 0x0a, 0x07, 0x68, 0x65, |
| 659 |
0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x65, 0x6e, |
| 660 |
0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, |
| 661 |
0x2e, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, |
| 662 |
0x74, 0x65, 0x78, 0x74, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 663 |
0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x14, 0xf2, |
| 664 |
0x98, 0xfe, 0x8f, 0x05, 0x0e, 0x12, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x74, |
| 665 |
0x79, 0x70, 0x65, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x54, 0x0a, 0x0a, |
| 666 |
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, |
| 667 |
0x32, 0x1f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, |
| 668 |
0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x61, |
| 669 |
0x70, 0x42, 0x14, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x0e, 0x12, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x65, |
| 670 |
0x72, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x52, 0x09, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, |
| 671 |
0x61, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, |
| 672 |
0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, |
| 673 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, |
| 674 |
0x68, 0x65, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, |
| 675 |
0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, |
| 676 |
0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, |
| 677 |
0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, |
| 678 |
0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x09, 0x20, 0x01, |
| 679 |
0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, |
| 680 |
0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, |
| 681 |
0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x0b, 0x20, 0x01, |
| 682 |
0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, |
| 683 |
0x62, 0x6f, 0x64, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x61, 0x77, 0x42, |
| 684 |
0x6f, 0x64, 0x79, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, |
| 685 |
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 686 |
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, |
| 687 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, |
| 688 |
0x39, 0x9a, 0xc5, 0x88, 0x1e, 0x34, 0x0a, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, |
| 689 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, |
| 690 |
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x48, |
| 691 |
0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x0a, 0x0a, 0x54, 0x4c, |
| 692 |
0x53, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x6e, 0x69, 0x18, |
| 693 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x6e, 0x69, 0x1a, 0x44, 0x0a, 0x16, 0x43, 0x6f, |
| 694 |
0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, |
| 695 |
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 696 |
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, |
| 697 |
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, |
| 698 |
0x3a, 0x2d, 0x9a, 0xc5, 0x88, 0x1e, 0x28, 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, |
| 699 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x41, |
| 700 |
0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, |
| 701 |
0x8b, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65, |
| 702 |
0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, |
| 703 |
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x42, |
| 704 |
0x15, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, |
| 705 |
0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, |
| 706 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, |
| 707 |
0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, |
| 708 |
0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, |
| 709 |
0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x76, 0x33, 0x62, 0x06, 0x70, |
| 710 |
0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 711 |
} |
| 712 |
|
| 713 |
var ( |
| 714 |
file_envoy_service_auth_v3_attribute_context_proto_rawDescOnce sync.Once |
| 715 |
file_envoy_service_auth_v3_attribute_context_proto_rawDescData = file_envoy_service_auth_v3_attribute_context_proto_rawDesc |
| 716 |
) |
| 717 |
|
| 718 |
func file_envoy_service_auth_v3_attribute_context_proto_rawDescGZIP() []byte { |
| 719 |
file_envoy_service_auth_v3_attribute_context_proto_rawDescOnce.Do(func() { |
| 720 |
file_envoy_service_auth_v3_attribute_context_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_auth_v3_attribute_context_proto_rawDescData) |
| 721 |
}) |
| 722 |
return file_envoy_service_auth_v3_attribute_context_proto_rawDescData |
| 723 |
} |
| 724 |
|
| 725 |
var file_envoy_service_auth_v3_attribute_context_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| 726 |
var file_envoy_service_auth_v3_attribute_context_proto_goTypes = []interface{}{ |
| 727 |
(*AttributeContext)(nil), // 0: envoy.service.auth.v3.AttributeContext |
| 728 |
(*AttributeContext_Peer)(nil), // 1: envoy.service.auth.v3.AttributeContext.Peer |
| 729 |
(*AttributeContext_Request)(nil), // 2: envoy.service.auth.v3.AttributeContext.Request |
| 730 |
(*AttributeContext_HttpRequest)(nil), // 3: envoy.service.auth.v3.AttributeContext.HttpRequest |
| 731 |
(*AttributeContext_TLSSession)(nil), // 4: envoy.service.auth.v3.AttributeContext.TLSSession |
| 732 |
nil, // 5: envoy.service.auth.v3.AttributeContext.ContextExtensionsEntry |
| 733 |
nil, // 6: envoy.service.auth.v3.AttributeContext.Peer.LabelsEntry |
| 734 |
nil, // 7: envoy.service.auth.v3.AttributeContext.HttpRequest.HeadersEntry |
| 735 |
(*v3.Metadata)(nil), // 8: envoy.config.core.v3.Metadata |
| 736 |
(*v3.Address)(nil), // 9: envoy.config.core.v3.Address |
| 737 |
(*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp |
| 738 |
(*v3.HeaderMap)(nil), // 11: envoy.config.core.v3.HeaderMap |
| 739 |
} |
| 740 |
var file_envoy_service_auth_v3_attribute_context_proto_depIdxs = []int32{ |
| 741 |
1, // 0: envoy.service.auth.v3.AttributeContext.source:type_name -> envoy.service.auth.v3.AttributeContext.Peer |
| 742 |
1, // 1: envoy.service.auth.v3.AttributeContext.destination:type_name -> envoy.service.auth.v3.AttributeContext.Peer |
| 743 |
2, // 2: envoy.service.auth.v3.AttributeContext.request:type_name -> envoy.service.auth.v3.AttributeContext.Request |
| 744 |
5, // 3: envoy.service.auth.v3.AttributeContext.context_extensions:type_name -> envoy.service.auth.v3.AttributeContext.ContextExtensionsEntry |
| 745 |
8, // 4: envoy.service.auth.v3.AttributeContext.metadata_context:type_name -> envoy.config.core.v3.Metadata |
| 746 |
8, // 5: envoy.service.auth.v3.AttributeContext.route_metadata_context:type_name -> envoy.config.core.v3.Metadata |
| 747 |
4, // 6: envoy.service.auth.v3.AttributeContext.tls_session:type_name -> envoy.service.auth.v3.AttributeContext.TLSSession |
| 748 |
9, // 7: envoy.service.auth.v3.AttributeContext.Peer.address:type_name -> envoy.config.core.v3.Address |
| 749 |
6, // 8: envoy.service.auth.v3.AttributeContext.Peer.labels:type_name -> envoy.service.auth.v3.AttributeContext.Peer.LabelsEntry |
| 750 |
10, // 9: envoy.service.auth.v3.AttributeContext.Request.time:type_name -> google.protobuf.Timestamp |
| 751 |
3, // 10: envoy.service.auth.v3.AttributeContext.Request.http:type_name -> envoy.service.auth.v3.AttributeContext.HttpRequest |
| 752 |
7, // 11: envoy.service.auth.v3.AttributeContext.HttpRequest.headers:type_name -> envoy.service.auth.v3.AttributeContext.HttpRequest.HeadersEntry |
| 753 |
11, // 12: envoy.service.auth.v3.AttributeContext.HttpRequest.header_map:type_name -> envoy.config.core.v3.HeaderMap |
| 754 |
13, // [13:13] is the sub-list for method output_type |
| 755 |
13, // [13:13] is the sub-list for method input_type |
| 756 |
13, // [13:13] is the sub-list for extension type_name |
| 757 |
13, // [13:13] is the sub-list for extension extendee |
| 758 |
0, // [0:13] is the sub-list for field type_name |
| 759 |
} |
| 760 |
|
| 761 |
func init() { file_envoy_service_auth_v3_attribute_context_proto_init() } |
| 762 |
func file_envoy_service_auth_v3_attribute_context_proto_init() { |
| 763 |
if File_envoy_service_auth_v3_attribute_context_proto != nil { |
| 764 |
return |
| 765 |
} |
| 766 |
if !protoimpl.UnsafeEnabled { |
| 767 |
file_envoy_service_auth_v3_attribute_context_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 768 |
switch v := v.(*AttributeContext); i { |
| 769 |
case 0: |
| 770 |
return &v.state |
| 771 |
case 1: |
| 772 |
return &v.sizeCache |
| 773 |
case 2: |
| 774 |
return &v.unknownFields |
| 775 |
default: |
| 776 |
return nil |
| 777 |
} |
| 778 |
} |
| 779 |
file_envoy_service_auth_v3_attribute_context_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 780 |
switch v := v.(*AttributeContext_Peer); i { |
| 781 |
case 0: |
| 782 |
return &v.state |
| 783 |
case 1: |
| 784 |
return &v.sizeCache |
| 785 |
case 2: |
| 786 |
return &v.unknownFields |
| 787 |
default: |
| 788 |
return nil |
| 789 |
} |
| 790 |
} |
| 791 |
file_envoy_service_auth_v3_attribute_context_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 792 |
switch v := v.(*AttributeContext_Request); i { |
| 793 |
case 0: |
| 794 |
return &v.state |
| 795 |
case 1: |
| 796 |
return &v.sizeCache |
| 797 |
case 2: |
| 798 |
return &v.unknownFields |
| 799 |
default: |
| 800 |
return nil |
| 801 |
} |
| 802 |
} |
| 803 |
file_envoy_service_auth_v3_attribute_context_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 804 |
switch v := v.(*AttributeContext_HttpRequest); i { |
| 805 |
case 0: |
| 806 |
return &v.state |
| 807 |
case 1: |
| 808 |
return &v.sizeCache |
| 809 |
case 2: |
| 810 |
return &v.unknownFields |
| 811 |
default: |
| 812 |
return nil |
| 813 |
} |
| 814 |
} |
| 815 |
file_envoy_service_auth_v3_attribute_context_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 816 |
switch v := v.(*AttributeContext_TLSSession); i { |
| 817 |
case 0: |
| 818 |
return &v.state |
| 819 |
case 1: |
| 820 |
return &v.sizeCache |
| 821 |
case 2: |
| 822 |
return &v.unknownFields |
| 823 |
default: |
| 824 |
return nil |
| 825 |
} |
| 826 |
} |
| 827 |
} |
| 828 |
type x struct{} |
| 829 |
out := protoimpl.TypeBuilder{ |
| 830 |
File: protoimpl.DescBuilder{ |
| 831 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 832 |
RawDescriptor: file_envoy_service_auth_v3_attribute_context_proto_rawDesc, |
| 833 |
NumEnums: 0, |
| 834 |
NumMessages: 8, |
| 835 |
NumExtensions: 0, |
| 836 |
NumServices: 0, |
| 837 |
}, |
| 838 |
GoTypes: file_envoy_service_auth_v3_attribute_context_proto_goTypes, |
| 839 |
DependencyIndexes: file_envoy_service_auth_v3_attribute_context_proto_depIdxs, |
| 840 |
MessageInfos: file_envoy_service_auth_v3_attribute_context_proto_msgTypes, |
| 841 |
}.Build() |
| 842 |
File_envoy_service_auth_v3_attribute_context_proto = out.File |
| 843 |
file_envoy_service_auth_v3_attribute_context_proto_rawDesc = nil |
| 844 |
file_envoy_service_auth_v3_attribute_context_proto_goTypes = nil |
| 845 |
file_envoy_service_auth_v3_attribute_context_proto_depIdxs = nil |
| 846 |
} |