Documentation ¶
Index ¶
- type Bucket
- func (s *Bucket) AddCustomBucket(req *models.AddCustomBucketReq) *models.BaseResponse
- func (s *Bucket) CreateBucket(req *models.CreateBucketReq) *models.BaseResponse
- func (s *Bucket) DeleteBucket(req *models.DeleteBucketReq) *models.BaseResponse
- func (s *Bucket) GetBucketInfo(req *models.GetBucketInfoReq) *models.BaseResponse
- func (s *Bucket) Init() error
- func (s *Bucket) ListBuckets(req *models.ListBucketsReq) *models.BaseResponse
- func (s *Bucket) ServiceName() string
- type Connection
- func (s *Connection) DeleteConnection(req *models.DeleteConnectionReq) *models.BaseResponse
- func (s *Connection) GetConnectionDetail(req *models.GetConnectionDetailReq) *models.BaseResponse
- func (s *Connection) GetSavedConnectionList() *models.BaseResponse
- func (s *Connection) Init() error
- func (s *Connection) SaveS3Connection(req *models.NewConnectionReq) *models.BaseResponse
- func (s *Connection) ServiceName() string
- func (s *Connection) TestS3Connection(req *models.NewConnectionReq) *models.BaseResponse
- type Object
- func (s *Object) AbortMultipartUpload(req *models.AbortMultipartUploadReq) *models.BaseResponse
- func (s *Object) CompleteMultipartUpload(req *models.CompleteMultipartUploadReq) *models.BaseResponse
- func (s *Object) CreateFolder(req *models.CreateFolderReq) *models.BaseResponse
- func (s *Object) CreateMultipartUpload(req *models.CreateMultipartUploadReq) *models.BaseResponse
- func (s *Object) DeleteObjects(req *models.DeleteObjectsReq) *models.BaseResponse
- func (s *Object) DownloadObjects(req *models.DownloadObjectsReq) *models.BaseResponse
- func (s *Object) Init() error
- func (s *Object) ListObjects(req *models.ListObjectsReq) *models.BaseResponse
- func (s *Object) PutMultipartUpload(fileHeader *multipart.FileHeader, params url.Values) *models.BaseResponse
- func (s *Object) ServiceName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
func NewBucketService ¶
func (*Bucket) AddCustomBucket ¶
func (s *Bucket) AddCustomBucket(req *models.AddCustomBucketReq) *models.BaseResponse
func (*Bucket) CreateBucket ¶
func (s *Bucket) CreateBucket(req *models.CreateBucketReq) *models.BaseResponse
func (*Bucket) DeleteBucket ¶
func (s *Bucket) DeleteBucket(req *models.DeleteBucketReq) *models.BaseResponse
func (*Bucket) GetBucketInfo ¶ added in v1.3.0
func (s *Bucket) GetBucketInfo(req *models.GetBucketInfoReq) *models.BaseResponse
func (*Bucket) ListBuckets ¶
func (s *Bucket) ListBuckets(req *models.ListBucketsReq) *models.BaseResponse
func (*Bucket) ServiceName ¶ added in v1.3.2
type Connection ¶
func NewConnectionService ¶
func NewConnectionService(baseService *base.Service) *Connection
func (*Connection) DeleteConnection ¶
func (s *Connection) DeleteConnection(req *models.DeleteConnectionReq) *models.BaseResponse
func (*Connection) GetConnectionDetail ¶
func (s *Connection) GetConnectionDetail(req *models.GetConnectionDetailReq) *models.BaseResponse
func (*Connection) GetSavedConnectionList ¶
func (s *Connection) GetSavedConnectionList() *models.BaseResponse
func (*Connection) Init ¶
func (s *Connection) Init() error
func (*Connection) SaveS3Connection ¶
func (s *Connection) SaveS3Connection(req *models.NewConnectionReq) *models.BaseResponse
func (*Connection) ServiceName ¶ added in v1.3.2
func (s *Connection) ServiceName() string
func (*Connection) TestS3Connection ¶
func (s *Connection) TestS3Connection(req *models.NewConnectionReq) *models.BaseResponse
type Object ¶
func NewObjectService ¶
func (*Object) AbortMultipartUpload ¶ added in v1.3.2
func (s *Object) AbortMultipartUpload(req *models.AbortMultipartUploadReq) *models.BaseResponse
func (*Object) CompleteMultipartUpload ¶ added in v1.3.2
func (s *Object) CompleteMultipartUpload(req *models.CompleteMultipartUploadReq) *models.BaseResponse
func (*Object) CreateFolder ¶ added in v1.4.2
func (s *Object) CreateFolder(req *models.CreateFolderReq) *models.BaseResponse
func (*Object) CreateMultipartUpload ¶ added in v1.3.2
func (s *Object) CreateMultipartUpload(req *models.CreateMultipartUploadReq) *models.BaseResponse
func (*Object) DeleteObjects ¶
func (s *Object) DeleteObjects(req *models.DeleteObjectsReq) *models.BaseResponse
func (*Object) DownloadObjects ¶
func (s *Object) DownloadObjects(req *models.DownloadObjectsReq) *models.BaseResponse
func (*Object) ListObjects ¶
func (s *Object) ListObjects(req *models.ListObjectsReq) *models.BaseResponse
func (*Object) PutMultipartUpload ¶ added in v1.3.2
func (s *Object) PutMultipartUpload(fileHeader *multipart.FileHeader, params url.Values) *models.BaseResponse
func (*Object) ServiceName ¶ added in v1.3.2
Click to show internal directories.
Click to hide internal directories.