Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) Close()
- func (m *MockManager) CreateMatch(arg0 context.Context, arg1 *pb.Match) (bool, error)
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) Requeue(arg0 string) error
- func (m *MockManager) StreamMatches(arg0 context.Context, arg1 func(context.Context, *pb.Match)) error
- type MockManagerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) CreateMatch ¶
CreateMatch mocks base method.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) Requeue ¶
func (m *MockManager) Requeue(arg0 string) error
Requeue mocks base method.
func (*MockManager) StreamMatches ¶
func (m *MockManager) StreamMatches(arg0 context.Context, arg1 func(context.Context, *pb.Match)) error
StreamMatches mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) Close ¶
func (mr *MockManagerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockManagerMockRecorder) CreateMatch ¶
func (mr *MockManagerMockRecorder) CreateMatch(arg0, arg1 interface{}) *gomock.Call
CreateMatch indicates an expected call of CreateMatch.
func (*MockManagerMockRecorder) Requeue ¶
func (mr *MockManagerMockRecorder) Requeue(arg0 interface{}) *gomock.Call
Requeue indicates an expected call of Requeue.
func (*MockManagerMockRecorder) StreamMatches ¶
func (mr *MockManagerMockRecorder) StreamMatches(arg0, arg1 interface{}) *gomock.Call
StreamMatches indicates an expected call of StreamMatches.
Click to show internal directories.
Click to hide internal directories.