Skip to main content

mountos_admin_sdk/
providers.rs

1//! Stable provider-type identifiers accepted by the storage API for
2//! `Storage.provider_type` / `CreateStorageRequest.provider_type`.
3//!
4//! For Azure (`PROVIDER_TYPE_AZURE`), the generic credential fields map as:
5//! `endpoint` → `https://<account>.blob.core.windows.net` (or Azurite URL),
6//! `bucket` → container name, `access_key` → storage account name,
7//! `secret_key` → base64 account key, `region` → informational only.
8
9pub const PROVIDER_TYPE_S3: &str = "s3";
10pub const PROVIDER_TYPE_BACKBLAZE: &str = "backblaze";
11pub const PROVIDER_TYPE_CLOUDFLARE: &str = "cloudflare";
12pub const PROVIDER_TYPE_DIGITAL_OCEAN: &str = "digitalocean";
13pub const PROVIDER_TYPE_IBM_CLOUD: &str = "ibmcloud";
14pub const PROVIDER_TYPE_IMPOSSIBLE_CLOUD: &str = "impossiblecloud";
15pub const PROVIDER_TYPE_LYVE: &str = "lyve";
16pub const PROVIDER_TYPE_WASABI: &str = "wasabi";
17pub const PROVIDER_TYPE_S3_COMPATIBLE: &str = "s3compatible";
18pub const PROVIDER_TYPE_AZURE: &str = "azure";
19pub const PROVIDER_TYPE_MOUNTOS: &str = "mountOS";