Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ListMultipartUploads (0.14 sec)

  1. cmd/object-api-input-checks.go

    	// Validates object prefix validity after bucket exists.
    	if !IsValidObjectPrefix(prefix) {
    		return ObjectNameInvalid{
    			Bucket: bucket,
    			Object: prefix,
    		}
    	}
    	return nil
    }
    
    // Checks for all ListMultipartUploads arguments validity.
    func checkListMultipartArgs(ctx context.Context, bucket, prefix, keyMarker, uploadIDMarker, delimiter string) error {
    	if err := checkListObjsArgs(ctx, bucket, prefix, keyMarker); err != nil {
    		return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    		},
    	}
    
    	// Collection of non-exhaustive ListMultipartUploads test cases, valid errors
    	// and success responses.
    	testCases := []struct {
    		// Inputs to ListMultipartUploads.
    		bucket         string
    		prefix         string
    		keyMarker      string
    		uploadIDMarker string
    		delimiter      string
    		maxUploads     int
    		// Expected output of ListMultipartUploads.
    		expectedResult ListMultipartsInfo
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  3. cmd/bucket-handlers_test.go

    }
    
    // testListMultipartUploadsHandler - Tests validate listing of multipart uploads.
    func testListMultipartUploadsHandler(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    	// Collection of non-exhaustive ListMultipartUploads test cases, valid errors
    	// and success responses.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    			}
    			wait()
    			return nil
    		})
    	})
    }
    
    // ListMultipartUploads - lists all the pending multipart
    // uploads for a particular object in a bucket.
    //
    // Implements minimal S3 compatible ListMultipartUploads API. We do
    // not support prefix based listing, this is a deliberate attempt
    // towards simplification of multipart APIs.
    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/api-router.go

    			Queries("website", "")
    		// DeleteBucketTaggingHandler
    		router.Methods(http.MethodDelete).
    			HandlerFunc(s3APIMiddleware(api.DeleteBucketTaggingHandler)).
    			Queries("tagging", "")
    
    		// ListMultipartUploads
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.ListMultipartUploadsHandler)).
    			Queries("uploads", "")
    		// ListObjectsV2M
    		router.Methods(http.MethodGet).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. cmd/erasure-sets.go

    }
    
    func (s *erasureSets) ListMultipartUploads(ctx context.Context, bucket, prefix, keyMarker, uploadIDMarker, delimiter string, maxUploads int) (result ListMultipartsInfo, err error) {
    	// 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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  7. cmd/erasure-server-pool.go

    		})
    		return poolResult, nil
    	}
    
    	if z.SinglePool() {
    		return z.serverPools[0].ListMultipartUploads(ctx, bucket, prefix, keyMarker, uploadIDMarker, delimiter, maxUploads)
    	}
    
    	for idx, pool := range z.serverPools {
    		if z.IsSuspended(idx) {
    			continue
    		}
    		result, err := pool.ListMultipartUploads(ctx, bucket, prefix, keyMarker, uploadIDMarker,
    			delimiter, maxUploads)
    		if err != 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)
  8. cmd/object-api-interface.go

    	TransitionObject(ctx context.Context, bucket, object string, opts ObjectOptions) error
    	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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    // completed or aborted. This operation returns at most 1,000 multipart
    // uploads in the response.
    func (api objectAPIHandlers) ListMultipartUploadsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListMultipartUploads")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    			// Register ListObjectParts handler.
    			bucket.Methods(http.MethodGet).Path("/{object:.+}").HandlerFunc(api.ListObjectPartsHandler).Queries("uploadId", "{uploadId:.*}")
    		case "ListMultipartUploads":
    			// Register ListMultipartUploads handler.
    			bucket.Methods(http.MethodGet).HandlerFunc(api.ListMultipartUploadsHandler).Queries("uploads", "")
    		case "CompleteMultipart":
    			// Register Complete Multipart Upload handler.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top