Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Emitter ¶
type Emitter struct { Events chan testkube.WebhookEvent Responses chan WebhookResult Log *zap.SugaredLogger }
func NewEmitter ¶
func NewEmitter() *Emitter
func (*Emitter) Listen ¶
func (s *Emitter) Listen(events chan testkube.WebhookEvent)
func (*Emitter) Notify ¶
func (s *Emitter) Notify(event testkube.WebhookEvent)
func (*Emitter) RunWorkers ¶
func (s *Emitter) RunWorkers()
func (*Emitter) Send ¶
func (s *Emitter) Send(event testkube.WebhookEvent)
type WebhookHttpResponse ¶
type WebhookResult ¶
type WebhookResult struct { Event testkube.WebhookEvent Error error Response WebhookHttpResponse }
Click to show internal directories.
Click to hide internal directories.