summaryrefslogtreecommitdiff
path: root/src/rpc/envoy.extensions.router.cluster_specifier.golang.v3alpha.rs
blob: 95608484e2e0bd395ca6e5c5828b495cbf8d58c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// @generated
// This file is @generated by prost-build.
// \[#protodoc-title: Golang\]
//
// For an overview of the Golang cluster specifier please see the :ref:`configuration reference documentation <config_http_cluster_specifier_golang>`.
// \[#extension: envoy.router.cluster_specifier_plugin.golang\]

/// \[#extension-category: envoy.router.cluster_specifier_plugin\]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Config {
    /// Globally unique ID for a dynamic library file.
    #[prost(string, tag="1")]
    pub library_id: ::prost::alloc::string::String,
    /// Path to a dynamic library implementing the
    /// :repo:`ClusterSpecifier API <contrib/golang/router/cluster_specifier/source/go/pkg/api.ClusterSpecifier>`
    /// interface.
    /// \[#comment:TODO(wangfakang): Support for downloading libraries from remote repositories.\]
    #[prost(string, tag="2")]
    pub library_path: ::prost::alloc::string::String,
    /// Default cluster.
    ///
    /// It will be used when the specifier interface return empty string or panic.
    ///
    #[prost(string, tag="3")]
    pub default_cluster: ::prost::alloc::string::String,
    /// Configuration for the Go cluster specifier plugin.
    ///
    /// .. note::
    ///      This configuration is only parsed in the go cluster specifier, and is therefore not validated
    ///      by Envoy.
    ///
    ///      See the :repo:`StreamFilter API <contrib/golang/router/cluster_specifier/source/go/pkg/cluster_specifier/config.go>`
    ///      for more information about how the plugin's configuration data can be accessed.
    ///
    #[prost(message, optional, tag="4")]
    pub config: ::core::option::Option<super::super::super::super::super::super::google::protobuf::Any>,
}
// @@protoc_insertion_point(module)