eventhandler

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func([]observer.Event, error) ([]observer.Event, error)

func GetCustomEventhandler

func GetCustomEventhandler(obj interface{}) Handler

type HasCustomHandler

type HasCustomHandler interface {
	Handler() Handler
}

CustomEventhandler allows components to define their custom event handling. This is intended for policies to:

  • map events / and errors from tracing sensors (e.g., kprobe or tracepoints)
  • generate custom metrics

Other use-cases might be served from this as well

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL