Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllBuckets ¶
func AllBuckets(info ListApiInfo, handler BucketHandler)
AllBuckets List 所有 bucket
func BucketInfoDetailDescriptionStringFormat ¶ added in v2.9.1
func BucketInfoDetailDescriptionStringFormat() string
Types ¶
type BucketHandler ¶ added in v2.17.0
type BucketHandler func(bucket *BucketInfo, err *data.CodeError)
type BucketInfo ¶
type BucketInfo struct {
Name *data.String `json:"name"`
Tbl *data.String `json:"tbl"`
FileNum *data.Int64 `json:"file_num"`
StorageSize *data.Int64 `json:"storage_size"`
Region *data.String `json:"region"`
}
func (*BucketInfo) BucketName ¶ added in v2.17.0
func (i *BucketInfo) BucketName() string
func (*BucketInfo) DescriptionString ¶
func (i *BucketInfo) DescriptionString() string
func (*BucketInfo) DetailDescriptionString ¶
func (i *BucketInfo) DetailDescriptionString() string
type BucketQuota ¶
type BucketQuota struct {
}
type BucketsResponse ¶ added in v2.17.0
type BucketsResponse struct {
NextMarker string `json:"next_marker"`
IsTruncated bool `json:"is_truncated"`
Buckets []BucketInfo `json:"buckets"`
}
Click to show internal directories.
Click to hide internal directories.