summaryrefslogtreecommitdiff
path: root/src/rpc/envoy.config.common.tap.v2alpha.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc/envoy.config.common.tap.v2alpha.rs')
-rw-r--r--src/rpc/envoy.config.common.tap.v2alpha.rs36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/rpc/envoy.config.common.tap.v2alpha.rs b/src/rpc/envoy.config.common.tap.v2alpha.rs
new file mode 100644
index 00000000..a2c8340e
--- /dev/null
+++ b/src/rpc/envoy.config.common.tap.v2alpha.rs
@@ -0,0 +1,36 @@
+// @generated
+// This file is @generated by prost-build.
+// \[#protodoc-title: Common tap extension configuration\]
+
+/// Common configuration for all tap extensions.
+#[allow(clippy::derive_partial_eq_without_eq)]
+#[derive(Clone, PartialEq, ::prost::Message)]
+pub struct CommonExtensionConfig {
+ #[prost(oneof="common_extension_config::ConfigType", tags="1, 2")]
+ pub config_type: ::core::option::Option<common_extension_config::ConfigType>,
+}
+/// Nested message and enum types in `CommonExtensionConfig`.
+pub mod common_extension_config {
+ #[allow(clippy::derive_partial_eq_without_eq)]
+#[derive(Clone, PartialEq, ::prost::Oneof)]
+ pub enum ConfigType {
+ /// If specified, the tap filter will be configured via an admin handler.
+ #[prost(message, tag="1")]
+ AdminConfig(super::AdminConfig),
+ /// If specified, the tap filter will be configured via a static configuration that cannot be
+ /// changed.
+ #[prost(message, tag="2")]
+ StaticConfig(super::super::super::super::super::service::tap::v2alpha::TapConfig),
+ }
+}
+/// Configuration for the admin handler. See :ref:`here <config_http_filters_tap_admin_handler>` for
+/// more information.
+#[allow(clippy::derive_partial_eq_without_eq)]
+#[derive(Clone, PartialEq, ::prost::Message)]
+pub struct AdminConfig {
+ /// Opaque configuration ID. When requests are made to the admin handler, the passed opaque ID is
+ /// matched to the configured filter opaque ID to determine which filter to configure.
+ #[prost(string, tag="1")]
+ pub config_id: ::prost::alloc::string::String,
+}
+// @@protoc_insertion_point(module)