mock

package
v0.0.0-...-b0c7fd6 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

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 MockEngine

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

MockEngine is a mock of Engine interface.

func NewMockEngine

func NewMockEngine(ctrl *gomock.Controller) *MockEngine

NewMockEngine creates a new mock instance.

func (*MockEngine) EXPECT

func (m *MockEngine) EXPECT() *MockEngineMockRecorder

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

func (*MockEngine) Get

func (m *MockEngine) Get(key string) ([]storage.Value, error)

Get mocks base method.

func (*MockEngine) Put

func (m *MockEngine) Put(key string, value storage.Value) error

Put mocks base method.

type MockEngineMockRecorder

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

MockEngineMockRecorder is the mock recorder for MockEngine.

func (*MockEngineMockRecorder) Get

func (mr *MockEngineMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockEngineMockRecorder) Put

func (mr *MockEngineMockRecorder) Put(key, value interface{}) *gomock.Call

Put indicates an expected call of Put.

type MockScanIterator

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

MockScanIterator is a mock of ScanIterator interface.

func NewMockScanIterator

func NewMockScanIterator(ctrl *gomock.Controller) *MockScanIterator

NewMockScanIterator creates a new mock instance.

func (*MockScanIterator) EXPECT

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

func (*MockScanIterator) Item

func (m *MockScanIterator) Item() (string, []storage.Value)

Item mocks base method.

func (*MockScanIterator) Next

func (m *MockScanIterator) Next() error

Next mocks base method.

type MockScanIteratorMockRecorder

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

MockScanIteratorMockRecorder is the mock recorder for MockScanIterator.

func (*MockScanIteratorMockRecorder) Item

Item indicates an expected call of Item.

func (*MockScanIteratorMockRecorder) Next

Next indicates an expected call of Next.

type MockScannable

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

MockScannable is a mock of Scannable interface.

func NewMockScannable

func NewMockScannable(ctrl *gomock.Controller) *MockScannable

NewMockScannable creates a new mock instance.

func (*MockScannable) EXPECT

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

func (*MockScannable) Scan

Scan mocks base method.

type MockScannableMockRecorder

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

MockScannableMockRecorder is the mock recorder for MockScannable.

func (*MockScannableMockRecorder) Scan

func (mr *MockScannableMockRecorder) Scan(key interface{}) *gomock.Call

Scan indicates an expected call of Scan.

Jump to

Keyboard shortcuts

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