Skip to main content

Module provider

Module provider 

Source
Expand description

Backend implementations and the common provider interface.

Provider instances normalize paths, transfers, and optional URL signing across local and S3-compatible object stores. The module also owns backend construction and startup connectivity checks. Common interface over local and S3-compatible object stores.

Providers apply an optional base path, choose single-part or multipart uploads, and expose streaming reads and deletes. Backend failures are translated into the service’s shared error type.

Modules§

local
Local-filesystem storage-provider construction.
s3
S3-compatible storage-provider construction.

Structs§

Provider
One configured object-storage backend.

Functions§

chunked 🔒
Splits a payload into nonempty parts no larger than part_size.

Type Aliases§

FetchItem
One streamed object chunk with its returned range and complete object size.
FetchMetaItem
One streamed object chunk with shared response metadata and attributes.