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

Function getListParams

tests/multipleBackend/multipartUpload.js:126–133  ·  view source on GitHub ↗
(objectKey, uploadId)

Source from the content-addressed store, hash-verified

124}
125
126function getListParams(objectKey, uploadId) {
127 return Object.assign({
128 objectKey,
129 headers: { host: `${bucketName}.s3.amazonaws.com` },
130 url: `/${objectKey}?uploadId=${uploadId}`,
131 query: { uploadId },
132 }, basicParams);
133}
134
135function getAwsParams(objectKey) {
136 return { Bucket: awsBucket, Key: objectKey };

Callers 1

multipartUpload.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected