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

Method fetch

src/slave/containerizer/docker.cpp:420–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418
419
420Future<Nothing> DockerContainerizerProcess::fetch(
421 const ContainerID& containerId)
422{
423 CHECK(containers_.contains(containerId));
424 Container* container = containers_.at(containerId);
425
426 return fetcher->fetch(
427 containerId,
428 container->command,
429 container->containerWorkDir,
430 container->containerConfig.has_user() ? container->containerConfig.user()
431 : Option<string>::none());
432}
433
434
435Future<Nothing> DockerContainerizerProcess::pull(

Callers

nothing calls this directly

Calls 4

atMethod · 0.80
userMethod · 0.80
fetchMethod · 0.65
containsMethod · 0.45

Tested by

no test coverage detected