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

Class SlavesWriter

src/master/readonly_handler.cpp:126–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124
125
126struct SlavesWriter
127{
128 SlavesWriter(
129 const Master::Slaves& slaves,
130 const process::Owned<ObjectApprovers>& approvers,
131 const IDAcceptor<SlaveID>& selectSlaveId);
132
133 void operator()(JSON::ObjectWriter* writer) const;
134
135 void writeSlave(const Slave* slave, JSON::ObjectWriter* writer) const;
136
137 const Master::Slaves& slaves_;
138 const process::Owned<ObjectApprovers>& approvers_;
139 const IDAcceptor<SlaveID>& selectSlaveId_;
140};
141
142
143void json(JSON::ObjectWriter* writer, const Summary<Framework>& summary);

Callers 1

slavesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected