Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListObjects ¶
func ListObjects(ctx context.Context, opts ListObjectsOptions) (contents []ListBucketContent, prefixes []ListBucketCommonPrefix, err error)
ListObjects list objects from s3 compatible storage
Types ¶
type ListBucketCommonPrefix ¶
type ListBucketCommonPrefix struct {
Prefix string `xml:"Prefix"`
}
type ListBucketContent ¶
type ListBucketResult ¶
type ListBucketResult struct { XMLName xml.Name `xml:"ListBucketResult"` Name string `xml:"Name"` Prefix string `xml:"Prefix"` Marker string `xml:"Marker"` NextMarker string `xml:"NextMarker"` IsTruncated bool `xml:"IsTruncated"` Contents []ListBucketContent `xml:"Contents"` CommonPrefixes []ListBucketCommonPrefix `xml:"CommonPrefixes"` }
Click to show internal directories.
Click to hide internal directories.