Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Emitter ¶
type Emitter struct { Results chan testkube.EventResult Listeners common.Listeners Loader *Loader Log *zap.SugaredLogger Bus bus.Bus ClusterName string Envs map[string]string // contains filtered or unexported fields }
Emitter handles events emitting for webhooks
func NewEmitter ¶
NewEmitter returns new emitter instance
func (*Emitter) Listen ¶ added in v1.5.17
Listen runs emitter workers responsible for sending HTTP requests
func (*Emitter) UpdateListeners ¶ added in v1.5.17
UpdateListeners updates listeners list
type Loader ¶
type Loader struct { Log *zap.SugaredLogger Loaders []common.ListenerLoader }
Loader updates list of available listeners in the background as we don't want to load them on each event
func (*Loader) Register ¶
func (s *Loader) Register(loader common.ListenerLoader)
Register registers new listener reconciler
Click to show internal directories.
Click to hide internal directories.