common

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ListenerKindWebsocket string = "websocket"
	ListenerKindSlack     string = "slack"
	ListenerKindWebhook   string = "webhook"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

type Listener interface {
	Notify(event testkube.Event) testkube.EventResult
	Kind() string
	Selector() string
	Events() []testkube.EventType
	Metadata() map[string]string
}

type ListenerLoader

type ListenerLoader interface {
	Load() (listeners Listeners, err error)
	Kind() string
}

type Listeners

type Listeners []Listener

func (Listeners) Log

func (l Listeners) Log() []any

Jump to

Keyboard shortcuts

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