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

Method status

src/master/quota_handler.cpp:324–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322
323
324Future<http::Response> Master::QuotaHandler::status(
325 const mesos::master::Call& call,
326 const Option<Principal>& principal,
327 ContentType contentType) const
328{
329 CHECK_EQ(mesos::master::Call::GET_QUOTA, call.type());
330
331 return _status(principal)
332 .then([contentType](const QuotaStatus& status) -> Future<http::Response> {
333 mesos::master::Response response;
334 response.set_type(mesos::master::Response::GET_QUOTA);
335 response.mutable_get_quota()->mutable_status()->CopyFrom(status);
336
337 return OK(serialize(contentType, evolve(response)),
338 stringify(contentType));
339 });
340}
341
342
343Future<http::Response> Master::QuotaHandler::status(

Callers 13

operator==Function · 0.45
messages.cppFile · 0.45
apiMethod · 0.45
quotaMethod · 0.45
__reregisterSlaveMethod · 0.45
statusUpdateMethod · 0.45
forwardMethod · 0.45
updateOperationStatusMethod · 0.45
reconcileMethod · 0.45
foreachFunction · 0.45
updateTaskMethod · 0.45
updateOperationMethod · 0.45

Calls 10

OKClass · 0.85
jsonifyFunction · 0.85
ProtobufClass · 0.85
typeMethod · 0.80
CopyFromMethod · 0.80
serializeFunction · 0.50
evolveFunction · 0.50
stringifyFunction · 0.50
thenMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected