Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for uploadcdn (0.18 sec)

  1. cmd/object-api-multipart_test.go

    				},
    				{
    					Object:   objectNames[0],
    					UploadID: uploadIDs[3],
    				},
    			},
    		},
    		// listMultipartResults - 17.
    		// Testing for listing of 3 uploadID's (uploadIDs[1-3]) for a given object with uploadID Marker set.
    		// uploadIDs[1] is set as UploadMarker, Expecting it to be skipped in the result.
    		// uploadIDs[2] and uploadIDs[3] are expected to be in the result.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes.go

    	UserDefined map[string]string
    
    	// ChecksumAlgorithm if set
    	ChecksumAlgorithm string
    }
    
    // Lookup - returns if uploadID is valid
    func (lm ListMultipartsInfo) Lookup(uploadID string) bool {
    	for _, upload := range lm.Uploads {
    		if upload.UploadID == uploadID {
    			return true
    		}
    	}
    	return false
    }
    
    // ListMultipartsInfo - represents bucket resources for incomplete multipart uploads.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. 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{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K 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
    		router.Methods(http.MethodGet).Path("/{object:.+}").
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  5. cmd/warm-backend-minio.go

    )
    
    // optimalPartInfo - calculate the optimal part info for a given
    // object size.
    //
    // NOTE: Assumption here is that for any object to be uploaded to any S3 compatible
    // object storage it will have the following parameters as constants.
    //
    //	maxPartsCount - 10000
    //	maxMultipartPutObjectSize - 5TiB
    func optimalPartSize(objectSize int64) (partSize int64, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    	opts.Internal.SourceMTime = time.Time{} // this value is saved properly in CompleteMultipartUpload()
    	var uploadID string
    	attempts := 1
    	for attempts <= 3 {
    		nctx, cancel := context.WithTimeout(ctx, time.Minute)
    		uploadID, err = c.NewMultipartUpload(nctx, bucket, object, opts)
    		cancel()
    		if err == nil {
    			break
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  7. cmd/server_test.go

    	err = decoder.Decode(newResponse)
    	c.Assert(err, nil)
    	c.Assert(len(newResponse.UploadID) > 0, true)
    	// uploadID to be used for rest of the multipart operations on the object.
    	uploadID := newResponse.UploadID
    
    	// content for the part to be uploaded.
    	buffer1 := bytes.NewReader([]byte("hello world"))
    	// HTTP request for the part to be uploaded.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  8. cmd/object-api-input-checks.go

    	if err != nil {
    		return MalformedUploadID{
    			UploadID: uploadID,
    		}
    	}
    	return checkObjectArgs(ctx, bucket, object)
    }
    
    // Checks for PutObjectPart arguments validity, also validates if bucket exists.
    func checkPutObjectPartArgs(ctx context.Context, bucket, object, uploadID string) error {
    	return checkMultipartObjectArgs(ctx, bucket, object, uploadID)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. cmd/api-response.go

    	}
    }
    
    // generates InitiateMultipartUploadResponse for given bucket, key and uploadID.
    func generateInitiateMultipartUploadResponse(bucket, key, uploadID string) InitiateMultipartUploadResponse {
    	return InitiateMultipartUploadResponse{
    		Bucket:   bucket,
    		Key:      key,
    		UploadID: uploadID,
    	}
    }
    
    // generates CompleteMultipartUploadResponse for given bucket, key, location and ETag.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  10. cmd/erasure-server-pool.go

    		Object:   object,
    		UploadID: uploadID,
    	}
    }
    
    func (z *erasureServerPools) GetMultipartInfo(ctx context.Context, bucket, object, uploadID string, opts ObjectOptions) (MultipartInfo, error) {
    	if err := checkListPartsArgs(ctx, bucket, object, uploadID); err != nil {
    		return MultipartInfo{}, err
    	}
    
    	if z.SinglePool() {
    		return z.serverPools[0].GetMultipartInfo(ctx, bucket, object, uploadID, opts)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
Back to top