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

Method _launch

src/tests/mock_docker.hpp:179–190  ·  view source on GitHub ↗

Default 'launch' implementation (necessary because we can't just use &slave::DockerContainerizer::launch with 'Invoke').

Source from the content-addressed store, hash-verified

177 // Default 'launch' implementation (necessary because we can't just
178 // use &slave::DockerContainerizer::launch with 'Invoke').
179 process::Future<slave::Containerizer::LaunchResult> _launch(
180 const ContainerID& containerId,
181 const mesos::slave::ContainerConfig& containerConfig,
182 const std::map<std::string, std::string>& environment,
183 const Option<std::string>& pidCheckpointPath)
184 {
185 return slave::DockerContainerizer::launch(
186 containerId,
187 containerConfig,
188 environment,
189 pidCheckpointPath);
190 }
191
192 process::Future<Nothing> _update(
193 const ContainerID& containerId,

Callers

nothing calls this directly

Calls 1

launchFunction · 0.50

Tested by

no test coverage detected