Documentation
¶
Index ¶
- Constants
- func Timestamp(ts time.Time) string
- type Bucket
- type Buckets
- type CommonPrefixes
- type CompleteMultipartUpload
- type CompleteMultipartUploadPart
- type CompleteMultipartUploadResult
- type Contents
- type CopyObjectResult
- type CopyPartResult
- type CreateBucketConfiguration
- type Delete
- type DeleteError
- type DeleteResult
- type Deleted
- type Error
- type InitiateMultipartUploadResult
- type ListAllMyBucketsResult
- type ListBucketResult
- type ListObjectsOutput
- type ListObjectsV2Output
- type Object
- type Owner
- type Tag
- type TagSet
- type Tagging
- type VersioningConfiguration
Constants ¶
View Source
const (
AWSTimestampFormat = "2006-01-02T15:04:05.000Z"
)
View Source
const (
VersioningResponse = `<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"/>`
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommonPrefixes ¶
type CommonPrefixes struct {
Prefix string `xml:"Prefix"`
}
type CompleteMultipartUpload ¶
type CompleteMultipartUpload struct {
Part []CompleteMultipartUploadPart `xml:"Part"`
}
type CopyObjectResult ¶
type CopyPartResult ¶
type CreateBucketConfiguration ¶
type CreateBucketConfiguration struct {
LocationConstraint string `xml:"LocationConstraint"`
}
type DeleteError ¶
type DeleteResult ¶
type DeleteResult struct {
XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ DeleteResult"`
Deleted []Deleted `xml:"Deleted"`
Error []DeleteError `xml:"Error"`
}
type ListAllMyBucketsResult ¶
type ListBucketResult ¶
type ListBucketResult struct {
Name string `xml:"Name"`
IsTruncated bool `xml:"IsTruncated"`
Prefix string `xml:"Prefix"`
Delimiter string `xml:"Delimiter,omitempty"`
KeyCount int `xml:"KeyCount"`
MaxKeys int `xml:"MaxKeys"`
CommonPrefixes []CommonPrefixes `xml:"CommonPrefixes"`
Marker string `xml:"Marker"`
NextMarker string `xml:"NextMarker,omitempty"`
Contents []Contents `xml:"Contents"`
}
type ListObjectsOutput ¶
type ListObjectsOutput struct {
Name string `xml:"Name"`
IsTruncated bool `xml:"IsTruncated"`
Prefix string `xml:"Prefix"`
Delimiter string `xml:"Delimiter,omitempty"`
KeyCount int `xml:"KeyCount"`
MaxKeys int `xml:"MaxKeys"`
CommonPrefixes []CommonPrefixes `xml:"CommonPrefixes"`
Marker string `xml:"Marker"`
NextMarker string `xml:"NextMarker,omitempty"`
Contents []Contents `xml:"Contents"`
}
type ListObjectsV2Output ¶
type ListObjectsV2Output struct {
XMLName xml.Name `xml:"ListBucketResult"`
Name string `xml:"Name"`
IsTruncated bool `xml:"IsTruncated"`
Prefix string `xml:"Prefix"`
Delimiter string `xml:"Delimiter,omitempty"`
KeyCount int `xml:"KeyCount"`
MaxKeys int `xml:"MaxKeys"`
CommonPrefixes []CommonPrefixes `xml:"CommonPrefixes"`
NextContinuationToken string `xml:"NextContinuationToken,omitempty"`
ContinuationToken string `xml:"ContinuationToken,omitempty"`
Contents []Contents `xml:"Contents"`
}
type VersioningConfiguration ¶
type VersioningConfiguration struct {
Enabled bool `xml:"Enabled,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.