@@ -6,9 +6,11 @@ option java_outer_classname = "ConfigDumpProto";
6
6
option java_multiple_files = true ;
7
7
option java_package = "io.envoyproxy.envoy.admin.v2alpha" ;
8
8
9
+ import "envoy/api/v2/auth/cert.proto" ;
9
10
import "envoy/api/v2/cds.proto" ;
10
11
import "envoy/api/v2/lds.proto" ;
11
12
import "envoy/api/v2/rds.proto" ;
13
+ import "envoy/api/v2/srds.proto" ;
12
14
import "envoy/config/bootstrap/v2/bootstrap.proto" ;
13
15
14
16
import "google/protobuf/any.proto" ;
@@ -31,15 +33,15 @@ message ConfigDump {
31
33
// * *clusters*: :ref:`ClustersConfigDump <envoy_api_msg_admin.v2alpha.ClustersConfigDump>`
32
34
// * *listeners*: :ref:`ListenersConfigDump <envoy_api_msg_admin.v2alpha.ListenersConfigDump>`
33
35
// * *routes*: :ref:`RoutesConfigDump <envoy_api_msg_admin.v2alpha.RoutesConfigDump>`
34
- repeated google.protobuf.Any configs = 1 [ (gogoproto .nullable ) = false ] ;
36
+ repeated google.protobuf.Any configs = 1 ;
35
37
}
36
38
37
39
// This message describes the bootstrap configuration that Envoy was started with. This includes
38
40
// any CLI overrides that were merged. Bootstrap configuration information can be used to recreate
39
41
// the static portions of an Envoy configuration by reusing the output as the bootstrap
40
42
// configuration for another Envoy.
41
43
message BootstrapConfigDump {
42
- envoy.config.bootstrap.v2.Bootstrap bootstrap = 1 [ (gogoproto .nullable ) = false ] ;
44
+ envoy.config.bootstrap.v2.Bootstrap bootstrap = 1 ;
43
45
44
46
// The timestamp when the BootstrapConfig was last updated.
45
47
google.protobuf.Timestamp last_updated = 2 ;
@@ -54,7 +56,7 @@ message ListenersConfigDump {
54
56
// will be "".
55
57
string version_info = 1 ;
56
58
57
- // Describes a statically loaded cluster .
59
+ // Describes a statically loaded listener .
58
60
message StaticListener {
59
61
// The listener config.
60
62
envoy.api.v2.Listener listener = 1 ;
@@ -79,23 +81,23 @@ message ListenersConfigDump {
79
81
}
80
82
81
83
// The statically loaded listener configs.
82
- repeated StaticListener static_listeners = 2 [ (gogoproto .nullable ) = false ] ;
84
+ repeated StaticListener static_listeners = 2 ;
83
85
84
86
// The dynamically loaded active listeners. These are listeners that are available to service
85
87
// data plane traffic.
86
- repeated DynamicListener dynamic_active_listeners = 3 [ (gogoproto .nullable ) = false ] ;
88
+ repeated DynamicListener dynamic_active_listeners = 3 ;
87
89
88
90
// The dynamically loaded warming listeners. These are listeners that are currently undergoing
89
91
// warming in preparation to service data plane traffic. Note that if attempting to recreate an
90
92
// Envoy configuration from a configuration dump, the warming listeners should generally be
91
93
// discarded.
92
- repeated DynamicListener dynamic_warming_listeners = 4 [ (gogoproto .nullable ) = false ] ;
94
+ repeated DynamicListener dynamic_warming_listeners = 4 ;
93
95
94
96
// The dynamically loaded draining listeners. These are listeners that are currently undergoing
95
97
// draining in preparation to stop servicing data plane traffic. Note that if attempting to
96
98
// recreate an Envoy configuration from a configuration dump, the draining listeners should
97
99
// generally be discarded.
98
- repeated DynamicListener dynamic_draining_listeners = 5 [ (gogoproto .nullable ) = false ] ;
100
+ repeated DynamicListener dynamic_draining_listeners = 5 ;
99
101
}
100
102
101
103
// Envoy's cluster manager fills this message with all currently known clusters. Cluster
@@ -132,17 +134,17 @@ message ClustersConfigDump {
132
134
}
133
135
134
136
// The statically loaded cluster configs.
135
- repeated StaticCluster static_clusters = 2 [ (gogoproto .nullable ) = false ] ;
137
+ repeated StaticCluster static_clusters = 2 ;
136
138
137
139
// The dynamically loaded active clusters. These are clusters that are available to service
138
140
// data plane traffic.
139
- repeated DynamicCluster dynamic_active_clusters = 3 [ (gogoproto .nullable ) = false ] ;
141
+ repeated DynamicCluster dynamic_active_clusters = 3 ;
140
142
141
143
// The dynamically loaded warming clusters. These are clusters that are currently undergoing
142
144
// warming in preparation to service data plane traffic. Note that if attempting to recreate an
143
145
// Envoy configuration from a configuration dump, the warming clusters should generally be
144
146
// discarded.
145
- repeated DynamicCluster dynamic_warming_clusters = 4 [ (gogoproto .nullable ) = false ] ;
147
+ repeated DynamicCluster dynamic_warming_clusters = 4 ;
146
148
}
147
149
148
150
// Envoy's RDS implementation fills this message with all currently loaded routes, as described by
@@ -173,8 +175,92 @@ message RoutesConfigDump {
173
175
}
174
176
175
177
// The statically loaded route configs.
176
- repeated StaticRouteConfig static_route_configs = 2 [ (gogoproto .nullable ) = false ] ;
178
+ repeated StaticRouteConfig static_route_configs = 2 ;
177
179
178
180
// The dynamically loaded route configs.
179
- repeated DynamicRouteConfig dynamic_route_configs = 3 [(gogoproto.nullable ) = false ];
181
+ repeated DynamicRouteConfig dynamic_route_configs = 3 ;
182
+ }
183
+
184
+ // Envoy's scoped RDS implementation fills this message with all currently loaded route
185
+ // configuration scopes (defined via ScopedRouteConfigurationsSet protos). This message lists both
186
+ // the scopes defined inline with the higher order object (i.e., the HttpConnectionManager) and the
187
+ // dynamically obtained scopes via the SRDS API.
188
+ message ScopedRoutesConfigDump {
189
+ message InlineScopedRouteConfigs {
190
+ // The name assigned to the scoped route configurations.
191
+ string name = 1 ;
192
+
193
+ // The scoped route configurations.
194
+ repeated envoy.api.v2.ScopedRouteConfiguration scoped_route_configs = 2 ;
195
+
196
+ // The timestamp when the scoped route config set was last updated.
197
+ google.protobuf.Timestamp last_updated = 3 ;
198
+ }
199
+
200
+ message DynamicScopedRouteConfigs {
201
+ // The name assigned to the scoped route configurations.
202
+ string name = 1 ;
203
+
204
+ // This is the per-resource version information. This version is currently taken from the
205
+ // :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time that
206
+ // the scoped routes configuration was loaded.
207
+ string version_info = 2 ;
208
+
209
+ // The scoped route configurations.
210
+ repeated envoy.api.v2.ScopedRouteConfiguration scoped_route_configs = 3 ;
211
+
212
+ // The timestamp when the scoped route config set was last updated.
213
+ google.protobuf.Timestamp last_updated = 4 ;
214
+ }
215
+
216
+ // The statically loaded scoped route configs.
217
+ repeated InlineScopedRouteConfigs inline_scoped_route_configs = 1 ;
218
+
219
+ // The dynamically loaded scoped route configs.
220
+ repeated DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2 ;
221
+ }
222
+
223
+ // Envoys SDS implementation fills this message with all secrets fetched dynamically via SDS.
224
+ message SecretsConfigDump {
225
+ // DynamicSecret contains secret information fetched via SDS.
226
+ message DynamicSecret {
227
+ // The name assigned to the secret.
228
+ string name = 1 ;
229
+
230
+ // This is the per-resource version information.
231
+ string version_info = 2 ;
232
+
233
+ // The timestamp when the secret was last updated.
234
+ google.protobuf.Timestamp last_updated = 3 ;
235
+
236
+ // The actual secret information.
237
+ // Security sensitive information is redacted (replaced with "[redacted]") for
238
+ // private keys and passwords in TLS certificates.
239
+ envoy.api.v2.auth.Secret secret = 4 ;
240
+ }
241
+
242
+ // StaticSecret specifies statically loaded secret in bootstrap.
243
+ message StaticSecret {
244
+ // The name assigned to the secret.
245
+ string name = 1 ;
246
+
247
+ // The timestamp when the secret was last updated.
248
+ google.protobuf.Timestamp last_updated = 2 ;
249
+
250
+ // The actual secret information.
251
+ // Security sensitive information is redacted (replaced with "[redacted]") for
252
+ // private keys and passwords in TLS certificates.
253
+ envoy.api.v2.auth.Secret secret = 3 ;
254
+ }
255
+
256
+ // The statically loaded secrets.
257
+ repeated StaticSecret static_secrets = 1 ;
258
+
259
+ // The dynamically loaded active secrets. These are secrets that are available to service
260
+ // clusters or listeners.
261
+ repeated DynamicSecret dynamic_active_secrets = 2 ;
262
+
263
+ // The dynamically loaded warming secrets. These are secrets that are currently undergoing
264
+ // warming in preparation to service clusters or listeners.
265
+ repeated DynamicSecret dynamic_warming_secrets = 3 ;
180
266
}
0 commit comments