summaryrefslogtreecommitdiff
path: root/src/rpc/envoy.extensions.retry.host.omit_host_metadata.v3.rs
blob: e2964a4574f5988319ae325437c596a8e3b965c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// @generated
// This file is @generated by prost-build.
// \[#protodoc-title: Omit host metadata retry predicate\]

/// A retry host predicate that can be used to reject a host based on
/// predefined metadata match criteria.
/// \[#extension: envoy.retry_host_predicates.omit_host_metadata\]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OmitHostMetadataConfig {
    /// Retry host predicate metadata match criteria. The hosts in
    /// the upstream cluster with matching metadata will be omitted while
    /// attempting a retry of a failed request. The metadata should be specified
    /// under the ``envoy.lb`` key.
    #[prost(message, optional, tag="1")]
    pub metadata_match: ::core::option::Option<super::super::super::super::super::config::core::v3::Metadata>,
}
// @@protoc_insertion_point(module)