mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-24 05:51:33 -05:00
34 lines
993 B
Go
34 lines
993 B
Go
package revaconfig
|
|
|
|
import "github.com/owncloud/ocis/v2/services/storage-users/pkg/config"
|
|
|
|
// StorageProviderDrivers are the drivers for the storage provider
|
|
func StorageProviderDrivers(cfg *config.Config) map[string]interface{} {
|
|
return map[string]interface{}{
|
|
"eos": EOS(cfg),
|
|
"eoshome": EOSHome(cfg),
|
|
"eosgrpc": EOSGRPC(cfg),
|
|
"local": Local(cfg),
|
|
"localhome": LocalHome(cfg),
|
|
"owncloudsql": OwnCloudSQL(cfg),
|
|
"ocis": OcisNoEvents(cfg),
|
|
"s3": S3(cfg),
|
|
"s3ng": S3NGNoEvents(cfg),
|
|
}
|
|
}
|
|
|
|
// DataProviderDrivers are the drivers for the storage provider
|
|
func DataProviderDrivers(cfg *config.Config) map[string]interface{} {
|
|
return map[string]interface{}{
|
|
"eos": EOS(cfg),
|
|
"eoshome": EOSHome(cfg),
|
|
"eosgrpc": EOSGRPC(cfg),
|
|
"local": Local(cfg),
|
|
"localhome": LocalHome(cfg),
|
|
"owncloudsql": OwnCloudSQL(cfg),
|
|
"ocis": Ocis(cfg),
|
|
"s3": S3(cfg),
|
|
"s3ng": S3NG(cfg),
|
|
}
|
|
}
|