mock_webhook

package
v0.0.0-...-fe4d2ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_webhook is a generated GoMock package.

Index

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

Create mocks base method.

func (*MockWebhookController) Delete

Delete mocks base method.

func (*MockWebhookController) EXPECT

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

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.

func (*MockWebhookController) Update

Update 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL