Documentation ¶
Index ¶
- type Storage
- func (s *Storage) ComposeObject(ctx context.Context, bucketName string, dest string, srcs ...string) error
- func (s *Storage) CopyObject(ctx context.Context, dstBucket, dstPath, srcBucket, srcPath string) error
- func (s *Storage) CreateBucket(ctx context.Context, name, region string) (string, error)
- func (s *Storage) DeleteBucket(ctx context.Context, name string) error
- func (s *Storage) DeleteObject(ctx context.Context, bucket, path string) error
- func (s *Storage) DownloadObject(ctx context.Context, bucket, path string) (io.ReadSeekCloser, error)
- func (s *Storage) GetBucket(ctx context.Context, name string) (*storage.Bucket, error)
- func (s *Storage) GetObject(ctx context.Context, bucketName, path string) (*storage.Object, error)
- func (s *Storage) ListBuckets(ctx context.Context) (iterator.Iterator[*storage.Bucket], error)
- func (s *Storage) ListObjects(ctx context.Context, bucketName, token, prefix, startpath, endpath string, ...) (string, iterator.Iterator[*storage.ListObjectsResponse_Result], error)
- func (s *Storage) Test(ctx context.Context) error
- func (s *Storage) UploadObject(ctx context.Context, reader io.Reader, size int64, ...) (string, uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) ComposeObject ¶
func (*Storage) CopyObject ¶
func (*Storage) CreateBucket ¶
func (*Storage) DeleteBucket ¶
func (*Storage) DeleteObject ¶
func (*Storage) DownloadObject ¶
func (*Storage) ListBuckets ¶
func (*Storage) ListObjects ¶
Click to show internal directories.
Click to hide internal directories.