Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clock ¶ added in v0.17.0
type Clock struct { *clocktest.FakeClock TP *ManualTickProvider }
Clock is K8s clock.Clock but it overrides tick provider with ManualTickProvider above.
type ManualTickProvider ¶ added in v0.13.0
A ManualTickProvider holds a channel that delivers `ticks' of a clock at intervals.
func (*ManualTickProvider) C ¶ added in v0.17.0
func (mtp *ManualTickProvider) C() <-chan time.Time
C returns the tick channel.
func (*ManualTickProvider) NewTicker ¶ added in v0.13.0
func (mtp *ManualTickProvider) NewTicker(time.Duration) *time.Ticker
NewTicker returns a Ticker containing a channel that will send the time with a period specified by the duration argument.
func (*ManualTickProvider) Stop ¶ added in v0.17.0
func (mtp *ManualTickProvider) Stop()
Stop is nonce here.
Click to show internal directories.
Click to hide internal directories.