Documentation ¶
Index ¶
- func LoadS3StorageInfoFromDatabase(storageID []byte, identifier string, rootPath string) storage_base.Storage
- type ETagCalculator
- type ETagResult
- type GbCustomRetryer
- type S3
- func (remote *S3) BeginBlobUpload(blobID []byte) storage_base.StorageUpload
- func (remote *S3) BeginDatabaseUpload(filename string) storage_base.StorageUpload
- func (remote *S3) DownloadSection(path string, offset int64, length int64) io.ReadCloser
- func (remote *S3) GetID() []byte
- func (remote *S3) ListBlobs() []storage_base.UploadedBlob
- func (remote *S3) Metadata(path string) (string, int64)
- func (remote *S3) String() string
- type S3DatabaseIdentifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadS3StorageInfoFromDatabase ¶
func LoadS3StorageInfoFromDatabase(storageID []byte, identifier string, rootPath string) storage_base.Storage
Types ¶
type ETagCalculator ¶
type ETagCalculator struct { Writer *io.PipeWriter Result chan ETagResult }
func CreateETagCalculator ¶
func CreateETagCalculator() *ETagCalculator
type ETagResult ¶
type GbCustomRetryer ¶
type GbCustomRetryer struct {
client.DefaultRetryer
}
func (GbCustomRetryer) ShouldRetry ¶
func (r GbCustomRetryer) ShouldRetry(req *request.Request) bool
type S3 ¶
type S3 struct { StorageID []byte RootPath string Data S3DatabaseIdentifier // contains filtered or unexported fields }
func (*S3) BeginBlobUpload ¶
func (remote *S3) BeginBlobUpload(blobID []byte) storage_base.StorageUpload
func (*S3) BeginDatabaseUpload ¶
func (remote *S3) BeginDatabaseUpload(filename string) storage_base.StorageUpload
func (*S3) DownloadSection ¶
func (*S3) ListBlobs ¶
func (remote *S3) ListBlobs() []storage_base.UploadedBlob
Click to show internal directories.
Click to hide internal directories.