mock_services

package
v0.10.26 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package mock_services is a generated GoMock package.

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.

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.

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

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

func (*MockDeviceTemplateService) FindDirectDeviceToTemplateConfig added in v0.7.43

func (m *MockDeviceTemplateService) FindDirectDeviceToTemplateConfig(ctx context.Context, address common.Address) *device.ConfigResponse

FindDirectDeviceToTemplateConfig mocks base method.

func (*MockDeviceTemplateService) ResolveDeviceConfiguration added in v0.7.1

func (m *MockDeviceTemplateService) ResolveDeviceConfiguration(c *fiber.Ctx, ud *grpc.UserDevice, vehicle *gateways.VehicleInfo) (*device.ConfigResponse, string, error)

ResolveDeviceConfiguration mocks base method.

func (*MockDeviceTemplateService) StoreDeviceConfigUsed added in v0.7.3

func (m *MockDeviceTemplateService) StoreDeviceConfigUsed(ctx context.Context, address common.Address, dbcURL, pidURL, settingURL, firmwareVersion string) (*models.DeviceTemplateStatus, error)

StoreDeviceConfigUsed 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) FindDirectDeviceToTemplateConfig added in v0.7.43

func (mr *MockDeviceTemplateServiceMockRecorder) FindDirectDeviceToTemplateConfig(ctx, address any) *gomock.Call

FindDirectDeviceToTemplateConfig indicates an expected call of FindDirectDeviceToTemplateConfig.

func (*MockDeviceTemplateServiceMockRecorder) ResolveDeviceConfiguration added in v0.7.1

func (mr *MockDeviceTemplateServiceMockRecorder) ResolveDeviceConfiguration(c, ud, vehicle any) *gomock.Call

ResolveDeviceConfiguration indicates an expected call of ResolveDeviceConfiguration.

func (*MockDeviceTemplateServiceMockRecorder) StoreDeviceConfigUsed added in v0.7.3

func (mr *MockDeviceTemplateServiceMockRecorder) StoreDeviceConfigUsed(ctx, address, dbcURL, pidURL, settingURL, firmwareVersion any) *gomock.Call

StoreDeviceConfigUsed indicates an expected call of StoreDeviceConfigUsed.

type MockUserDevicesService added in v0.10.9

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

MockUserDevicesService is a mock of UserDevicesService interface.

func NewMockUserDevicesService added in v0.10.9

func NewMockUserDevicesService(ctrl *gomock.Controller) *MockUserDevicesService

NewMockUserDevicesService creates a new mock instance.

func (*MockUserDevicesService) EXPECT added in v0.10.9

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

func (*MockUserDevicesService) GetUserDevice added in v0.10.9

func (m *MockUserDevicesService) GetUserDevice(ctx context.Context, userDeviceID string) (*grpc.UserDevice, error)

GetUserDevice mocks base method.

func (*MockUserDevicesService) GetUserDeviceByAutoPIUnitID added in v0.10.9

func (m *MockUserDevicesService) GetUserDeviceByAutoPIUnitID(ctx context.Context, id string) (*appmodels.UserDeviceAutoPIUnit, error)

GetUserDeviceByAutoPIUnitID mocks base method.

func (*MockUserDevicesService) GetUserDeviceByEthAddr added in v0.10.9

func (m *MockUserDevicesService) GetUserDeviceByEthAddr(ctx context.Context, address common.Address) (*grpc.UserDevice, error)

GetUserDeviceByEthAddr mocks base method.

func (*MockUserDevicesService) GetUserDeviceByVIN added in v0.10.9

func (m *MockUserDevicesService) GetUserDeviceByVIN(ctx context.Context, vin string) (*grpc.UserDevice, error)

GetUserDeviceByVIN mocks base method.

type MockUserDevicesServiceMockRecorder added in v0.10.9

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

MockUserDevicesServiceMockRecorder is the mock recorder for MockUserDevicesService.

func (*MockUserDevicesServiceMockRecorder) GetUserDevice added in v0.10.9

func (mr *MockUserDevicesServiceMockRecorder) GetUserDevice(ctx, userDeviceID any) *gomock.Call

GetUserDevice indicates an expected call of GetUserDevice.

func (*MockUserDevicesServiceMockRecorder) GetUserDeviceByAutoPIUnitID added in v0.10.9

func (mr *MockUserDevicesServiceMockRecorder) GetUserDeviceByAutoPIUnitID(ctx, id any) *gomock.Call

GetUserDeviceByAutoPIUnitID indicates an expected call of GetUserDeviceByAutoPIUnitID.

func (*MockUserDevicesServiceMockRecorder) GetUserDeviceByEthAddr added in v0.10.9

func (mr *MockUserDevicesServiceMockRecorder) GetUserDeviceByEthAddr(ctx, address any) *gomock.Call

GetUserDeviceByEthAddr indicates an expected call of GetUserDeviceByEthAddr.

func (*MockUserDevicesServiceMockRecorder) GetUserDeviceByVIN added in v0.10.9

func (mr *MockUserDevicesServiceMockRecorder) GetUserDeviceByVIN(ctx, vin any) *gomock.Call

GetUserDeviceByVIN indicates an expected call of GetUserDeviceByVIN.

Jump to

Keyboard shortcuts

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