Skip to main content

Crate multistore_path_mapping

Crate multistore_path_mapping 

Source
Expand description

Hierarchical path mapping for the multistore S3 proxy gateway.

This crate provides PathMapping for translating hierarchical URL paths (e.g., /{account}/{product}/{key}) into flat internal bucket names (e.g., account--product), and MappedRegistry for wrapping a BucketRegistry so that path-based routing and list rewrite rules are applied automatically.

Structsยง

MappedPath
Result of mapping a request path.
MappedRegistry
Wraps a BucketRegistry to add path-based routing.
PathMapping
Defines how URL path segments map to internal bucket names.