MCPcopy
hub / github.com/scality/cloudserver / templateRequest

Function templateRequest

tests/unit/utils/bucketEncryption.js:27–34  ·  view source on GitHub ↗
(bucketName, { post })

Source from the content-addressed store, hash-verified

25}
26
27function templateRequest(bucketName, { post }) {
28 return {
29 bucketName,
30 headers: { host: `${bucketName}.s3.amazonaws.com` },
31 post,
32 actionImplicitDenies: false,
33 };
34}
35
36function getSSEConfig(bucketName, log, cb) {
37 return metadata.getBucket(bucketName, log, (err, md) => {

Callers 3

bucketDelete.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected