Documentation ¶
Overview ¶
Package notify holds all different types of ways to notify users about various events.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct {
Recipient, Subject, HTMLBody, TextBody, Sender string
Config EmailConfig
}
Email holds all email data
type EmailConfig ¶
EmailConfig holds all email configuration data
type Notifier ¶
Notifier is an interface that each type of notifier must implement.
func NewNotifier ¶
func NewNotifier(notification managerv1.Notification) (Notifier, error)
NewNotifier returns a new Notifier based on the type of notification.
Click to show internal directories.
Click to hide internal directories.