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

Function getSlave

src/master/validation.cpp:2174–2178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2172
2173
2174Slave* getSlave(Master* master, const SlaveID& slaveId)
2175{
2176 CHECK_NOTNULL(master);
2177 return master->slaves.registered.get(slaveId);
2178}
2179
2180
2181Try<SlaveID> getSlaveId(Master* master, const OfferID& offerId)

Callers 15

foreachFunction · 0.85
addSlaveMethod · 0.85
removeSlaveMethod · 0.85
updateSlaveMethod · 0.85
addResourceProviderMethod · 0.85
activateSlaveMethod · 0.85
deactivateSlaveMethod · 0.85
updateAllocationMethod · 0.85
updateAvailableMethod · 0.85
updateUnavailabilityMethod · 0.85
updateInverseOfferMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected