mocks

package
v1.2.32 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: autoiso_api_service.go

Generated by this command:

mockgen -source autoiso_api_service.go -destination mocks/autoiso_api_service_mock.go -package mocks

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: datgroup_api_service.go

Generated by this command:

mockgen -source datgroup_api_service.go -destination mocks/datgroup_api_service_mock.go -package mocks

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: drivly_api_service.go

Generated by this command:

mockgen -source drivly_api_service.go -destination mocks/drivly_api_service_mock.go -package mocks

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: fuel_api_service.go

Generated by this command:

mockgen -source fuel_api_service.go -destination mocks/fuel_api_service_mock.go -package mocks

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: smart_car_api_service.go

Generated by this command:

mockgen -source smart_car_api_service.go -destination mocks/smart_car_api_service_mock.go -package mocks

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: vincario_api_service.go

Generated by this command:

mockgen -source vincario_api_service.go -destination mocks/vincario_api_service_mock.go -package mocks

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 MockAutoIsoAPIService added in v1.0.32

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

MockAutoIsoAPIService is a mock of AutoIsoAPIService interface.

func NewMockAutoIsoAPIService added in v1.0.32

func NewMockAutoIsoAPIService(ctrl *gomock.Controller) *MockAutoIsoAPIService

NewMockAutoIsoAPIService creates a new mock instance.

func (*MockAutoIsoAPIService) EXPECT added in v1.0.32

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

func (*MockAutoIsoAPIService) GetVIN added in v1.0.32

GetVIN mocks base method.

type MockAutoIsoAPIServiceMockRecorder added in v1.0.32

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

MockAutoIsoAPIServiceMockRecorder is the mock recorder for MockAutoIsoAPIService.

func (*MockAutoIsoAPIServiceMockRecorder) GetVIN added in v1.0.32

GetVIN indicates an expected call of GetVIN.

type MockDATGroupAPIService added in v1.1.0

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

MockDATGroupAPIService is a mock of DATGroupAPIService interface.

func NewMockDATGroupAPIService added in v1.1.0

func NewMockDATGroupAPIService(ctrl *gomock.Controller) *MockDATGroupAPIService

NewMockDATGroupAPIService creates a new mock instance.

func (*MockDATGroupAPIService) EXPECT added in v1.1.0

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

func (*MockDATGroupAPIService) GetVINv2 added in v1.2.18

func (m *MockDATGroupAPIService) GetVINv2(vin, country string) (*gateways.DATGroupInfoResponse, error)

GetVINv2 mocks base method.

type MockDATGroupAPIServiceMockRecorder added in v1.1.0

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

MockDATGroupAPIServiceMockRecorder is the mock recorder for MockDATGroupAPIService.

func (*MockDATGroupAPIServiceMockRecorder) GetVINv2 added in v1.2.18

func (mr *MockDATGroupAPIServiceMockRecorder) GetVINv2(vin, country any) *gomock.Call

GetVINv2 indicates an expected call of GetVINv2.

type MockDeviceDefinitionOnChainService added in v1.1.1

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

MockDeviceDefinitionOnChainService is a mock of DeviceDefinitionOnChainService interface.

func NewMockDeviceDefinitionOnChainService added in v1.1.1

func NewMockDeviceDefinitionOnChainService(ctrl *gomock.Controller) *MockDeviceDefinitionOnChainService

NewMockDeviceDefinitionOnChainService creates a new mock instance.

func (*MockDeviceDefinitionOnChainService) CreateOrUpdate added in v1.1.1

CreateOrUpdate mocks base method.

func (*MockDeviceDefinitionOnChainService) EXPECT added in v1.1.1

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

func (*MockDeviceDefinitionOnChainService) GetDeviceDefinitionByID added in v1.1.1

func (m *MockDeviceDefinitionOnChainService) GetDeviceDefinitionByID(ctx context.Context, manufacturerID types.NullDecimal, ID string) (*models.DeviceDefinition, error)

GetDeviceDefinitionByID mocks base method.

func (*MockDeviceDefinitionOnChainService) GetDeviceDefinitions added in v1.1.1

func (m *MockDeviceDefinitionOnChainService) GetDeviceDefinitions(ctx context.Context, manufacturerID types.NullDecimal, ID, model string, year int, pageIndex, pageSize int32) ([]*models.DeviceDefinition, error)

GetDeviceDefinitions mocks base method.

