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() liberr.Error List() ([]sdkstp.Bucket, liberr.Error) Walk(f WalkFunc) liberr.Error Create(RegionConstraint string) liberr.Error Delete() liberr.Error SetVersioning(state bool) liberr.Error GetVersioning() (string, liberr.Error) LoadReplication() (*sdkstp.ReplicationConfiguration, liberr.Error) EnableReplication(srcRoleARN, dstRoleARN, dstBucketName string) liberr.Error DeleteReplication() liberr.Error PutWebsite(index, error string) liberr.Error GetWebsite() (*sdksss.GetBucketWebsiteOutput, liberr.Error) SetCORS(cors []sdkstp.CORSRule) liberr.Error GetCORS() ([]sdkstp.CORSRule, liberr.Error) GetACL() (*sdkstp.AccessControlPolicy, liberr.Error) SetACL(ACP *sdkstp.AccessControlPolicy, cannedACL sdkstp.BucketCannedACL, header ACLHeaders) liberr.Error SetACLPolicy(ACP *sdkstp.AccessControlPolicy) liberr.Error SetACLHeader(cannedACL sdkstp.BucketCannedACL, header ACLHeaders) liberr.Error GetLifeCycle() ([]sdkstp.LifecycleRule, liberr.Error) SetLifeCycle(rules ...sdkstp.LifecycleRule) liberr.Error }
Click to show internal directories.
Click to hide internal directories.