Documentation ¶
Index ¶
- Variables
- func CreateOSSEndpoint(region string) string
- func DownloadAllObjects(bucketName string, outputPath string, ossLsRegion string, ...)
- func DownloadObjects(bucketName string, objectKey string, outputPath string, ossLsRegion string, ...)
- func PrintBucketsList(region string, lsFlushCache bool, ossLsObjectNumber string, ossLsBucket string)
- func PrintBucketsListHistory(region string, ossLsBucket string)
- func PrintBucketsListRealTime(region string, ossLsObjectNumber string, ossLsBucket string)
- func PrintObjectsList(ossLsObjectNumber string, ossLsBucket string, ossLsRegion string)
- func ReturnBucketList(ossLsBucket string, ossLsRegion string) []string
- type Acl
- type Bucket
- type OSSCollector
- func (o *OSSCollector) GetBucketACL(ossLsBucket string, ossLsRegion string) []Acl
- func (o *OSSCollector) GetBucketRegion(bucketName string) string
- func (o *OSSCollector) ListBuckets(ossLsBucket string, ossLsRegion string) ([]Bucket, error)
- func (o *OSSCollector) ListObjects(bucketName string, ossLsObjectNumber string, ossLsRegion string) ([]Object, []objectContents)
- func (o *OSSCollector) OSSClient(region string) *OSSCollector
- func (o *OSSCollector) ReturnBucket(bucketName string, objectKey string, outputPath string, region string) (*os.File, io.ReadCloser, error, string)
- type Object
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ObjectSize int64 TimestampType = util.ReturnTimestampType("alibaba", "oss") )
Functions ¶
func CreateOSSEndpoint ¶
func DownloadAllObjects ¶
func DownloadObjects ¶
func PrintBucketsList ¶
func PrintBucketsListHistory ¶
func PrintObjectsList ¶
func ReturnBucketList ¶
Types ¶
type OSSCollector ¶
func (*OSSCollector) GetBucketACL ¶
func (o *OSSCollector) GetBucketACL(ossLsBucket string, ossLsRegion string) []Acl
func (*OSSCollector) GetBucketRegion ¶
func (o *OSSCollector) GetBucketRegion(bucketName string) string
func (*OSSCollector) ListBuckets ¶
func (o *OSSCollector) ListBuckets(ossLsBucket string, ossLsRegion string) ([]Bucket, error)
func (*OSSCollector) ListObjects ¶
func (o *OSSCollector) ListObjects(bucketName string, ossLsObjectNumber string, ossLsRegion string) ([]Object, []objectContents)
func (*OSSCollector) OSSClient ¶
func (o *OSSCollector) OSSClient(region string) *OSSCollector
func (*OSSCollector) ReturnBucket ¶
func (o *OSSCollector) ReturnBucket(bucketName string, objectKey string, outputPath string, region string) (*os.File, io.ReadCloser, error, string)
Click to show internal directories.
Click to hide internal directories.