Documentation ¶
Overview ¶
Package mock_services is a generated GoMock package.
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.GetDeviceDefinitionResponse, error)
- type MockDeviceDefinitionsServiceMockRecorder
- type MockUserDeviceService
- func (m *MockUserDeviceService) EXPECT() *MockUserDeviceServiceMockRecorder
- func (m *MockUserDeviceService) GetUserDeviceByEthAddr(ctx context.Context, ethAddr string) (*grpc.UserDevice, error)
- func (m *MockUserDeviceService) GetUserDeviceByVIN(ctx context.Context, vin string) (*grpc.UserDevice, error)
- func (m *MockUserDeviceService) GetUserDeviceServiceByAutoPIUnitID(ctx context.Context, id string) (*services.UserDeviceAutoPIUnit, error)
- type MockUserDeviceServiceMockRecorder
- func (mr *MockUserDeviceServiceMockRecorder) GetUserDeviceByEthAddr(ctx, ethAddr interface{}) *gomock.Call
- func (mr *MockUserDeviceServiceMockRecorder) GetUserDeviceByVIN(ctx, vin interface{}) *gomock.Call
- func (mr *MockUserDeviceServiceMockRecorder) GetUserDeviceServiceByAutoPIUnitID(ctx, id interface{}) *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.GetDeviceDefinitionResponse, 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 interface{}) *gomock.Call
DecodeVIN indicates an expected call of DecodeVIN.
func (*MockDeviceDefinitionsServiceMockRecorder) GetDeviceDefinitionByID ¶ added in v0.3.2
func (mr *MockDeviceDefinitionsServiceMockRecorder) GetDeviceDefinitionByID(ctx, id interface{}) *gomock.Call
GetDeviceDefinitionByID indicates an expected call of GetDeviceDefinitionByID.
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) GetUserDeviceByEthAddr ¶ added in v0.3.2
func (m *MockUserDeviceService) GetUserDeviceByEthAddr(ctx context.Context, ethAddr string) (*grpc.UserDevice, error)
GetUserDeviceByEthAddr mocks base method.
func (*MockUserDeviceService) GetUserDeviceByVIN ¶ added in v0.2.9
func (m *MockUserDeviceService) GetUserDeviceByVIN(ctx context.Context, vin string) (*grpc.UserDevice, error)
GetUserDeviceByVIN mocks base method.
func (*MockUserDeviceService) GetUserDeviceServiceByAutoPIUnitID ¶
func (m *MockUserDeviceService) GetUserDeviceServiceByAutoPIUnitID(ctx context.Context, id string) (*services.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) GetUserDeviceByEthAddr ¶ added in v0.3.2
func (mr *MockUserDeviceServiceMockRecorder) GetUserDeviceByEthAddr(ctx, ethAddr interface{}) *gomock.Call
GetUserDeviceByEthAddr indicates an expected call of GetUserDeviceByEthAddr.
func (*MockUserDeviceServiceMockRecorder) GetUserDeviceByVIN ¶ added in v0.2.9
func (mr *MockUserDeviceServiceMockRecorder) GetUserDeviceByVIN(ctx, vin interface{}) *gomock.Call
GetUserDeviceByVIN indicates an expected call of GetUserDeviceByVIN.
func (*MockUserDeviceServiceMockRecorder) GetUserDeviceServiceByAutoPIUnitID ¶
func (mr *MockUserDeviceServiceMockRecorder) GetUserDeviceServiceByAutoPIUnitID(ctx, id interface{}) *gomock.Call
GetUserDeviceServiceByAutoPIUnitID indicates an expected call of GetUserDeviceServiceByAutoPIUnitID.