slack

package
v1.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 NewSlackListener(name, selector string, events []testkube.EventType) *SlackListener

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
}

SlackLoader is a reconciler for websocket events for now it returns single listener for slack

func NewSlackLoader

func NewSlackLoader() *SlackLoader

func (*SlackLoader) Kind

func (r *SlackLoader) Kind() string

func (*SlackLoader) Load

func (r *SlackLoader) Load() (listeners common.Listeners, err error)

Load returns single listener for slack (as we don't have any sophisticated config yet)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL