Eunomia  0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
files_tracker::json_event_handler Struct Reference

convert event to json More...

#include <files.h>

Inheritance diagram for files_tracker::json_event_handler:
Inheritance graph
Collaboration diagram for files_tracker::json_event_handler:
Collaboration graph

Public Member Functions

std::string to_json (const struct files_event &e)
 
- Public Member Functions inherited from event_handler< files_event >
virtual ~event_handler ()=default
 
virtual void handle (tracker_event< files_event > &e)=0
 implement this function to handle the event More...
 
std::shared_ptr< event_handler< files_event > > add_handler (std::shared_ptr< event_handler< files_event >> handler)
 add a next handler after this handler More...
 
void do_handle_event (tracker_event< files_event > &e)
 
- Public Member Functions inherited from event_handler_base< files_event >
virtual ~event_handler_base ()=default
 

Additional Inherited Members

- Public Attributes inherited from event_handler< files_event >
std::shared_ptr< event_handler_base< files_event > > next_handler
 

Detailed Description

convert event to json

Member Function Documentation

◆ to_json()

std::string files_tracker::json_event_handler::to_json ( const struct files_event &  e)

The documentation for this struct was generated from the following files: