Documentation ¶
Overview ¶
Package mock_localstorage is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) DeleteIndex(ctx context.Context, indexDir string) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Index(ctx context.Context, key string, data any) error
- func (m *MockInterface) NewIndex(ctx context.Context, indexPath string) error
- func (m *MockInterface) Search(ctx context.Context, query string) ([]string, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) DeleteIndex(ctx, indexDir any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Index(ctx, key, data any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) NewIndex(ctx, indexPath any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Search(ctx, query any) *gomock.Call
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 ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
Click to show internal directories.
Click to hide internal directories.