Expand description
S3-compatible endpoint and bucket normalization helpers.
S3-compatible providers often encode the bucket either in configuration or in the endpoint URL. This module extracts a consistent bucket and endpoint pair while rejecting ambiguous or malformed values before a storage driver attempts to connect.
Structs§
- Normalized
S3Config - Normalized S3-compatible endpoint and bucket values.
Enums§
- S3Config
Error - Errors returned while normalizing S3-compatible configuration.
Functions§
- normalize_
s3_ endpoint_ and_ bucket - Normalizes and validates an S3-compatible endpoint and bucket pair.