Documentation
¶
Index ¶
- func AbortMultipartUpload(c *config.CloudCredentials, bucketName string) error
- func AddBucketTags(c *config.CloudCredentials, bucketName string, tags []obs.Tag) error
- func CheckBucketExist(c *config.CloudCredentials, bucketName string) (bool, error)
- func CleanBucket(c *config.CloudCredentials, bucketName string) error
- func CreateBucket(c *config.CloudCredentials, bucketName string, acl obs.AclType) error
- func DeleteBucket(c *config.CloudCredentials, bucketName string) error
- func DeleteObjects(c *config.CloudCredentials, bucketName string) error
- func GetBucketCapacity(c *config.CloudCredentials, bucketName string) (int64, error)
- func GetBucketMetadata(c *config.CloudCredentials, bucketName string) (*obs.GetBucketMetadataOutput, error)
- func GetBucketStorage(c *config.CloudCredentials, bucketName string) (int64, int, error)
- func IsParallelFSBucket(FSStatus obs.FSStatusType) bool
- func ListBucketTags(c *config.CloudCredentials, bucketName string) ([]obs.Tag, error)
- func ListMultipartUploads(c *config.CloudCredentials, bucketName string) (*obs.ListMultipartUploadsOutput, error)
- func ListObjects(c *config.CloudCredentials, bucketName string, maxKeys int) (*obs.ListObjectsOutput, error)
- func SetBucketCapacity(c *config.CloudCredentials, bucketName string, capacity int64) error
- type Bucket
- type ListOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbortMultipartUpload ¶
func AbortMultipartUpload(c *config.CloudCredentials, bucketName string) error
func AddBucketTags ¶
func CheckBucketExist ¶
func CheckBucketExist(c *config.CloudCredentials, bucketName string) (bool, error)
func CleanBucket ¶
func CleanBucket(c *config.CloudCredentials, bucketName string) error
func CreateBucket ¶
func DeleteBucket ¶
func DeleteBucket(c *config.CloudCredentials, bucketName string) error
func DeleteObjects ¶
func DeleteObjects(c *config.CloudCredentials, bucketName string) error
func GetBucketCapacity ¶
func GetBucketCapacity(c *config.CloudCredentials, bucketName string) (int64, error)
func GetBucketMetadata ¶
func GetBucketMetadata(c *config.CloudCredentials, bucketName string) (*obs.GetBucketMetadataOutput, error)
func GetBucketStorage ¶
func IsParallelFSBucket ¶
func IsParallelFSBucket(FSStatus obs.FSStatusType) bool
func ListBucketTags ¶
func ListMultipartUploads ¶
func ListMultipartUploads(c *config.CloudCredentials, bucketName string) (*obs.ListMultipartUploadsOutput, error)
func ListObjects ¶
func ListObjects(c *config.CloudCredentials, bucketName string, maxKeys int) (*obs.ListObjectsOutput, error)
func SetBucketCapacity ¶
func SetBucketCapacity(c *config.CloudCredentials, bucketName string, capacity int64) error
Types ¶
type Bucket ¶
type Bucket struct { BucketName string Region string AZRedundancy string EnterpriseProjectID string Capacity int64 }
func GetParallelFSBucket ¶
func GetParallelFSBucket(c *config.CloudCredentials, bucketName string) (*Bucket, error)
func ListBuckets ¶
func ListBuckets(c *config.CloudCredentials, opts ListOpts) ([]*Bucket, error)
Click to show internal directories.
Click to hide internal directories.