Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketsInfo ¶
type BucketsInfo struct { XMLName xml.Name `xml:"ListAllMyBucketsResult"` Prefix string `xml:"Prefix"` Marker string `xml:"Marker"` MaxKeys int `xml:"MaxKeys"` IsTruncated bool `xml:"IsTruncated"` NextMarker string `xml:"NextMarker"` Owner Owner `xml:"Owner"` Buckets Buckets `xml:"Buckets"` }
BucketsInfo descripton all buckets' information
func QueryBuckets ¶
func QueryBuckets(prefix, marker string, maxKeys int) (bucketsInfo *BucketsInfo, ossapiError *ossapi.Error)
QueryBuckets will list bucket of a account buckets with prefix will be return if prefix is not "" marker mark the split for return at moste maxKeys will return ,default is 100 @param prefix: bucket's prefix @param marker : marker after it will be return @param maxKeys : at most maxKeys will be return @return bucketsInfo : buckets' info @return ossapiError : nil on success
func QueryBucketsDefault ¶
func QueryBucketsDefault() (bucketsInfo *BucketsInfo, err *ossapi.Error)
QueryBucketsDefault list all buckets with no prefix ,no marker and maxkeys to 100
Click to show internal directories.
Click to hide internal directories.