mock_services

package
v0.5.0 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: 8 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: drivly_valuation_service.go

Generated by this command:

mockgen -source drivly_valuation_service.go -destination mocks/drivly_valuation_service_mock.go

Package mock_services is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: user_device_data_service.go

Generated by this command:

mockgen -source user_device_data_service.go -destination mocks/user_device_data_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.

Package mock_services is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: vincario_valuation_service.go

Generated by this command:

mockgen -source vincario_valuation_service.go -destination mocks/vincario_valuation_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 MockDrivlyValuationService added in v0.1.8

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

MockDrivlyValuationService is a mock of DrivlyValuationService interface.

func NewMockDrivlyValuationService added in v0.1.8

func NewMockDrivlyValuationService(ctrl *gomock.Controller) *MockDrivlyValuationService

NewMockDrivlyValuationService creates a new mock instance.

func (*MockDrivlyValuationService) EXPECT added in v0.1.8

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

func (*MockDrivlyValuationService) PullOffer added in v0.2.3

func (m *MockDrivlyValuationService) PullOffer(ctx context.Context, userDeviceID string, tokenID uint64, vin string) (models.DataPullStatusEnum, error)

PullOffer mocks base method.

func (*MockDrivlyValuationService) PullValuation added in v0.1.8

func (m *MockDrivlyValuationService) PullValuation(ctx context.Context, userDeviceID string, tokenID uint64, deviceDefinitionID, vin string) (models.DataPullStatusEnum, error)

PullValuation mocks base method.

type MockDrivlyValuationServiceMockRecorder added in v0.1.8

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

MockDrivlyValuationServiceMockRecorder is the mock recorder for MockDrivlyValuationService.

func (*MockDrivlyValuationServiceMockRecorder) PullOffer added in v0.2.3

func (mr *MockDrivlyValuationServiceMockRecorder) PullOffer(ctx, userDeviceID, tokenID, vin any) *gomock.Call

PullOffer indicates an expected call of PullOffer.

func (*MockDrivlyValuationServiceMockRecorder) PullValuation added in v0.1.8

func (mr *MockDrivlyValuationServiceMockRecorder) PullValuation(ctx, userDeviceID, tokenID, deviceDefinitionID, vin any) *gomock.Call

PullValuation indicates an expected call of PullValuation.

type MockUserDeviceAPIService

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

MockUserDeviceAPIService is a mock of UserDeviceAPIService interface.

func NewMockUserDeviceAPIService

func NewMockUserDeviceAPIService(ctrl *gomock.Controller) *MockUserDeviceAPIService

NewMockUserDeviceAPIService creates a new mock instance.

func (*MockUserDeviceAPIService) CanRequestInstantOffer added in v0.2.13

func (m *MockUserDeviceAPIService) CanRequestInstantOffer(ctx context.Context, userDeviceID string) (bool, error)

CanRequestInstantOffer mocks base method.

func (*MockUserDeviceAPIService) CanRequestInstantOfferByTokenID added in v0.3.9

func (m *MockUserDeviceAPIService) CanRequestInstantOfferByTokenID(ctx context.Context, tokenID *big.Int) (bool, error)

CanRequestInstantOfferByTokenID mocks base method.

func (*MockUserDeviceAPIService) EXPECT

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

func (*MockUserDeviceAPIService) GetAllUserDevice

func (m *MockUserDeviceAPIService) GetAllUserDevice(ctx context.Context, wmi string) ([]*grpc.UserDevice, error)

GetAllUserDevice mocks base method.

func (*MockUserDeviceAPIService) GetUserDevice

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

GetUserDevice mocks base method.

func (*MockUserDeviceAPIService) GetUserDeviceByEthAddr added in v0.3.8

func (m *MockUserDeviceAPIService) GetUserDeviceByEthAddr(ctx context.Context, ethAddr string) (*grpc.UserDevice, error)

GetUserDeviceByEthAddr mocks base method.

func (*MockUserDeviceAPIService) GetUserDeviceByTokenID added in v0.3.9

func (m *MockUserDeviceAPIService) GetUserDeviceByTokenID(ctx context.Context, tokenID *big.Int) (*grpc.UserDevice, error)

GetUserDeviceByTokenID mocks base method.

func (*MockUserDeviceAPIService) GetUserDeviceOffers added in v0.2.0

func (m *MockUserDeviceAPIService) GetUserDeviceOffers(ctx context.Context, userDeviceID string) (*models.DeviceOffer, error)

GetUserDeviceOffers mocks base method.

func (*MockUserDeviceAPIService) GetUserDeviceOffersByTokenID added in v0.3.9

func (m *MockUserDeviceAPIService) GetUserDeviceOffersByTokenID(ctx context.Context, tokenID *big.Int, take int, userDeviceID string) (*models.DeviceOffer, error)

GetUserDeviceOffersByTokenID mocks base method.

func (*MockUserDeviceAPIService) GetUserDeviceValuations added in v0.2.0

func (m *MockUserDeviceAPIService) GetUserDeviceValuations(ctx context.Context, userDeviceID, countryCode string) (*models.DeviceValuation, error)

