| 52 | } |
| 53 | |
| 54 | type FunctionManager interface { |
| 55 | StartFunction(f *model.Function) error |
| 56 | DeleteFunction(namespace, name string) error |
| 57 | ListFunctions() []string |
| 58 | ProduceEvent(name string, event contube.Record) error |
| 59 | ConsumeEvent(name string) (contube.Record, error) |
| 60 | GetStateStore() api.StateStore |
| 61 | Close() error |
| 62 | } |
| 63 | |
| 64 | type functionManagerImpl struct { |
| 65 | options *managerOptions |
no outgoing calls
no test coverage detected