Expand description
Cloud storage builders for S3, GCS, and Azure.
This module provides utilities to construct ObjectStore instances
for various cloud providers. It supports both explicit configuration
and URL-based store creation.
§Examples
ⓘ
use uni_common::CloudStorageConfig;
use uni_store::cloud::build_cloud_store;
let config = CloudStorageConfig::s3_from_env("my-bucket");
let store = build_cloud_store(&config)?;Functions§
- build_
cloud_ store - Builds an
ObjectStorefrom aCloudStorageConfig. - build_
store_ from_ url - Parses a URL and returns the appropriate
ObjectStoreand path prefix. - copy_
store_ prefix - Copies all objects from a source prefix to a destination prefix.
- is_
cloud_ url - Checks if a URL points to a cloud storage location.