Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(config Config, credentials Credentials) (*objectStore, error)
New returns an Object Store instance that manages Amazon S3 buckets.
func NewPlainObjectStore ¶
func NewPlainObjectStore() (*objectStore, error)
NewPlainObjectStore creates an objectstore with no configuration. Instances created with this function may be used to access methods that don't explicitly access external (cloud) resources
Types ¶
type Credentials ¶
Credentials represents credentials necessary for access
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option sets configuration in the object store.
type WaitForCompletion ¶
type WaitForCompletion bool
WaitForCompletion makes the object store wait for the operations to actually complete. Eg. bucket is created and available or bucket is removed permanently.
Click to show internal directories.
Click to hide internal directories.