Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertPolicyResultEvent ¶
type AlertPolicyResultEvent struct {
Schema types.AlertSchema
Alerts []*alert.Alert
}
AlertPolicyResultEvent is fired when alert policy evaluation completes
type CommitPolicyResultEvent ¶
type CommitPolicyResultEvent struct {
Result *policy.CommitPolicyResult
}
CommitPolicyResultEvent is fired when commit policy evaluation completes
type EnrichPolicyResultEvent ¶
type EnrichPolicyResultEvent struct {
TaskCount int
Policy *policy.EnrichPolicyResult
}
EnrichPolicyResultEvent is fired when enrich policy evaluation completes
type EnrichTaskPromptEvent ¶
EnrichTaskPromptEvent is fired when an enrich task prompt is prepared
type EnrichTaskResponseEvent ¶
EnrichTaskResponseEvent is fired when LLM responds to an enrich task
type ErrorEvent ¶
type ErrorEvent struct {
TaskID string // Optional: only set if error is related to a specific task
Error error
Message string
}
ErrorEvent is fired when an error occurs during pipeline processing
type EventNotifier ¶
type EventNotifier func(ctx context.Context, event NotificationEvent)
EventNotifier is a function type for receiving notification events Implementations should format events appropriately for their output destination
type NotificationEvent ¶
type NotificationEvent interface {
// contains filtered or unexported methods
}
NotificationEvent represents an event during alert pipeline processing