Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for maxUploads (0.1 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-resources.go

    	errCode = ErrNone
    
    	if values.Get("max-uploads") != "" {
    		var err error
    		if maxUploads, err = strconv.Atoi(values.Get("max-uploads")); err != nil {
    			errCode = ErrInvalidMaxUploads
    			return
    		}
    	} else {
    		maxUploads = maxUploadsList
    	}
    
    	prefix = values.Get("prefix")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 07 18:25:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top