cdevent

package
v1.16.25-beta003 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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

func (*CDEventLoader) Load

func (r *CDEventLoader) Load() (listeners common.Listeners, err error)

Load returns single listener for cd eventt

Jump to

Keyboard shortcuts

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