event_handler

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 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 NewGithubEventNotifier

func NewGithubEventNotifier(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