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

Function gcpRetry

tests/functional/raw-node/utils/gcpUtils.js:46–53  ·  view source on GitHub ↗
(gcpClient, command, retryOptions, cb)

Source from the content-addressed store, hash-verified

44}
45
46async function gcpRetry(gcpClient, command, retryOptions, cb) {
47 if (cb) {
48 return callbackify(() => gcpRetry(gcpClient, command,
49 retryOptions))(cb);
50 }
51
52 return gcpRetryCall(() => gcpClient.send(command), retryOptions);
53}
54
55const defaultShouldRetryUpload = err => err && (
56 err.name === 'NoSuchBucket'

Callers 9

waitForBucketReadyFunction · 0.85
bucket.jsFile · 0.85
versioning.jsFile · 0.85
upload.jsFile · 0.85
tagging.jsFile · 0.85
deleteMpu.jsFile · 0.85
initiateMpu.jsFile · 0.85
object.jsFile · 0.85
completeMpu.jsFile · 0.85

Calls 2

gcpRetryCallFunction · 0.85
sendMethod · 0.80

Tested by

no test coverage detected