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

Function parseSproxydConfig

lib/Config.js:114–121  ·  view source on GitHub ↗
(configSproxyd)

Source from the content-addressed store, hash-verified

112}
113
114function parseSproxydConfig(configSproxyd) {
115 const joiSchema = joi.object({
116 bootstrap: joi.array().items(joi.string()).min(1),
117 chordCos: joi.number().integer().min(0).max(6),
118 path: joi.string(),
119 });
120 return joi.attempt(configSproxyd, joiSchema, 'bad config');
121}
122
123function parseRedisConfig(redisConfig) {
124 const joiSchema = joi.object({

Callers 2

_getLocationConfigMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected