Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CompletePart (0.07 sec)

  1. cmd/object-handlers_test.go

    	inputParts := []struct {
    		parts []CompletePart
    	}{
    		// inputParts - 0.
    		// Case for replicating ETag mismatch.
    		{
    			[]CompletePart{
    				{ETag: "abcd", PartNumber: 1},
    			},
    		},
    		// inputParts - 1.
    		// should error out with part too small.
    		{
    			[]CompletePart{
    				{ETag: "e2fc714c4727ee9395f324cd2e7f331f", PartNumber: 1},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	}
    	return
    }
    
    func replicateObjectWithMultipart(ctx context.Context, c *minio.Core, bucket, object string, r io.Reader, objInfo ObjectInfo, opts minio.PutObjectOptions) (err error) {
    	var uploadedParts []minio.CompletePart
    	// new multipart must not set mtime as it may lead to erroneous cleanups at various intervals.
    	opts.Internal.SourceMTime = time.Time{} // this value is saved properly in CompleteMultipartUpload()
    	var uploadID string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	response2, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response2.StatusCode, http.StatusOK)
    
    	// Complete multipart upload
    	completeUploads := &CompleteMultipartUpload{
    		Parts: []CompletePart{
    			{
    				PartNumber: 1,
    				ETag:       response1.Header.Get("ETag"),
    			},
    			{
    				PartNumber: 2,
    				ETag:       response2.Header.Get("ETag"),
    			},
    		},
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top