summaryrefslogtreecommitdiff
path: root/src/rpc/envoy.config.resource_monitor.injected_resource.v2alpha.rs
blob: b1dba9d43cd107a1fb6a720b9fc73ae7f340e9f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// @generated
// This file is @generated by prost-build.
// \[#protodoc-title: Injected resource\]
// \[#extension: envoy.resource_monitors.injected_resource\]

/// The injected resource monitor allows injecting a synthetic resource pressure into Envoy
/// via a text file, which must contain a floating-point number in the range \[0..1\] representing
/// the resource pressure and be updated atomically by a symbolic link swap.
/// This is intended primarily for integration tests to force Envoy into an overloaded state.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InjectedResourceConfig {
    #[prost(string, tag="1")]
    pub filename: ::prost::alloc::string::String,
}
// @@protoc_insertion_point(module)