Documentation ¶
Index ¶
- func GetAll() []storage_base.Storage
- func GetByID(id []byte) storage_base.Storage
- func NewGDriveStorage(label string)
- func NewS3Storage(label string, bucket string, root string, region string, keyid string, ...)
- func NewStorage(kind string, identifier string, rootPath string, label string) storage_base.Storage
- func ResolveDescriptors(descriptors []StorageDescriptor) []storage_base.Storage
- func StorageDataToStorage(descriptor StorageDescriptor) storage_base.Storage
- func StorageSelect(label string) (storage_base.Storage, bool)
- type StorageDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAll ¶
func GetAll() []storage_base.Storage
func GetByID ¶
func GetByID(id []byte) storage_base.Storage
func NewGDriveStorage ¶
func NewGDriveStorage(label string)
func NewS3Storage ¶
func NewStorage ¶
func ResolveDescriptors ¶
func ResolveDescriptors(descriptors []StorageDescriptor) []storage_base.Storage
func StorageDataToStorage ¶
func StorageDataToStorage(descriptor StorageDescriptor) storage_base.Storage
func StorageSelect ¶
func StorageSelect(label string) (storage_base.Storage, bool)
Types ¶
type StorageDescriptor ¶
func GetAllDescriptors ¶
func GetAllDescriptors() []StorageDescriptor
Click to show internal directories.
Click to hide internal directories.