Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for UploadIdMarker (0.12 sec)

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

    func checkListMultipartArgs(ctx context.Context, bucket, prefix, keyMarker, uploadIDMarker, delimiter string) error {
    	if err := checkListObjsArgs(ctx, bucket, prefix, keyMarker); err != nil {
    		return err
    	}
    	if uploadIDMarker != "" {
    		if HasSuffix(keyMarker, SlashSeparator) {
    			return InvalidUploadIDKeyCombination{
    				UploadIDMarker: uploadIDMarker,
    				KeyMarker:      keyMarker,
    			}
    		}
    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/bucket-handlers_test.go

    	// and success responses.
    	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.
    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

    			return
    		}
    		token = string(decodedToken)
    	}
    	return
    }
    
    // Parse bucket url queries for ?uploads
    func getBucketMultipartResources(values url.Values) (prefix, keyMarker, uploadIDMarker, delimiter string, maxUploads int, encodingType string, errCode APIErrorCode) {
    	errCode = ErrNone
    
    	if values.Get("max-uploads") != "" {
    		var err error
    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/object-api-multipart_test.go

    		// listMultipartResults - 25.
    		// Testing for listing of 3 uploadID's for a given object.
    		// setting `prefix` and uploadIDMarker.
    		// Will be used to list on bucketNames[1].
    		{
    			MaxUploads:     10,
    			KeyMarker:      "minio-object-1.txt",
    			IsTruncated:    false,
    			Prefix:         "min",
    			UploadIDMarker: uploadIDs[1],
    			Uploads: []MultipartInfo{
    				{
    					Object:   objectNames[0],
    					UploadID: uploadIDs[2],
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  5. cmd/api-response.go

    type ListMultipartUploadsResponse struct {
    	XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ ListMultipartUploadsResult" json:"-"`
    
    	Bucket             string
    	KeyMarker          string
    	UploadIDMarker     string `xml:"UploadIdMarker"`
    	NextKeyMarker      string
    	NextUploadIDMarker string `xml:"NextUploadIdMarker"`
    	Delimiter          string `xml:"Delimiter,omitempty"`
    	Prefix             string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    		return uploads[i].Initiated.Before(uploads[j].Initiated)
    	})
    
    	uploadIndex := 0
    	if uploadIDMarker != "" {
    		for uploadIndex < len(uploads) {
    			if uploads[uploadIndex].UploadID != uploadIDMarker {
    				uploadIndex++
    				continue
    			}
    			if uploads[uploadIndex].UploadID == uploadIDMarker {
    				uploadIndex++
    				break
    			}
    			uploadIndex++
    		}
    	}
    	for uploadIndex < len(uploads) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  7. cmd/object-api-errors.go

    // InvalidUploadIDKeyCombination - invalid upload id and key marker combination.
    type InvalidUploadIDKeyCombination struct {
    	UploadIDMarker, KeyMarker string
    }
    
    func (e InvalidUploadIDKeyCombination) Error() string {
    	return fmt.Sprintf("Invalid combination of uploadID marker '%s' and marker '%s'", e.UploadIDMarker, e.KeyMarker)
    }
    
    // BucketPolicyNotFound - no bucket policy found.
    type BucketPolicyNotFound GenericError
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. cmd/object-api-datatypes_gen.go

    			z.KeyMarker, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "KeyMarker")
    				return
    			}
    		case "UploadIDMarker":
    			z.UploadIDMarker, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "UploadIDMarker")
    				return
    			}
    		case "NextKeyMarker":
    			z.NextKeyMarker, bts, err = msgp.ReadStringBytes(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)
  9. cmd/object-api-datatypes.go

    	KeyMarker string
    
    	// Together with key-marker, specifies the multipart upload after which listing
    	// should begin. If key-marker is not specified, the upload-id-marker parameter
    	// is ignored.
    	UploadIDMarker string
    
    	// When a list is truncated, this element specifies the value that should be
    	// used for the key-marker request parameter in a subsequent request.
    	NextKeyMarker string
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. 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)
Back to top