Versions in this module Expand all Collapse all v1 v1.3.19 Jun 6, 2023 v1.3.18 Jun 6, 2023 Changes in this version + const AISRegion + const AISServer + const MaxPartsPerUpload + const QparamACL + const QparamCORS + const QparamContinuationToken + const QparamDelimiter + const QparamLifecycle + const QparamMaxKeys + const QparamMptMaxUploads + const QparamMptPartNo + const QparamMptUploadID + const QparamMptUploadIDMarker + const QparamMptUploads + const QparamMultiDelete + const QparamPolicy + const QparamPrefix + const QparamStartAfter + const QparamVersioning + func AddPart(id string, npart *MptPart) (err error) + func FillMsgFromS3Query(query url.Values, msg *apc.LsoMsg) + func FinishUpload(id, fqn string, aborted bool) (exists bool) + func Init() + func InitUpload(id, bckName, objName string) + func ObjName(items []string) string + func ObjSize(id string) (size int64, err error) + func OffsetSorted(lom *cluster.LOM, partNum int64) (off, size int64, status int, err error) + func ParsePartNum(s string) (partNum int64, err error) + func SetETag(header http.Header, lom *cluster.LOM) + func WriteErr(w http.ResponseWriter, r *http.Request, err error, errCode int) + type BckOwner struct + ID string + Name string + type Bucket struct + Created string + Name string + String string + type CommonPrefix struct + Prefix string + type CompleteMptUpload struct + Parts []*PartInfo + type CompleteMptUploadResult struct + Bucket string + ETag string + Key string + func (r *CompleteMptUploadResult) MustMarshal(sgl *memsys.SGL) + type CopyObjectResult struct + ETag string + LastModified string + func (r *CopyObjectResult) MustMarshal(sgl *memsys.SGL) + type Delete struct + Object []*DeleteObjectInfo + Quiet bool + type DeleteObjectInfo struct + Key string + Version string + type DeleteResult struct + Objs []DeletedObjInfo + func (r *DeleteResult) MustMarshal(sgl *memsys.SGL) + type DeletedObjInfo struct + Key string + type Error struct + Code string + Message string + RequestID string + Resource string + type InitiateMptUploadResult struct + Bucket string + Key string + UploadID string + func (r *InitiateMptUploadResult) MustMarshal(sgl *memsys.SGL) + type ListBucketResult struct + Buckets []*Bucket + Ns string + Owner BckOwner + func NewListBucketResult() (r *ListBucketResult) + func (r *ListBucketResult) Add(bck *meta.Bck) + func (r *ListBucketResult) MustMarshal(sgl *memsys.SGL) + type ListMptUploadsResult struct + Bucket string + IsTruncated bool + MaxUploads int + UploadIDMarker string + Uploads []UploadInfoResult + func ListUploads(bckName, idMarker string, maxUploads int) (result *ListMptUploadsResult) + func (r *ListMptUploadsResult) MustMarshal(sgl *memsys.SGL) + type ListObjectResult struct + CommonPrefixes []*CommonPrefix + Contents []*ObjInfo + ContinuationToken string + IsTruncated bool + KeyCount int + MaxKeys int + Name string + NextContinuationToken string + Ns string + Prefix string + func NewListObjectResult(bucket string) *ListObjectResult + func (r *ListObjectResult) Add(entry *cmn.LsoEntry, lsmsg *apc.LsoMsg) + func (r *ListObjectResult) FillFromAisBckList(bckList *cmn.LsoResult, lsmsg *apc.LsoMsg) + func (r *ListObjectResult) MustMarshal(sgl *memsys.SGL) + type ListPartsResult struct + Bucket string + Key string + Parts []*PartInfo + UploadID string + func (r *ListPartsResult) MustMarshal(sgl *memsys.SGL) + type MptPart struct + FQN string + MD5 string + Num int64 + Size int64 + func CheckParts(id string, parts []*PartInfo) ([]*MptPart, error) + type ObjInfo struct + Class string + ETag string + Key string + LastModified string + Size int64 + type PartInfo struct + ETag string + PartNumber int64 + Size int64 + func ListParts(id string, lom *cluster.LOM) (parts []*PartInfo, err error, errCode int) + type UploadInfoResult struct + Initiated time.Time + Key string + UploadID string + type VersioningConfiguration struct + Status string + func NewVersioningConfiguration(enabled bool) *VersioningConfiguration + func (r *VersioningConfiguration) Enabled() bool + func (r *VersioningConfiguration) MustMarshal(sgl *memsys.SGL)