Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobProvider ¶
type BlobProvider interface { ReadBlob(name string, options ReadBlobOptions) (io.ReadCloser, error) WriteBlob(name string, reader io.Reader) error StatBlob(name string) (StatBlobResult, error) }
func CreateS3BlobProvider ¶
func CreateS3BlobProvider(URL string) (BlobProvider, error)
type ReadBlobOptions ¶
type ReadBlobOptions struct {
Range *BlobRange
}
type S3BlobProvider ¶
type S3BlobProvider struct {
// contains filtered or unexported fields
}
func (*S3BlobProvider) ReadBlob ¶
func (provider *S3BlobProvider) ReadBlob(name string, options ReadBlobOptions) (io.ReadCloser, error)
func (*S3BlobProvider) StatBlob ¶
func (provider *S3BlobProvider) StatBlob(name string) (StatBlobResult, error)
type StatBlobResult ¶
type StatBlobResult struct {
Size int64
}
Click to show internal directories.
Click to hide internal directories.