| 35 | ) |
| 36 | |
| 37 | type EventSource struct { |
| 38 | mu sync.Mutex |
| 39 | log logr.Logger |
| 40 | Spec *ofevent.CronSpec |
| 41 | Metadata map[string]interface{} |
| 42 | } |
| 43 | |
| 44 | func NewCronEventSource(log logr.Logger, spec *ofevent.CronSpec) event.OpenFunctionEventSource { |
| 45 | es := &EventSource{} |
nothing calls this directly
no outgoing calls
no test coverage detected