Skip to content

Commit 72fed97

Browse files
dapengzhang0snowp
authored andcommitted
api: update to envoyproxy/envoy@ca7aed4 (#88)
Signed-off-by: Penn (Dapeng) Zhang <[email protected]>
1 parent d375860 commit 72fed97

File tree

119 files changed

+352
-350
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+352
-350
lines changed

api/src/main/proto/envoy/admin/v2alpha/certs.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ syntax = "proto3";
22

33
package envoy.admin.v2alpha;
44
option java_package = "io.envoyproxy.envoy.admin.v2alpha";
5-
option java_multiple_files = true;
65

76
import "google/protobuf/timestamp.proto";
87

api/src/main/proto/envoy/admin/v2alpha/clusters.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ syntax = "proto3";
22

33
package envoy.admin.v2alpha;
44
option java_package = "io.envoyproxy.envoy.admin.v2alpha";
5-
option java_multiple_files = true;
65

76
import "envoy/admin/v2alpha/metrics.proto";
87
import "envoy/api/v2/core/address.proto";

api/src/main/proto/envoy/admin/v2alpha/config_dump.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ syntax = "proto3";
22

33
package envoy.admin.v2alpha;
44
option java_package = "io.envoyproxy.envoy.admin.v2alpha";
5-
option java_multiple_files = true;
65

76
import "envoy/api/v2/cds.proto";
87
import "envoy/api/v2/lds.proto";

api/src/main/proto/envoy/admin/v2alpha/memory.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ syntax = "proto3";
22

33
package envoy.admin.v2alpha;
44
option java_package = "io.envoyproxy.envoy.admin.v2alpha";
5-
option java_multiple_files = true;
65

76
// [#protodoc-title: Memory]
87

api/src/main/proto/envoy/admin/v2alpha/metrics.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ syntax = "proto3";
22

33
package envoy.admin.v2alpha;
44
option java_package = "io.envoyproxy.envoy.admin.v2alpha";
5-
option java_multiple_files = true;
65

76
// [#protodoc-title: Metrics]
87

api/src/main/proto/envoy/admin/v2alpha/mutex_stats.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ syntax = "proto3";
22

33
package envoy.admin.v2alpha;
44
option java_package = "io.envoyproxy.envoy.admin.v2alpha";
5-
option java_multiple_files = true;
65

76
// [#protodoc-title: MutexStats]
87

api/src/main/proto/envoy/admin/v2alpha/server_info.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ syntax = "proto3";
22

33
package envoy.admin.v2alpha;
44
option java_package = "io.envoyproxy.envoy.admin.v2alpha";
5-
option java_multiple_files = true;
65

76
import "google/protobuf/duration.proto";
87

api/src/main/proto/envoy/api/v2/auth/cert.proto

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ syntax = "proto3";
22

33
package envoy.api.v2.auth;
44
option java_package = "io.envoyproxy.envoy.api.v2.auth";
5-
option java_multiple_files = true;
65
option go_package = "auth";
76

87
import "envoy/api/v2/core/base.proto";
@@ -38,12 +37,14 @@ message TlsParameters {
3837
// Minimum TLS protocol version. By default, it's ``TLSv1_0``.
3938
TlsProtocol tls_minimum_protocol_version = 1 [(validate.rules).enum.defined_only = true];
4039

41-
// Maximum TLS protocol version. By default, it's ``TLSv1_2``.
40+
// Maximum TLS protocol version. By default, it's ``TLSv1_3`` for servers in non-FIPS builds, and
41+
// ``TLSv1_2`` for clients and for servers using :ref:`BoringSSL FIPS <arch_overview_ssl_fips>`.
4242
TlsProtocol tls_maximum_protocol_version = 2 [(validate.rules).enum.defined_only = true];
4343

4444
// If specified, the TLS listener will only support the specified `cipher list
45-
// <https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration>`_.
46-
// If not specified, the default list will be used.
45+
// <https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration>`_
46+
// when negotiating TLS 1.0-1.2 (this setting has no effect when negotiating TLS 1.3). If not
47+
// specified, the default list will be used.
4748
//
4849
// In non-FIPS builds, the default cipher list is:
4950
//

api/src/main/proto/envoy/api/v2/cds.proto

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ syntax = "proto3";
22

33
package envoy.api.v2;
44
option java_package = "io.envoyproxy.envoy.api.v2";
5-
option java_multiple_files = true;
65

76
option java_generic_services = true;
87

@@ -233,9 +232,8 @@ message Cluster {
233232
// for upstream connections. The key should match the extension filter name, such as
234233
// "envoy.filters.network.thrift_proxy". See the extension's documentation for details on
235234
// specific options.
236-
map<string, google.protobuf.Struct> extension_protocol_options = 35;
235+
map<string, google.protobuf.Struct> extension_protocol_options = 35 [deprecated = true];
237236

238-
// [#not-implemented-hide:]
239237
// The extension_protocol_options field is used to provide extension-specific protocol options
240238
// for upstream connections. The key should match the extension filter name, such as
241239
// "envoy.filters.network.thrift_proxy". See the extension's documentation for details on
@@ -417,6 +415,20 @@ message Cluster {
417415
// Deprecated settings from v1 config.
418416
// [#not-implemented-hide:] Hide from docs.
419417
DeprecatedV1 deprecated_v1 = 2 [deprecated = true];
418+
419+
// The hash function used to hash hosts onto the ketama ring.
420+
enum HashFunction {
421+
// Use `xxHash <https://github.com/Cyan4973/xxHash>`_, this is the default hash function.
422+
XX_HASH = 0;
423+
// Use `MurmurHash2 <https://sites.google.com/site/murmurhash/>`_, this is compatible with
424+
// std:hash<string> in GNU libstdc++ 3.4.20 or above. This is typically the case when compiled
425+
// on Linux and not macOS.
426+
MURMUR_HASH_2 = 1;
427+
}
428+
429+
// The hash function used to hash hosts onto the ketama ring. The value defaults to
430+
// :ref:`XX_HASH<envoy_api_enum_value_Cluster.RingHashLbConfig.HashFunction.XX_HASH>`.
431+
HashFunction hash_function = 3 [(validate.rules).enum.defined_only = true];
420432
}
421433

422434
// Specific configuration for the

api/src/main/proto/envoy/api/v2/cluster/circuit_breaker.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ syntax = "proto3";
22

33
package envoy.api.v2.cluster;
44
option java_package = "io.envoyproxy.envoy.api.v2.cluster";
5-
option java_multiple_files = true;
65
option go_package = "cluster";
76
option csharp_namespace = "Envoy.Api.V2.ClusterNS";
87

0 commit comments

Comments
 (0)