aboutsummaryrefslogtreecommitdiff
path: root/storage/registry/registry.go
blob: dec7c320415899b5f3d33c7a277778acb1db8e57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package registry

import (
	"code.laria.me/petrific/storage"
	"code.laria.me/petrific/storage/cloud"
)

// List af all available storage types
var StorageTypes = map[string]storage.CreateStorageFromConfig{
	"local":           storage.LocalStorageFromConfig,
	"memory":          storage.MemoryStorageFromConfig,
	"openstack-swift": cloud.SwiftStorageCreator(),
}