Package io.quarkus.funqy.knative.events
Annotation Interface CloudEventMapping
Describes input and output cloud events for function for Knative Cloud Events
Applied to a @Funq method
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionIf there is an extra requirement to match against cloud event attributes to find the function to be triggeredIf the function has output, this describes the cloud event source of the output event Defaults to function nameIf the function has output, this describes the cloud event type of the output event Defaults to {function}.outputDefines the cloud event type that will trigger the function Defaults to function name
-
Element Details
-
trigger
String triggerDefines the cloud event type that will trigger the function Defaults to function name- Returns:
- Default:
- ""
-
responseSource
String responseSourceIf the function has output, this describes the cloud event source of the output event Defaults to function name- Returns:
- Default:
- ""
-
responseType
String responseTypeIf the function has output, this describes the cloud event type of the output event Defaults to {function}.output- Returns:
- Default:
- ""
-
attributes
EventAttribute[] attributesIf there is an extra requirement to match against cloud event attributes to find the function to be triggered- Returns:
- Default:
- {}
-