Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 195 for uploader (0.21 sec)

  1. cmd/erasure-multipart.go

    		for uploadIndex < len(uploads) {
    			if uploads[uploadIndex].UploadID != uploadIDMarker {
    				uploadIndex++
    				continue
    			}
    			if uploads[uploadIndex].UploadID == uploadIDMarker {
    				uploadIndex++
    				break
    			}
    			uploadIndex++
    		}
    	}
    	for uploadIndex < len(uploads) {
    		result.Uploads = append(result.Uploads, uploads[uploadIndex])
    		result.NextUploadIDMarker = uploads[uploadIndex].UploadID
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes.go

    }
    
    // Lookup - returns if uploadID is valid
    func (lm ListMultipartsInfo) Lookup(uploadID string) bool {
    	for _, upload := range lm.Uploads {
    		if upload.UploadID == uploadID {
    			return true
    		}
    	}
    	return false
    }
    
    // ListMultipartsInfo - represents bucket resources for incomplete multipart uploads.
    type ListMultipartsInfo struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	// 1. Initiate 2 uploads for the same object
    	// 2. Upload 2 parts for the second upload
    	// 3. Abort the second upload.
    	// 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.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    		// Test Case - 10.
    		// Case with valid UploadID, existing bucket name.
    		// But using the bucket name from which NewMultipartUpload is not constructed from.
    		{bucketName: "unused-bucket", objName: object, uploadID: uploadID, PartID: 1, expectedError: fmt.Errorf("%s", "Invalid upload id "+uploadID)},
    		// Test Case - 11.
    		// Case with valid UploadID, existing bucket name.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    				return
    			}
    			// push the obtained upload ID from the response into the array.
    			testUploads.Lock()
    			testUploads.uploads = append(testUploads.uploads, multipartResponse.UploadID)
    			testUploads.Unlock()
    		}()
    	}
    	// Wait till all go routines finishes execution.
    	wg.Wait()
    	// Validate the upload ID by an attempt to list parts using it.
    	for _, uploadID := range testUploads.uploads {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	queryValues.Set("uploadId", uploadID)
    	queryValues.Set("partNumber", partNumber)
    	return makeTestTargetURL(endPoint, bucketName, objectName, queryValues)
    }
    
    // return URL for aborting multipart upload.
    func getAbortMultipartUploadURL(endPoint, bucketName, objectName, uploadID string) string {
    	queryValue := url.Values{}
    	queryValue.Set("uploadId", uploadID)
    	return makeTestTargetURL(endPoint, bucketName, objectName, queryValue)
    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)
  7. cmd/api-response.go

    		}
    	}
    	listMultipartUploadsResponse.Uploads = make([]Upload, len(multipartsInfo.Uploads))
    	for index, upload := range multipartsInfo.Uploads {
    		newUpload := Upload{}
    		newUpload.UploadID = upload.UploadID
    		newUpload.Key = s3EncodeName(upload.Object, encodingType)
    		newUpload.Initiated = amztime.ISO8601Format(upload.Initiated.UTC())
    		listMultipartUploadsResponse.Uploads[index] = newUpload
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  8. cmd/erasure-server-pool.go

    		Bucket:   bucket,
    		Object:   object,
    		UploadID: uploadID,
    	}
    }
    
    // ListObjectParts - lists all uploaded parts to an object in hashedSet.
    func (z *erasureServerPools) ListObjectParts(ctx context.Context, bucket, object, uploadID string, partNumberMarker int, maxParts int, opts ObjectOptions) (ListPartsInfo, error) {
    	if err := checkListPartsArgs(ctx, bucket, object, uploadID); err != nil {
    		return ListPartsInfo{}, err
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  9. cmd/erasure-healing_test.go

    		t.Fatalf("Failed to make a bucket - %v", err)
    	}
    
    	// Upload a multipart object in the second pool
    	z := objLayer.(*erasureServerPools)
    	set := z.serverPools[1]
    
    	res, err := set.NewMultipartUpload(ctx, bucket, object, opts)
    	if err != nil {
    		t.Fatalf("Failed to create a multipart upload - %v", err)
    	}
    	uploadID := res.UploadID
    
    	var uploadedParts []CompletePart
    	for _, partID := range []int{2, 1} {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  10. internal/etag/etag.go

    // content. However, there are many exceptions to this rule.
    //
    // # Single-part Upload
    //
    // In case of a basic single-part PUT operation - without server
    // side encryption or object compression - the ETag of an object
    // is its content MD5.
    //
    // # Multi-part Upload
    //
    // The ETag of an object does not correspond to its content MD5
    // when the object is uploaded in multiple parts via the S3
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top