keda

package
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapToKedaTrigger

func MapToKedaTrigger(rawURI string) (*traitv1.KedaTrigger, error)

func ParseComponentURI

func ParseComponentURI(rawURI string) (string, string, map[string]string, error)

ParseComponentURI extracts the component scheme, path value, and query parameters from a Camel URI.

func Register

func Register(m ScaleMapper)

Types

type ScaleMapper

type ScaleMapper interface {
	Component() string
	Map(pathValue string, params map[string]string) (kedaType string, metadata map[string]string)
}

ScaleMapper defines the interface for mapping Camel component URIs to KEDA triggers.

func GetMapper

func GetMapper(component string) (ScaleMapper, bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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