Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWatcher ¶
MockWatcher is an autogenerated mock type for the Watcher type
func NewMockWatcher ¶
func NewMockWatcher(t mockConstructorTestingTNewMockWatcher) *MockWatcher
NewMockWatcher creates a new instance of MockWatcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockWatcher) StopWatching ¶
func (_m *MockWatcher) StopWatching(id cron.EntryID)
StopWatching provides a mock function with given fields: id
func (*MockWatcher) Watch ¶
func (_m *MockWatcher) Watch(config WatchConfig) cron.EntryID
Watch provides a mock function with given fields: config
type WatchResult ¶
type WatchResult struct { LookoutId int Result query.QueryResult Error error }
type WatchResultPublisher ¶
type WatchResultPublisher = observer.Publisher[WatchResult]
type WatchResultSubscriber ¶
type WatchResultSubscriber = observer.Subscriber[WatchResult]
type Watcher ¶
type Watcher interface { Watch(config WatchConfig) WatcherId StopWatching(id WatcherId) }
Click to show internal directories.
Click to hide internal directories.