GetUserDeviceValuations mocks base method.

func (*MockUserDeviceAPIService) GetUserDeviceValuationsByTokenID added in v0.3.9

func (m *MockUserDeviceAPIService) GetUserDeviceValuationsByTokenID(ctx context.Context, tokenID *big.Int, countryCode string, take int, userDeviceID string) (*models.DeviceValuation, error)

GetUserDeviceValuationsByTokenID mocks base method.

func (*MockUserDeviceAPIService) LastRequestDidGiveError added in v0.2.14

func (m *MockUserDeviceAPIService) LastRequestDidGiveError(ctx context.Context, userDeviceID string) (bool, error)

LastRequestDidGiveError mocks base method.

func (*MockUserDeviceAPIService) LastRequestDidGiveErrorByTokenID added in v0.3.9

func (m *MockUserDeviceAPIService) LastRequestDidGiveErrorByTokenID(ctx context.Context, tokenID *big.Int) (bool, error)

LastRequestDidGiveErrorByTokenID mocks base method.

func (*MockUserDeviceAPIService) UpdateUserDeviceMetadata

func (m *MockUserDeviceAPIService) UpdateUserDeviceMetadata(ctx context.Context, request *grpc.UpdateUserDeviceMetadataRequest) error

UpdateUserDeviceMetadata mocks base method.

type MockUserDeviceAPIServiceMockRecorder

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

MockUserDeviceAPIServiceMockRecorder is the mock recorder for MockUserDeviceAPIService.

func (*MockUserDeviceAPIServiceMockRecorder) CanRequestInstantOffer added in v0.2.13

func (mr *MockUserDeviceAPIServiceMockRecorder) CanRequestInstantOffer(ctx, userDeviceID any) *gomock.Call

CanRequestInstantOffer indicates an expected call of CanRequestInstantOffer.

func (*MockUserDeviceAPIServiceMockRecorder) CanRequestInstantOfferByTokenID added in v0.3.9

func (mr *MockUserDeviceAPIServiceMockRecorder) CanRequestInstantOfferByTokenID(ctx, tokenID any) *gomock.Call

CanRequestInstantOfferByTokenID indicates an expected call of CanRequestInstantOfferByTokenID.

func (*MockUserDeviceAPIServiceMockRecorder) GetAllUserDevice

func (mr *MockUserDeviceAPIServiceMockRecorder) GetAllUserDevice(ctx, wmi any) *gomock.Call

GetAllUserDevice indicates an expected call of GetAllUserDevice.

func (*MockUserDeviceAPIServiceMockRecorder) GetUserDevice

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

GetUserDevice indicates an expected call of GetUserDevice.

func (*MockUserDeviceAPIServiceMockRecorder) GetUserDeviceByEthAddr added in v0.3.8

func (mr *MockUserDeviceAPIServiceMockRecorder) GetUserDeviceByEthAddr(ctx, ethAddr any) *gomock.Call

GetUserDeviceByEthAddr indicates an expected call of GetUserDeviceByEthAddr.

func (*MockUserDeviceAPIServiceMockRecorder) GetUserDeviceByTokenID added in v0.3.9

func (mr *MockUserDeviceAPIServiceMockRecorder) GetUserDeviceByTokenID(ctx, tokenID any) *gomock.Call

GetUserDeviceByTokenID indicates an expected call of GetUserDeviceByTokenID.

func (*MockUserDeviceAPIServiceMockRecorder) GetUserDeviceOffers added in v0.2.0

func (mr *MockUserDeviceAPIServiceMockRecorder) GetUserDeviceOffers(ctx, userDeviceID any) *gomock.Call

GetUserDeviceOffers indicates an expected call of GetUserDeviceOffers.

func (*MockUserDeviceAPIServiceMockRecorder) GetUserDeviceOffersByTokenID added in v0.3.9

func (mr *MockUserDeviceAPIServiceMockRecorder) GetUserDeviceOffersByTokenID(ctx, tokenID, take, userDeviceID any) *gomock.Call

GetUserDeviceOffersByTokenID indicates an expected call of GetUserDeviceOffersByTokenID.

func (*MockUserDeviceAPIServiceMockRecorder) GetUserDeviceValuations added in v0.2.0

func (mr *MockUserDeviceAPIServiceMockRecorder) GetUserDeviceValuations(ctx, userDeviceID, countryCode any) *gomock.Call

GetUserDeviceValuations indicates an expected call of GetUserDeviceValuations.

func (*MockUserDeviceAPIServiceMockRecorder) GetUserDeviceValuationsByTokenID added in v0.3.9

func (mr *MockUserDeviceAPIServiceMockRecorder) GetUserDeviceValuationsByTokenID(ctx, tokenID, countryCode, take, userDeviceID any) *gomock.Call

GetUserDeviceValuationsByTokenID indicates an expected call of GetUserDeviceValuationsByTokenID.

func (*MockUserDeviceAPIServiceMockRecorder) LastRequestDidGiveError added in v0.2.14

