Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for MaxKeys (0.08 sec)

  1. cmd/api-response.go

    	data.EncodingType = encodingType
    	data.Prefix = s3EncodeName(prefix, encodingType)
    	data.KeyMarker = s3EncodeName(marker, encodingType)
    	data.Delimiter = s3EncodeName(delimiter, encodingType)
    	data.MaxKeys = maxKeys
    
    	data.NextKeyMarker = s3EncodeName(resp.NextMarker, encodingType)
    	data.NextVersionIDMarker = resp.NextVersionIDMarker
    	data.VersionIDMarker = versionIDMarker
    	data.IsTruncated = resp.IsTruncated
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 25 02:13:19 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  2. cmd/bucket-listobjects-handlers.go

    //   - marker if set should have a common prefix with 'prefix' param, otherwise
    //     the request is rejected.
    func validateListObjectsArgs(prefix, marker, delimiter, encodingType string, maxKeys int) APIErrorCode {
    	// Max keys cannot be negative.
    	if maxKeys < 0 {
    		return ErrInvalidMaxKeys
    	}
    
    	if encodingType != "" {
    		// AWS S3 spec only supports 'url' encoding type
    		if !strings.EqualFold(encodingType, "url") {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    					testCase.prefix, "marker:", testCase.marker, "delimiter:",
    					testCase.delimiter, "maxkeys:", testCase.maxKeys)
    
    				resultV, err = obj.ListObjectVersions(context.Background(), testCase.bucketName,
    					testCase.prefix, testCase.marker, "", testCase.delimiter, testCase.maxKeys)
    			} else {
    				t.Log("ListObjects, bucket:", testCase.bucketName, "prefix:",
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    	}
    	return loi, nil
    }
    
    func maxKeysPlusOne(maxKeys int, addOne bool) int {
    	if maxKeys < 0 || maxKeys > maxObjectList {
    		maxKeys = maxObjectList
    	}
    	if addOne {
    		maxKeys++
    	}
    	return maxKeys
    }
    
    func (z *erasureServerPools) listObjectsGeneric(ctx context.Context, bucket, prefix, marker, delimiter string, maxKeys int, v1 bool) (loi ListObjectsInfo, err error) {
    	opts := listPathOptions{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  5. cmd/server_test.go

    				"<Prefix>pfx2/c</Prefix><KeyCount>1</KeyCount><MaxKeys>2</MaxKeys><Delimiter>/</Delimiter><IsTruncated>false</IsTruncated><CommonPrefixes><Prefix>pfx2/c/</Prefix></CommonPrefixes>",
    			},
    			"",
    		},
    
    		{
    			getListObjectsV2URL(s.endPoint, bucketName, "pfx2/c", "2", "true", "", "/"),
    			[]string{
    				"<Prefix>pfx2/c</Prefix><KeyCount>1</KeyCount><MaxKeys>2</MaxKeys><Delimiter>/</Delimiter><IsTruncated>false</IsTruncated>",
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  6. cmd/object-api-interface.go

    	ListObjects(ctx context.Context, bucket, prefix, marker, delimiter string, maxKeys int) (result ListObjectsInfo, err error)
    	ListObjectsV2(ctx context.Context, bucket, prefix, continuationToken, delimiter string, maxKeys int, fetchOwner bool, startAfter string) (result ListObjectsV2Info, err error)
    	ListObjectVersions(ctx context.Context, bucket, prefix, marker, versionMarker, delimiter string, maxKeys int) (result ListObjectVersionsInfo, err error)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. cmd/object-api-multipart_test.go

    		// MaxKeys set to values lesser than the number of entries in the MultipartInfo.
    		// IsTruncated is expected to be true.
    		{bucketNames[1], "", "", "", "", 2, listMultipartResults[18], nil, true},
    		{bucketNames[1], "", "", "", "", 1, listMultipartResults[19], nil, true},
    		// MaxKeys set to the value which is equal to no of entries in the MultipartInfo (Test number 33).
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    }
    
    // return URL for listing objects in the bucket with V1 legacy API.
    func getListObjectsV1URL(endPoint, bucketName, prefix, maxKeys, encodingType string) string {
    	queryValue := url.Values{}
    	if maxKeys != "" {
    		queryValue.Set("max-keys", maxKeys)
    	}
    	if encodingType != "" {
    		queryValue.Set("encoding-type", encodingType)
    	}
    	return makeTestTargetURL(endPoint, bucketName, prefix, queryValue)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  9. cmd/s3-zip-handlers.go

    func listObjectsV2InArchive(ctx context.Context, objectAPI ObjectLayer, bucket, prefix, token, delimiter string, maxKeys int, startAfter string, h http.Header) (ListObjectsV2Info, error) {
    	zipPath, _, err := splitZipExtensionPath(prefix)
    	if err != nil {
    		// Return empty listing
    		return ListObjectsV2Info{}, nil
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    		Description:    "Argument max-uploads must be an integer between 0 and 2147483647",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidMaxKeys: {
    		Code:           "InvalidArgument",
    		Description:    "Argument maxKeys must be an integer between 0 and 2147483647",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidEncodingMethod: {
    		Code:           "InvalidArgument",
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (1)
Back to top