Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTriggers ¶
func GetTriggers(templatesCfg []NotificationTemplate, triggersCfg []NotificationTrigger) (map[string]Trigger, error)
Types ¶
type NotificationTemplate ¶
type NotificationTrigger ¶
type Trigger ¶
type Trigger interface { Triggered(app *unstructured.Unstructured) (bool, error) FormatNotification(app *unstructured.Unstructured, context map[string]string) (string, string, error) }
Click to show internal directories.
Click to hide internal directories.