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

Function validateTaskID

src/common/validation.cpp:83–86  ·  view source on GitHub ↗

These IDs are valid as long as they meet the common ID requirements enforced by `validateID()` but we define each of them separately to be clear which IDs are subject to which rules.

Source from the content-addressed store, hash-verified

81// enforced by `validateID()` but we define each of them separately to
82// be clear which IDs are subject to which rules.
83Option<Error> validateTaskID(const TaskID& taskId)
84{
85 return validateID(taskId.value());
86}
87
88
89Option<Error> validateExecutorID(const ExecutorID& executorId)

Callers

nothing calls this directly

Calls 2

validateIDFunction · 0.85
valueMethod · 0.45

Tested by

no test coverage detected