summaryrefslogtreecommitdiff
path: root/src/rpc/envoy.extensions.path.match.uri_template.v3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc/envoy.extensions.path.match.uri_template.v3.rs')
-rw-r--r--src/rpc/envoy.extensions.path.match.uri_template.v3.rs37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/rpc/envoy.extensions.path.match.uri_template.v3.rs b/src/rpc/envoy.extensions.path.match.uri_template.v3.rs
new file mode 100644
index 00000000..53cd3093
--- /dev/null
+++ b/src/rpc/envoy.extensions.path.match.uri_template.v3.rs
@@ -0,0 +1,37 @@
+// @generated
+// This file is @generated by prost-build.
+// \[#protodoc-title: Uri Template Match Config\]
+// \[#extension: envoy.path.match.uri_template.uri_template_matcher\]
+
+/// If specified, the route is a template match rule meaning that the
+/// ``:path`` header (without the query string) must match the given
+/// ``path_template`` pattern.
+///
+/// Path template matching types:
+///
+/// * ``*`` : Matches a single path component, up to the next path separator: /
+///
+/// * ``**`` : Matches zero or more path segments. If present, must be the last operator.
+///
+/// * ``{name} or {name=*}`` : A named variable matching one path segment up to the next path separator: /.
+///
+/// * ``{name=videos/*}`` : A named variable matching more than one path segment.
+/// The path component matching videos/* is captured as the named variable.
+///
+/// * ``{name=**}`` : A named variable matching zero or more path segments.
+///
+///
+/// For example:
+///
+/// * ``/videos/*/*/*.m4s`` would match ``videos/123414/hls/1080p5000_00001.m4s``
+///
+/// * ``/videos/{file}`` would match ``/videos/1080p5000_00001.m4s``
+///
+/// * ``/**.mpd`` would match ``/content/123/india/dash/55/manifest.mpd``
+#[allow(clippy::derive_partial_eq_without_eq)]
+#[derive(Clone, PartialEq, ::prost::Message)]
+pub struct UriTemplateMatchConfig {
+ #[prost(string, tag="1")]
+ pub path_template: ::prost::alloc::string::String,
+}
+// @@protoc_insertion_point(module)