mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 09:04:12 +02:00
experimental multi-s3 support
This commit is contained in:
parent
113b720980
commit
6f78480b48
7 changed files with 60 additions and 13 deletions
|
|
@ -88,6 +88,7 @@ impl Service {
|
|||
pub fn from_type(ty: &str) -> Option<&'static [Self]> {
|
||||
match ty {
|
||||
"s3" => Some(&[Service::ObjectStore(ObjectStore::S3)]),
|
||||
"s3m" => Some(&[Service::ObjectStore(ObjectStore::S3m)]),
|
||||
"s3mb" => Some(&[Service::ObjectStore(ObjectStore::S3mb)]),
|
||||
"azure" => Some(&[Service::ObjectStore(ObjectStore::Azure)]),
|
||||
"ldap" => Some(&[Service::LDAP(LDAP), Service::LDAPAdmin(LDAPAdmin)]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue