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

Function initManagementCredentialsMock

tests/unit/management/configuration.js:27–31  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

25} = require('../../../lib/management/index');
26
27function initManagementCredentialsMock(cb) {
28 return metadata.putObjectMD(managementDatabaseName,
29 tokenConfigurationKey, { privateKey }, {},
30 log, error => cb(error));
31}
32
33function getConfig() {
34 return config;

Callers 1

configuration.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected