Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kubernetes/client-go
/ Now
Method
Now
util/flowcontrol/throttle.go:56–56 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
54
// An injectable, mockable clock interface.
55
type
Clock
interface
{
56
Now() time.Time
57
Sleep(time.Duration)
58
}
59
Callers
15
TestListenerResyncPeriods
Function · 0.65
TestResyncCheckPeriod
Function · 0.65
Add
Method · 0.65
Replace
Method · 0.65
BenchmarkListener
Function · 0.65
AddEventHandlerWithResyncPeriod
Method · 0.65
shouldResync
Method · 0.65
watchHandler
Method · 0.65
EventAggregate
Method · 0.65
StartRecordingToSink
Method · 0.65
Event
Method · 0.65
AnnotatedEventf
Method · 0.65
Implementers
1
realClock
util/flowcontrol/throttle.go
Calls
no outgoing calls
Tested by
15
TestListenerResyncPeriods
Function · 0.52
TestResyncCheckPeriod
Function · 0.52
BenchmarkListener
Function · 0.52
makeEvent
Function · 0.52
TestEventCorrelator
Function · 0.52
TestEventf
Function · 0.52
TestWriteEventError
Function · 0.52
TestUpdateExpiredEvent
Function · 0.52
TestEventfNoNamespace
Function · 0.52
TestMultiSinkCache
Function · 0.52
TestLeaderElectionHealthChecker
Function · 0.52
testTryAcquireOrRenew
Function · 0.52