mock_localstorage

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_localstorage is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) DeleteIndex

func (m *MockInterface) DeleteIndex(ctx context.Context, indexDir string) error

DeleteIndex mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) Index

func (m *MockInterface) Index(ctx context.Context, key string, data any) error

Index mocks base method.

func (*MockInterface) NewIndex

func (m *MockInterface) NewIndex(ctx context.Context, indexPath string) error

NewIndex mocks base method.

func (*MockInterface) Search

func (m *MockInterface) Search(ctx context.Context, query string) ([]string, error)

Search mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) DeleteIndex

func (mr *MockInterfaceMockRecorder) DeleteIndex(ctx, indexDir any) *gomock.Call

DeleteIndex indicates an expected call of DeleteIndex.

func (*MockInterfaceMockRecorder) Index

func (mr *MockInterfaceMockRecorder) Index(ctx, key, data any) *gomock.Call

Index indicates an expected call of Index.

func (*MockInterfaceMockRecorder) NewIndex

func (mr *MockInterfaceMockRecorder) NewIndex(ctx, indexPath any) *gomock.Call

NewIndex indicates an expected call of NewIndex.

func (*MockInterfaceMockRecorder) Search

func (mr *MockInterfaceMockRecorder) Search(ctx, query any) *gomock.Call

Search indicates an expected call of Search.

Jump to

Keyboard shortcuts

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