envoy-types 0.7.3

Collection of protobuf types and other assets to work with the Envoy Proxy through Rust gRPC services.
Documentation
// This file is @generated by prost-build.
/// Configuration for the aggregate cluster. See the :ref:`architecture overview  <arch_overview_aggregate_cluster>` for more information.
/// \[\#extension: envoy.clusters.aggregate\]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ClusterConfig {
    /// Load balancing clusters in aggregate cluster. Clusters are prioritized based on the order they
    /// appear in this list.
    #[prost(string, repeated, tag = "1")]
    pub clusters: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
impl ::prost::Name for ClusterConfig {
    const NAME: &'static str = "ClusterConfig";
    const PACKAGE: &'static str = "envoy.extensions.clusters.aggregate.v3";
    fn full_name() -> ::prost::alloc::string::String {
        "envoy.extensions.clusters.aggregate.v3.ClusterConfig".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "type.googleapis.com/envoy.extensions.clusters.aggregate.v3.ClusterConfig".into()
    }
}
///
/// Configures an aggregate cluster whose
/// : ref:`ClusterConfig <envoy_v3_api_msg_extensions.clusters.aggregate.v3.ClusterConfig>`
///   is to be fetched from a separate xDS resource.
///   \[\#extension: envoy.clusters.aggregate_resource\]
///   \[\#not-implemented-hide:\]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregateClusterResource {
    /// Configuration source specifier for the ClusterConfig resource.
    /// Only the aggregated protocol variants are supported; if configured
    /// otherwise, the cluster resource will be NACKed.
    #[prost(message, optional, tag = "1")]
    pub config_source: ::core::option::Option<
        super::super::super::super::config::core::v3::ConfigSource,
    >,
    /// The name of the ClusterConfig resource to subscribe to.
    #[prost(string, tag = "2")]
    pub resource_name: ::prost::alloc::string::String,
}
impl ::prost::Name for AggregateClusterResource {
    const NAME: &'static str = "AggregateClusterResource";
    const PACKAGE: &'static str = "envoy.extensions.clusters.aggregate.v3";
    fn full_name() -> ::prost::alloc::string::String {
        "envoy.extensions.clusters.aggregate.v3.AggregateClusterResource".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "type.googleapis.com/envoy.extensions.clusters.aggregate.v3.AggregateClusterResource"
            .into()
    }
}