moby/vendor/k8s.io/klog/v2/internal/clock
Sebastiaan van Stijn 64f9ea1cf5
vendor: github.com/moby/swarmkit/v2 v2.0.0-20221123162438-b17f02f0a054
full diff: 6341884e5f...b17f02f0a0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-11-23 18:30:18 +01:00
..
clock.go vendor: github.com/moby/swarmkit/v2 v2.0.0-20221123162438-b17f02f0a054 2022-11-23 18:30:18 +01:00
README.md vendor: github.com/moby/swarmkit/v2 v2.0.0-20221123162438-b17f02f0a054 2022-11-23 18:30:18 +01:00

Clock

This package provides an interface for time-based operations. It allows mocking time for testing.

This is a copy of k8s.io/utils/clock. We have to copy it to avoid a circular dependency (k8s.io/klog -> k8s.io/utils -> k8s.io/klog).