Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetMultipartInfo (0.1 sec)

  1. cmd/erasure-sets.go

    	return set.PutObjectPart(ctx, bucket, object, uploadID, partID, data, opts)
    }
    
    // GetMultipartInfo - return multipart metadata info uploaded at hashedSet.
    func (s *erasureSets) GetMultipartInfo(ctx context.Context, bucket, object, uploadID string, opts ObjectOptions) (result MultipartInfo, err error) {
    	set := s.getHashedSet(object)
    	return set.GetMultipartInfo(ctx, bucket, object, uploadID, opts)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  2. cmd/erasure-multipart.go

    		ChecksumSHA256: partInfo.Checksums["SHA256"],
    	}, nil
    }
    
    // GetMultipartInfo returns multipart metadata uploaded during newMultipartUpload, used
    // by callers to verify object states
    // - encrypted
    // - compressed
    // Does not contain currently uploaded parts by design.
    func (er erasureObjects) GetMultipartInfo(ctx context.Context, bucket, object, uploadID string, opts ObjectOptions) (MultipartInfo, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  3. cmd/object-multipart-handlers.go

    		// Write success response.
    		writeSuccessResponseXML(w, encodedSuccessResponse)
    		return
    	}
    
    	actualPartSize = length
    	var reader io.Reader = etag.NewReader(ctx, gr, nil, nil)
    
    	mi, err := objectAPI.GetMultipartInfo(ctx, dstBucket, dstObject, uploadID, dstOpts)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	_, isEncrypted := crypto.IsEncrypted(mi.UserDefined)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  4. cmd/object-api-interface.go

    	PutObjectPart(ctx context.Context, bucket, object, uploadID string, partID int, data *PutObjReader, opts ObjectOptions) (info PartInfo, err error)
    	GetMultipartInfo(ctx context.Context, bucket, object, uploadID string, opts ObjectOptions) (info MultipartInfo, err error)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    	}
    	ctx = lkctx.Context()
    	defer uploadIDLock.RUnlock(lkctx)
    
    	if z.SinglePool() {
    		return z.serverPools[0].GetMultipartInfo(ctx, bucket, object, uploadID, opts)
    	}
    
    	for idx, pool := range z.serverPools {
    		if z.IsSuspended(idx) {
    			continue
    		}
    		mi, err := pool.GetMultipartInfo(ctx, bucket, object, uploadID, opts)
    		if err == nil {
    			return mi, nil
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top