Documentation ¶
Index ¶
- func IsBucketPath(s string) bool
- type BucketManager
- func (bm *BucketManager) BucketDownload(src *BucketPath) ([]byte, error)
- func (bm *BucketManager) BucketDownloadFile(dst string, src *BucketPath) error
- func (bm *BucketManager) BucketUpload(dst *BucketPath, data []byte) error
- func (bm *BucketManager) BucketUploadFile(dst *BucketPath, src string) error
- func (bm *BucketManager) GetBucketIterator(prefix string) (*storage.ObjectIterator, error)
- type BucketPath
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBucketPath ¶
Types ¶
type BucketManager ¶
type BucketManager struct { Bucket string // contains filtered or unexported fields }
func GetBucketManager ¶
func GetBucketManager(bn string) (*BucketManager, error)
func (*BucketManager) BucketDownload ¶
func (bm *BucketManager) BucketDownload(src *BucketPath) ([]byte, error)
func (*BucketManager) BucketDownloadFile ¶
func (bm *BucketManager) BucketDownloadFile(dst string, src *BucketPath) error
func (*BucketManager) BucketUpload ¶
func (bm *BucketManager) BucketUpload(dst *BucketPath, data []byte) error
func (*BucketManager) BucketUploadFile ¶
func (bm *BucketManager) BucketUploadFile(dst *BucketPath, src string) error
func (*BucketManager) GetBucketIterator ¶
func (bm *BucketManager) GetBucketIterator(prefix string) (*storage.ObjectIterator, error)
type BucketPath ¶
func NewBucketPath ¶
func NewBucketPath(s string) (*BucketPath, error)
Click to show internal directories.
Click to hide internal directories.