Documentation ¶
Index ¶
- Constants
- type Adapter
- func (a *Adapter) AbortMultiPartUpload(block.ObjectPointer, string) error
- func (a *Adapter) CompleteMultiPartUpload(block.ObjectPointer, string, *block.MultipartUploadCompletion) (*string, int64, error)
- func (a *Adapter) CreateMultiPartUpload(obj block.ObjectPointer, r *http.Request, opts block.CreateMultiPartUploadOpts) (string, error)
- func (a *Adapter) GenerateInventory(_ context.Context, _ logging.Logger, _ string) (block.Inventory, error)
- func (a *Adapter) Get(obj block.ObjectPointer, expectedSize int64) (io.ReadCloser, error)
- func (a *Adapter) GetProperties(_ block.ObjectPointer) (block.Properties, error)
- func (a *Adapter) GetRange(obj block.ObjectPointer, startPosition int64, endPosition int64) (io.ReadCloser, error)
- func (a *Adapter) Put(_ block.ObjectPointer, _ int64, reader io.Reader, _ block.PutOpts) error
- func (a *Adapter) Remove(_ block.ObjectPointer) error
- func (a *Adapter) UploadPart(obj block.ObjectPointer, sizeBytes int64, reader io.Reader, uploadId string, ...) (string, error)
- func (a *Adapter) ValidateConfiguration(_ string) error
- func (a *Adapter) WithContext(context.Context) block.Adapter
Constants ¶
View Source
const BlockstoreType = "transient"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct{}
func (*Adapter) AbortMultiPartUpload ¶
func (a *Adapter) AbortMultiPartUpload(block.ObjectPointer, string) error
func (*Adapter) CompleteMultiPartUpload ¶
func (a *Adapter) CompleteMultiPartUpload(block.ObjectPointer, string, *block.MultipartUploadCompletion) (*string, int64, error)
func (*Adapter) CreateMultiPartUpload ¶
func (a *Adapter) CreateMultiPartUpload(obj block.ObjectPointer, r *http.Request, opts block.CreateMultiPartUploadOpts) (string, error)
func (*Adapter) GenerateInventory ¶
func (*Adapter) Get ¶
func (a *Adapter) Get(obj block.ObjectPointer, expectedSize int64) (io.ReadCloser, error)
func (*Adapter) GetProperties ¶
func (a *Adapter) GetProperties(_ block.ObjectPointer) (block.Properties, error)
func (*Adapter) GetRange ¶
func (a *Adapter) GetRange(obj block.ObjectPointer, startPosition int64, endPosition int64) (io.ReadCloser, error)
func (*Adapter) UploadPart ¶
func (*Adapter) ValidateConfiguration ¶
Click to show internal directories.
Click to hide internal directories.