|
|
@ -18,7 +18,7 @@ import "google/protobuf/duration.proto"; |
|
|
|
import "google/protobuf/struct.proto"; |
|
|
|
import "google/protobuf/struct.proto"; |
|
|
|
import "google/protobuf/wrappers.proto"; |
|
|
|
import "google/protobuf/wrappers.proto"; |
|
|
|
|
|
|
|
|
|
|
|
import "udpa/api/annotations/versioning.proto"; |
|
|
|
import "udpa/annotations/versioning.proto"; |
|
|
|
|
|
|
|
|
|
|
|
import "validate/validate.proto"; |
|
|
|
import "validate/validate.proto"; |
|
|
|
|
|
|
|
|
|
|
@ -33,7 +33,7 @@ import "validate/validate.proto"; |
|
|
|
// upstream cluster to route to or whether to perform a redirect. |
|
|
|
// upstream cluster to route to or whether to perform a redirect. |
|
|
|
// [#next-free-field: 19] |
|
|
|
// [#next-free-field: 19] |
|
|
|
message VirtualHost { |
|
|
|
message VirtualHost { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = "envoy.api.v2.route.VirtualHost"; |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.VirtualHost"; |
|
|
|
|
|
|
|
|
|
|
|
enum TlsRequirementType { |
|
|
|
enum TlsRequirementType { |
|
|
|
// No TLS requirement for the virtual host. |
|
|
|
// No TLS requirement for the virtual host. |
|
|
@ -154,8 +154,7 @@ message VirtualHost { |
|
|
|
|
|
|
|
|
|
|
|
// A filter-defined action type. |
|
|
|
// A filter-defined action type. |
|
|
|
message FilterAction { |
|
|
|
message FilterAction { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.FilterAction"; |
|
|
|
"envoy.api.v2.route.FilterAction"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
google.protobuf.Any action = 1; |
|
|
|
google.protobuf.Any action = 1; |
|
|
|
} |
|
|
|
} |
|
|
@ -169,7 +168,7 @@ message FilterAction { |
|
|
|
// <envoy_api_msg_api.v3alpha.route.HeaderMatcher>`. |
|
|
|
// <envoy_api_msg_api.v3alpha.route.HeaderMatcher>`. |
|
|
|
// [#next-free-field: 18] |
|
|
|
// [#next-free-field: 18] |
|
|
|
message Route { |
|
|
|
message Route { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = "envoy.api.v2.route.Route"; |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.Route"; |
|
|
|
|
|
|
|
|
|
|
|
reserved 6, 8; |
|
|
|
reserved 6, 8; |
|
|
|
|
|
|
|
|
|
|
@ -259,12 +258,11 @@ message Route { |
|
|
|
// traffic to be forwarded to each cluster. The router selects an upstream cluster based on the |
|
|
|
// traffic to be forwarded to each cluster. The router selects an upstream cluster based on the |
|
|
|
// weights. |
|
|
|
// weights. |
|
|
|
message WeightedCluster { |
|
|
|
message WeightedCluster { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.WeightedCluster"; |
|
|
|
"envoy.api.v2.route.WeightedCluster"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// [#next-free-field: 11] |
|
|
|
// [#next-free-field: 11] |
|
|
|
message ClusterWeight { |
|
|
|
message ClusterWeight { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.WeightedCluster.ClusterWeight"; |
|
|
|
"envoy.api.v2.route.WeightedCluster.ClusterWeight"; |
|
|
|
|
|
|
|
|
|
|
|
reserved 7, 8; |
|
|
|
reserved 7, 8; |
|
|
@ -346,15 +344,15 @@ message WeightedCluster { |
|
|
|
|
|
|
|
|
|
|
|
// [#next-free-field: 12] |
|
|
|
// [#next-free-field: 12] |
|
|
|
message RouteMatch { |
|
|
|
message RouteMatch { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = "envoy.api.v2.route.RouteMatch"; |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.RouteMatch"; |
|
|
|
|
|
|
|
|
|
|
|
message GrpcRouteMatchOptions { |
|
|
|
message GrpcRouteMatchOptions { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RouteMatch.GrpcRouteMatchOptions"; |
|
|
|
"envoy.api.v2.route.RouteMatch.GrpcRouteMatchOptions"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
message TlsContextMatchOptions { |
|
|
|
message TlsContextMatchOptions { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RouteMatch.TlsContextMatchOptions"; |
|
|
|
"envoy.api.v2.route.RouteMatch.TlsContextMatchOptions"; |
|
|
|
|
|
|
|
|
|
|
|
// If specified, the route will match against whether or not a certificate is presented. |
|
|
|
// If specified, the route will match against whether or not a certificate is presented. |
|
|
@ -441,7 +439,7 @@ message RouteMatch { |
|
|
|
|
|
|
|
|
|
|
|
// [#next-free-field: 12] |
|
|
|
// [#next-free-field: 12] |
|
|
|
message CorsPolicy { |
|
|
|
message CorsPolicy { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = "envoy.api.v2.route.CorsPolicy"; |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.CorsPolicy"; |
|
|
|
|
|
|
|
|
|
|
|
reserved 1, 8, 7; |
|
|
|
reserved 1, 8, 7; |
|
|
|
|
|
|
|
|
|
|
@ -491,7 +489,7 @@ message CorsPolicy { |
|
|
|
|
|
|
|
|
|
|
|
// [#next-free-field: 30] |
|
|
|
// [#next-free-field: 30] |
|
|
|
message RouteAction { |
|
|
|
message RouteAction { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = "envoy.api.v2.route.RouteAction"; |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.RouteAction"; |
|
|
|
|
|
|
|
|
|
|
|
enum ClusterNotFoundResponseCode { |
|
|
|
enum ClusterNotFoundResponseCode { |
|
|
|
// HTTP status code - 503 Service Unavailable. |
|
|
|
// HTTP status code - 503 Service Unavailable. |
|
|
@ -515,7 +513,7 @@ message RouteAction { |
|
|
|
// During shadowing, the host/authority header is altered such that *-shadow* is appended. This is |
|
|
|
// During shadowing, the host/authority header is altered such that *-shadow* is appended. This is |
|
|
|
// useful for logging. For example, *cluster1* becomes *cluster1-shadow*. |
|
|
|
// useful for logging. For example, *cluster1* becomes *cluster1-shadow*. |
|
|
|
message RequestMirrorPolicy { |
|
|
|
message RequestMirrorPolicy { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RouteAction.RequestMirrorPolicy"; |
|
|
|
"envoy.api.v2.route.RouteAction.RequestMirrorPolicy"; |
|
|
|
|
|
|
|
|
|
|
|
reserved 2; |
|
|
|
reserved 2; |
|
|
@ -543,11 +541,11 @@ message RouteAction { |
|
|
|
// <arch_overview_load_balancing_types>`. |
|
|
|
// <arch_overview_load_balancing_types>`. |
|
|
|
// [#next-free-field: 6] |
|
|
|
// [#next-free-field: 6] |
|
|
|
message HashPolicy { |
|
|
|
message HashPolicy { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RouteAction.HashPolicy"; |
|
|
|
"envoy.api.v2.route.RouteAction.HashPolicy"; |
|
|
|
|
|
|
|
|
|
|
|
message Header { |
|
|
|
message Header { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RouteAction.HashPolicy.Header"; |
|
|
|
"envoy.api.v2.route.RouteAction.HashPolicy.Header"; |
|
|
|
|
|
|
|
|
|
|
|
// The name of the request header that will be used to obtain the hash |
|
|
|
// The name of the request header that will be used to obtain the hash |
|
|
@ -570,7 +568,7 @@ message RouteAction { |
|
|
|
// streams on the same connection will independently receive the same |
|
|
|
// streams on the same connection will independently receive the same |
|
|
|
// cookie, even if they arrive at the Envoy simultaneously. |
|
|
|
// cookie, even if they arrive at the Envoy simultaneously. |
|
|
|
message Cookie { |
|
|
|
message Cookie { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RouteAction.HashPolicy.Cookie"; |
|
|
|
"envoy.api.v2.route.RouteAction.HashPolicy.Cookie"; |
|
|
|
|
|
|
|
|
|
|
|
// The name of the cookie that will be used to obtain the hash key. If the |
|
|
|
// The name of the cookie that will be used to obtain the hash key. If the |
|
|
@ -589,7 +587,7 @@ message RouteAction { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
message ConnectionProperties { |
|
|
|
message ConnectionProperties { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RouteAction.HashPolicy.ConnectionProperties"; |
|
|
|
"envoy.api.v2.route.RouteAction.HashPolicy.ConnectionProperties"; |
|
|
|
|
|
|
|
|
|
|
|
// Hash on source IP address. |
|
|
|
// Hash on source IP address. |
|
|
@ -651,7 +649,7 @@ message RouteAction { |
|
|
|
// <envoy_api_field_config.filter.network.http_connection_manager.v3alpha.HttpConnectionManager.upgrade_configs>` |
|
|
|
// <envoy_api_field_config.filter.network.http_connection_manager.v3alpha.HttpConnectionManager.upgrade_configs>` |
|
|
|
// but does not affect any custom filter chain specified there. |
|
|
|
// but does not affect any custom filter chain specified there. |
|
|
|
message UpgradeConfig { |
|
|
|
message UpgradeConfig { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RouteAction.UpgradeConfig"; |
|
|
|
"envoy.api.v2.route.RouteAction.UpgradeConfig"; |
|
|
|
|
|
|
|
|
|
|
|
// The case-insensitive name of this upgrade, e.g. "websocket". |
|
|
|
// The case-insensitive name of this upgrade, e.g. "websocket". |
|
|
@ -865,10 +863,10 @@ message RouteAction { |
|
|
|
// HTTP retry :ref:`architecture overview <arch_overview_http_routing_retry>`. |
|
|
|
// HTTP retry :ref:`architecture overview <arch_overview_http_routing_retry>`. |
|
|
|
// [#next-free-field: 11] |
|
|
|
// [#next-free-field: 11] |
|
|
|
message RetryPolicy { |
|
|
|
message RetryPolicy { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = "envoy.api.v2.route.RetryPolicy"; |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.RetryPolicy"; |
|
|
|
|
|
|
|
|
|
|
|
message RetryPriority { |
|
|
|
message RetryPriority { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RetryPolicy.RetryPriority"; |
|
|
|
"envoy.api.v2.route.RetryPolicy.RetryPriority"; |
|
|
|
|
|
|
|
|
|
|
|
reserved 2; |
|
|
|
reserved 2; |
|
|
@ -883,7 +881,7 @@ message RetryPolicy { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
message RetryHostPredicate { |
|
|
|
message RetryHostPredicate { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RetryPolicy.RetryHostPredicate"; |
|
|
|
"envoy.api.v2.route.RetryPolicy.RetryHostPredicate"; |
|
|
|
|
|
|
|
|
|
|
|
reserved 2; |
|
|
|
reserved 2; |
|
|
@ -898,7 +896,7 @@ message RetryPolicy { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
message RetryBackOff { |
|
|
|
message RetryBackOff { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RetryPolicy.RetryBackOff"; |
|
|
|
"envoy.api.v2.route.RetryPolicy.RetryBackOff"; |
|
|
|
|
|
|
|
|
|
|
|
// Specifies the base interval between retries. This parameter is required and must be greater |
|
|
|
// Specifies the base interval between retries. This parameter is required and must be greater |
|
|
@ -977,7 +975,7 @@ message RetryPolicy { |
|
|
|
|
|
|
|
|
|
|
|
// HTTP request hedging :ref:`architecture overview <arch_overview_http_routing_hedging>`. |
|
|
|
// HTTP request hedging :ref:`architecture overview <arch_overview_http_routing_hedging>`. |
|
|
|
message HedgePolicy { |
|
|
|
message HedgePolicy { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = "envoy.api.v2.route.HedgePolicy"; |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.HedgePolicy"; |
|
|
|
|
|
|
|
|
|
|
|
// Specifies the number of initial requests that should be sent upstream. |
|
|
|
// Specifies the number of initial requests that should be sent upstream. |
|
|
|
// Must be at least 1. |
|
|
|
// Must be at least 1. |
|
|
@ -1004,8 +1002,7 @@ message HedgePolicy { |
|
|
|
|
|
|
|
|
|
|
|
// [#next-free-field: 9] |
|
|
|
// [#next-free-field: 9] |
|
|
|
message RedirectAction { |
|
|
|
message RedirectAction { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.RedirectAction"; |
|
|
|
"envoy.api.v2.route.RedirectAction"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enum RedirectResponseCode { |
|
|
|
enum RedirectResponseCode { |
|
|
|
// Moved Permanently HTTP Status Code - 301. |
|
|
|
// Moved Permanently HTTP Status Code - 301. |
|
|
@ -1069,7 +1066,7 @@ message RedirectAction { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
message DirectResponseAction { |
|
|
|
message DirectResponseAction { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.DirectResponseAction"; |
|
|
|
"envoy.api.v2.route.DirectResponseAction"; |
|
|
|
|
|
|
|
|
|
|
|
// Specifies the HTTP response status to be returned. |
|
|
|
// Specifies the HTTP response status to be returned. |
|
|
@ -1087,7 +1084,7 @@ message DirectResponseAction { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
message Decorator { |
|
|
|
message Decorator { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = "envoy.api.v2.route.Decorator"; |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.Decorator"; |
|
|
|
|
|
|
|
|
|
|
|
// The operation name associated with the request matched to this route. If tracing is |
|
|
|
// The operation name associated with the request matched to this route. If tracing is |
|
|
|
// enabled, this information will be used as the span name reported for this request. |
|
|
|
// enabled, this information will be used as the span name reported for this request. |
|
|
@ -1101,7 +1098,7 @@ message Decorator { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
message Tracing { |
|
|
|
message Tracing { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = "envoy.api.v2.route.Tracing"; |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.Tracing"; |
|
|
|
|
|
|
|
|
|
|
|
// Target percentage of requests managed by this HTTP connection manager that will be force |
|
|
|
// Target percentage of requests managed by this HTTP connection manager that will be force |
|
|
|
// traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` |
|
|
|
// traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` |
|
|
@ -1155,8 +1152,7 @@ message Tracing { |
|
|
|
// every application endpoint. This is both not easily maintainable and as well the matching and |
|
|
|
// every application endpoint. This is both not easily maintainable and as well the matching and |
|
|
|
// statistics output are not free. |
|
|
|
// statistics output are not free. |
|
|
|
message VirtualCluster { |
|
|
|
message VirtualCluster { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.VirtualCluster"; |
|
|
|
"envoy.api.v2.route.VirtualCluster"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reserved 1, 3; |
|
|
|
reserved 1, 3; |
|
|
|
|
|
|
|
|
|
|
@ -1175,11 +1171,11 @@ message VirtualCluster { |
|
|
|
|
|
|
|
|
|
|
|
// Global rate limiting :ref:`architecture overview <arch_overview_rate_limit>`. |
|
|
|
// Global rate limiting :ref:`architecture overview <arch_overview_rate_limit>`. |
|
|
|
message RateLimit { |
|
|
|
message RateLimit { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = "envoy.api.v2.route.RateLimit"; |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.RateLimit"; |
|
|
|
|
|
|
|
|
|
|
|
// [#next-free-field: 7] |
|
|
|
// [#next-free-field: 7] |
|
|
|
message Action { |
|
|
|
message Action { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RateLimit.Action"; |
|
|
|
"envoy.api.v2.route.RateLimit.Action"; |
|
|
|
|
|
|
|
|
|
|
|
// The following descriptor entry is appended to the descriptor: |
|
|
|
// The following descriptor entry is appended to the descriptor: |
|
|
@ -1190,7 +1186,7 @@ message RateLimit { |
|
|
|
// |
|
|
|
// |
|
|
|
// <local service cluster> is derived from the :option:`--service-cluster` option. |
|
|
|
// <local service cluster> is derived from the :option:`--service-cluster` option. |
|
|
|
message SourceCluster { |
|
|
|
message SourceCluster { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RateLimit.Action.SourceCluster"; |
|
|
|
"envoy.api.v2.route.RateLimit.Action.SourceCluster"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1213,7 +1209,7 @@ message RateLimit { |
|
|
|
// indicates which |
|
|
|
// indicates which |
|
|
|
// header in the request contains the target cluster. |
|
|
|
// header in the request contains the target cluster. |
|
|
|
message DestinationCluster { |
|
|
|
message DestinationCluster { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RateLimit.Action.DestinationCluster"; |
|
|
|
"envoy.api.v2.route.RateLimit.Action.DestinationCluster"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1224,7 +1220,7 @@ message RateLimit { |
|
|
|
// |
|
|
|
// |
|
|
|
// ("<descriptor_key>", "<header_value_queried_from_header>") |
|
|
|
// ("<descriptor_key>", "<header_value_queried_from_header>") |
|
|
|
message RequestHeaders { |
|
|
|
message RequestHeaders { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RateLimit.Action.RequestHeaders"; |
|
|
|
"envoy.api.v2.route.RateLimit.Action.RequestHeaders"; |
|
|
|
|
|
|
|
|
|
|
|
// The header name to be queried from the request headers. The header’s |
|
|
|
// The header name to be queried from the request headers. The header’s |
|
|
@ -1243,7 +1239,7 @@ message RateLimit { |
|
|
|
// |
|
|
|
// |
|
|
|
// ("remote_address", "<trusted address from x-forwarded-for>") |
|
|
|
// ("remote_address", "<trusted address from x-forwarded-for>") |
|
|
|
message RemoteAddress { |
|
|
|
message RemoteAddress { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RateLimit.Action.RemoteAddress"; |
|
|
|
"envoy.api.v2.route.RateLimit.Action.RemoteAddress"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1253,7 +1249,7 @@ message RateLimit { |
|
|
|
// |
|
|
|
// |
|
|
|
// ("generic_key", "<descriptor_value>") |
|
|
|
// ("generic_key", "<descriptor_value>") |
|
|
|
message GenericKey { |
|
|
|
message GenericKey { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RateLimit.Action.GenericKey"; |
|
|
|
"envoy.api.v2.route.RateLimit.Action.GenericKey"; |
|
|
|
|
|
|
|
|
|
|
|
// The value to use in the descriptor entry. |
|
|
|
// The value to use in the descriptor entry. |
|
|
@ -1266,7 +1262,7 @@ message RateLimit { |
|
|
|
// |
|
|
|
// |
|
|
|
// ("header_match", "<descriptor_value>") |
|
|
|
// ("header_match", "<descriptor_value>") |
|
|
|
message HeaderValueMatch { |
|
|
|
message HeaderValueMatch { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.RateLimit.Action.HeaderValueMatch"; |
|
|
|
"envoy.api.v2.route.RateLimit.Action.HeaderValueMatch"; |
|
|
|
|
|
|
|
|
|
|
|
// The value to use in the descriptor entry. |
|
|
|
// The value to use in the descriptor entry. |
|
|
@ -1356,8 +1352,7 @@ message RateLimit { |
|
|
|
// [#next-major-version: HeaderMatcher should be refactored to use StringMatcher.] |
|
|
|
// [#next-major-version: HeaderMatcher should be refactored to use StringMatcher.] |
|
|
|
// [#next-free-field: 12] |
|
|
|
// [#next-free-field: 12] |
|
|
|
message HeaderMatcher { |
|
|
|
message HeaderMatcher { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.route.HeaderMatcher"; |
|
|
|
"envoy.api.v2.route.HeaderMatcher"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reserved 2, 3, 5; |
|
|
|
reserved 2, 3, 5; |
|
|
|
|
|
|
|
|
|
|
@ -1423,7 +1418,7 @@ message HeaderMatcher { |
|
|
|
// as an ampersand-separated list of keys and/or key=value elements. |
|
|
|
// as an ampersand-separated list of keys and/or key=value elements. |
|
|
|
// [#next-free-field: 7] |
|
|
|
// [#next-free-field: 7] |
|
|
|
message QueryParameterMatcher { |
|
|
|
message QueryParameterMatcher { |
|
|
|
option (udpa.api.annotations.versioning).previous_message_type = |
|
|
|
option (udpa.annotations.versioning).previous_message_type = |
|
|
|
"envoy.api.v2.route.QueryParameterMatcher"; |
|
|
|
"envoy.api.v2.route.QueryParameterMatcher"; |
|
|
|
|
|
|
|
|
|
|
|
reserved 3, 4; |
|
|
|
reserved 3, 4; |
|
|
|