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.
/// Custom configuration for an :ref:`AccessLog <envoy_v3_api_msg_config.accesslog.v3.AccessLog>`
/// that writes log entries directly to the operating system's standard output.
/// \[\#extension: envoy.access_loggers.stdout\]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StdoutAccessLog {
    #[prost(oneof = "stdout_access_log::AccessLogFormat", tags = "1")]
    pub access_log_format: ::core::option::Option<stdout_access_log::AccessLogFormat>,
}
/// Nested message and enum types in `StdoutAccessLog`.
pub mod stdout_access_log {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum AccessLogFormat {
        /// Configuration to form access log data and format.
        /// If not specified, use :ref:`default format <config_access_log_default_format>`.
        #[prost(message, tag = "1")]
        LogFormat(
            super::super::super::super::super::config::core::v3::SubstitutionFormatString,
        ),
    }
}
impl ::prost::Name for StdoutAccessLog {
    const NAME: &'static str = "StdoutAccessLog";
    const PACKAGE: &'static str = "envoy.extensions.access_loggers.stream.v3";
    fn full_name() -> ::prost::alloc::string::String {
        "envoy.extensions.access_loggers.stream.v3.StdoutAccessLog".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog"
            .into()
    }
}
/// Custom configuration for an :ref:`AccessLog <envoy_v3_api_msg_config.accesslog.v3.AccessLog>`
/// that writes log entries directly to the operating system's standard error.
/// \[\#extension: envoy.access_loggers.stderr\]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StderrAccessLog {
    #[prost(oneof = "stderr_access_log::AccessLogFormat", tags = "1")]
    pub access_log_format: ::core::option::Option<stderr_access_log::AccessLogFormat>,
}
/// Nested message and enum types in `StderrAccessLog`.
pub mod stderr_access_log {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum AccessLogFormat {
        /// Configuration to form access log data and format.
        /// If not specified, use :ref:`default format <config_access_log_default_format>`.
        #[prost(message, tag = "1")]
        LogFormat(
            super::super::super::super::super::config::core::v3::SubstitutionFormatString,
        ),
    }
}
impl ::prost::Name for StderrAccessLog {
    const NAME: &'static str = "StderrAccessLog";
    const PACKAGE: &'static str = "envoy.extensions.access_loggers.stream.v3";
    fn full_name() -> ::prost::alloc::string::String {
        "envoy.extensions.access_loggers.stream.v3.StderrAccessLog".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StderrAccessLog"
            .into()
    }
}