logmower-shipper/vendor/k8s.io/klog/v2/internal/clock/README.md
rasmus e45bf4739b go mod vendor
+ move k8s.io/apimachinery fork from go.work to go.mod
(and include it in vendor)
2022-11-07 00:26:05 +02:00

243 B

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).