eventsource

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 26 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 *v1alpha1.EventSource) error

ValidateEventSource validates if the eventSource is valid

Types

type AdaptorArgs

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

AdaptorArgs are the args needed to create a sensor deployment

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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