Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockSubscriber
- func (m *MockSubscriber) Ack() bool
- func (m *MockSubscriber) C() chan<- []events.Event
- func (m *MockSubscriber) Closed() <-chan struct{}
- func (m *MockSubscriber) EXPECT() *MockSubscriberMockRecorder
- func (m *MockSubscriber) ID() int
- func (m *MockSubscriber) Push(arg0 ...events.Event)
- func (m *MockSubscriber) SetID(arg0 int)
- func (m *MockSubscriber) Skip() <-chan struct{}
- func (m *MockSubscriber) Types() []events.Type
- type MockSubscriberMockRecorder
- func (mr *MockSubscriberMockRecorder) Ack() *gomock.Call
- func (mr *MockSubscriberMockRecorder) C() *gomock.Call
- func (mr *MockSubscriberMockRecorder) Closed() *gomock.Call
- func (mr *MockSubscriberMockRecorder) ID() *gomock.Call
- func (mr *MockSubscriberMockRecorder) Push(arg0 ...interface{}) *gomock.Call
- func (mr *MockSubscriberMockRecorder) SetID(arg0 interface{}) *gomock.Call
- func (mr *MockSubscriberMockRecorder) Skip() *gomock.Call
- func (mr *MockSubscriberMockRecorder) Types() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSubscriber ¶
type MockSubscriber struct {
// contains filtered or unexported fields
}
MockSubscriber is a mock of Subscriber interface.
func NewMockSubscriber ¶
func NewMockSubscriber(ctrl *gomock.Controller) *MockSubscriber
NewMockSubscriber creates a new mock instance.
func (*MockSubscriber) Closed ¶
func (m *MockSubscriber) Closed() <-chan struct{}
Closed mocks base method.
func (*MockSubscriber) EXPECT ¶
func (m *MockSubscriber) EXPECT() *MockSubscriberMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSubscriber) Push ¶
func (m *MockSubscriber) Push(arg0 ...events.Event)
Push mocks base method.
func (*MockSubscriber) Skip ¶
func (m *MockSubscriber) Skip() <-chan struct{}
Skip mocks base method.
func (*MockSubscriber) Types ¶
func (m *MockSubscriber) Types() []events.Type
Types mocks base method.
type MockSubscriberMockRecorder ¶
type MockSubscriberMockRecorder struct {
// contains filtered or unexported fields
}
MockSubscriberMockRecorder is the mock recorder for MockSubscriber.
func (*MockSubscriberMockRecorder) Ack ¶
func (mr *MockSubscriberMockRecorder) Ack() *gomock.Call
Ack indicates an expected call of Ack.
func (*MockSubscriberMockRecorder) C ¶
func (mr *MockSubscriberMockRecorder) C() *gomock.Call
C indicates an expected call of C.
func (*MockSubscriberMockRecorder) Closed ¶
func (mr *MockSubscriberMockRecorder) Closed() *gomock.Call
Closed indicates an expected call of Closed.
func (*MockSubscriberMockRecorder) ID ¶
func (mr *MockSubscriberMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockSubscriberMockRecorder) Push ¶
func (mr *MockSubscriberMockRecorder) Push(arg0 ...interface{}) *gomock.Call
Push indicates an expected call of Push.
func (*MockSubscriberMockRecorder) SetID ¶
func (mr *MockSubscriberMockRecorder) SetID(arg0 interface{}) *gomock.Call
SetID indicates an expected call of SetID.
func (*MockSubscriberMockRecorder) Skip ¶
func (mr *MockSubscriberMockRecorder) Skip() *gomock.Call
Skip indicates an expected call of Skip.
func (*MockSubscriberMockRecorder) Types ¶
func (mr *MockSubscriberMockRecorder) Types() *gomock.Call
Types indicates an expected call of Types.