1
0
Fork 0
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:
Robin Appelman 2023-02-03 15:57:46 +01:00
commit 6f78480b48
7 changed files with 60 additions and 13 deletions

View file

@ -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)]),