Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: device_definitions_service.go
Generated by this command:
mockgen -source device_definitions_service.go -destination mocks/device_definitions_service_mock.go
Package mock_services is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: device_template_service.go
Generated by this command:
mockgen -source device_template_service.go -destination mocks/device_template_service_mock.go
Package mock_services is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: user_device_service.go
Generated by this command:
mockgen -source user_device_service.go -destination mocks/user_device_service_mock.go
Package mock_services is a generated GoMock package.
Index ¶
- type MockDeviceDefinitionsService
- func (m *MockDeviceDefinitionsService) DecodeVIN(ctx context.Context, vin string) (*grpc.DecodeVinResponse, error)
- func (m *MockDeviceDefinitionsService) EXPECT() *MockDeviceDefinitionsServiceMockRecorder
- func (m *MockDeviceDefinitionsService) GetDeviceDefinitionByID(ctx context.Context, id string) (*grpc.GetDeviceDefinitionItemResponse, error)
- type MockDeviceDefinitionsServiceMockRecorder
- type MockDeviceTemplateService
- func (m *MockDeviceTemplateService) EXPECT() *MockDeviceTemplateServiceMockRecorder
- func (m *MockDeviceTemplateService) ResolveDeviceConfiguration(c *fiber.Ctx, ud *grpc.UserDevice) (*appmodels.DeviceConfigResponse, error)
- func (m *MockDeviceTemplateService) StoreLastTemplateRequested(ctx context.Context, address common.Address, ...) (*models.DeviceTemplateStatus, error)
- type MockDeviceTemplateServiceMockRecorder
- type MockUserDeviceService
- func (m *MockUserDeviceService) EXPECT() *MockUserDeviceServiceMockRecorder
- func (m *MockUserDeviceService) GetRawDeviceData(ctx context.Context, userDeviceId string) (*grpc.RawDeviceDataResponse, error)
- func (m *MockUserDeviceService) GetUserDeviceByEthAddr(ctx context.Context, ethAddr string) (*grpc0.UserDevice, error)
- func (m *MockUserDeviceService) GetUserDeviceByVIN(ctx context.Context, vin string) (*grpc0.UserDevice, error)
- func (m *MockUserDeviceService) GetUserDeviceServiceByAutoPIUnitID(ctx context.Context, id string) (*appmodels.UserDeviceAutoPIUnit, error)
- type MockUserDeviceServiceMockRecorder
- func (mr *MockUserDeviceServiceMockRecorder) GetRawDeviceData(ctx, userDeviceId any) *gomock.Call
- func (mr *MockUserDeviceServiceMockRecorder) GetUserDeviceByEthAddr(ctx, ethAddr any) *gomock.Call
- func (mr *MockUserDeviceServiceMockRecorder) GetUserDeviceByVIN(ctx, vin any) *gomock.Call
- func (mr *MockUserDeviceServiceMockRecorder) GetUserDeviceServiceByAutoPIUnitID(ctx, id any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDeviceDefinitionsService ¶ added in v0.3.2
type MockDeviceDefinitionsService struct {
// contains filtered or unexported fields
}
MockDeviceDefinitionsService is a mock of DeviceDefinitionsService interface.
func NewMockDeviceDefinitionsService ¶ added in v0.3.2
func NewMockDeviceDefinitionsService(ctrl *gomock.Controller) *MockDeviceDefinitionsService
NewMockDeviceDefinitionsService creates a new mock instance.
func (*MockDeviceDefinitionsService) DecodeVIN ¶ added in v0.3.8
func (m *MockDeviceDefinitionsService) DecodeVIN(ctx context.Context, vin string) (*grpc.DecodeVinResponse, error)
DecodeVIN mocks base method.
func (*MockDeviceDefinitionsService) EXPECT ¶ added in v0.3.2
func (m *MockDeviceDefinitionsService) EXPECT() *MockDeviceDefinitionsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeviceDefinitionsService) GetDeviceDefinitionByID ¶ added in v0.3.2
func (m *MockDeviceDefinitionsService) GetDeviceDefinitionByID(ctx context.Context, id string) (*grpc.GetDeviceDefinitionItemResponse, error)
GetDeviceDefinitionByID mocks base method.
type MockDeviceDefinitionsServiceMockRecorder ¶ added in v0.3.2
type MockDeviceDefinitionsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceDefinitionsServiceMockRecorder is the mock recorder for MockDeviceDefinitionsService.
func (*MockDeviceDefinitionsServiceMockRecorder) DecodeVIN ¶ added in v0.3.8
func (mr *MockDeviceDefinitionsServiceMockRecorder) DecodeVIN(ctx, vin any) *gomock.Call
DecodeVIN indicates an expected call of DecodeVIN.
func (*MockDeviceDefinitionsServiceMockRecorder) GetDeviceDefinitionByID ¶ added in v0.3.2
func (mr *MockDeviceDefinitionsServiceMockRecorder) GetDeviceDefinitionByID(ctx, id any) *gomock.Call
GetDeviceDefinitionByID indicates an expected call of GetDeviceDefinitionByID.
type MockDeviceTemplateService ¶ added in v0.7.1
type MockDeviceTemplateService struct {
// contains filtered or unexported fields
}
MockDeviceTemplateService is a mock of DeviceTemplateService interface.
func NewMockDeviceTemplateService ¶ added in v0.7.1
func NewMockDeviceTemplateService(ctrl *gomock.Controller) *MockDeviceTemplateService
NewMockDeviceTemplateService creates a new mock instance.
func (*MockDeviceTemplateService) EXPECT ¶ added in v0.7.1
func (m *MockDeviceTemplateService) EXPECT() *MockDeviceTemplateServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeviceTemplateService) ResolveDeviceConfiguration ¶ added in v0.7.1
func (m *MockDeviceTemplateService) ResolveDeviceConfiguration(c *fiber.Ctx, ud *grpc.UserDevice) (*appmodels.DeviceConfigResponse, error)
ResolveDeviceConfiguration mocks base method.
func (*MockDeviceTemplateService) StoreLastTemplateRequested ¶ added in v0.7.1
func (m *MockDeviceTemplateService) StoreLastTemplateRequested(ctx context.Context, address common.Address, dbcURL, pidURL, settingURL, firmwareVersion *string) (*models.DeviceTemplateStatus, error)
StoreLastTemplateRequested mocks base method.
type MockDeviceTemplateServiceMockRecorder ¶ added in v0.7.1
type MockDeviceTemplateServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceTemplateServiceMockRecorder is the mock recorder for MockDeviceTemplateService.
func (*MockDeviceTemplateServiceMockRecorder) ResolveDeviceConfiguration ¶ added in v0.7.1
func (mr *MockDeviceTemplateServiceMockRecorder) ResolveDeviceConfiguration(c, ud any) *gomock.Call
ResolveDeviceConfiguration indicates an expected call of ResolveDeviceConfiguration.
func (*MockDeviceTemplateServiceMockRecorder) StoreLastTemplateRequested ¶ added in v0.7.1
func (mr *MockDeviceTemplateServiceMockRecorder) StoreLastTemplateRequested(ctx, address, dbcURL, pidURL, settingURL, firmwareVersion any) *gomock.Call
StoreLastTemplateRequested indicates an expected call of StoreLastTemplateRequested.
type MockUserDeviceService ¶
type MockUserDeviceService struct {
// contains filtered or unexported fields
}
MockUserDeviceService is a mock of UserDeviceService interface.
func NewMockUserDeviceService ¶
func NewMockUserDeviceService(ctrl *gomock.Controller) *MockUserDeviceService
NewMockUserDeviceService creates a new mock instance.
func (*MockUserDeviceService) EXPECT ¶
func (m *MockUserDeviceService) EXPECT() *MockUserDeviceServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserDeviceService) GetRawDeviceData ¶ added in v0.7.1
func (m *MockUserDeviceService) GetRawDeviceData(ctx context.Context, userDeviceId string) (*grpc.RawDeviceDataResponse, error)
GetRawDeviceData mocks base method.
func (*MockUserDeviceService) GetUserDeviceByEthAddr ¶ added in v0.3.2
func (m *MockUserDeviceService) GetUserDeviceByEthAddr(ctx context.Context, ethAddr string) (*grpc0.UserDevice, error)
GetUserDeviceByEthAddr mocks base method.
func (*MockUserDeviceService) GetUserDeviceByVIN ¶ added in v0.2.9
func (m *MockUserDeviceService) GetUserDeviceByVIN(ctx context.Context, vin string) (*grpc0.UserDevice, error)
GetUserDeviceByVIN mocks base method.
func (*MockUserDeviceService) GetUserDeviceServiceByAutoPIUnitID ¶
func (m *MockUserDeviceService) GetUserDeviceServiceByAutoPIUnitID(ctx context.Context, id string) (*appmodels.UserDeviceAutoPIUnit, error)
GetUserDeviceServiceByAutoPIUnitID mocks base method.
type MockUserDeviceServiceMockRecorder ¶
type MockUserDeviceServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserDeviceServiceMockRecorder is the mock recorder for MockUserDeviceService.
func (*MockUserDeviceServiceMockRecorder) GetRawDeviceData ¶ added in v0.7.1
func (mr *MockUserDeviceServiceMockRecorder) GetRawDeviceData(ctx, userDeviceId any) *gomock.Call
GetRawDeviceData indicates an expected call of GetRawDeviceData.
func (*MockUserDeviceServiceMockRecorder) GetUserDeviceByEthAddr ¶ added in v0.3.2
func (mr *MockUserDeviceServiceMockRecorder) GetUserDeviceByEthAddr(ctx, ethAddr any) *gomock.Call
GetUserDeviceByEthAddr indicates an expected call of GetUserDeviceByEthAddr.
func (*MockUserDeviceServiceMockRecorder) GetUserDeviceByVIN ¶ added in v0.2.9
func (mr *MockUserDeviceServiceMockRecorder) GetUserDeviceByVIN(ctx, vin any) *gomock.Call
GetUserDeviceByVIN indicates an expected call of GetUserDeviceByVIN.
func (*MockUserDeviceServiceMockRecorder) GetUserDeviceServiceByAutoPIUnitID ¶
func (mr *MockUserDeviceServiceMockRecorder) GetUserDeviceServiceByAutoPIUnitID(ctx, id any) *gomock.Call
GetUserDeviceServiceByAutoPIUnitID indicates an expected call of GetUserDeviceServiceByAutoPIUnitID.