Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetGroup = utils.NewLazyLoader[core.Grouper](func() core.Grouper { return core.NewStaticGroup( core.DescriptorSpec{ Name: "objects", Description: "Object operations for Object Storage API", }, func() []core.Descriptor { return []core.Descriptor{ acl.GetGroup(), getCopy(), getCopyAll(), getDelete(), getDeleteAll(), getDownload(), getDownloadAll(), getHead(), getList(), getMoveDir(), getMove(), object_lock.GetGroup(), getSync(), getUpload(), getUploadDir(), getPresign(), getPublicUrl(), getVersions(), } }, ) })
Functions ¶
Types ¶
type ListObjectVersionsResponse ¶
type ListObjectVersionsResponse struct {
XMLName xml.Name `xml:"ListVersionsResult"`
Text string `xml:",chardata"`
Versions []ObjectVersion `xml:"Version"`
}
type ObjectVersion ¶
type ObjectVersion struct {
Text string `xml:",chardata"`
VersionID string `xml:"VersionId"`
IsLatest bool `xml:"IsLatest"`
Key string `xml:"Key"`
LastModified string `xml:"LastModified"`
ETag string `xml:"ETag"`
Size int64 `xml:"Size"`
Owner common.Owner `xml:"Owner"`
StorageClass string `xml:"StorageClass"`
}
https://docs.aws.amazon.com/AmazonS3/latest/API/API_ObjectVersion.html
type UploadCounter ¶
type UploadCounter struct {
// contains filtered or unexported fields
}
func (*UploadCounter) Increment ¶
func (c *UploadCounter) Increment()
func (*UploadCounter) Value ¶
func (c *UploadCounter) Value() uint64
Source Files
¶
Click to show internal directories.
Click to hide internal directories.