Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NewMultipart (0.21 sec)

  1. cmd/object-handlers_test.go

    // First register the HTTP handler for NewMultipartUpload, then a HTTP request for NewMultipart upload is made.
    // The UploadID from the response body is parsed and its existence is asserted with an attempt to ListParts using it.
    func TestAPINewMultipartHandler(t *testing.T) {
    	defer DetectTestLeak(t)()
    	ExecObjectLayerAPITest(t, testAPINewMultipartHandler, []string{"NewMultipart"})
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	// 4. Abort the first upload.
    	// This will test abort upload when there are more than one upload IDs
    	// and the case where there is only one upload ID.
    
    	// construct HTTP request to initiate a NewMultipart upload.
    	request, err = newTestSignedRequest(http.MethodPost, getNewMultipartURL(s.endPoint, bucketName, objectName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    		er.removePartMeta(bucket, object, uploadID, currentFI.DataDir, curpart.Number)
    
    		if objectPartIndex(fi.Parts, curpart.Number) == -1 {
    			// Delete the missing part files. e.g,
    			// Request 1: NewMultipart
    			// Request 2: PutObjectPart 1
    			// Request 3: PutObjectPart 2
    			// Request 4: CompleteMultipartUpload --part 2
    			// N.B. 1st part is not present. This part should be removed from the storage.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    		case "DeleteMultipleObjects":
    			// Register DeleteMultipleObjects handler.
    			bucket.Methods(http.MethodPost).HandlerFunc(api.DeleteMultipleObjectsHandler).Queries("delete", "")
    		case "NewMultipart":
    			// Register New Multipart upload handler.
    			bucket.Methods(http.MethodPost).Path("/{object:.+}").HandlerFunc(api.NewMultipartUploadHandler).Queries("uploads", "")
    		case "CopyObjectPart":
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
Back to top