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.
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: 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 ¶
- type MockAutoIsoAPIService
- type MockAutoIsoAPIServiceMockRecorder
- type MockDATGroupAPIService
- type MockDATGroupAPIServiceMockRecorder
- type MockDeviceDefinitionOnChainService
- func (m *MockDeviceDefinitionOnChainService) Create(ctx context.Context, mk models.DeviceMake, dd models.DeviceDefinition) (*string, error)
- func (m *MockDeviceDefinitionOnChainService) EXPECT() *MockDeviceDefinitionOnChainServiceMockRecorder
- func (m *MockDeviceDefinitionOnChainService) GetDefinitionByID(ctx context.Context, ID string, reader *db.DB) (*gateways.DeviceDefinitionTablelandModel, error)
- func (m *MockDeviceDefinitionOnChainService) GetDefinitionTableland(ctx context.Context, manufacturerID *big.Int, ID string) (*gateways.DeviceDefinitionTablelandModel, error)
- func (m *MockDeviceDefinitionOnChainService) GetDeviceDefinitionByID(ctx context.Context, manufacturerID *big.Int, ID string) (*models.DeviceDefinition, error)
- func (m *MockDeviceDefinitionOnChainService) GetDeviceDefinitions(ctx context.Context, manufacturerID types.NullDecimal, ID, model string, ...) ([]*models.DeviceDefinition, error)
- func (m *MockDeviceDefinitionOnChainService) Update(ctx context.Context, manufacturerName string, ...) (*string, error)
- type MockDeviceDefinitionOnChainServiceMockRecorder
- func (mr *MockDeviceDefinitionOnChainServiceMockRecorder) Create(ctx, mk, dd any) *gomock.Call
- func (mr *MockDeviceDefinitionOnChainServiceMockRecorder) GetDefinitionByID(ctx, ID, reader any) *gomock.Call
- func (mr *MockDeviceDefinitionOnChainServiceMockRecorder) GetDefinitionTableland(ctx, manufacturerID, ID any) *gomock.Call
- func (mr *MockDeviceDefinitionOnChainServiceMockRecorder) GetDeviceDefinitionByID(ctx, manufacturerID, ID any) *gomock.Call
- func (mr *MockDeviceDefinitionOnChainServiceMockRecorder) GetDeviceDefinitions(ctx, manufacturerID, ID, model, year, pageIndex, pageSize any) *gomock.Call
- func (mr *MockDeviceDefinitionOnChainServiceMockRecorder) Update(ctx, manufacturerName, input any) *gomock.Call
- type MockDrivlyAPIService
- type MockDrivlyAPIServiceMockRecorder
- type MockFuelAPIService
- type MockFuelAPIServiceMockRecorder
- type MockRedisCacheService
- func (m *MockRedisCacheService) Close() error
- func (m *MockRedisCacheService) Del(ctx context.Context, keys ...string) *redis.IntCmd
- func (m *MockRedisCacheService) EXPECT() *MockRedisCacheServiceMockRecorder
- func (m *MockRedisCacheService) FlushAll(ctx context.Context) *redis.StatusCmd
- func (m *MockRedisCacheService) Get(ctx context.Context, key string) *redis.StringCmd
- func (m *MockRedisCacheService) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *redis.StatusCmd
- type MockRedisCacheServiceMockRecorder
- func (mr *MockRedisCacheServiceMockRecorder) Close() *gomock.Call
- func (mr *MockRedisCacheServiceMockRecorder) Del(ctx interface{}, keys ...interface{}) *gomock.Call
- func (mr *MockRedisCacheServiceMockRecorder) FlushAll(ctx interface{}) *gomock.Call
- func (mr *MockRedisCacheServiceMockRecorder) Get(ctx, key interface{}) *gomock.Call
- func (mr *MockRedisCacheServiceMockRecorder) Set(ctx, key, value, expiration interface{}) *gomock.Call
- type MockVincarioAPIService
- type MockVincarioAPIServiceMockRecorder
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
func (m *MockAutoIsoAPIService) EXPECT() *MockAutoIsoAPIServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAutoIsoAPIService) GetVIN ¶ added in v1.0.32
func (m *MockAutoIsoAPIService) GetVIN(vin string) (*gateways.AutoIsoVINResponse, error)
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.
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
func (m *MockDATGroupAPIService) EXPECT() *MockDATGroupAPIServiceMockRecorder
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.
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) Create ¶ added in v1.2.46
func (m *MockDeviceDefinitionOnChainService) Create(ctx context.Context, mk models.DeviceMake, dd models.DeviceDefinition) (*string, error)
Create mocks base method.
func (*MockDeviceDefinitionOnChainService) EXPECT ¶ added in v1.1.1
func (m *MockDeviceDefinitionOnChainService) EXPECT() *MockDeviceDefinitionOnChainServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeviceDefinitionOnChainService) GetDefinitionByID ¶ added in v1.2.52
func (m *MockDeviceDefinitionOnChainService) GetDefinitionByID(ctx context.Context, ID string, reader *db.DB) (*gateways.DeviceDefinitionTablelandModel, error)
GetDefinitionByID mocks base method.
func (*MockDeviceDefinitionOnChainService) GetDefinitionTableland ¶ added in v1.2.52
func (m *MockDeviceDefinitionOnChainService) GetDefinitionTableland(ctx context.Context, manufacturerID *big.Int, ID string) (*gateways.DeviceDefinitionTablelandModel, error)
GetDefinitionTableland mocks base method.
func (*MockDeviceDefinitionOnChainService) GetDeviceDefinitionByID ¶ added in v1.1.1
func (m *MockDeviceDefinitionOnChainService) GetDeviceDefinitionByID(ctx context.Context, manufacturerID *big.Int, 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.
func (*MockDeviceDefinitionOnChainService) Update ¶ added in v1.2.45
func (m *MockDeviceDefinitionOnChainService) Update(ctx context.Context, manufacturerName string, input contracts.DeviceDefinitionUpdateInput) (*string, error)
Update 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) Create ¶ added in v1.2.46
func (mr *MockDeviceDefinitionOnChainServiceMockRecorder) Create(ctx, mk, dd any) *gomock.Call
Create indicates an expected call of Create.
func (*MockDeviceDefinitionOnChainServiceMockRecorder) GetDefinitionByID ¶ added in v1.2.52
func (mr *MockDeviceDefinitionOnChainServiceMockRecorder) GetDefinitionByID(ctx, ID, reader any) *gomock.Call
GetDefinitionByID indicates an expected call of GetDefinitionByID.
func (*MockDeviceDefinitionOnChainServiceMockRecorder) GetDefinitionTableland ¶ added in v1.2.52
func (mr *MockDeviceDefinitionOnChainServiceMockRecorder) GetDefinitionTableland(ctx, manufacturerID, ID any) *gomock.Call
GetDefinitionTableland indicates an expected call of GetDefinitionTableland.
func (*MockDeviceDefinitionOnChainServiceMockRecorder) GetDeviceDefinitionByID ¶ added in v1.1.1
func (mr *MockDeviceDefinitionOnChainServiceMockRecorder) GetDeviceDefinitionByID(ctx, manufacturerID, ID any) *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 any) *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
func (m *MockDrivlyAPIService) EXPECT() *MockDrivlyAPIServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDrivlyAPIService) GetVINInfo ¶ added in v0.6.8
func (m *MockDrivlyAPIService) GetVINInfo(vin string) (*gateways.DrivlyVINResponse, error)
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 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
func (m *MockFuelAPIService) EXPECT() *MockFuelAPIServiceMockRecorder
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) EXPECT ¶ added in v0.1.5
func (m *MockRedisCacheService) EXPECT() *MockRedisCacheServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRedisCacheService) FlushAll ¶ added in v0.1.5
func (m *MockRedisCacheService) FlushAll(ctx context.Context) *redis.StatusCmd
FlushAll 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
func (mr *MockRedisCacheServiceMockRecorder) Close() *gomock.Call
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 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
func (m *MockVincarioAPIService) DecodeVIN(vin string) (*gateways.VincarioInfoResponse, error)
DecodeVIN mocks base method.
func (*MockVincarioAPIService) EXPECT ¶ added in v0.7.9
func (m *MockVincarioAPIService) EXPECT() *MockVincarioAPIServiceMockRecorder
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.