From aadfbeb39d0ac5ccb1a19899d7680b1c96b1a6cf Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 16 Jul 2025 13:44:59 -0600 Subject: chore: add generated rpc code --- src/rpc/envoy.extensions.string_matcher.lua.v3.rs | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/rpc/envoy.extensions.string_matcher.lua.v3.rs (limited to 'src/rpc/envoy.extensions.string_matcher.lua.v3.rs') 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, +} +// @@protoc_insertion_point(module) -- cgit v1.2.3