event_handler

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, stop context.CancelFunc, cfg *conf.GlobalConfig, clients *clients.Clients)

Types

type EventHandler

type EventHandler interface {
	Handle(ctx context.Context, event *watch.Event) error
}

type EventNotifier

type EventNotifier interface {
	Notify(ctx context.Context, workflow *v1alpha1.Workflow) error
}

func NewEventNotifier added in v1.8.0

func NewEventNotifier(cfg *conf.GlobalConfig, clients *clients.Clients) EventNotifier

Jump to

Keyboard shortcuts

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