Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockTypesenseAPIService
- func (m *MockTypesenseAPIService) Autocomplete(ctx context.Context, search string) (*api.SearchResult, error)
- func (m *MockTypesenseAPIService) EXPECT() *MockTypesenseAPIServiceMockRecorder
- func (m *MockTypesenseAPIService) GetDeviceDefinitions(ctx context.Context, search, make, model string, year, page, pageSize int) (*api.SearchResult, error)
- type MockTypesenseAPIServiceMockRecorder
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 ¶
func (m *MockTypesenseAPIService) EXPECT() *MockTypesenseAPIServiceMockRecorder
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.
Click to show internal directories.
Click to hide internal directories.