mockwebhook

package
v1.13.0-preview-2 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mockwebhook is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGateway

type MockGateway struct {
	// contains filtered or unexported fields
}

MockGateway is a mock of Gateway interface.

func NewMockGateway

func NewMockGateway(ctrl *gomock.Controller) *MockGateway

NewMockGateway creates a new mock instance.

func (*MockGateway) EXPECT

func (m *MockGateway) EXPECT() *MockGatewayMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGateway) NewSourceStat

func (m *MockGateway) NewSourceStat(arg0 *types.AuthRequestContext, arg1 string) *stats.SourceStat

NewSourceStat mocks base method.

func (*MockGateway) ProcessWebRequest

func (m *MockGateway) ProcessWebRequest(arg0 *http.ResponseWriter, arg1 *http.Request, arg2 string, arg3 []byte, arg4 *types.AuthRequestContext) string

ProcessWebRequest mocks base method.

func (*MockGateway) SaveWebhookFailures

func (m *MockGateway) SaveWebhookFailures(arg0 []*model.FailedWebhookPayload) error

SaveWebhookFailures mocks base method.

func (*MockGateway) TrackRequestMetrics

func (m *MockGateway) TrackRequestMetrics(arg0 string)

TrackRequestMetrics mocks base method.

type MockGatewayMockRecorder

type MockGatewayMockRecorder struct {
	// contains filtered or unexported fields
}

MockGatewayMockRecorder is the mock recorder for MockGateway.

func (*MockGatewayMockRecorder) NewSourceStat

func (mr *MockGatewayMockRecorder) NewSourceStat(arg0, arg1 interface{}) *gomock.Call

NewSourceStat indicates an expected call of NewSourceStat.

func (*MockGatewayMockRecorder) ProcessWebRequest

func (mr *MockGatewayMockRecorder) ProcessWebRequest(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

ProcessWebRequest indicates an expected call of ProcessWebRequest.

func (*MockGatewayMockRecorder) SaveWebhookFailures

func (mr *MockGatewayMockRecorder) SaveWebhookFailures(arg0 interface{}) *gomock.Call

SaveWebhookFailures indicates an expected call of SaveWebhookFailures.

func (*MockGatewayMockRecorder) TrackRequestMetrics

func (mr *MockGatewayMockRecorder) TrackRequestMetrics(arg0 interface{}) *gomock.Call

TrackRequestMetrics indicates an expected call of TrackRequestMetrics.

Jump to

Keyboard shortcuts

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