type MockDeviceDefinitionOnChainServiceMockRecorder added in v1.1.1

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

MockDeviceDefinitionOnChainServiceMockRecorder is the mock recorder for MockDeviceDefinitionOnChainService.

func (*MockDeviceDefinitionOnChainServiceMockRecorder) CreateOrUpdate added in v1.1.1

func (mr *MockDeviceDefinitionOnChainServiceMockRecorder) CreateOrUpdate(ctx, make, dd interface{}) *gomock.Call

CreateOrUpdate indicates an expected call of CreateOrUpdate.

func (*MockDeviceDefinitionOnChainServiceMockRecorder) GetDeviceDefinitionByID added in v1.1.1

func (mr *MockDeviceDefinitionOnChainServiceMockRecorder) GetDeviceDefinitionByID(ctx, manufacturerID, ID interface{}) *gomock.Call

GetDeviceDefinitionByID indicates an expected call of GetDeviceDefinitionByID.

func (*MockDeviceDefinitionOnChainServiceMockRecorder) GetDeviceDefinitions added in v1.1.1

func (mr *MockDeviceDefinitionOnChainServiceMockRecorder) GetDeviceDefinitions(ctx, manufacturerID, ID, model, year, pageIndex, pageSize interface{}) *gomock.Call

GetDeviceDefinitions indicates an expected call of GetDeviceDefinitions.

type MockDrivlyAPIService added in v0.6.8

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

MockDrivlyAPIService is a mock of DrivlyAPIService interface.

func NewMockDrivlyAPIService added in v0.6.8

func NewMockDrivlyAPIService(ctrl *gomock.Controller) *MockDrivlyAPIService

NewMockDrivlyAPIService creates a new mock instance.

func (*MockDrivlyAPIService) EXPECT added in v0.6.8

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

func (*MockDrivlyAPIService) GetVINInfo added in v0.6.8

GetVINInfo mocks base method.

type MockDrivlyAPIServiceMockRecorder added in v0.6.8

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

MockDrivlyAPIServiceMockRecorder is the mock recorder for MockDrivlyAPIService.

func (*MockDrivlyAPIServiceMockRecorder) GetVINInfo added in v0.6.8

func (mr *MockDrivlyAPIServiceMockRecorder) GetVINInfo(vin any) *gomock.Call

GetVINInfo indicates an expected call of GetVINInfo.

type MockElasticSearchService

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

MockElasticSearchService is a mock of ElasticSearchService interface.

func NewMockElasticSearchService

func NewMockElasticSearchService(ctrl *gomock.Controller) *MockElasticSearchService

NewMockElasticSearchService creates a new mock instance.

func (*MockElasticSearchService) AddSourceEngineToMetaEngine

func (m *MockElasticSearchService) AddSourceEngineToMetaEngine(sourceName, metaName string) (*gateways.EngineDetail, error)

AddSourceEngineToMetaEngine mocks base method.

func (*MockElasticSearchService) CreateDocuments

CreateDocuments mocks base method.

func (*MockElasticSearchService) CreateDocumentsBatched

func (m *MockElasticSearchService) CreateDocumentsBatched(docs []gateways.DeviceDefinitionSearchDoc, engineName string) error

CreateDocumentsBatched mocks base method.

func (*MockElasticSearchService) CreateEngine

func (m *MockElasticSearchService) CreateEngine(name string, metaSource *string) (*gateways.EngineDetail, error)

CreateEngine mocks base method.

func (*MockElasticSearchService) DeleteEngine

func (m *MockElasticSearchService) DeleteEngine(name string) error

DeleteEngine mocks base method.

func (*MockElasticSearchService) EXPECT

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

func (*MockElasticSearchService) GetEngines

GetEngines mocks base method.

func (*MockElasticSearchService) GetMetaEngineName

func (m *MockElasticSearchService) GetMetaEngineName() string

GetMetaEngineName mocks base method.

func (*MockElasticSearchService) LoadDeviceDefinitions

func (m *MockElasticSearchService) LoadDeviceDefinitions() error

LoadDeviceDefinitions mocks base method.

func (*MockElasticSearchService) RemoveSourceEngine

func (m *MockElasticSearchService) RemoveSourceEngine(sourceName, metaName string) (*gateways.EngineDetail, error)

RemoveSourceEngine mocks base method.

func (*MockElasticSearchService) UpdateSearchSettingsForDeviceDefs

