Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
Backend object
func NewBackend ¶
NewBackend instantiate a new OpenSwift Data Backend from configuration passed as argument
func (*Backend) AddFile ¶
func (b *Backend) AddFile(file *common.File, fileReader io.Reader) (backendDetails string, err error)
AddFile implementation for S3 Data Backend
type Config ¶
type Config struct { Endpoint string AccessKeyID string SecretAccessKey string Bucket string Location string PartSize uint64 UseSSL bool }
Config describes configuration for Swift data backend
Click to show internal directories.
Click to hide internal directories.