Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSetFromArray ¶
func NewSetFromArray[S Storable](s []S) *set[S]
Types ¶
type Config ¶
type Config struct {
NotificationsConfigSet []NotificationsConfigSet
// contains filtered or unexported fields
}
func NewConfig ¶
func NewConfig(config []NotificationsConfig) *Config
func (*Config) HasChannelsDefined ¶
type MessageArgs ¶
type NotificationsConfig ¶
type NotificationsConfigSet ¶
type NotificationsConfigSet struct {
ChannelID string
Selector map[string]string
TestNames *set[string]
TestSuiteNames *set[string]
Events *set[testkube.EventType]
}
func NewConfigSet ¶
func NewConfigSet(config NotificationsConfig) NotificationsConfigSet
type Notifier ¶
type Notifier struct {
Ready bool
// contains filtered or unexported fields
}
func NewNotifier ¶
func NewNotifier(template string, config []NotificationsConfig) *Notifier
Click to show internal directories.
Click to hide internal directories.