Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
OSSCacheFilePath = cmdutil.ReturnOSSCacheFile()
)
Functions ¶
func CreateOSSEndpoint ¶
func PrintBucketsList ¶
func PrintBucketsListHistory ¶
func PrintBucketsListHistory(region string)
func PrintBucketsListRealTime ¶
func PrintBucketsListRealTime(region string)
Types ¶
type OSSCollector ¶
type OSSCollector struct { Conf cloud.Credential Client *oss.Client }
func (*OSSCollector) GetBucketACL ¶
func (o *OSSCollector) GetBucketACL() []Acl
func (*OSSCollector) ListBuckets ¶
func (o *OSSCollector) ListBuckets() ([]Bucket, error)
func (*OSSCollector) ListObjects ¶
func (o *OSSCollector) ListObjects() []Object
func (*OSSCollector) OSSClient ¶
func (o *OSSCollector) OSSClient(region string) *OSSCollector
Click to show internal directories.
Click to hide internal directories.