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

convert event to json More...

#include <process.h>

Inheritance diagram for process_tracker::json_event_handler_base:
Inheritance graph
Collaboration diagram for process_tracker::json_event_handler_base:
Collaboration graph

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

convert event to json

Member Function Documentation

◆ to_json()

std::string process_tracker::json_event_handler_base::to_json ( const struct process_event &  e)

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