summaryrefslogtreecommitdiff
path: root/src/rpc/envoy.extensions.string_matcher.lua.v3.rs
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-16 13:44:59 -0600
committermo khan <mo@mokhan.ca>2025-07-16 13:44:59 -0600
commitaadfbeb39d0ac5ccb1a19899d7680b1c96b1a6cf (patch)
tree293cb102463ab1aeeac6aa899cedbbbf03ed6187 /src/rpc/envoy.extensions.string_matcher.lua.v3.rs
parente97b15bcb9581b895d8431f3f3eaf7a9dd1bcac6 (diff)
chore: add generated rpc code
Diffstat (limited to 'src/rpc/envoy.extensions.string_matcher.lua.v3.rs')
-rw-r--r--src/rpc/envoy.extensions.string_matcher.lua.v3.rs28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/rpc/envoy.extensions.string_matcher.lua.v3.rs b/src/rpc/envoy.extensions.string_matcher.lua.v3.rs
new file mode 100644
index 00000000..77703338
--- /dev/null
+++ b/src/rpc/envoy.extensions.string_matcher.lua.v3.rs
@@ -0,0 +1,28 @@
+// @generated
+// This file is @generated by prost-build.
+// \[#protodoc-title: Lua StringMatcher\]
+// A Lua StringMatcher allows executing a Lua script to determine if a string is a match. The configured source
+// code must define a function named `envoy_match`. If the function returns true, the string is considered a match.
+// Any other result, including an execution error, is considered a non-match.
+//
+// Example:
+//
+// .. code-block:: yaml
+//
+// source_code:
+// inline_string: |
+// function envoy_match(str)
+// -- Do something.
+// return true
+// end
+//
+// \[#extension: envoy.string_matcher.lua\]
+
+#[allow(clippy::derive_partial_eq_without_eq)]
+#[derive(Clone, PartialEq, ::prost::Message)]
+pub struct Lua {
+ /// The Lua code that Envoy will execute
+ #[prost(message, optional, tag="1")]
+ pub source_code: ::core::option::Option<super::super::super::super::config::core::v3::DataSource>,
+}
+// @@protoc_insertion_point(module)