MCPcopy Index your code
hub / github.com/docker/docker-agent / newFakeClock

Function newFakeClock

pkg/runtime/clock_test.go:20–20  ·  view source on GitHub ↗
(t time.Time)

Source from the content-addressed store, hash-verified

18}
19
20func newFakeClock(t time.Time) *fakeClock { return &fakeClock{t: t} }
21
22func (c *fakeClock) Now() time.Time { return c.t }
23

Calls

no outgoing calls

Tested by

no test coverage detected