eventsource

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventSource

type EventSource interface {
	// Start triggers the execution of the EventSource
	Start(context.Context, types.RegistrationData, chan types.EventUpdate, chan error, *sync.WaitGroup) error
	// OnSubscriptionUpdate can be called to tell the EventSource that
	// the current subscriptions have been changed
	OnSubscriptionUpdate([]models.EventSubscription)
	// Sender returns a component that gives the possiblity to send events back
	// to the Keptn Control plane
	Sender() types.EventSender
	//Stop is stopping the EventSource
	Stop() error
	// Cleanup performs all cleanup actions that should be executed before the component gets shut down
	Cleanup() error
}

EventSource is anything that can be used to get events from the Keptn Control Plane

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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