mock_services

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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: 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

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

DecodeVIN mocks base method.

func (*MockDeviceDefinitionsService) EXPECT added in v0.3.2

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

func (*MockDeviceDefinitionsService) GetDeviceDefinitionByID added in v0.3.2

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 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

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 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.

Jump to

Keyboard shortcuts

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