SyncMockDriver implements SyncDriver, recording the entries written to it.
| 62 | |
| 63 | // SyncMockDriver implements SyncDriver, recording the entries written to it. |
| 64 | type SyncMockDriver struct { |
| 65 | mu sync.Mutex |
| 66 | receivedStdout []string |
| 67 | receivedStderr []string |
| 68 | } |
| 69 | |
| 70 | func (m *SyncMockDriver) Init(dataStore, ns, id string) error { return nil } |
| 71 | func (m *SyncMockDriver) PreProcess(ctx context.Context, dataStore string, config *logging.Config) error { |
nothing calls this directly
no outgoing calls
no test coverage detected