Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: powertrain_type_service.go
Generated by this command:
mockgen -source powertrain_type_service.go -destination mocks/powertrain_type_service_mock.go -package mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockDeviceDefinitionCacheService
- func (m *MockDeviceDefinitionCacheService) DeleteDeviceDefinitionCacheByID(ctx context.Context, id string)
- func (m *MockDeviceDefinitionCacheService) DeleteDeviceDefinitionCacheByMakeModelAndYears(ctx context.Context, make, model string, year int)
- func (m *MockDeviceDefinitionCacheService) DeleteDeviceDefinitionCacheBySlug(ctx context.Context, slug string, year int)
- func (m *MockDeviceDefinitionCacheService) EXPECT() *MockDeviceDefinitionCacheServiceMockRecorder
- func (m *MockDeviceDefinitionCacheService) GetDeviceDefinitionByID(ctx context.Context, id string, options ...services.GetDeviceDefinitionOption) (*models.GetDeviceDefinitionQueryResult, error)
- func (m *MockDeviceDefinitionCacheService) GetDeviceDefinitionByMakeModelAndYears(ctx context.Context, make, model string, year int) (*models.GetDeviceDefinitionQueryResult, error)
- func (m *MockDeviceDefinitionCacheService) GetDeviceDefinitionBySlug(ctx context.Context, slug string, year int) (*models.GetDeviceDefinitionQueryResult, error)
- func (m *MockDeviceDefinitionCacheService) GetDeviceDefinitionBySlugName(ctx context.Context, slug string) (*models.GetDeviceDefinitionQueryResult, error)
- type MockDeviceDefinitionCacheServiceMockRecorder
- func (mr *MockDeviceDefinitionCacheServiceMockRecorder) DeleteDeviceDefinitionCacheByID(ctx, id any) *gomock.Call
- func (mr *MockDeviceDefinitionCacheServiceMockRecorder) DeleteDeviceDefinitionCacheByMakeModelAndYears(ctx, make, model, year any) *gomock.Call
- func (mr *MockDeviceDefinitionCacheServiceMockRecorder) DeleteDeviceDefinitionCacheBySlug(ctx, slug, year any) *gomock.Call
- func (mr *MockDeviceDefinitionCacheServiceMockRecorder) GetDeviceDefinitionByID(ctx, id any, options ...any) *gomock.Call
- func (mr *MockDeviceDefinitionCacheServiceMockRecorder) GetDeviceDefinitionByMakeModelAndYears(ctx, make, model, year any) *gomock.Call
- func (mr *MockDeviceDefinitionCacheServiceMockRecorder) GetDeviceDefinitionBySlug(ctx, slug, year any) *gomock.Call
- func (mr *MockDeviceDefinitionCacheServiceMockRecorder) GetDeviceDefinitionBySlugName(ctx, slug any) *gomock.Call
- type MockPowerTrainTypeService
- func (m *MockPowerTrainTypeService) EXPECT() *MockPowerTrainTypeServiceMockRecorder
- func (m *MockPowerTrainTypeService) ResolvePowerTrainFromVinInfo(vinInfo *models.VINDecodingInfoData) string
- func (m *MockPowerTrainTypeService) ResolvePowerTrainType(ctx context.Context, makeSlug, modelSlug string, definitionID *string, ...) (string, error)
- type MockPowerTrainTypeServiceMockRecorder
- type MockVINDecodingService
- type MockVINDecodingServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDeviceDefinitionCacheService ¶
type MockDeviceDefinitionCacheService struct {
// contains filtered or unexported fields
}
MockDeviceDefinitionCacheService is a mock of DeviceDefinitionCacheService interface.
func NewMockDeviceDefinitionCacheService ¶
func NewMockDeviceDefinitionCacheService(ctrl *gomock.Controller) *MockDeviceDefinitionCacheService
NewMockDeviceDefinitionCacheService creates a new mock instance.
func (*MockDeviceDefinitionCacheService) DeleteDeviceDefinitionCacheByID ¶
func (m *MockDeviceDefinitionCacheService) DeleteDeviceDefinitionCacheByID(ctx context.Context, id string)
DeleteDeviceDefinitionCacheByID mocks base method.
func (*MockDeviceDefinitionCacheService) DeleteDeviceDefinitionCacheByMakeModelAndYears ¶
func (m *MockDeviceDefinitionCacheService) DeleteDeviceDefinitionCacheByMakeModelAndYears(ctx context.Context, make, model string, year int)
DeleteDeviceDefinitionCacheByMakeModelAndYears mocks base method.
func (*MockDeviceDefinitionCacheService) DeleteDeviceDefinitionCacheBySlug ¶ added in v0.2.7
func (m *MockDeviceDefinitionCacheService) DeleteDeviceDefinitionCacheBySlug(ctx context.Context, slug string, year int)
DeleteDeviceDefinitionCacheBySlug mocks base method.
func (*MockDeviceDefinitionCacheService) EXPECT ¶
func (m *MockDeviceDefinitionCacheService) EXPECT() *MockDeviceDefinitionCacheServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeviceDefinitionCacheService) GetDeviceDefinitionByID ¶
func (m *MockDeviceDefinitionCacheService) GetDeviceDefinitionByID(ctx context.Context, id string, options ...services.GetDeviceDefinitionOption) (*models.GetDeviceDefinitionQueryResult, error)
GetDeviceDefinitionByID mocks base method.
func (*MockDeviceDefinitionCacheService) GetDeviceDefinitionByMakeModelAndYears ¶
func (m *MockDeviceDefinitionCacheService) GetDeviceDefinitionByMakeModelAndYears(ctx context.Context, make, model string, year int) (*models.GetDeviceDefinitionQueryResult, error)
GetDeviceDefinitionByMakeModelAndYears mocks base method.
func (*MockDeviceDefinitionCacheService) GetDeviceDefinitionBySlug ¶ added in v0.2.7
func (m *MockDeviceDefinitionCacheService) GetDeviceDefinitionBySlug(ctx context.Context, slug string, year int) (*models.GetDeviceDefinitionQueryResult, error)
GetDeviceDefinitionBySlug mocks base method.
func (*MockDeviceDefinitionCacheService) GetDeviceDefinitionBySlugName ¶ added in v1.1.1
func (m *MockDeviceDefinitionCacheService) GetDeviceDefinitionBySlugName(ctx context.Context, slug string) (*models.GetDeviceDefinitionQueryResult, error)
GetDeviceDefinitionBySlugName mocks base method.
type MockDeviceDefinitionCacheServiceMockRecorder ¶
type MockDeviceDefinitionCacheServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceDefinitionCacheServiceMockRecorder is the mock recorder for MockDeviceDefinitionCacheService.
func (*MockDeviceDefinitionCacheServiceMockRecorder) DeleteDeviceDefinitionCacheByID ¶
func (mr *MockDeviceDefinitionCacheServiceMockRecorder) DeleteDeviceDefinitionCacheByID(ctx, id any) *gomock.Call
DeleteDeviceDefinitionCacheByID indicates an expected call of DeleteDeviceDefinitionCacheByID.
func (*MockDeviceDefinitionCacheServiceMockRecorder) DeleteDeviceDefinitionCacheByMakeModelAndYears ¶
func (mr *MockDeviceDefinitionCacheServiceMockRecorder) DeleteDeviceDefinitionCacheByMakeModelAndYears(ctx, make, model, year any) *gomock.Call
DeleteDeviceDefinitionCacheByMakeModelAndYears indicates an expected call of DeleteDeviceDefinitionCacheByMakeModelAndYears.
func (*MockDeviceDefinitionCacheServiceMockRecorder) DeleteDeviceDefinitionCacheBySlug ¶ added in v0.2.7
func (mr *MockDeviceDefinitionCacheServiceMockRecorder) DeleteDeviceDefinitionCacheBySlug(ctx, slug, year any) *gomock.Call
DeleteDeviceDefinitionCacheBySlug indicates an expected call of DeleteDeviceDefinitionCacheBySlug.
func (*MockDeviceDefinitionCacheServiceMockRecorder) GetDeviceDefinitionByID ¶
func (mr *MockDeviceDefinitionCacheServiceMockRecorder) GetDeviceDefinitionByID(ctx, id any, options ...any) *gomock.Call
GetDeviceDefinitionByID indicates an expected call of GetDeviceDefinitionByID.
func (*MockDeviceDefinitionCacheServiceMockRecorder) GetDeviceDefinitionByMakeModelAndYears ¶
func (mr *MockDeviceDefinitionCacheServiceMockRecorder) GetDeviceDefinitionByMakeModelAndYears(ctx, make, model, year any) *gomock.Call
GetDeviceDefinitionByMakeModelAndYears indicates an expected call of GetDeviceDefinitionByMakeModelAndYears.
func (*MockDeviceDefinitionCacheServiceMockRecorder) GetDeviceDefinitionBySlug ¶ added in v0.2.7
func (mr *MockDeviceDefinitionCacheServiceMockRecorder) GetDeviceDefinitionBySlug(ctx, slug, year any) *gomock.Call
GetDeviceDefinitionBySlug indicates an expected call of GetDeviceDefinitionBySlug.
func (*MockDeviceDefinitionCacheServiceMockRecorder) GetDeviceDefinitionBySlugName ¶ added in v1.1.1
func (mr *MockDeviceDefinitionCacheServiceMockRecorder) GetDeviceDefinitionBySlugName(ctx, slug any) *gomock.Call
GetDeviceDefinitionBySlugName indicates an expected call of GetDeviceDefinitionBySlugName.
type MockPowerTrainTypeService ¶ added in v1.0.14
type MockPowerTrainTypeService struct {
// contains filtered or unexported fields
}
MockPowerTrainTypeService is a mock of PowerTrainTypeService interface.
func NewMockPowerTrainTypeService ¶ added in v1.0.14
func NewMockPowerTrainTypeService(ctrl *gomock.Controller) *MockPowerTrainTypeService
NewMockPowerTrainTypeService creates a new mock instance.
func (*MockPowerTrainTypeService) EXPECT ¶ added in v1.0.14
func (m *MockPowerTrainTypeService) EXPECT() *MockPowerTrainTypeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPowerTrainTypeService) ResolvePowerTrainFromVinInfo ¶ added in v1.0.27
func (m *MockPowerTrainTypeService) ResolvePowerTrainFromVinInfo(vinInfo *models.VINDecodingInfoData) string
ResolvePowerTrainFromVinInfo mocks base method.
type MockPowerTrainTypeServiceMockRecorder ¶ added in v1.0.14
type MockPowerTrainTypeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPowerTrainTypeServiceMockRecorder is the mock recorder for MockPowerTrainTypeService.
func (*MockPowerTrainTypeServiceMockRecorder) ResolvePowerTrainFromVinInfo ¶ added in v1.0.27
func (mr *MockPowerTrainTypeServiceMockRecorder) ResolvePowerTrainFromVinInfo(vinInfo any) *gomock.Call
ResolvePowerTrainFromVinInfo indicates an expected call of ResolvePowerTrainFromVinInfo.
func (*MockPowerTrainTypeServiceMockRecorder) ResolvePowerTrainType ¶ added in v1.0.14
func (mr *MockPowerTrainTypeServiceMockRecorder) ResolvePowerTrainType(ctx, makeSlug, modelSlug, definitionID, drivlyData, vincarioData any) *gomock.Call
ResolvePowerTrainType indicates an expected call of ResolvePowerTrainType.
type MockVINDecodingService ¶ added in v0.7.9
type MockVINDecodingService struct {
// contains filtered or unexported fields
}
MockVINDecodingService is a mock of VINDecodingService interface.
func NewMockVINDecodingService ¶ added in v0.7.9
func NewMockVINDecodingService(ctrl *gomock.Controller) *MockVINDecodingService
NewMockVINDecodingService creates a new mock instance.
func (*MockVINDecodingService) EXPECT ¶ added in v0.7.9
func (m *MockVINDecodingService) EXPECT() *MockVINDecodingServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVINDecodingService) GetVIN ¶ added in v0.7.9
func (m *MockVINDecodingService) GetVIN(ctx context.Context, vin string, dt *models0.DeviceType, provider models.DecodeProviderEnum, country string) (*models.VINDecodingInfoData, error)
GetVIN mocks base method.
type MockVINDecodingServiceMockRecorder ¶ added in v0.7.9
type MockVINDecodingServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockVINDecodingServiceMockRecorder is the mock recorder for MockVINDecodingService.