(ch chan<- models.TestMockMapping)
| 261 | } |
| 262 | |
| 263 | func (m *SyncMockManager) SetMappingChannel(ch chan<- models.TestMockMapping) { |
| 264 | m.mu.Lock() |
| 265 | defer m.mu.Unlock() |
| 266 | m.mappingChan = ch |
| 267 | } |
| 268 | |
| 269 | // SetLogger installs a zap.Logger for drop-path reporting. Callers |
| 270 | // are expected to wire this once during proxy bootstrap with a |
no outgoing calls