MCPcopy
hub / github.com/keploy/keploy / outChanStatus

Method outChanStatus

pkg/agent/proxy/syncMock/syncMock.go:502–506  ·  view source on GitHub ↗

outChanStatus snapshots (bound, closed) under outChanMu.RLock so AddMock's fork decision sees a consistent pair.

()

Source from the content-addressed store, hash-verified

500// outChanStatus snapshots (bound, closed) under outChanMu.RLock so
501// AddMock's fork decision sees a consistent pair.
502func (m *SyncMockManager) outChanStatus() (bound, closed bool) {
503 m.outChanMu.RLock()
504 defer m.outChanMu.RUnlock()
505 return m.outChan != nil && !m.outChanClosed, m.outChanClosed
506}
507
508// SendConfigMock forwards a config mock directly to the outgoing
509// channel, bypassing the firstReqSeen buffering that AddMock does.

Callers 4

AddMockMethod · 0.95
FlushOwnedWindowsMethod · 0.95
ResolveRangeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected