Documentation ¶
Index ¶
- Constants
- func NewKafkaEventSource(log logr.Logger, spec *ofevent.KafkaSpec) event.OpenFunctionEventSource
- type EventSource
- func (es *EventSource) GenComponent(namespace string, name string) (*componentsv1alpha1.Component, error)
- func (es *EventSource) GenScaleOptions() (*ofcore.KedaScaledObject, *kedav1alpha1.ScaleTriggers)
- func (es *EventSource) GetMetadata() map[string]interface{}
- func (es *EventSource) SetMetadata(key string, value interface{})
Constants ¶
View Source
const ( ComponentType = "bindings.kafka" ComponentVersion = "v1" ScaledObjectType = "kafka" )
Variables ¶
This section is empty.
Functions ¶
func NewKafkaEventSource ¶
Types ¶
type EventSource ¶
type EventSource struct { Spec *ofevent.KafkaSpec Metadata map[string]interface{} // contains filtered or unexported fields }
func (*EventSource) GenComponent ¶
func (es *EventSource) GenComponent(namespace string, name string) (*componentsv1alpha1.Component, error)
func (*EventSource) GenScaleOptions ¶
func (es *EventSource) GenScaleOptions() (*ofcore.KedaScaledObject, *kedav1alpha1.ScaleTriggers)
func (*EventSource) GetMetadata ¶
func (es *EventSource) GetMetadata() map[string]interface{}
func (*EventSource) SetMetadata ¶
func (es *EventSource) SetMetadata(key string, value interface{})
Click to show internal directories.
Click to hide internal directories.