Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapToKedaTrigger ¶
func MapToKedaTrigger(rawURI string) (*traitv1.KedaTrigger, error)
func ParseComponentURI ¶
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)
Click to show internal directories.
Click to hide internal directories.