MCPcopy Create free account
hub / github.com/scality/cloudserver / putLegalHoldReq

Function putLegalHoldReq

tests/unit/api/objectPutLegalHold.js:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 '</LegalHold>';
37
38const putLegalHoldReq = status => ({
39 bucketName,
40 objectKey: objectName,
41 headers: { host: `${bucketName}.s3.amazonaws.com` },
42 post: objectLegalHoldXml(status),
43 actionImplicitDenies: false,
44});
45
46describe('putObjectLegalHold API', () => {
47 before(cleanup);

Callers 1

Calls 1

objectLegalHoldXmlFunction · 0.70

Tested by

no test coverage detected