mock_services

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 11 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: 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

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 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) *appmodels.DeviceConfigResponse

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) (*appmodels.DeviceConfigResponse, 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 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) GetRawDeviceData added in v0.7.1

func (m *MockUserDeviceService) GetRawDeviceData(ctx context.Context, userDeviceID string) (*grpc.RawDeviceDataResponse, error)

GetRawDeviceData mocks base method.

func (*MockUserDeviceService) GetUserDevice added in v0.7.3

func (m *MockUserDeviceService) GetUserDevice(ctx context.Context, userDeviceID string) (*grpc0.UserDevice, error)

GetUserDevice mocks base method.

func (*MockUserDeviceService) GetUserDeviceByEthAddr added in v0.3.2

func (m *MockUserDeviceService) GetUserDeviceByEthAddr(ctx context.Context, address common.Address) (*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) GetUserDevice added in v0.7.3

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

GetUserDevice indicates an expected call of GetUserDevice.

func (*MockUserDeviceServiceMockRecorder) GetUserDeviceByEthAddr added in v0.3.2

func (mr *MockUserDeviceServiceMockRecorder) GetUserDeviceByEthAddr(ctx, address 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