Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for MaxUploads (0.16 sec)

  1. cmd/object-api-multipart_test.go

    		if actualErr == nil && testCase.shouldPass {
    			expectedResult := testCase.expectedResult
    			// Asserting the MaxUploads.
    			if actualResult.MaxUploads != expectedResult.MaxUploads {
    				t.Errorf("Test %d: %s: Expected the MaxUploads to be %d, but instead found it to be %d", i+1, instanceType, expectedResult.MaxUploads, actualResult.MaxUploads)
    			}
    			// Asserting Prefix.
    			if actualResult.Prefix != expectedResult.Prefix {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  2. cmd/bucket-handlers_test.go

    	testCases := []struct {
    		// Inputs to ListMultipartUploads.
    		bucket             string
    		prefix             string
    		keyMarker          string
    		uploadIDMarker     string
    		delimiter          string
    		maxUploads         string
    		accessKey          string
    		secretKey          string
    		expectedRespStatus int
    		shouldPass         bool
    	}{
    		// Test case - 1.
    		// Setting invalid bucket name.
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  3. cmd/api-response.go

    	listMultipartUploadsResponse.NextKeyMarker = s3EncodeName(multipartsInfo.NextKeyMarker, encodingType)
    	listMultipartUploadsResponse.MaxUploads = multipartsInfo.MaxUploads
    	listMultipartUploadsResponse.NextUploadIDMarker = multipartsInfo.NextUploadIDMarker
    	listMultipartUploadsResponse.UploadIDMarker = multipartsInfo.UploadIDMarker
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    func (er erasureObjects) ListMultipartUploads(ctx context.Context, bucket, object, keyMarker, uploadIDMarker, delimiter string, maxUploads int) (result ListMultipartsInfo, err error) {
    	auditObjectErasureSet(ctx, "ListMultipartUploads", object, &er)
    
    	result.MaxUploads = maxUploads
    	result.KeyMarker = keyMarker
    	result.Prefix = object
    	result.Delimiter = delimiter
    
    	var uploadIDs []string
    	var disk StorageAPI
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    	// used for the upload-id-marker request parameter in a subsequent request.
    	NextUploadIDMarker string
    
    	// Maximum number of multipart uploads that could have been included in the
    	// response.
    	MaxUploads int
    
    	// Indicates whether the returned list of multipart uploads is truncated. A
    	// value of true indicates that the list was truncated. The list can be truncated
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. cmd/object-api-datatypes_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "NextUploadIDMarker")
    				return
    			}
    		case "MaxUploads":
    			z.MaxUploads, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "MaxUploads")
    				return
    			}
    		case "IsTruncated":
    			z.IsTruncated, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    	if err := checkListMultipartArgs(ctx, bucket, prefix, keyMarker, uploadIDMarker, delimiter); err != nil {
    		return ListMultipartsInfo{}, err
    	}
    
    	poolResult := ListMultipartsInfo{}
    	poolResult.MaxUploads = maxUploads
    	poolResult.KeyMarker = keyMarker
    	poolResult.Prefix = prefix
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    	// In list multipart uploads we are going to treat input prefix as the object,
    	// this means that we are not supporting directory navigation.
    	set := s.getHashedSet(prefix)
    	return set.ListMultipartUploads(ctx, bucket, prefix, keyMarker, uploadIDMarker, delimiter, maxUploads)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  9. cmd/object-api-interface.go

    	RestoreTransitionedObject(ctx context.Context, bucket, object string, opts ObjectOptions) error
    
    	// Multipart operations.
    	ListMultipartUploads(ctx context.Context, bucket, prefix, keyMarker, uploadIDMarker, delimiter string, maxUploads int) (result ListMultipartsInfo, err error)
    	NewMultipartUpload(ctx context.Context, bucket, object string, opts ObjectOptions) (result *NewMultipartUploadResult, 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)
  10. cmd/bucket-handlers.go

    		return
    	}
    
    	prefix, keyMarker, uploadIDMarker, delimiter, maxUploads, encodingType, errCode := getBucketMultipartResources(r.Form)
    	if errCode != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		return
    	}
    
    	if maxUploads < 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidMaxUploads), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top