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

Method setReplicationEndpoints

lib/Config.js:2102–2106  ·  view source on GitHub ↗
(locationConstraints)

Source from the content-addressed store, hash-verified

2100 }
2101
2102 setReplicationEndpoints(locationConstraints) {
2103 this.replicationEndpoints =
2104 Object.keys(locationConstraints)
2105 .map(key => ({ site: key, type: locationConstraints[key].type }));
2106 }
2107
2108 getAzureEndpoint(locationConstraint) {
2109 let azureStorageEndpoint =

Callers 2

patchConfigurationFunction · 0.80
reportHandler.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected