MCPcopy
hub / github.com/keploy/keploy / FirstWindowStartReader

Interface FirstWindowStartReader

pkg/agent/service.go:118–120  ·  view source on GitHub ↗

FirstWindowStartReader is an optional extension implemented by proxies that can report the earliest test window start observed by their underlying MockManager. Consumed by the agent's tier-aware strictMockWindow filter to distinguish startup-init mocks (req_ts < firstWindowStart) from stale previous

Source from the content-addressed store, hash-verified

116// fails — keeps third-party Proxy implementations compiling without
117// the extra method.
118type FirstWindowStartReader interface {
119 FirstTestWindowStart() time.Time
120}
121
122type IncomingProxy interface {
123 Start(ctx context.Context, opts models.IncomingOptions) chan *models.TestCase

Callers 1

UpdateMockParamsMethod · 0.65

Implementers 4

Proxypkg/agent/proxy/proxy.go
MockManagerpkg/agent/proxy/mockmanager.go
mockMemDbpkg/agent/proxy/integrations/http/matc
fakeMockDbpkg/agent/proxy/integrations/mysql/rep

Calls

no outgoing calls

Tested by

no test coverage detected