summaryrefslogtreecommitdiff
path: root/src/rpc/envoy.service.accesslog.v2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc/envoy.service.accesslog.v2.rs')
-rw-r--r--src/rpc/envoy.service.accesslog.v2.rs61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/rpc/envoy.service.accesslog.v2.rs b/src/rpc/envoy.service.accesslog.v2.rs
new file mode 100644
index 00000000..c8732d31
--- /dev/null
+++ b/src/rpc/envoy.service.accesslog.v2.rs
@@ -0,0 +1,61 @@
+// @generated
+// This file is @generated by prost-build.
+/// Empty response for the StreamAccessLogs API. Will never be sent. See below.
+#[allow(clippy::derive_partial_eq_without_eq)]
+#[derive(Clone, Copy, PartialEq, ::prost::Message)]
+pub struct StreamAccessLogsResponse {
+}
+/// Stream message for the StreamAccessLogs API. Envoy will open a stream to the server and stream
+/// access logs without ever expecting a response.
+#[allow(clippy::derive_partial_eq_without_eq)]
+#[derive(Clone, PartialEq, ::prost::Message)]
+pub struct StreamAccessLogsMessage {
+ /// Identifier data that will only be sent in the first message on the stream. This is effectively
+ /// structured metadata and is a performance optimization.
+ #[prost(message, optional, tag="1")]
+ pub identifier: ::core::option::Option<stream_access_logs_message::Identifier>,
+ /// Batches of log entries of a single type. Generally speaking, a given stream should only
+ /// ever include one type of log entry.
+ #[prost(oneof="stream_access_logs_message::LogEntries", tags="2, 3")]
+ pub log_entries: ::core::option::Option<stream_access_logs_message::LogEntries>,
+}
+/// Nested message and enum types in `StreamAccessLogsMessage`.
+pub mod stream_access_logs_message {
+ #[allow(clippy::derive_partial_eq_without_eq)]
+#[derive(Clone, PartialEq, ::prost::Message)]
+ pub struct Identifier {
+ /// The node sending the access log messages over the stream.
+ #[prost(message, optional, tag="1")]
+ pub node: ::core::option::Option<super::super::super::super::api::v2::core::Node>,
+ /// The friendly name of the log configured in :ref:`CommonGrpcAccessLogConfig
+ /// <envoy_api_msg_config.accesslog.v2.CommonGrpcAccessLogConfig>`.
+ #[prost(string, tag="2")]
+ pub log_name: ::prost::alloc::string::String,
+ }
+ /// Wrapper for batches of HTTP access log entries.
+ #[allow(clippy::derive_partial_eq_without_eq)]
+#[derive(Clone, PartialEq, ::prost::Message)]
+ pub struct HttpAccessLogEntries {
+ #[prost(message, repeated, tag="1")]
+ pub log_entry: ::prost::alloc::vec::Vec<super::super::super::super::data::accesslog::v2::HttpAccessLogEntry>,
+ }
+ /// Wrapper for batches of TCP access log entries.
+ #[allow(clippy::derive_partial_eq_without_eq)]
+#[derive(Clone, PartialEq, ::prost::Message)]
+ pub struct TcpAccessLogEntries {
+ #[prost(message, repeated, tag="1")]
+ pub log_entry: ::prost::alloc::vec::Vec<super::super::super::super::data::accesslog::v2::TcpAccessLogEntry>,
+ }
+ /// Batches of log entries of a single type. Generally speaking, a given stream should only
+ /// ever include one type of log entry.
+ #[allow(clippy::derive_partial_eq_without_eq)]
+#[derive(Clone, PartialEq, ::prost::Oneof)]
+ pub enum LogEntries {
+ #[prost(message, tag="2")]
+ HttpLogs(HttpAccessLogEntries),
+ #[prost(message, tag="3")]
+ TcpLogs(TcpAccessLogEntries),
+ }
+}
+include!("envoy.service.accesslog.v2.tonic.rs");
+// @@protoc_insertion_point(module) \ No newline at end of file