Documentation ¶
Index ¶
- Variables
- type AbortIncompleteMultipartUpload
- type Bucket
- type CompleteMultipartUpload
- type CompleteMultipartUploadResult
- type CompletedParts
- type CreateBucketConfiguration
- type Expiration
- type Filter
- type InitiateMultipartUploadResult
- type LifecycleConfiguration
- type ListAllMyBucketsResult
- type ListPartsOutput
- type ListStorageClasses
- type Owner
- type Part
- type Restore
- type Rule
- type SSEConfiguration
- type StorageClass
- type Transition
- type UploadPartResult
- type VersioningConfiguration
Constants ¶
This section is empty.
Variables ¶
View Source
var Xmlns = "http://s3.amazonaws.com/doc/2006-03-01"
Functions ¶
This section is empty.
Types ¶
type AbortIncompleteMultipartUpload ¶ added in v0.5.3
type AbortIncompleteMultipartUpload struct {
DaysAfterInitiation int32 `xml:"DaysAfterInitiation"`
}
type Bucket ¶
type Bucket struct { Name string `xml:"Name"` CreateTime string `xml:"CreateTime"` LocationConstraint string `xml:"LocationConstraint"` VersionOpts VersioningConfiguration SSEOpts SSEConfiguration }
type CompleteMultipartUpload ¶
type CompletedParts ¶ added in v0.6.3
type CompletedParts []Part
completedParts - is a collection satisfying sort.Interface.
func (CompletedParts) Len ¶ added in v0.6.3
func (a CompletedParts) Len() int
func (CompletedParts) Less ¶ added in v0.6.3
func (a CompletedParts) Less(i, j int) bool
func (CompletedParts) Swap ¶ added in v0.6.3
func (a CompletedParts) Swap(i, j int)
type CreateBucketConfiguration ¶
type CreateBucketConfiguration struct { Xmlns string `xml:"xmlns,attr"` LocationConstraint string `xml:"LocationConstraint"` SSEOpts SSEConfiguration }
type Expiration ¶ added in v0.5.3
type Expiration struct {
Days int32 `xml:"Days"`
}
type LifecycleConfiguration ¶ added in v0.5.3
type LifecycleConfiguration struct {
Rule []Rule `xml:"Rule"`
}
type ListAllMyBucketsResult ¶
type ListPartsOutput ¶
type ListStorageClasses ¶ added in v0.5.2
type ListStorageClasses struct { Xmlns string `xml:"xmlns,attr"` Classes []StorageClass `xml:"Class"` }
type Rule ¶ added in v0.5.3
type Rule struct { ID string `xml:"ID"` Filter *Filter `xml:"Filter,omitempty"` Status string `xml:"Status"` Transition []Transition `xml:"Transition,omitempty"` Expiration []Expiration `xml:"Expiration,omitempty"` AbortIncompleteMultipartUpload *AbortIncompleteMultipartUpload `xml:"AbortIncompleteMultipartUpload,omitempty"` }
type SSEConfiguration ¶ added in v0.6.3
type SSEConfiguration struct { XMLName xml.Name `xml:"SSEConfiguration"` Text string `xml:",chardata"` SSE struct { Text string `xml:",chardata"` Enabled string `xml:"enabled"` } `xml:"SSE"` SSEKMS struct { Text string `xml:",chardata"` Enabled string `xml:"enabled"` DefaultKMSMasterKey string `xml:"DefaultKMSMasterKey"` } `xml:"SSE-KMS"` }
type StorageClass ¶ added in v0.5.2
type Transition ¶ added in v0.5.3
type UploadPartResult ¶
type UploadPartResult struct { Xmlns string `xml:"xmlns,attr"` PartNumber int64 `xml:"PartNumber"` ETag string `xml:"ETag"` }
PartNumber should be between 1 and 10000. Please refer to https://docs.aws.amazon.com/zh_cn/AmazonS3/latest/dev/qfacts.html
type VersioningConfiguration ¶ added in v0.6.3
Click to show internal directories.
Click to hide internal directories.