MCPcopy Index your code
hub / github.com/scality/cloudserver / newPutIngestBucketRequest

Function newPutIngestBucketRequest

tests/unit/api/objectCopy.js:500–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498 });
499
500 const newPutIngestBucketRequest = location => new DummyRequest({
501 bucketName: destBucketName,
502 namespace,
503 headers: { host: `${destBucketName}.s3.amazonaws.com` },
504 url: '/',
505 post: '<?xml version="1.0" encoding="UTF-8"?>' +
506 '<CreateBucketConfiguration ' +
507 'xmlns="http://s3.amazonaws.com/doc/2006-03-01/">' +
508 `<LocationConstraint>${location}</LocationConstraint>` +
509 '</CreateBucketConfiguration>',
510 });
511 const putSourceObjectRequest = versioningTestUtils.createPutObjectRequest(
512 sourceBucketName, objectKey, objData[0]);
513 const newPutObjectRequest = params => {

Callers 1

objectCopy.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected