mock

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRequestStore

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

MockRequestStore is a mock of RequestStore interface.

func NewMockRequestStore

func NewMockRequestStore(ctrl *gomock.Controller) *MockRequestStore

NewMockRequestStore creates a new mock instance.

func (*MockRequestStore) Create

func (m *MockRequestStore) Create(ctx context.Context, request entity.Request) error

Create mocks base method.

func (*MockRequestStore) EXPECT

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

func (*MockRequestStore) Get

Get mocks base method.

func (*MockRequestStore) Update

func (m *MockRequestStore) Update(ctx context.Context, request entity.Request, oldVersion, newVersion int32) error

Update mocks base method.

type MockRequestStoreMockRecorder

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

MockRequestStoreMockRecorder is the mock recorder for MockRequestStore.

func (*MockRequestStoreMockRecorder) Create

func (mr *MockRequestStoreMockRecorder) Create(ctx, request any) *gomock.Call

Create indicates an expected call of Create.

func (*MockRequestStoreMockRecorder) Get

func (mr *MockRequestStoreMockRecorder) Get(ctx, id any) *gomock.Call

Get indicates an expected call of Get.

func (*MockRequestStoreMockRecorder) Update

func (mr *MockRequestStoreMockRecorder) Update(ctx, request, oldVersion, newVersion any) *gomock.Call

Update indicates an expected call of Update.

type MockRequestURIStore

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

MockRequestURIStore is a mock of RequestURIStore interface.

func NewMockRequestURIStore

func NewMockRequestURIStore(ctrl *gomock.Controller) *MockRequestURIStore

NewMockRequestURIStore creates a new mock instance.

func (*MockRequestURIStore) Create

func (m *MockRequestURIStore) Create(ctx context.Context, queue, uri, id string) error

Create mocks base method.

func (*MockRequestURIStore) EXPECT

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

func (*MockRequestURIStore) GetIDByURI

func (m *MockRequestURIStore) GetIDByURI(ctx context.Context, queue, uri string) (string, error)

GetIDByURI mocks base method.

type MockRequestURIStoreMockRecorder

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

MockRequestURIStoreMockRecorder is the mock recorder for MockRequestURIStore.

func (*MockRequestURIStoreMockRecorder) Create

func (mr *MockRequestURIStoreMockRecorder) Create(ctx, queue, uri, id any) *gomock.Call

Create indicates an expected call of Create.

func (*MockRequestURIStoreMockRecorder) GetIDByURI

func (mr *MockRequestURIStoreMockRecorder) GetIDByURI(ctx, queue, uri any) *gomock.Call

GetIDByURI indicates an expected call of GetIDByURI.

type MockStorage

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

MockStorage is a mock of Storage interface.

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance.

func (*MockStorage) Close

func (m *MockStorage) Close() error

Close mocks base method.

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

func (*MockStorage) GetRequestStore

func (m *MockStorage) GetRequestStore() storage.RequestStore

GetRequestStore mocks base method.

func (*MockStorage) GetRequestURIStore

func (m *MockStorage) GetRequestURIStore() storage.RequestURIStore

GetRequestURIStore mocks base method.

type MockStorageMockRecorder

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

MockStorageMockRecorder is the mock recorder for MockStorage.

func (*MockStorageMockRecorder) Close

func (mr *MockStorageMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockStorageMockRecorder) GetRequestStore

func (mr *MockStorageMockRecorder) GetRequestStore() *gomock.Call

GetRequestStore indicates an expected call of GetRequestStore.

func (*MockStorageMockRecorder) GetRequestURIStore

func (mr *MockStorageMockRecorder) GetRequestURIStore() *gomock.Call

GetRequestURIStore indicates an expected call of GetRequestURIStore.

Jump to

Keyboard shortcuts

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