Documentation ¶
Overview ¶
Package worker is a generated GoMock package.
Index ¶
- type MockAdapter
- type MockAdapterMockRecorder
- type MockWorker
- func (m *MockWorker) EXPECT() *MockWorkerMockRecorder
- func (m *MockWorker) HandleEvent(arg0 context.Context, arg1 *triggers.Event) error
- func (m *MockWorker) HandleHttpRequest(arg0 context.Context, arg1 *triggers.HttpRequest) (*triggers.HttpResponse, error)
- func (m *MockWorker) HandlesEvent(arg0 *triggers.Event) bool
- func (m *MockWorker) HandlesHttpRequest(arg0 *triggers.HttpRequest) bool
- type MockWorkerMockRecorder
- func (mr *MockWorkerMockRecorder) HandleEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWorkerMockRecorder) HandleHttpRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWorkerMockRecorder) HandlesEvent(arg0 interface{}) *gomock.Call
- func (mr *MockWorkerMockRecorder) HandlesHttpRequest(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAdapter ¶ added in v0.18.0
type MockAdapter struct {
// contains filtered or unexported fields
}
MockAdapter is a mock of Adapter interface.
func NewMockAdapter ¶ added in v0.18.0
func NewMockAdapter(ctrl *gomock.Controller) *MockAdapter
NewMockAdapter creates a new mock instance.
func (*MockAdapter) EXPECT ¶ added in v0.18.0
func (m *MockAdapter) EXPECT() *MockAdapterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAdapter) HandleEvent ¶ added in v0.18.0
HandleEvent mocks base method.
func (*MockAdapter) HandleHttpRequest ¶ added in v0.18.0
func (m *MockAdapter) HandleHttpRequest(arg0 context.Context, arg1 *triggers.HttpRequest) (*triggers.HttpResponse, error)
HandleHttpRequest mocks base method.
type MockAdapterMockRecorder ¶ added in v0.18.0
type MockAdapterMockRecorder struct {
// contains filtered or unexported fields
}
MockAdapterMockRecorder is the mock recorder for MockAdapter.
func (*MockAdapterMockRecorder) HandleEvent ¶ added in v0.18.0
func (mr *MockAdapterMockRecorder) HandleEvent(arg0, arg1 interface{}) *gomock.Call
HandleEvent indicates an expected call of HandleEvent.
func (*MockAdapterMockRecorder) HandleHttpRequest ¶ added in v0.18.0
func (mr *MockAdapterMockRecorder) HandleHttpRequest(arg0, arg1 interface{}) *gomock.Call
HandleHttpRequest indicates an expected call of HandleHttpRequest.
type MockWorker ¶ added in v0.18.0
type MockWorker struct {
// contains filtered or unexported fields
}
MockWorker is a mock of Worker interface.
func NewMockWorker ¶ added in v0.18.0
func NewMockWorker(ctrl *gomock.Controller) *MockWorker
NewMockWorker creates a new mock instance.
func (*MockWorker) EXPECT ¶ added in v0.18.0
func (m *MockWorker) EXPECT() *MockWorkerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWorker) HandleEvent ¶ added in v0.18.0
HandleEvent mocks base method.
func (*MockWorker) HandleHttpRequest ¶ added in v0.18.0
func (m *MockWorker) HandleHttpRequest(arg0 context.Context, arg1 *triggers.HttpRequest) (*triggers.HttpResponse, error)
HandleHttpRequest mocks base method.
func (*MockWorker) HandlesEvent ¶ added in v0.18.0
func (m *MockWorker) HandlesEvent(arg0 *triggers.Event) bool
HandlesEvent mocks base method.
func (*MockWorker) HandlesHttpRequest ¶ added in v0.18.0
func (m *MockWorker) HandlesHttpRequest(arg0 *triggers.HttpRequest) bool
HandlesHttpRequest mocks base method.
type MockWorkerMockRecorder ¶ added in v0.18.0
type MockWorkerMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkerMockRecorder is the mock recorder for MockWorker.
func (*MockWorkerMockRecorder) HandleEvent ¶ added in v0.18.0
func (mr *MockWorkerMockRecorder) HandleEvent(arg0, arg1 interface{}) *gomock.Call
HandleEvent indicates an expected call of HandleEvent.
func (*MockWorkerMockRecorder) HandleHttpRequest ¶ added in v0.18.0
func (mr *MockWorkerMockRecorder) HandleHttpRequest(arg0, arg1 interface{}) *gomock.Call
HandleHttpRequest indicates an expected call of HandleHttpRequest.
func (*MockWorkerMockRecorder) HandlesEvent ¶ added in v0.18.0
func (mr *MockWorkerMockRecorder) HandlesEvent(arg0 interface{}) *gomock.Call
HandlesEvent indicates an expected call of HandlesEvent.
func (*MockWorkerMockRecorder) HandlesHttpRequest ¶ added in v0.18.0
func (mr *MockWorkerMockRecorder) HandlesHttpRequest(arg0 interface{}) *gomock.Call
HandlesHttpRequest indicates an expected call of HandlesHttpRequest.