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 MessageArgs struct { ExecutionID string ExecutionName string EventType string Namespace string Labels string TestName string TestType string Status string FailedSteps int TotalSteps int StartTime string EndTime string Duration string ClusterName string DashboardURI string Envs map[string]string }
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, clusterName, dashboardURI string, config []NotificationsConfig, envs map[string]string) *Notifier
Click to show internal directories.
Click to hide internal directories.