Documentation
¶
Overview ¶
Package notify provides a way to send external notifications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MockTemplate ¶
MockTemplate returns parsed text template to be used in Mock notifier, mainly for testing.
Types ¶
type LogsErr ¶
type LogsErr struct {
// contains filtered or unexported fields
}
LogsErr is a notification client which "sends" notification as logs of severity ERROR. It implements Sender interface. It might be handy to use for local development or in situations when other communications channels are not yet in place.
func NewLogsErr ¶
NewLogsErr instantiate new LogsErr for given structured logger.
type Mock ¶
type Mock struct {
// contains filtered or unexported fields
}
Mock sends message into a string slice in memory. It implements Sender interface. Useful mostly for testing.
type MsgData ¶
type MsgData struct { DagId string ExecTs string TaskId *string Retry int TaskRunError error RuntimeInfo map[string]any }
Message contains a DAG run contextual information.
Click to show internal directories.
Click to hide internal directories.