Documentation
¶
Index ¶
- type Controller
- func (ctrl *Controller) Close() error
- func (ctrl *Controller) HasSignalHandler(signalID events.ID) bool
- func (ctrl *Controller) Init() error
- func (ctrl *Controller) ProcessSignal(signal *Signal) error
- func (ctrl *Controller) RegisterSignal(handlers map[events.ID]SignalHandler) error
- func (ctrl *Controller) Run(ctx context.Context)
- func (ctrl *Controller) Start()
- func (ctrl *Controller) Stop() error
- type Signal
- type SignalHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( bpfModule *libbpfgo.Module, cgroupManager *container.Manager, enrichDisabled bool, procTree *process.ProcessTree, dataPresentor bufferdecoder.TypeDecoder, ) *Controller
NewController creates a new controller.
func (*Controller) Close ¶ added in v0.24.0
func (ctrl *Controller) Close() error
Close closes the controller.
func (*Controller) HasSignalHandler ¶ added in v0.24.0
func (ctrl *Controller) HasSignalHandler(signalID events.ID) bool
func (*Controller) Init ¶ added in v0.24.0
func (ctrl *Controller) Init() error
func (*Controller) ProcessSignal ¶ added in v0.24.0
func (ctrl *Controller) ProcessSignal(signal *Signal) error
ProcessSignal processes a signal from the control plane.
func (*Controller) RegisterSignal ¶ added in v0.24.0
func (ctrl *Controller) RegisterSignal(handlers map[events.ID]SignalHandler) error
RegisterSignal registers multiple signal handlers at once
type Signal ¶ added in v0.24.0
func (*Signal) Unmarshal ¶ added in v0.24.0
func (sig *Signal) Unmarshal(buffer []byte, dataPresentor bufferdecoder.TypeDecoder) error
Click to show internal directories.
Click to hide internal directories.