Documentation
¶
Index ¶
Constants ¶
View Source
const ConsumeAllEvents = "consumeAllEvents"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer interface { // Start initializes the analyzer Start() error // ConsumeEvent gets the event from the previous component ConsumeEvent(event *model.KindlingEvent) error // Shutdown cleans all the resources used by the analyzer Shutdown() error // Type returns the type of the analyzer Type() Type // ConsumableEvents returns the events' name that this analyzer can consume ConsumableEvents() []string }
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetConsumableAnalyzers ¶
GetConsumableAnalyzers returns the analyzers according to the input eventName. Note this method is called in very high frequency, so the performance is important.
func (*Manager) ShutdownAll ¶
func (m *Manager) ShutdownAll(logger *component.TelemetryLogger) error
Click to show internal directories.
Click to hide internal directories.