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

Function isStandaloneContainer

src/slave/containerizer/mesos/paths.cpp:341–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339
340
341bool isStandaloneContainer(
342 const string& runtimeDir,
343 const ContainerID& containerId)
344{
345 const string path = getStandaloneContainerMarkerPath(runtimeDir, containerId);
346
347 return os::exists(path);
348}
349
350
351Result<ContainerConfig> getContainerConfig(

Callers 4

foreachFunction · 0.85
foreachFunction · 0.85
isSupportedByIsolatorMethod · 0.85
prepareMethod · 0.85

Calls 2

existsFunction · 0.50

Tested by

no test coverage detected