func (mr *MockUserDeviceAPIServiceMockRecorder) LastRequestDidGiveError(ctx, userDeviceID any) *gomock.Call

LastRequestDidGiveError indicates an expected call of LastRequestDidGiveError.

func (*MockUserDeviceAPIServiceMockRecorder) LastRequestDidGiveErrorByTokenID added in v0.3.9

func (mr *MockUserDeviceAPIServiceMockRecorder) LastRequestDidGiveErrorByTokenID(ctx, tokenID any) *gomock.Call

LastRequestDidGiveErrorByTokenID indicates an expected call of LastRequestDidGiveErrorByTokenID.

func (*MockUserDeviceAPIServiceMockRecorder) UpdateUserDeviceMetadata

func (mr *MockUserDeviceAPIServiceMockRecorder) UpdateUserDeviceMetadata(ctx, request any) *gomock.Call

UpdateUserDeviceMetadata indicates an expected call of UpdateUserDeviceMetadata.

type MockUserDeviceDataAPIService

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

MockUserDeviceDataAPIService is a mock of UserDeviceDataAPIService interface.

func NewMockUserDeviceDataAPIService

func NewMockUserDeviceDataAPIService(ctrl *gomock.Controller) *MockUserDeviceDataAPIService

NewMockUserDeviceDataAPIService creates a new mock instance.

func (*MockUserDeviceDataAPIService) EXPECT

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

func (*MockUserDeviceDataAPIService) GetUserDeviceData

func (m *MockUserDeviceDataAPIService) GetUserDeviceData(ctx context.Context, userDeviceID, ddID string) (*grpc.UserDeviceDataResponse, error)

GetUserDeviceData mocks base method.

func (*MockUserDeviceDataAPIService) GetVehicleRawData added in v0.3.9

func (m *MockUserDeviceDataAPIService) GetVehicleRawData(ctx context.Context, userDeviceID string) (*grpc.RawDeviceDataResponse, error)

GetVehicleRawData mocks base method.

type MockUserDeviceDataAPIServiceMockRecorder

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

MockUserDeviceDataAPIServiceMockRecorder is the mock recorder for MockUserDeviceDataAPIService.

func (*MockUserDeviceDataAPIServiceMockRecorder) GetUserDeviceData

func (mr *MockUserDeviceDataAPIServiceMockRecorder) GetUserDeviceData(ctx, userDeviceID, ddID any) *gomock.Call

GetUserDeviceData indicates an expected call of GetUserDeviceData.

func (*MockUserDeviceDataAPIServiceMockRecorder) GetVehicleRawData added in v0.3.9

func (mr *MockUserDeviceDataAPIServiceMockRecorder) GetVehicleRawData(ctx, userDeviceID any) *gomock.Call

GetVehicleRawData indicates an expected call of GetVehicleRawData.

type MockVincarioAPIService added in v0.1.8

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

MockVincarioAPIService is a mock of VincarioAPIService interface.

func NewMockVincarioAPIService added in v0.1.8

func NewMockVincarioAPIService(ctrl *gomock.Controller) *MockVincarioAPIService

NewMockVincarioAPIService creates a new mock instance.

func (*MockVincarioAPIService) EXPECT added in v0.1.8

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

func (*MockVincarioAPIService) GetMarketValuation added in v0.1.8

GetMarketValuation mocks base method.

type MockVincarioAPIServiceMockRecorder added in v0.1.8

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

MockVincarioAPIServiceMockRecorder is the mock recorder for MockVincarioAPIService.

func (*MockVincarioAPIServiceMockRecorder) GetMarketValuation added in v0.1.8

func (mr *MockVincarioAPIServiceMockRecorder) GetMarketValuation(vin interface{}) *gomock.Call

GetMarketValuation indicates an expected call of GetMarketValuation.

type MockVincarioValuationService added in v0.1.8

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

MockVincarioValuationService is a mock of VincarioValuationService interface.

func NewMockVincarioValuationService added in v0.1.8

func NewMockVincarioValuationService(ctrl *gomock.Controller) *MockVincarioValuationService

NewMockVincarioValuationService creates a new mock instance.

func (*MockVincarioValuationService) EXPECT added in v0.1.8

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

func (*MockVincarioValuationService) PullValuation added in v0.1.8

func (m *MockVincarioValuationService) PullValuation(ctx context.Context, userDeviceID string, tokenID uint64, deviceDefinitionID, vin string) (models.DataPullStatusEnum, error)

PullValuation mocks base method.

type MockVincarioValuationServiceMockRecorder added in v0.1.8

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

MockVincarioValuationServiceMockRecorder is the mock recorder for MockVincarioValuationService.

func (*MockVincarioValuationServiceMockRecorder) PullValuation added in v0.1.8

func (mr *MockVincarioValuationServiceMockRecorder) PullValuation(ctx, userDeviceID, tokenID, deviceDefinitionID, vin any) *gomock.Call

PullValuation indicates an expected call of PullValuation.

Jump to

Keyboard shortcuts

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