Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for copyDstOpts (0.2 sec)

  1. cmd/object-api-options.go

    	opts.PreserveETag = etag
    	opts.WantChecksum = wantCRC
    
    	return opts, nil
    }
    
    // get ObjectOptions for Copy calls with encryption headers provided on the target side and source side metadata
    func copyDstOpts(ctx context.Context, r *http.Request, bucket, object string, metadata map[string]string) (opts ObjectOptions, err error) {
    	return putOptsFromReq(ctx, r, bucket, object, metadata)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. cmd/object-multipart-handlers.go

    	getOpts := ObjectOptions{VersionID: srcOpts.VersionID}
    	if srcOpts.ServerSideEncryption != nil {
    		getOpts.ServerSideEncryption = encrypt.SSE(srcOpts.ServerSideEncryption)
    	}
    
    	dstOpts, err = copyDstOpts(ctx, r, dstBucket, dstObject, nil)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	getObjectNInfo := objectAPI.GetObjectNInfo
    
    	// Get request range.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    	}
    	getSSE := encrypt.SSE(srcOpts.ServerSideEncryption)
    	if getSSE != srcOpts.ServerSideEncryption {
    		getOpts.ServerSideEncryption = getSSE
    	}
    
    	dstOpts, err = copyDstOpts(ctx, r, dstBucket, dstObject, nil)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top