mocks_gateway

package
v1.13.0-preview-1 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks_gateway is a generated GoMock package.

Package mocks_gateway is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockThrottler

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

MockThrottler is a mock of Throttler interface.

func NewMockThrottler

func NewMockThrottler(ctrl *gomock.Controller) *MockThrottler

NewMockThrottler creates a new mock instance.

func (*MockThrottler) CheckLimitReached

func (m *MockThrottler) CheckLimitReached(arg0 context.Context, arg1 string) (bool, error)

CheckLimitReached mocks base method.

func (*MockThrottler) EXPECT

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

type MockThrottlerMockRecorder

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

MockThrottlerMockRecorder is the mock recorder for MockThrottler.

func (*MockThrottlerMockRecorder) CheckLimitReached

func (mr *MockThrottlerMockRecorder) CheckLimitReached(arg0, arg1 interface{}) *gomock.Call

CheckLimitReached indicates an expected call of CheckLimitReached.

type MockWebhook added in v1.9.0

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

MockWebhook is a mock of Webhook interface.

func NewMockWebhook added in v1.9.0

func NewMockWebhook(ctrl *gomock.Controller) *MockWebhook

NewMockWebhook creates a new mock instance.

func (*MockWebhook) EXPECT added in v1.9.0

func (m *MockWebhook) EXPECT() *MockWebhookMockRecorder

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

func (*MockWebhook) Register added in v1.9.0

func (m *MockWebhook) Register(arg0 string)

Register mocks base method.

func (*MockWebhook) RequestHandler added in v1.9.0

func (m *MockWebhook) RequestHandler(arg0 http.ResponseWriter, arg1 *http.Request)

RequestHandler mocks base method.

func (*MockWebhook) Shutdown added in v1.9.0

func (m *MockWebhook) Shutdown() error

Shutdown mocks base method.

type MockWebhookMockRecorder added in v1.9.0

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

MockWebhookMockRecorder is the mock recorder for MockWebhook.

func (*MockWebhookMockRecorder) Register added in v1.9.0

func (mr *MockWebhookMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockWebhookMockRecorder) RequestHandler added in v1.9.0

func (mr *MockWebhookMockRecorder) RequestHandler(arg0, arg1 interface{}) *gomock.Call

RequestHandler indicates an expected call of RequestHandler.

func (*MockWebhookMockRecorder) Shutdown added in v1.9.0

func (mr *MockWebhookMockRecorder) Shutdown() *gomock.Call

Shutdown indicates an expected call of Shutdown.

Jump to

Keyboard shortcuts

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