Expand description
S3-compatible storage-provider construction.
The constructor applies endpoint, credential, transport, and signing options before wrapping the object-store client as a provider. Configurations with neither a URL nor a bucket return no provider. S3-compatible storage-provider construction.
Configuration and environment values feed the object-store S3 builder. Providers without a URL or bucket are treated as disabled, while enabled providers expose signing through the common interface.
Re-exportsยง
use std::sync::Arc;๐use std::time::Duration;๐use object_store::aws::AmazonS3Builder;๐use object_store::client::ClientOptions;๐use object_store::signer::Signer;๐use tuwunel_core::Result;๐use tuwunel_core::config::StorageProvider;๐use tuwunel_core::config::StorageProviderS3;๐use tuwunel_core::debug;๐use tuwunel_core::debug;๐use tuwunel_core::debug_info;๐use tuwunel_core::error;๐use tuwunel_core::error;๐use tuwunel_core::trace;๐use tuwunel_core::version::user_agent;๐use super::Provider;๐
Structsยง
- GetResult
- Object-store transfer types used by the S3 provider boundary.
- PutPayload
- Object-store transfer types used by the S3 provider boundary.
- PutResult
- Object-store transfer types used by the S3 provider boundary.
Enumsยง
- GetResult
Payload - Object-store transfer types used by the S3 provider boundary.
Functionsยง
- new ๐
- Builds an enabled S3-compatible provider.