Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type S3Blobstore ¶
type S3Blobstore struct {
// contains filtered or unexported fields
}
S3Blobstore encapsulates interactions with an S3 compatible blobstore
func (*S3Blobstore) Delete ¶
func (client *S3Blobstore) Delete(dest string) error
Delete removes a blob from an S3 compatible blobstore. If the object does not exist, Delete does not return an error.
func (*S3Blobstore) Exists ¶
func (client *S3Blobstore) Exists(dest string) (bool, error)
Exists checks if blob exists in an S3 compatible blobstore
func (*S3Blobstore) Get ¶
func (client *S3Blobstore) Get(src string, dest io.WriterAt) error
Get fetches a blob from an S3 compatible blobstore Destination will be overwritten if exists
func (*S3Blobstore) Put ¶
func (client *S3Blobstore) Put(src io.ReadSeeker, dest string) error
Put uploads a blob to an S3 compatible blobstore
Click to show internal directories.
Click to hide internal directories.