MCPcopy Create free account
hub / github.com/apache/mesos / getResourceProviderPath

Function getResourceProviderPath

src/slave/paths.cpp:522–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520
521
522string getResourceProviderPath(
523 const string& metaDir,
524 const SlaveID& slaveId,
525 const string& resourceProviderType,
526 const string& resourceProviderName,
527 const ResourceProviderID& resourceProviderId)
528{
529 return path::join(
530 getSlavePath(metaDir, slaveId),
531 RESOURCE_PROVIDERS_DIR,
532 resourceProviderType,
533 resourceProviderName,
534 stringify(resourceProviderId));
535}
536
537
538string getResourceProviderStatePath(

Calls 3

getSlavePathFunction · 0.85
joinFunction · 0.50
stringifyFunction · 0.50

Tested by

no test coverage detected