Skip to content

Commit 9fa595c

Browse files
authored
Upgrade Envoy API to v1.20.0 (#193)
Signed-off-by: rulex123 <[email protected]>
1 parent 2e9353b commit 9fa595c

File tree

290 files changed

+3402
-19051
lines changed

Some content is hidden

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

290 files changed

+3402
-19051
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ message ClusterStatus {
4141

4242
// The success rate threshold used in the last interval.
4343
// If
44-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
44+
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
4545
// is *false*, all errors: externally and locally generated were used to calculate the threshold.
4646
// If
47-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
47+
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
4848
// is *true*, only externally generated errors were used to calculate the threshold.
4949
// The threshold is used to eject hosts based on their success rate. See
5050
// :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details.
@@ -64,7 +64,7 @@ message ClusterStatus {
6464
// The success rate threshold used in the last interval when only locally originated failures were
6565
// taken into account and externally originated errors were treated as success.
6666
// This field should be interpreted only when
67-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
67+
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
6868
// is *true*. The threshold is used to eject hosts based on their success rate.
6969
// See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
7070
// details.
@@ -101,10 +101,10 @@ message HostStatus {
101101

102102
// Request success rate for this host over the last calculated interval.
103103
// If
104-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
104+
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
105105
// is *false*, all errors: externally and locally generated were used in success rate
106106
// calculation. If
107-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
107+
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
108108
// is *true*, only externally generated errors were used in success rate calculation.
109109
// See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
110110
// details.
@@ -127,7 +127,7 @@ message HostStatus {
127127
// interval when only locally originated errors are taken into account and externally originated
128128
// errors were treated as success.
129129
// This field should be interpreted only when
130-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
130+
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
131131
// is *true*.
132132
// See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
133133
// details.

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

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,13 @@ message ConfigDump {
5353
// The following configurations are currently supported and will be dumped in the order given
5454
// below:
5555
//
56-
// * *bootstrap*: :ref:`BootstrapConfigDump <envoy_api_msg_admin.v3.BootstrapConfigDump>`
57-
// * *clusters*: :ref:`ClustersConfigDump <envoy_api_msg_admin.v3.ClustersConfigDump>`
58-
// * *endpoints*: :ref:`EndpointsConfigDump <envoy_api_msg_admin.v3.EndpointsConfigDump>`
59-
// * *listeners*: :ref:`ListenersConfigDump <envoy_api_msg_admin.v3.ListenersConfigDump>`
60-
// * *routes*: :ref:`RoutesConfigDump <envoy_api_msg_admin.v3.RoutesConfigDump>`
56+
// * *bootstrap*: :ref:`BootstrapConfigDump <envoy_v3_api_msg_admin.v3.BootstrapConfigDump>`
57+
// * *clusters*: :ref:`ClustersConfigDump <envoy_v3_api_msg_admin.v3.ClustersConfigDump>`
58+
// * *endpoints*: :ref:`EndpointsConfigDump <envoy_v3_api_msg_admin.v3.EndpointsConfigDump>`
59+
// * *listeners*: :ref:`ListenersConfigDump <envoy_v3_api_msg_admin.v3.ListenersConfigDump>`
60+
// * *scoped_routes*: :ref:`ScopedRoutesConfigDump <envoy_v3_api_msg_admin.v3.ScopedRoutesConfigDump>`
61+
// * *routes*: :ref:`RoutesConfigDump <envoy_v3_api_msg_admin.v3.RoutesConfigDump>`
62+
// * *secrets*: :ref:`SecretsConfigDump <envoy_v3_api_msg_admin.v3.SecretsConfigDump>`
6163
//
6264
// EDS Configuration will only be dumped by using parameter `?include_eds`
6365
//
@@ -126,7 +128,7 @@ message ListenersConfigDump {
126128
"envoy.admin.v2alpha.ListenersConfigDump.DynamicListenerState";
127129

128130
// This is the per-resource version information. This version is currently taken from the
129-
// :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time
131+
// :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time
130132
// that the listener was loaded. In the future, discrete per-listener versions may be supported
131133
// by the API.
132134
string version_info = 1;
@@ -174,7 +176,7 @@ message ListenersConfigDump {
174176
ClientResourceStatus client_status = 6;
175177
}
176178

177-
// This is the :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the
179+
// This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the
178180
// last processed LDS discovery response. If there are only static bootstrap listeners, this field
179181
// will be "".
180182
string version_info = 1;
@@ -212,7 +214,7 @@ message ClustersConfigDump {
212214
"envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster";
213215

214216
// This is the per-resource version information. This version is currently taken from the
215-
// :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time
217+
// :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time
216218
// that the cluster was loaded. In the future, discrete per-cluster versions may be supported by
217219
// the API.
218220
string version_info = 1;
@@ -235,7 +237,7 @@ message ClustersConfigDump {
235237
ClientResourceStatus client_status = 5;
236238
}
237239

238-
// This is the :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the
240+
// This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the
239241
// last processed CDS discovery response. If there are only static bootstrap clusters, this field
240242
// will be "".
241243
string version_info = 1;
@@ -280,7 +282,7 @@ message RoutesConfigDump {
280282
"envoy.admin.v2alpha.RoutesConfigDump.DynamicRouteConfig";
281283

282284
// This is the per-resource version information. This version is currently taken from the
283-
// :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
285+
// :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
284286
// the route configuration was loaded.
285287
string version_info = 1;
286288

@@ -340,7 +342,7 @@ message ScopedRoutesConfigDump {
340342
string name = 1;
341343

342344
// This is the per-resource version information. This version is currently taken from the
343-
// :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
345+
// :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
344346
// the scoped routes configuration was loaded.
345347
string version_info = 2;
346348

@@ -450,7 +452,7 @@ message EndpointsConfigDump {
450452
// [#next-free-field: 6]
451453
message DynamicEndpointConfig {
452454
// [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
453-
// :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
455+
// :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
454456
// the endpoint configuration was loaded.
455457
string version_info = 1;
456458

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ message CommandLineOptions {
8787
Immediate = 1;
8888
}
8989

90-
reserved 12, 20, 21;
90+
reserved 12, 20, 21, 29;
9191

92-
reserved "max_stats", "max_obj_name_len";
92+
reserved "max_stats", "max_obj_name_len", "bootstrap_version";
9393

9494
// See :option:`--base-id` for details.
9595
uint64 base_id = 1;
@@ -178,9 +178,6 @@ message CommandLineOptions {
178178
// See :option:`--disable-extensions` for details.
179179
repeated string disabled_extensions = 28;
180180

181-
// See :option:`--bootstrap-version` for details.
182-
uint32 bootstrap_version = 29;
183-
184181
// See :option:`--enable-fine-grain-logging` for details.
185182
bool enable_fine_grain_logging = 34;
186183

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

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)