MCPcopy
hub / github.com/docker/docker-agent / Now

Method Now

pkg/runtime/clock_test.go:22–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20func newFakeClock(t time.Time) *fakeClock { return &fakeClock{t: t} }
21
22func (c *fakeClock) Now() time.Time { return c.t }
23
24func (c *fakeClock) Advance(d time.Duration) { c.t = c.t.Add(d) }
25

Calls

no outgoing calls

Tested by

no test coverage detected