Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Filesystem ¶
type Filesystem struct {
Path string `yaml:"path"`
}
type S3 ¶
type S3 struct {
Region string `yaml:"region"`
EndpointURL string `yaml:"endpointUrl"`
Bucket string `yaml:"bucket"`
Credentials Credentials `yaml:"credentials"`
}
type Storage ¶
type Storage struct {
Type string `yaml:"type"`
S3 S3 `yaml:"s3,omitempty"`
Filesystem Filesystem `yaml:"filesystem"`
}
func (Storage) Info ¶
func (s Storage) Info() StorageInfo
type StorageInfo ¶
type StorageInfo struct {
Type string
S3 S3
Filesystem Filesystem
}
type Storages ¶
func NewStorageBackends ¶
func (Storages) StorageInfo ¶
func (s Storages) StorageInfo(name string) (StorageInfo, error)
func (Storages) StoragesInfo ¶
func (s Storages) StoragesInfo() map[string]StorageInfo
Click to show internal directories.
Click to hide internal directories.