Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { // NewObject returns the details for object creation. NewObject(obj *object.Object) (*object.Object, error) // GetObject returns the details of one object. GetObject(obj *object.Object) (*object.Object, error) // ListObjects returns the details of all objects. ListObjects() ([]*object.Object, error) // ExistsObject implements object.KeyAvailabilityChecker. ExistsObject(obj *object.Object) (bool, error) // DeleteObject deletes an object. DeleteObject(obj *object.Object) error // Settings returns the provider-agnostic storage settings. Settings() *Settings }
Provider defines the contract any storage provider must comply with.
Click to show internal directories.
Click to hide internal directories.