mocks

package
v1.2.36 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 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 MockTypesenseAPIService

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

MockTypesenseAPIService is a mock of TypesenseAPIService interface.

func NewMockTypesenseAPIService

func NewMockTypesenseAPIService(ctrl *gomock.Controller) *MockTypesenseAPIService

NewMockTypesenseAPIService creates a new mock instance.

func (*MockTypesenseAPIService) Autocomplete

func (m *MockTypesenseAPIService) Autocomplete(ctx context.Context, search string) (*api.SearchResult, error)

Autocomplete mocks base method.

func (*MockTypesenseAPIService) EXPECT

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

func (*MockTypesenseAPIService) GetDeviceDefinitions

func (m *MockTypesenseAPIService) GetDeviceDefinitions(ctx context.Context, search, make, model string, year, page, pageSize int) (*api.SearchResult, error)

GetDeviceDefinitions mocks base method.

type MockTypesenseAPIServiceMockRecorder

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

MockTypesenseAPIServiceMockRecorder is the mock recorder for MockTypesenseAPIService.

func (*MockTypesenseAPIServiceMockRecorder) Autocomplete

func (mr *MockTypesenseAPIServiceMockRecorder) Autocomplete(ctx, search any) *gomock.Call

Autocomplete indicates an expected call of Autocomplete.

func (*MockTypesenseAPIServiceMockRecorder) GetDeviceDefinitions

func (mr *MockTypesenseAPIServiceMockRecorder) GetDeviceDefinitions(ctx, search, make, model, year, page, pageSize any) *gomock.Call

GetDeviceDefinitions indicates an expected call of GetDeviceDefinitions.

Jump to

Keyboard shortcuts

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