eventsource

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ControllerName is name of the controller
	ControllerName = "eventsource-controller"
)

Variables

This section is empty.

Functions

func NewReconciler

func NewReconciler(client client.Client, scheme *runtime.Scheme, eventSourceImage string, logger *zap.SugaredLogger) reconcile.Reconciler

NewReconciler returns a new reconciler

func Reconcile

func Reconcile(client client.Client, args *AdaptorArgs, logger *zap.SugaredLogger) error

Reconcile does the real logic

func ValidateEventSource

func ValidateEventSource(eventSource *aev1.EventSource) error

ValidateEventSource validates if the eventSource is valid

Types

type AdaptorArgs

type AdaptorArgs struct {
	Image       string
	EventSource *aev1.EventSource
	Labels      map[string]string
}

AdaptorArgs are the args needed to create a sensor deployment

Jump to

Keyboard shortcuts

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