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

Function foreachvalue

src/slave/http.cpp:965–970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

963 {
964 JSON::Object flags;
965 foreachvalue (const flags::Flag& flag, slave->flags) {
966 Option<string> value = flag.stringify(slave->flags);
967 if (value.isSome()) {
968 flags.values[flag.effective_name().value] = value.get();
969 }
970 }
971 object.values["flags"] = std::move(flags);
972 }
973

Callers 10

operator()Method · 0.70
operator()Method · 0.70
stateMethod · 0.70
serializeGetExecutorsMethod · 0.70
foreachFunction · 0.70
getOperationsMethod · 0.70
jsonifyGetTasksMethod · 0.70
foreachpairFunction · 0.70
serializeGetTasksMethod · 0.70
getResourceProvidersMethod · 0.70

Calls 15

FrameworkWriterClass · 0.85
asV1ProtobufClass · 0.85
allocatedResourcesMethod · 0.80
fieldMethod · 0.80
elementMethod · 0.80
insertMethod · 0.80
createTaskFunction · 0.50
stringifyMethod · 0.45
isSomeMethod · 0.45
getMethod · 0.45
putMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected