Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebsocketListener ¶
type WebsocketListener struct { Log *zap.SugaredLogger Websocket Websocket // contains filtered or unexported fields }
func NewWebsocketListener ¶
func NewWebsocketListener(websocket Websocket, selector string, events []testkube.EventType) *WebsocketListener
func (*WebsocketListener) Events ¶
func (l *WebsocketListener) Events() []testkube.EventType
func (*WebsocketListener) Kind ¶
func (l *WebsocketListener) Kind() string
func (*WebsocketListener) Metadata ¶
func (l *WebsocketListener) Metadata() map[string]string
func (*WebsocketListener) Notify ¶
func (l *WebsocketListener) Notify(event testkube.Event) (result testkube.EventResult)
func (*WebsocketListener) Selector ¶
func (l *WebsocketListener) Selector() string
type WebsocketLoader ¶
type WebsocketLoader struct { Websockets []Websocket // contains filtered or unexported fields }
func NewWebsocketLoader ¶
func NewWebsocketLoader() *WebsocketLoader
func (*WebsocketLoader) Add ¶
func (r *WebsocketLoader) Add(conn *websocket.Conn) chan bool
func (*WebsocketLoader) Kind ¶
func (r *WebsocketLoader) Kind() string
Click to show internal directories.
Click to hide internal directories.