package
0.0.0-20240718192648-ebc74747a91b
Repository: https://github.com/harishhary/blink.git
Documentation: pkg.go.dev
# Functions
Attempts sets the number of attempts for the alert.
Cluster sets the cluster for the alert.
Created sets the creation time for the alert.
Dispatched sets the dispatched time for the alert.
Formatters sets the formatters for the alert.
LogSource sets the log source for the alert.
LogType sets the log type for the alert.
Merge merges multiple alerts into a new merged alert.
MergeByKeys sets the merge by keys for the alert.
MergeWindow sets the merge window for the alert.
NewAlert creates a new Alert.
OutputsSent sets the outputs sent for the alert.
RuleDescription sets the rule description for the alert.
SourceEntity sets the source entity for the alert.
SourceService sets the source service for the alert.
Staged sets the staged flag for the alert.
# Structs
Alert struct encapsulates a single alert and handles serialization.
AlertCreationError custom error for alert creation.
# Type aliases
AlertOption defines the functional option type.