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, mk, model string, year, page, pageSize int) (*api.SearchResult, error)
- func (m *MockTypesenseAPIService) SearchR1Compatibility(ctx context.Context, search string, page, pageSize int) (*api.SearchResult, error)
- type MockTypesenseAPIServiceMockRecorder
- func (mr *MockTypesenseAPIServiceMockRecorder) Autocomplete(ctx, search any) *gomock.Call
- func (mr *MockTypesenseAPIServiceMockRecorder) GetDeviceDefinitions(ctx, search, mk, model, year, page, pageSize any) *gomock.Call
- func (mr *MockTypesenseAPIServiceMockRecorder) SearchR1Compatibility(ctx, search, page, pageSize any) *gomock.Call
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, mk, model string, year, page, pageSize int) (*api.SearchResult, error)
GetDeviceDefinitions mocks base method.
func (*MockTypesenseAPIService) SearchR1Compatibility ¶ added in v1.2.56
func (m *MockTypesenseAPIService) SearchR1Compatibility(ctx context.Context, search string, page, pageSize int) (*api.SearchResult, error)
SearchR1Compatibility 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, mk, model, year, page, pageSize any) *gomock.Call
GetDeviceDefinitions indicates an expected call of GetDeviceDefinitions.
func (*MockTypesenseAPIServiceMockRecorder) SearchR1Compatibility ¶ added in v1.2.56
func (mr *MockTypesenseAPIServiceMockRecorder) SearchR1Compatibility(ctx, search, page, pageSize any) *gomock.Call
SearchR1Compatibility indicates an expected call of SearchR1Compatibility.