Documentation ¶
Index ¶
- type Checker
- type Config
- type EventBroadcaster
- func (_m *EventBroadcaster) Close() error
- func (_m *EventBroadcaster) Healthy() error
- func (_m *EventBroadcaster) Notify(channel string, payload string) error
- func (_m *EventBroadcaster) Ready() error
- func (_m *EventBroadcaster) Start() error
- func (_m *EventBroadcaster) Subscribe(channel string, payloadFilter string) (services.Subscription, error)
- type Subscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
Checker is an autogenerated mock type for the Checker type
func NewChecker ¶ added in v1.5.0
NewChecker creates a new instance of Checker. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*Checker) Unregister ¶
Unregister provides a mock function with given fields: name
type EventBroadcaster ¶
EventBroadcaster is an autogenerated mock type for the EventBroadcaster type
func (*EventBroadcaster) Close ¶
func (_m *EventBroadcaster) Close() error
Close provides a mock function with given fields:
func (*EventBroadcaster) Healthy ¶
func (_m *EventBroadcaster) Healthy() error
Healthy provides a mock function with given fields:
func (*EventBroadcaster) Notify ¶
func (_m *EventBroadcaster) Notify(channel string, payload string) error
Notify provides a mock function with given fields: channel, payload
func (*EventBroadcaster) Ready ¶
func (_m *EventBroadcaster) Ready() error
Ready provides a mock function with given fields:
func (*EventBroadcaster) Start ¶
func (_m *EventBroadcaster) Start() error
Start provides a mock function with given fields:
func (*EventBroadcaster) Subscribe ¶
func (_m *EventBroadcaster) Subscribe(channel string, payloadFilter string) (services.Subscription, error)
Subscribe provides a mock function with given fields: channel, payloadFilter
type Subscription ¶
Subscription is an autogenerated mock type for the Subscription type
func (*Subscription) ChannelName ¶
func (_m *Subscription) ChannelName() string
ChannelName provides a mock function with given fields:
func (*Subscription) Close ¶
func (_m *Subscription) Close()
Close provides a mock function with given fields:
func (*Subscription) Events ¶
func (_m *Subscription) Events() <-chan services.Event
Events provides a mock function with given fields:
func (*Subscription) InterestedIn ¶
func (_m *Subscription) InterestedIn(event services.Event) bool
InterestedIn provides a mock function with given fields: event
func (*Subscription) Send ¶
func (_m *Subscription) Send(event services.Event)
Send provides a mock function with given fields: event