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

Function validateCommandInfo

src/common/validation.cpp:207–210  ·  view source on GitHub ↗

TODO(greggomann): Do more than just validate the `Environment`.

Source from the content-addressed store, hash-verified

205
206// TODO(greggomann): Do more than just validate the `Environment`.
207Option<Error> validateCommandInfo(const CommandInfo& command)
208{
209 return validateEnvironment(command.environment());
210}
211
212
213Option<Error> validateVolume(const Volume& volume)

Callers 3

validateHealthCheckFunction · 0.70
validateCheckInfoFunction · 0.70
validateFunction · 0.50

Calls 1

validateEnvironmentFunction · 0.85

Tested by

no test coverage detected