Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLogWatcher ¶
FakeLogWatcher is a fake mock of log watcher.
func NewFakeLogWatcher ¶
func NewFakeLogWatcher(bufferSize int) *FakeLogWatcher
func (*FakeLogWatcher) InjectError ¶
func (f *FakeLogWatcher) InjectError(err error)
InjectError injects an error of Watch function.
func (*FakeLogWatcher) InjectLog ¶
func (f *FakeLogWatcher) InjectLog(log *logtypes.Log)
InjectLog injects a fake log into the watch channel
Click to show internal directories.
Click to hide internal directories.