@@ -6,9 +6,11 @@ option java_outer_classname = "ConfigDumpProto";
66option java_multiple_files = true ;
77option java_package = "io.envoyproxy.envoy.admin.v2alpha" ;
88
9+ import "envoy/api/v2/auth/cert.proto" ;
910import "envoy/api/v2/cds.proto" ;
1011import "envoy/api/v2/lds.proto" ;
1112import "envoy/api/v2/rds.proto" ;
13+ import "envoy/api/v2/srds.proto" ;
1214import "envoy/config/bootstrap/v2/bootstrap.proto" ;
1315
1416import "google/protobuf/any.proto" ;
@@ -31,15 +33,15 @@ message ConfigDump {
3133 // * *clusters*: :ref:`ClustersConfigDump <envoy_api_msg_admin.v2alpha.ClustersConfigDump>`
3234 // * *listeners*: :ref:`ListenersConfigDump <envoy_api_msg_admin.v2alpha.ListenersConfigDump>`
3335 // * *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 ;
3537}
3638
3739// This message describes the bootstrap configuration that Envoy was started with. This includes
3840// any CLI overrides that were merged. Bootstrap configuration information can be used to recreate
3941// the static portions of an Envoy configuration by reusing the output as the bootstrap
4042// configuration for another Envoy.
4143message BootstrapConfigDump {
42- envoy.config.bootstrap.v2.Bootstrap bootstrap = 1 [ (gogoproto .nullable ) = false ] ;
44+ envoy.config.bootstrap.v2.Bootstrap bootstrap = 1 ;
4345
4446 // The timestamp when the BootstrapConfig was last updated.
4547 google.protobuf.Timestamp last_updated = 2 ;
@@ -54,7 +56,7 @@ message ListenersConfigDump {
5456 // will be "".
5557 string version_info = 1 ;
5658
57- // Describes a statically loaded cluster .
59+ // Describes a statically loaded listener .
5860 message StaticListener {
5961 // The listener config.
6062 envoy.api.v2.Listener listener = 1 ;
@@ -79,23 +81,23 @@ message ListenersConfigDump {
7981 }
8082
8183 // The statically loaded listener configs.
82- repeated StaticListener static_listeners = 2 [ (gogoproto .nullable ) = false ] ;
84+ repeated StaticListener static_listeners = 2 ;
8385
8486 // The dynamically loaded active listeners. These are listeners that are available to service
8587 // data plane traffic.
86- repeated DynamicListener dynamic_active_listeners = 3 [ (gogoproto .nullable ) = false ] ;
88+ repeated DynamicListener dynamic_active_listeners = 3 ;
8789
8890 // The dynamically loaded warming listeners. These are listeners that are currently undergoing
8991 // warming in preparation to service data plane traffic. Note that if attempting to recreate an
9092 // Envoy configuration from a configuration dump, the warming listeners should generally be
9193 // discarded.
92- repeated DynamicListener dynamic_warming_listeners = 4 [ (gogoproto .nullable ) = false ] ;
94+ repeated DynamicListener dynamic_warming_listeners = 4 ;
9395
9496 // The dynamically loaded draining listeners. These are listeners that are currently undergoing
9597 // draining in preparation to stop servicing data plane traffic. Note that if attempting to
9698 // recreate an Envoy configuration from a configuration dump, the draining listeners should
9799 // generally be discarded.
98- repeated DynamicListener dynamic_draining_listeners = 5 [ (gogoproto .nullable ) = false ] ;
100+ repeated DynamicListener dynamic_draining_listeners = 5 ;
99101}
100102
101103// Envoy's cluster manager fills this message with all currently known clusters. Cluster
@@ -132,17 +134,17 @@ message ClustersConfigDump {
132134 }
133135
134136 // The statically loaded cluster configs.
135- repeated StaticCluster static_clusters = 2 [ (gogoproto .nullable ) = false ] ;
137+ repeated StaticCluster static_clusters = 2 ;
136138
137139 // The dynamically loaded active clusters. These are clusters that are available to service
138140 // data plane traffic.
139- repeated DynamicCluster dynamic_active_clusters = 3 [ (gogoproto .nullable ) = false ] ;
141+ repeated DynamicCluster dynamic_active_clusters = 3 ;
140142
141143 // The dynamically loaded warming clusters. These are clusters that are currently undergoing
142144 // warming in preparation to service data plane traffic. Note that if attempting to recreate an
143145 // Envoy configuration from a configuration dump, the warming clusters should generally be
144146 // discarded.
145- repeated DynamicCluster dynamic_warming_clusters = 4 [ (gogoproto .nullable ) = false ] ;
147+ repeated DynamicCluster dynamic_warming_clusters = 4 ;
146148}
147149
148150// Envoy's RDS implementation fills this message with all currently loaded routes, as described by
@@ -173,8 +175,92 @@ message RoutesConfigDump {
173175 }
174176
175177 // The statically loaded route configs.
176- repeated StaticRouteConfig static_route_configs = 2 [ (gogoproto .nullable ) = false ] ;
178+ repeated StaticRouteConfig static_route_configs = 2 ;
177179
178180 // 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 ;
180266}
0 commit comments