Documentation ¶
Overview ¶
Package mock_webhook is a generated GoMock package.
Index ¶
- type MockWebhookController
- func (m *MockWebhookController) Create(ctx context.Context, ts int64, req webhook.CreateWebhookRequest) (model.Webhook, error)
- func (m *MockWebhookController) Delete(ctx context.Context, ts int64, req webhook.DeleteWebhookRequest) (model.Webhook, error)
- func (m *MockWebhookController) EXPECT() *MockWebhookControllerMockRecorder
- func (m *MockWebhookController) Get(ctx context.Context, applicationID, id string) (model.Webhook, error)
- func (m *MockWebhookController) List(ctx context.Context, req webhook.ListWebhookRequest) (webhook.ListWebhookResponse, error)
- func (m *MockWebhookController) SendWebhookEvent(ctx context.Context, tx storage.Tx, ts int64, applicationID, id string, ...) error
- func (m *MockWebhookController) Update(ctx context.Context, ts int64, req webhook.UpdateWebhookRequest) (model.Webhook, error)
- type MockWebhookControllerMockRecorder
- func (mr *MockWebhookControllerMockRecorder) Create(ctx, ts, req interface{}) *gomock.Call
- func (mr *MockWebhookControllerMockRecorder) Delete(ctx, ts, req interface{}) *gomock.Call
- func (mr *MockWebhookControllerMockRecorder) Get(ctx, applicationID, id interface{}) *gomock.Call
- func (mr *MockWebhookControllerMockRecorder) List(ctx, req interface{}) *gomock.Call
- func (mr *MockWebhookControllerMockRecorder) SendWebhookEvent(ctx, tx, ts, applicationID, id, eventType interface{}) *gomock.Call
- func (mr *MockWebhookControllerMockRecorder) Update(ctx, ts, req interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWebhookController ¶
type MockWebhookController struct {
// contains filtered or unexported fields
}
MockWebhookController is a mock of WebhookController interface.
func NewMockWebhookController ¶
func NewMockWebhookController(ctrl *gomock.Controller) *MockWebhookController
NewMockWebhookController creates a new mock instance.
func (*MockWebhookController) Create ¶
func (m *MockWebhookController) Create(ctx context.Context, ts int64, req webhook.CreateWebhookRequest) (model.Webhook, error)
Create mocks base method.
func (*MockWebhookController) Delete ¶
func (m *MockWebhookController) Delete(ctx context.Context, ts int64, req webhook.DeleteWebhookRequest) (model.Webhook, error)
Delete mocks base method.
func (*MockWebhookController) EXPECT ¶
func (m *MockWebhookController) EXPECT() *MockWebhookControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWebhookController) Get ¶
func (m *MockWebhookController) Get(ctx context.Context, applicationID, id string) (model.Webhook, error)
Get mocks base method.
func (*MockWebhookController) List ¶
func (m *MockWebhookController) List(ctx context.Context, req webhook.ListWebhookRequest) (webhook.ListWebhookResponse, error)
List mocks base method.
func (*MockWebhookController) SendWebhookEvent ¶
func (m *MockWebhookController) SendWebhookEvent(ctx context.Context, tx storage.Tx, ts int64, applicationID, id string, eventType model.WebhookEventType) error
SendWebhookEvent mocks base method.
type MockWebhookControllerMockRecorder ¶
type MockWebhookControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockWebhookControllerMockRecorder is the mock recorder for MockWebhookController.
func (*MockWebhookControllerMockRecorder) Create ¶
func (mr *MockWebhookControllerMockRecorder) Create(ctx, ts, req interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockWebhookControllerMockRecorder) Delete ¶
func (mr *MockWebhookControllerMockRecorder) Delete(ctx, ts, req interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockWebhookControllerMockRecorder) Get ¶
func (mr *MockWebhookControllerMockRecorder) Get(ctx, applicationID, id interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockWebhookControllerMockRecorder) List ¶
func (mr *MockWebhookControllerMockRecorder) List(ctx, req interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockWebhookControllerMockRecorder) SendWebhookEvent ¶
func (mr *MockWebhookControllerMockRecorder) SendWebhookEvent(ctx, tx, ts, applicationID, id, eventType interface{}) *gomock.Call
SendWebhookEvent indicates an expected call of SendWebhookEvent.
func (*MockWebhookControllerMockRecorder) Update ¶
func (mr *MockWebhookControllerMockRecorder) Update(ctx, ts, req interface{}) *gomock.Call
Update indicates an expected call of Update.