func (m *MockElasticSearchService) UpdateSearchSettingsForDeviceDefs(engineName string) error

UpdateSearchSettingsForDeviceDefs mocks base method.

type MockElasticSearchServiceMockRecorder

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

MockElasticSearchServiceMockRecorder is the mock recorder for MockElasticSearchService.

func (*MockElasticSearchServiceMockRecorder) AddSourceEngineToMetaEngine

func (mr *MockElasticSearchServiceMockRecorder) AddSourceEngineToMetaEngine(sourceName, metaName interface{}) *gomock.Call

AddSourceEngineToMetaEngine indicates an expected call of AddSourceEngineToMetaEngine.

func (*MockElasticSearchServiceMockRecorder) CreateDocuments

func (mr *MockElasticSearchServiceMockRecorder) CreateDocuments(docs, engineName interface{}) *gomock.Call

CreateDocuments indicates an expected call of CreateDocuments.

func (*MockElasticSearchServiceMockRecorder) CreateDocumentsBatched

func (mr *MockElasticSearchServiceMockRecorder) CreateDocumentsBatched(docs, engineName interface{}) *gomock.Call

CreateDocumentsBatched indicates an expected call of CreateDocumentsBatched.

func (*MockElasticSearchServiceMockRecorder) CreateEngine

func (mr *MockElasticSearchServiceMockRecorder) CreateEngine(name, metaSource interface{}) *gomock.Call

CreateEngine indicates an expected call of CreateEngine.

func (*MockElasticSearchServiceMockRecorder) DeleteEngine

func (mr *MockElasticSearchServiceMockRecorder) DeleteEngine(name interface{}) *gomock.Call

DeleteEngine indicates an expected call of DeleteEngine.

func (*MockElasticSearchServiceMockRecorder) GetEngines

GetEngines indicates an expected call of GetEngines.

func (*MockElasticSearchServiceMockRecorder) GetMetaEngineName

func (mr *MockElasticSearchServiceMockRecorder) GetMetaEngineName() *gomock.Call

GetMetaEngineName indicates an expected call of GetMetaEngineName.

func (*MockElasticSearchServiceMockRecorder) LoadDeviceDefinitions

func (mr *MockElasticSearchServiceMockRecorder) LoadDeviceDefinitions() *gomock.Call

LoadDeviceDefinitions indicates an expected call of LoadDeviceDefinitions.

func (*MockElasticSearchServiceMockRecorder) RemoveSourceEngine

func (mr *MockElasticSearchServiceMockRecorder) RemoveSourceEngine(sourceName, metaName interface{}) *gomock.Call

RemoveSourceEngine indicates an expected call of RemoveSourceEngine.

func (*MockElasticSearchServiceMockRecorder) UpdateSearchSettingsForDeviceDefs

func (mr *MockElasticSearchServiceMockRecorder) UpdateSearchSettingsForDeviceDefs(engineName interface{}) *gomock.Call

UpdateSearchSettingsForDeviceDefs indicates an expected call of UpdateSearchSettingsForDeviceDefs.

type MockFuelAPIService added in v0.9.8

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

MockFuelAPIService is a mock of FuelAPIService interface.

func NewMockFuelAPIService added in v0.9.8

func NewMockFuelAPIService(ctrl *gomock.Controller) *MockFuelAPIService

NewMockFuelAPIService creates a new mock instance.

func (*MockFuelAPIService) EXPECT added in v0.9.8

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

func (*MockFuelAPIService) FetchDeviceImages added in v0.9.8

func (m *MockFuelAPIService) FetchDeviceImages(mk, mdl string, yr, prodID, prodFormat int) (gateways.FuelDeviceImages, error)

FetchDeviceImages mocks base method.

type MockFuelAPIServiceMockRecorder added in v0.9.8

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

MockFuelAPIServiceMockRecorder is the mock recorder for MockFuelAPIService.

func (*MockFuelAPIServiceMockRecorder) FetchDeviceImages added in v0.9.8

func (mr *MockFuelAPIServiceMockRecorder) FetchDeviceImages(mk, mdl, yr, prodID, prodFormat any) *gomock.Call

FetchDeviceImages indicates an expected call of FetchDeviceImages.

type MockRedisCacheService added in v0.1.5

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

MockRedisCacheService is a mock of RedisCacheService interface.

func NewMockRedisCacheService added in v0.1.5

func NewMockRedisCacheService(ctrl *gomock.Controller) *MockRedisCacheService

