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

Function _getMemConfig

tests/functional/aws-node-sdk/test/support/config.js:72–82  ·  view source on GitHub ↗
(profile, config)

Source from the content-addressed store, hash-verified

70}
71
72function _getMemConfig(profile, config) {
73 const credentials = _getMemCredentials(profile);
74
75 const memConfig = Object.assign({}, DEFAULT_GLOBAL_OPTIONS, DEFAULT_MEM_OPTIONS, { credentials }, config);
76
77 if (process.env.IP) {
78 memConfig.endpoint = `${transport}://${process.env.IP}:8000`;
79 }
80
81 return memConfig;
82}
83
84function _getAwsConfig(profile, config) {
85 const credentials = getAwsCredentials(profile);

Callers 1

getConfigFunction · 0.85

Calls 1

_getMemCredentialsFunction · 0.85

Tested by

no test coverage detected