Skip to main content

Module s3_config

Module s3_config 

Source
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§

NormalizedS3Config
Normalized S3-compatible endpoint and bucket values.

Enums§

S3ConfigError
Errors returned while normalizing S3-compatible configuration.

Functions§

normalize_s3_endpoint_and_bucket
Normalizes and validates an S3-compatible endpoint and bucket pair.