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

Function foreach

src/master/validation.cpp:343–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341 }
342
343 foreach (const Resource& resource, message.checkpointed_resources()) {
344 error = Resources::validate(resource);
345 if (error.isSome()) {
346 return error.get();
347 }
348 }
349
350 return None();
351}

Callers 1

validateOfferFiltersFunction · 0.70

Calls 15

validateIDFunction · 0.85
validateTaskFunction · 0.85
getOfferFunction · 0.85
getInverseOfferFunction · 0.85
getFrameworkIdFunction · 0.85
getSlaveIdFunction · 0.85
getSlaveFunction · 0.85
frameworkHasCapabilityFunction · 0.85
insertMethod · 0.80
executorMethod · 0.80
principalMethod · 0.80
validateFunction · 0.70

Tested by

no test coverage detected