Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for partNumbers (0.16 sec)

  1. cmd/object-api-datatypes.go

    	Prefixes []string
    }
    
    // PartInfo - represents individual part metadata.
    type PartInfo struct {
    	// Part number that identifies the part. This is a positive integer between
    	// 1 and 10,000.
    	PartNumber int
    
    	// Date and time at which the part was uploaded.
    	LastModified time.Time
    
    	// Entity tag returned when the part was initially uploaded.
    	ETag string
    
    	// Size in bytes of the part.
    	Size int64
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    func getPutObjectPartURL(endPoint, bucketName, objectName, uploadID, partNumber string) string {
    	queryValues := url.Values{}
    	queryValues.Set("uploadId", uploadID)
    	queryValues.Set("partNumber", partNumber)
    	return makeTestTargetURL(endPoint, bucketName, objectName, queryValues)
    }
    
    func getCopyObjectPartURL(endPoint, bucketName, objectName, uploadID, partNumber string) string {
    	queryValues := url.Values{}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. cmd/erasure-healing_test.go

    		if err1 != nil {
    			t.Fatalf("Failed to upload a part - %v", err1)
    		}
    		uploadedParts = append(uploadedParts, CompletePart{
    			PartNumber: pInfo.PartNumber,
    			ETag:       pInfo.ETag,
    		})
    	}
    
    	_, err = objLayer.CompleteMultipartUpload(ctx, bucket, object, res.UploadID, uploadedParts, ObjectOptions{})
    	if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  4. cmd/api-router.go

    			HandlerFunc(s3APIMiddleware(api.CopyObjectPartHandler)).
    			Queries("partNumber", "{partNumber:.*}", "uploadId", "{uploadId:.*}")
    		// PutObjectPart
    		router.Methods(http.MethodPut).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.PutObjectPartHandler, traceHdrsS3HFlag)).
    			Queries("partNumber", "{partNumber:.*}", "uploadId", "{uploadId:.*}")
    		// ListObjectParts
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. cmd/xl-storage-free-version_test.go

    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    	// Add a version with local content
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. cmd/api-response.go

    	listPartsResponse.ChecksumAlgorithm = partsInfo.ChecksumAlgorithm
    
    	listPartsResponse.Parts = make([]Part, len(partsInfo.Parts))
    	for index, part := range partsInfo.Parts {
    		newPart := Part{}
    		newPart.PartNumber = part.PartNumber
    		newPart.ETag = "\"" + part.ETag + "\""
    		newPart.Size = part.Size
    		newPart.LastModified = amztime.ISO8601Format(part.LastModified.UTC())
    		newPart.ChecksumCRC32 = part.ChecksumCRC32
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 25 02:13:19 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  7. cmd/object-handlers-common.go

    	if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) {
    		return false
    	}
    
    	// Check if the part number is correct.
    	if opts.PartNumber > 1 {
    		partFound := false
    		for _, pi := range objInfo.Parts {
    			if pi.Number == opts.PartNumber {
    				partFound = true
    				break
    			}
    		}
    		if !partFound {
    			// According to S3 we don't need to set any object information here.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. internal/http/headers.go

    	MinIOCompressed = "X-Minio-Compressed"
    
    	// SUBNET related
    	SubnetAPIKey = "x-subnet-api-key"
    )
    
    // Common http query params S3 API
    const (
    	VersionID = "versionId"
    
    	PartNumber = "partNumber"
    
    	UploadID = "uploadId"
    )
    
    // http headers sent to webhook targets
    const (
    	// Reports the version of MinIO server
    	MinIOVersion             = "x-minio-version"
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-utils_test.go

    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    	xl := xlMetaV2{}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. cmd/object-api-putobject_test.go

    	if err != nil {
    		// Failed to upload object part, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	// Complete multipart.
    	parts := []CompletePart{
    		{ETag: etag1, PartNumber: 1},
    		{ETag: etag2, PartNumber: 2},
    	}
    	_, err = obj.CompleteMultipartUpload(context.Background(), bucket, object, uploadID, parts, ObjectOptions{})
    	if err != nil {
    		// Failed to complete multipart upload, abort.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top