Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for CopyObject (0.25 sec)

  1. cmd/erasure-sets.go

    				delObjects[obj.origIndex] = dobjects[i]
    			}
    		}(s.sets[setIdx], objsGroup)
    	}
    	wg.Wait()
    
    	return delObjects, delErrs
    }
    
    // CopyObject - copies objects from one hashedSet to another hashedSet, on server side.
    func (s *erasureSets) CopyObject(ctx context.Context, srcBucket, srcObject, dstBucket, dstObject string, srcInfo ObjectInfo, srcOpts, dstOpts ObjectOptions) (objInfo ObjectInfo, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  2. cmd/test-utils_test.go

    		case "DeleteObject":
    			// Register Delete Object handler.
    			bucket.Methods(http.MethodDelete).Path("/{object:.+}").HandlerFunc(api.DeleteObjectHandler)
    		case "CopyObject":
    			// Register Copy Object  handler.
    			bucket.Methods(http.MethodPut).Path("/{object:.+}").HeadersRegexp("X-Amz-Copy-Source", ".*?(\\/|%2F).*?").HandlerFunc(api.CopyObjectHandler)
    		case "PutBucketPolicy":
    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)
  3. cmd/bucket-replication.go

    			ondiskTimestamp, err := time.Parse(time.RFC3339, lholdTmStr)
    			if err == nil {
    				dstOpts.Internal.LegalholdTimestamp = ondiskTimestamp
    			}
    		}
    		if _, rinfo.Err = c.CopyObject(ctx, tgt.Bucket, object, tgt.Bucket, object, getCopyObjMetadata(objInfo, tgt.StorageClass), srcOpts, dstOpts); rinfo.Err != nil {
    			rinfo.ReplicationStatus = replication.Failed
    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)
  4. cmd/object-api-interface.go

    	PutObject(ctx context.Context, bucket, object string, data *PutObjReader, opts ObjectOptions) (objInfo ObjectInfo, err error)
    	CopyObject(ctx context.Context, srcBucket, srcObject, destBucket, destObject string, srcInfo ObjectInfo, srcOpts, dstOpts ObjectOptions) (objInfo ObjectInfo, err error)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common.go

    	}
    
    	erasureDistributionReliable := true
    	if inconsistent > len(partsMetadata)/2 {
    		// If there are too many inconsistent files, then we can't trust erasure.Distribution (most likely
    		// because of bugs found in CopyObject/PutObjectTags) https://github.com/minio/minio/pull/10772
    		erasureDistributionReliable = false
    	}
    
    	for i, onlineDisk := range onlineDisks {
    		if errs[i] != nil {
    			dataErrs[i] = errs[i]
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  6. cmd/generic-handlers.go

    		}
    
    		// MakeBucket requests should be handled at current endpoint
    		if r.Method == http.MethodPut && bucket != "" && object == "" && r.URL.RawQuery == "" {
    			h.ServeHTTP(w, r)
    			return
    		}
    
    		// CopyObject requests should be handled at current endpoint as path style
    		// requests have target bucket and object in URI and source details are in
    		// header fields
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    }
    
    // The []journal contains all the different versions of the object.
    //
    // This array can have 3 kinds of objects:
    //
    // ``object``: If the object is uploaded the usual way: putobject, multipart-put, copyobject
    //
    // ``delete``: This is the delete-marker
    //
    // ``legacyObject``: This is the legacy object in xlV1 format, preserved until its overwritten
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  8. cmd/object-handlers_test.go

    func TestAPICopyObjectHandler(t *testing.T) {
    	defer DetectTestLeak(t)()
    	ExecExtendedObjectLayerAPITest(t, testAPICopyObjectHandler, []string{"CopyObject"})
    }
    
    func testAPICopyObjectHandler(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top