event

package
v0.0.0-...-932eec2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertMetadata

func ConvertMetadata(metadata map[string]interface{}) ([]componentsv1alpha1.MetadataItem, error)

Types

type OpenFunctionEventBus

type OpenFunctionEventBus interface {
	SetMetadata(key string, value interface{})
	GetMetadata() map[string]interface{}
	GenComponent(namespace string, name string) (*componentsv1alpha1.Component, error)
	GenScaleOptions(subjects []string) (*ofcore.KedaScaledObject, []*kedav1alpha1.ScaleTriggers)
}

type OpenFunctionEventSource

type OpenFunctionEventSource interface {
	SetMetadata(key string, value interface{})
	GetMetadata() map[string]interface{}
	GenComponent(namespace string, name string) (*componentsv1alpha1.Component, error)
	GenScaleOptions() (*ofcore.KedaScaledObject, *kedav1alpha1.ScaleTriggers)
}

Directories

Path Synopsis
eventbus
eventsource

Jump to

Keyboard shortcuts

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