Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 MockTaskQueue

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

MockTaskQueue is a mock of TaskQueue interface.

func NewMockTaskQueue

func NewMockTaskQueue(ctrl *gomock.Controller) *MockTaskQueue

NewMockTaskQueue creates a new mock instance.

func (*MockTaskQueue) Add

func (m *MockTaskQueue) Add(ctx context.Context, tasks []*taskqueue.TaskMessage) error

Add mocks base method.

func (*MockTaskQueue) Delete

func (m *MockTaskQueue) Delete(ctx context.Context, task *taskqueue.TaskMessage) error

Delete mocks base method.

func (*MockTaskQueue) EXPECT

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

func (*MockTaskQueue) Get

Get mocks base method.

func (*MockTaskQueue) Size

func (m *MockTaskQueue) Size(ctx context.Context) (int64, error)

Size mocks base method.

type MockTaskQueueMockRecorder

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

MockTaskQueueMockRecorder is the mock recorder for MockTaskQueue.

func (*MockTaskQueueMockRecorder) Add

func (mr *MockTaskQueueMockRecorder) Add(ctx, tasks any) *gomock.Call

Add indicates an expected call of Add.

func (*MockTaskQueueMockRecorder) Delete

func (mr *MockTaskQueueMockRecorder) Delete(ctx, task any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockTaskQueueMockRecorder) Get

func (mr *MockTaskQueueMockRecorder) Get(ctx, opts any) *gomock.Call

Get indicates an expected call of Get.

func (*MockTaskQueueMockRecorder) Size

func (mr *MockTaskQueueMockRecorder) Size(ctx any) *gomock.Call

Size indicates an expected call of Size.

Jump to

Keyboard shortcuts

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