Documentation ¶
Index ¶
- type SlackListener
- func (l *SlackListener) Events() []testkube.EventType
- func (l *SlackListener) Kind() string
- func (l *SlackListener) Metadata() map[string]string
- func (l *SlackListener) Name() string
- func (l *SlackListener) Notify(event testkube.Event) (result testkube.EventResult)
- func (l *SlackListener) Selector() string
- type SlackLoader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlackListener ¶
type SlackListener struct { Log *zap.SugaredLogger // contains filtered or unexported fields }
func NewSlackListener ¶
func (*SlackListener) Events ¶
func (l *SlackListener) Events() []testkube.EventType
func (*SlackListener) Kind ¶
func (l *SlackListener) Kind() string
func (*SlackListener) Metadata ¶
func (l *SlackListener) Metadata() map[string]string
func (*SlackListener) Name ¶ added in v1.5.17
func (l *SlackListener) Name() string
func (*SlackListener) Notify ¶
func (l *SlackListener) Notify(event testkube.Event) (result testkube.EventResult)
func (*SlackListener) Selector ¶
func (l *SlackListener) Selector() string
type SlackLoader ¶
type SlackLoader struct { Log *zap.SugaredLogger // contains filtered or unexported fields }
SlackLoader is a reconciler for websocket events for now it returns single listener for slack
func NewSlackLoader ¶
func NewSlackLoader(messageTemplate, configString string, events []testkube.EventType) *SlackLoader
func (*SlackLoader) Kind ¶
func (r *SlackLoader) Kind() string
Click to show internal directories.
Click to hide internal directories.