service

package
v1.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	*base.Service
}

func NewBucketService

func NewBucketService(baseService *base.Service) *Bucket

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) Init

func (s *Bucket) Init() error

func (*Bucket) ListBuckets

func (s *Bucket) ListBuckets(req *models.ListBucketsReq) *models.BaseResponse

func (*Bucket) ServiceName added in v1.3.2

func (s *Bucket) ServiceName() string

type Connection

type Connection struct {
	*base.Service
}

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

type Object struct {
	*base.Service
}

func NewObjectService

func NewObjectService(baseService *base.Service) *Object

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) Init

func (s *Object) Init() error

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

func (s *Object) ServiceName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL