Documentation ¶
Index ¶
- func New(opts Options) (types.Storage, error)
- type Backend
- func (fs *Backend) AbortMultipartUploadWithContext(ctx context.Context, path, uploadID string) error
- func (fs *Backend) CompleteMultipartUploadWithContext(ctx context.Context, path, uploadID string, ...) error
- func (fs *Backend) DeleteWithContext(ctx context.Context, path string) error
- func (fs *Backend) InitiateMultipartUploadWithContext(ctx context.Context, path string) (string, error)
- func (fs *Backend) ListWithContext(ctx context.Context, prefix string) (*[]types.Object, error)
- func (fs *Backend) MoveToBucketWithContext(ctx context.Context, srcPath, dstPath, dstBucket string) error
- func (fs *Backend) MoveWithContext(ctx context.Context, fromPath string, toPath string) error
- func (fs *Backend) ReadWithContext(ctx context.Context, path string, start int64, end int64) (io.ReadCloser, error)
- func (fs *Backend) StatWithContext(ctx context.Context, path string) (*types.Object, error)
- func (fs *Backend) WriteMultipartWithContext(ctx context.Context, path, uploadID string, partNumber int64, ...) (int64, *types.CompletedPart, error)
- func (fs *Backend) WriteWithContext(ctx context.Context, path string, reader io.Reader, size int64) (int64, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend struct { Root string // contains filtered or unexported fields }
func (*Backend) AbortMultipartUploadWithContext ¶
func (*Backend) CompleteMultipartUploadWithContext ¶
func (*Backend) DeleteWithContext ¶
func (*Backend) InitiateMultipartUploadWithContext ¶
func (*Backend) ListWithContext ¶
func (*Backend) MoveToBucketWithContext ¶
func (*Backend) MoveWithContext ¶
func (*Backend) ReadWithContext ¶
func (*Backend) StatWithContext ¶
func (*Backend) WriteMultipartWithContext ¶
Click to show internal directories.
Click to hide internal directories.