Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NextPartNumberMarker (0.21 sec)

  1. cmd/object-api-multipart_test.go

    			}
    			// Asserting NextPartNumberMarker.
    			if actualResult.NextPartNumberMarker != expectedResult.NextPartNumberMarker {
    				t.Errorf("Test %d: %s: Expected NextPartNumberMarker to be \"%d\", but instead found it to be \"%d\"", i+1, instanceType, expectedResult.NextPartNumberMarker, actualResult.NextPartNumberMarker)
    			}
    			// Asserting PartNumberMarker.
    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/object-api-datatypes.go

    	PartNumberMarker int
    
    	// When a list is truncated, this element specifies the last part in the list,
    	// as well as the value to use for the part-number-marker request parameter
    	// in a subsequent request.
    	NextPartNumberMarker int
    
    	// Maximum number of parts that were allowed in the response.
    	MaxParts int
    
    	// Indicates whether the returned list of parts is truncated.
    	IsTruncated bool
    
    	// List of all parts.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. cmd/api-response.go

    	}
    
    	listPartsResponse.MaxParts = partsInfo.MaxParts
    	listPartsResponse.PartNumberMarker = partsInfo.PartNumberMarker
    	listPartsResponse.IsTruncated = partsInfo.IsTruncated
    	listPartsResponse.NextPartNumberMarker = partsInfo.NextPartNumberMarker
    	listPartsResponse.ChecksumAlgorithm = partsInfo.ChecksumAlgorithm
    
    	listPartsResponse.Parts = make([]Part, len(partsInfo.Parts))
    	for index, part := range partsInfo.Parts {
    		newPart := Part{}
    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/object-api-datatypes_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "PartNumberMarker")
    				return
    			}
    		case "NextPartNumberMarker":
    			z.NextPartNumberMarker, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "NextPartNumberMarker")
    				return
    			}
    		case "MaxParts":
    			z.MaxParts, bts, err = msgp.ReadIntBytes(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)
  5. cmd/erasure-multipart.go

    			break
    		}
    	}
    
    	if len(objParts) > len(result.Parts) {
    		result.IsTruncated = true
    		// Make sure to fill next part number marker if IsTruncated is true for subsequent listing.
    		result.NextPartNumberMarker = result.Parts[len(result.Parts)-1].PartNumber
    	}
    
    	return result, nil
    }
    
    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-handlers.go

    			for i, v := range objInfo.Parts {
    				if v.Number <= opts.PartNumberMarker {
    					continue
    				}
    
    				if len(OA.ObjectParts.Parts) == opts.MaxParts {
    					break
    				}
    
    				OA.ObjectParts.NextPartNumberMarker = v.Number
    				OA.ObjectParts.Parts = append(OA.ObjectParts.Parts, &objectAttributesPart{
    					ChecksumSHA1:   objInfo.Parts[i].Checksums["SHA1"],
    					ChecksumSHA256: objInfo.Parts[i].Checksums["SHA256"],
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top