MCPcopy Create free account
hub / github.com/OpenFunction/OpenFunction / EventSource

Struct EventSource

pkg/event/eventsource/kafka/kafka.go:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36)
37
38type EventSource struct {
39 mu sync.Mutex
40 log logr.Logger
41 Spec *ofevent.KafkaSpec
42 Metadata map[string]interface{}
43}
44
45func NewKafkaEventSource(log logr.Logger, spec *ofevent.KafkaSpec) event.OpenFunctionEventSource {
46 es := &EventSource{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected