Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLHeaders ¶ added in v1.8.3
type Bucket ¶
type Bucket interface { Check() error List() ([]sdkstp.Bucket, error) Walk(f WalkFunc) error Create(RegionConstraint string) error CreateWithLock(RegionConstraint string) error Delete() error SetVersioning(state bool) error GetVersioning() (string, error) LoadReplication() (*sdkstp.ReplicationConfiguration, error) EnableReplication(srcRoleARN, dstRoleARN, dstBucketName string) error DeleteReplication() error PutWebsite(index, error string) error GetWebsite() (*sdksss.GetBucketWebsiteOutput, error) SetCORS(cors []sdkstp.CORSRule) error GetCORS() ([]sdkstp.CORSRule, error) GetACL() (*sdkstp.AccessControlPolicy, error) SetACL(ACP *sdkstp.AccessControlPolicy, cannedACL sdkstp.BucketCannedACL, header ACLHeaders) error SetACLPolicy(ACP *sdkstp.AccessControlPolicy) error SetACLHeader(cannedACL sdkstp.BucketCannedACL, header ACLHeaders) error GetLifeCycle() ([]sdkstp.LifecycleRule, error) SetLifeCycle(rules ...sdkstp.LifecycleRule) error GetLock() (*sdkstp.ObjectLockConfiguration, error) SetLock(cfg sdkstp.ObjectLockConfiguration, token string) error }
Click to show internal directories.
Click to hide internal directories.