| 59 | ) |
| 60 | |
| 61 | type Driver interface { |
| 62 | Init(dataStore, ns, id string) error |
| 63 | PreProcess(ctx context.Context, dataStore string, config *logging.Config) error |
| 64 | Process(stdout <-chan string, stderr <-chan string) error |
| 65 | PostProcess() error |
| 66 | } |
| 67 | |
| 68 | // SyncDriver is an optional capability for a Driver whose log entries can be |
| 69 | // written synchronously and cheaply (e.g. to a local file). When a driver |
no outgoing calls
no test coverage detected