MCPcopy Create free account
hub / github.com/Icinga/icinga2 / FetchRows

Method FetchRows

lib/livestatus/commentstable.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void CommentsTable::FetchRows(const AddRowFunction& addRowFn)
53{
54 for (const Comment::Ptr& comment : ConfigType::GetObjectsByType<Comment>()) {
55 if (!addRowFn(comment, LivestatusGroupByNone, Empty))
56 return;
57 }
58}
59
60Object::Ptr CommentsTable::HostAccessor(const Value& row, const Column::ObjectAccessor&)
61{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected