Skip to content

Commit

Permalink
xds: import v2 version of aggregate.ClusterConfig proto (#7573)
Browse files Browse the repository at this point in the history
  • Loading branch information
voidzcy committed Oct 30, 2020
1 parent e65f67d commit df9c235
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions xds/third_party/envoy/import.sh
Expand Up @@ -63,6 +63,7 @@ envoy/api/v2/route/route_components.proto
envoy/api/v2/scoped_route.proto
envoy/api/v2/srds.proto
envoy/config/accesslog/v3/accesslog.proto
envoy/config/cluster/aggregate/v2alpha/cluster.proto
envoy/config/cluster/v3/circuit_breaker.proto
envoy/config/cluster/v3/cluster.proto
envoy/config/cluster/v3/filter.proto
Expand Down
@@ -0,0 +1,24 @@
syntax = "proto3";

package envoy.config.cluster.aggregate.v2alpha;

import "udpa/annotations/migrate.proto";
import "udpa/annotations/status.proto";
import "validate/validate.proto";

option java_package = "io.envoyproxy.envoy.config.cluster.aggregate.v2alpha";
option java_outer_classname = "ClusterProto";
option java_multiple_files = true;
option (udpa.annotations.file_migrate).move_to_package = "envoy.extensions.clusters.aggregate.v3";
option (udpa.annotations.file_status).package_version_status = FROZEN;

// [#protodoc-title: Aggregate cluster configuration]

// Configuration for the aggregate cluster. See the :ref:`architecture overview
// <arch_overview_aggregate_cluster>` for more information.
// [#extension: envoy.clusters.aggregate]
message ClusterConfig {
// Load balancing clusters in aggregate cluster. Clusters are prioritized based on the order they
// appear in this list.
repeated string clusters = 1 [(validate.rules).repeated = {min_items: 1}];
}

0 comments on commit df9c235

Please sign in to comment.