Documentation ¶
Overview ¶
Package worker is a generated GoMock package.
Index ¶
- type MockGrpcWorker
- func (m *MockGrpcWorker) EXPECT() *MockGrpcWorkerMockRecorder
- func (m *MockGrpcWorker) HandleEvent(arg0 *triggers.Event) error
- func (m *MockGrpcWorker) HandleHttpRequest(arg0 *triggers.HttpRequest) (*triggers.HttpResponse, error)
- func (m *MockGrpcWorker) HandlesEvent(arg0 *triggers.Event) bool
- func (m *MockGrpcWorker) HandlesHttpRequest(arg0 *triggers.HttpRequest) bool
- func (m *MockGrpcWorker) Listen(arg0 chan error)
- type MockGrpcWorkerMockRecorder
- func (mr *MockGrpcWorkerMockRecorder) HandleEvent(arg0 interface{}) *gomock.Call
- func (mr *MockGrpcWorkerMockRecorder) HandleHttpRequest(arg0 interface{}) *gomock.Call
- func (mr *MockGrpcWorkerMockRecorder) HandlesEvent(arg0 interface{}) *gomock.Call
- func (mr *MockGrpcWorkerMockRecorder) HandlesHttpRequest(arg0 interface{}) *gomock.Call
- func (mr *MockGrpcWorkerMockRecorder) Listen(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGrpcWorker ¶
type MockGrpcWorker struct {
// contains filtered or unexported fields
}
MockGrpcWorker is a mock of GrpcWorker interface.
func NewMockGrpcWorker ¶
func NewMockGrpcWorker(ctrl *gomock.Controller) *MockGrpcWorker
NewMockGrpcWorker creates a new mock instance.
func (*MockGrpcWorker) EXPECT ¶
func (m *MockGrpcWorker) EXPECT() *MockGrpcWorkerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGrpcWorker) HandleEvent ¶
func (m *MockGrpcWorker) HandleEvent(arg0 *triggers.Event) error
HandleEvent mocks base method.
func (*MockGrpcWorker) HandleHttpRequest ¶
func (m *MockGrpcWorker) HandleHttpRequest(arg0 *triggers.HttpRequest) (*triggers.HttpResponse, error)
HandleHttpRequest mocks base method.
func (*MockGrpcWorker) HandlesEvent ¶
func (m *MockGrpcWorker) HandlesEvent(arg0 *triggers.Event) bool
HandlesEvent mocks base method.
func (*MockGrpcWorker) HandlesHttpRequest ¶
func (m *MockGrpcWorker) HandlesHttpRequest(arg0 *triggers.HttpRequest) bool
HandlesHttpRequest mocks base method.
func (*MockGrpcWorker) Listen ¶
func (m *MockGrpcWorker) Listen(arg0 chan error)
Listen mocks base method.
type MockGrpcWorkerMockRecorder ¶
type MockGrpcWorkerMockRecorder struct {
// contains filtered or unexported fields
}
MockGrpcWorkerMockRecorder is the mock recorder for MockGrpcWorker.
func (*MockGrpcWorkerMockRecorder) HandleEvent ¶
func (mr *MockGrpcWorkerMockRecorder) HandleEvent(arg0 interface{}) *gomock.Call
HandleEvent indicates an expected call of HandleEvent.
func (*MockGrpcWorkerMockRecorder) HandleHttpRequest ¶
func (mr *MockGrpcWorkerMockRecorder) HandleHttpRequest(arg0 interface{}) *gomock.Call
HandleHttpRequest indicates an expected call of HandleHttpRequest.
func (*MockGrpcWorkerMockRecorder) HandlesEvent ¶
func (mr *MockGrpcWorkerMockRecorder) HandlesEvent(arg0 interface{}) *gomock.Call
HandlesEvent indicates an expected call of HandlesEvent.
func (*MockGrpcWorkerMockRecorder) HandlesHttpRequest ¶
func (mr *MockGrpcWorkerMockRecorder) HandlesHttpRequest(arg0 interface{}) *gomock.Call
HandlesHttpRequest indicates an expected call of HandlesHttpRequest.
func (*MockGrpcWorkerMockRecorder) Listen ¶
func (mr *MockGrpcWorkerMockRecorder) Listen(arg0 interface{}) *gomock.Call
Listen indicates an expected call of Listen.