mocks

package
v0.0.0-...-421adc4 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: internal/queue/client.go

Generated by this command:

mockgen -source internal/queue/client.go -package mocks

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: internal/service/routing.go

Generated by this command:

mockgen -source internal/service/routing.go -package mocks

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: internal/db/store.go

Generated by this command:

mockgen -source internal/db/store.go -package mocks

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Enqueue

func (m *MockClient) Enqueue(arg0 *asynq.Task, arg1 ...asynq.Option) (*asynq.TaskInfo, error)

Enqueue mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Enqueue

func (mr *MockClientMockRecorder) Enqueue(arg0 any, arg1 ...any) *gomock.Call

Enqueue indicates an expected call of Enqueue.

type MockInputStore

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

MockInputStore is a mock of InputStore interface.

func NewMockInputStore

func NewMockInputStore(ctrl *gomock.Controller) *MockInputStore

NewMockInputStore creates a new mock instance.

func (*MockInputStore) CreateInput

func (m *MockInputStore) CreateInput(arg0 context.Context, arg1 *model.Input) error

CreateInput mocks base method.

func (*MockInputStore) DeleteInput

func (m *MockInputStore) DeleteInput(arg0 context.Context, arg1 uuid.UUID) error

DeleteInput mocks base method.

func (*MockInputStore) EXPECT

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

func (*MockInputStore) GetInput

func (m *MockInputStore) GetInput(arg0 context.Context, arg1 uuid.UUID) (model.Input, error)

GetInput mocks base method.

type MockInputStoreMockRecorder

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

MockInputStoreMockRecorder is the mock recorder for MockInputStore.

func (*MockInputStoreMockRecorder) CreateInput

func (mr *MockInputStoreMockRecorder) CreateInput(arg0, arg1 any) *gomock.Call

CreateInput indicates an expected call of CreateInput.

func (*MockInputStoreMockRecorder) DeleteInput

func (mr *MockInputStoreMockRecorder) DeleteInput(arg0, arg1 any) *gomock.Call

DeleteInput indicates an expected call of DeleteInput.

func (*MockInputStoreMockRecorder) GetInput

func (mr *MockInputStoreMockRecorder) GetInput(arg0, arg1 any) *gomock.Call

GetInput indicates an expected call of GetInput.

type MockOriginHandler

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

MockOriginHandler is a mock of OriginHandler interface.

func NewMockOriginHandler

func NewMockOriginHandler(ctrl *gomock.Controller) *MockOriginHandler

NewMockOriginHandler creates a new mock instance.

func (*MockOriginHandler) EXPECT

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

func (*MockOriginHandler) Get

func (m *MockOriginHandler) Get(arg0 context.Context, arg1 uuid.UUID) (service.Origin, error)

Get mocks base method.

func (*MockOriginHandler) Update

func (m *MockOriginHandler) Update(arg0 context.Context, arg1 service.Origin) error

Update mocks base method.

type MockOriginHandlerMockRecorder

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

MockOriginHandlerMockRecorder is the mock recorder for MockOriginHandler.

func (*MockOriginHandlerMockRecorder) Get

func (mr *MockOriginHandlerMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockOriginHandlerMockRecorder) Update

func (mr *MockOriginHandlerMockRecorder) Update(arg0, arg1 any) *gomock.Call

Update indicates an expected call of Update.

type MockOriginStore

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

MockOriginStore is a mock of OriginStore interface.

func NewMockOriginStore

func NewMockOriginStore(ctrl *gomock.Controller) *MockOriginStore

NewMockOriginStore creates a new mock instance.

func (*MockOriginStore) EXPECT

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

func (*MockOriginStore) Get

func (m *MockOriginStore) Get(arg0 context.Context, arg1 uuid.UUID) (service.Origin, error)

Get mocks base method.

func (*MockOriginStore) Update

func (m *MockOriginStore) Update(arg0 context.Context, arg1 service.Origin) error

Update mocks base method.

type MockOriginStoreMockRecorder

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

MockOriginStoreMockRecorder is the mock recorder for MockOriginStore.

func (*MockOriginStoreMockRecorder) Get

func (mr *MockOriginStoreMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockOriginStoreMockRecorder) Update

func (mr *MockOriginStoreMockRecorder) Update(arg0, arg1 any) *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