NewMockRedisCacheService creates a new mock instance.

func (*MockRedisCacheService) Close added in v0.1.5

func (m *MockRedisCacheService) Close() error

Close mocks base method.

func (*MockRedisCacheService) Del added in v0.1.5

func (m *MockRedisCacheService) Del(ctx context.Context, keys ...string) *redis.IntCmd

Del mocks base method.

func (*MockRedisCacheService) EXPECT added in v0.1.5

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

func (*MockRedisCacheService) FlushAll added in v0.1.5

FlushAll mocks base method.

func (*MockRedisCacheService) Get added in v0.1.5

Get mocks base method.

func (*MockRedisCacheService) Set added in v0.1.5

func (m *MockRedisCacheService) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *redis.StatusCmd

Set mocks base method.

type MockRedisCacheServiceMockRecorder added in v0.1.5

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

MockRedisCacheServiceMockRecorder is the mock recorder for MockRedisCacheService.

func (*MockRedisCacheServiceMockRecorder) Close added in v0.1.5

Close indicates an expected call of Close.

func (*MockRedisCacheServiceMockRecorder) Del added in v0.1.5

func (mr *MockRedisCacheServiceMockRecorder) Del(ctx interface{}, keys ...interface{}) *gomock.Call

Del indicates an expected call of Del.

func (*MockRedisCacheServiceMockRecorder) FlushAll added in v0.1.5

func (mr *MockRedisCacheServiceMockRecorder) FlushAll(ctx interface{}) *gomock.Call

FlushAll indicates an expected call of FlushAll.

func (*MockRedisCacheServiceMockRecorder) Get added in v0.1.5

func (mr *MockRedisCacheServiceMockRecorder) Get(ctx, key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockRedisCacheServiceMockRecorder) Set added in v0.1.5

func (mr *MockRedisCacheServiceMockRecorder) Set(ctx, key, value, expiration interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockSmartCarService

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

MockSmartCarService is a mock of SmartCarService interface.

func NewMockSmartCarService

func NewMockSmartCarService(ctrl *gomock.Controller) *MockSmartCarService

NewMockSmartCarService creates a new mock instance.

func (*MockSmartCarService) EXPECT

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

func (*MockSmartCarService) GetOrCreateSmartCarIntegration

func (m *MockSmartCarService) GetOrCreateSmartCarIntegration(ctx context.Context) (string, error)

GetOrCreateSmartCarIntegration mocks base method.

func (*MockSmartCarService) GetSmartCarVehicleData

func (m *MockSmartCarService) GetSmartCarVehicleData() (*gateways.SmartCarCompatibilityData, error)

GetSmartCarVehicleData mocks base method.

type MockSmartCarServiceMockRecorder

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

MockSmartCarServiceMockRecorder is the mock recorder for MockSmartCarService.

func (*MockSmartCarServiceMockRecorder) GetOrCreateSmartCarIntegration

func (mr *MockSmartCarServiceMockRecorder) GetOrCreateSmartCarIntegration(ctx any) *gomock.Call

GetOrCreateSmartCarIntegration indicates an expected call of GetOrCreateSmartCarIntegration.

func (*MockSmartCarServiceMockRecorder) GetSmartCarVehicleData

func (mr *MockSmartCarServiceMockRecorder) GetSmartCarVehicleData() *gomock.Call

GetSmartCarVehicleData indicates an expected call of GetSmartCarVehicleData.

type MockVincarioAPIService added in v0.7.9

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

MockVincarioAPIService is a mock of VincarioAPIService interface.

func NewMockVincarioAPIService added in v0.7.9

func NewMockVincarioAPIService(ctrl *gomock.Controller) *MockVincarioAPIService

NewMockVincarioAPIService creates a new mock instance.

func (*MockVincarioAPIService) DecodeVIN added in v0.7.9

DecodeVIN mocks base method.

func (*MockVincarioAPIService) EXPECT added in v0.7.9

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

type MockVincarioAPIServiceMockRecorder added in v0.7.9

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

MockVincarioAPIServiceMockRecorder is the mock recorder for MockVincarioAPIService.

func (*MockVincarioAPIServiceMockRecorder) DecodeVIN added in v0.7.9

func (mr *MockVincarioAPIServiceMockRecorder) DecodeVIN(vin any) *gomock.Call

DecodeVIN indicates an expected call of DecodeVIN.

Jump to

Keyboard shortcuts

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