Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeScheduler ¶
type FakeScheduler struct { AddFunc func(types.NamespacedName, time.Duration) ForgetFunc func(types.NamespacedName) }
FakeScheduler allows stubbing the methods of scheduler.ScheduledWorkQueue in tests.
func (*FakeScheduler) Add ¶
func (f *FakeScheduler) Add(obj types.NamespacedName, duration time.Duration)
func (*FakeScheduler) Forget ¶
func (f *FakeScheduler) Forget(obj types.NamespacedName)
Click to show internal directories.
Click to hide internal directories.