Documentation ¶
Index ¶
- type CDEventListener
- func (l *CDEventListener) Events() []testkube.EventType
- func (l *CDEventListener) Kind() string
- func (l *CDEventListener) Metadata() map[string]string
- func (l *CDEventListener) Name() string
- func (l *CDEventListener) Notify(event testkube.Event) (result testkube.EventResult)
- func (l *CDEventListener) Selector() string
- type CDEventLoader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CDEventListener ¶
type CDEventListener struct { Log *zap.SugaredLogger // contains filtered or unexported fields }
func NewCDEventListener ¶
func NewCDEventListener(name, selector, clusterID, defaultNamespace, dashboardURI string, events []testkube.EventType, client cloudevents.Client) *CDEventListener
func (*CDEventListener) Events ¶
func (l *CDEventListener) Events() []testkube.EventType
func (*CDEventListener) Kind ¶
func (l *CDEventListener) Kind() string
func (*CDEventListener) Metadata ¶
func (l *CDEventListener) Metadata() map[string]string
func (*CDEventListener) Name ¶
func (l *CDEventListener) Name() string
func (*CDEventListener) Notify ¶
func (l *CDEventListener) Notify(event testkube.Event) (result testkube.EventResult)
func (*CDEventListener) Selector ¶
func (l *CDEventListener) Selector() string
type CDEventLoader ¶
type CDEventLoader struct { Log *zap.SugaredLogger // contains filtered or unexported fields }
CDEventLoader is a reconciler for cdevent events for now it returns single listener for cdevent
func NewCDEventLoader ¶
func NewCDEventLoader(target, clusterID, defaultNamespace, dashboardURI string, events []testkube.EventType) (*CDEventLoader, error)
func (*CDEventLoader) Kind ¶
func (r *CDEventLoader) Kind() string
Click to show internal directories.
Click to hide internal directories.