Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v1.2.30 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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

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

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

func (*MockDeviceDefinitionCacheService) GetDeviceDefinitionByID

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

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.

func (*MockPowerTrainTypeService) ResolvePowerTrainType added in v1.0.14

func (m *MockPowerTrainTypeService) ResolvePowerTrainType(ctx context.Context, makeSlug, modelSlug string, definitionID *string, drivlyData, vincarioData v8.JSON) (string, error)

ResolvePowerTrainType 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

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

func (*MockVINDecodingService) GetVIN added in v0.7.9

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.

func (*MockVINDecodingServiceMockRecorder) GetVIN added in v0.7.9

func (mr *MockVINDecodingServiceMockRecorder) GetVIN(ctx, vin, dt, provider, country any) *gomock.Call

GetVIN indicates an expected call of GetVIN.

Jump to

Keyboard shortcuts

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