mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDeviceDefinitionRepository

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

MockDeviceDefinitionRepository is a mock of DeviceDefinitionRepository interface.

func NewMockDeviceDefinitionRepository

func NewMockDeviceDefinitionRepository(ctrl *gomock.Controller) *MockDeviceDefinitionRepository

NewMockDeviceDefinitionRepository creates a new mock instance.

func (*MockDeviceDefinitionRepository) EXPECT

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

func (*MockDeviceDefinitionRepository) GetAll

GetAll mocks base method.

func (*MockDeviceDefinitionRepository) GetByID added in v0.1.2

GetById mocks base method.

func (*MockDeviceDefinitionRepository) GetByMakeModelAndYears

func (m *MockDeviceDefinitionRepository) GetByMakeModelAndYears(ctx context.Context, make, model string, year int, loadIntegrations bool) (*models.DeviceDefinition, error)

GetByMakeModelAndYears mocks base method.

func (*MockDeviceDefinitionRepository) GetWithIntegrations

GetWithIntegrations mocks base method.

type MockDeviceDefinitionRepositoryMockRecorder

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

MockDeviceDefinitionRepositoryMockRecorder is the mock recorder for MockDeviceDefinitionRepository.

func (*MockDeviceDefinitionRepositoryMockRecorder) GetAll

func (mr *MockDeviceDefinitionRepositoryMockRecorder) GetAll(ctx, verified interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockDeviceDefinitionRepositoryMockRecorder) GetById

func (mr *MockDeviceDefinitionRepositoryMockRecorder) GetById(ctx, id interface{}) *gomock.Call

GetById indicates an expected call of GetById.

func (*MockDeviceDefinitionRepositoryMockRecorder) GetByMakeModelAndYears

func (mr *MockDeviceDefinitionRepositoryMockRecorder) GetByMakeModelAndYears(ctx, make, model, year, loadIntegrations interface{}) *gomock.Call

GetByMakeModelAndYears indicates an expected call of GetByMakeModelAndYears.

func (*MockDeviceDefinitionRepositoryMockRecorder) GetWithIntegrations

func (mr *MockDeviceDefinitionRepositoryMockRecorder) GetWithIntegrations(ctx, id interface{}) *gomock.Call

GetWithIntegrations indicates an expected call of GetWithIntegrations.

type MockDeviceMakeRepository

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

MockDeviceMakeRepository is a mock of DeviceMakeRepository interface.

func NewMockDeviceMakeRepository

func NewMockDeviceMakeRepository(ctrl *gomock.Controller) *MockDeviceMakeRepository

NewMockDeviceMakeRepository creates a new mock instance.

func (*MockDeviceMakeRepository) EXPECT

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

func (*MockDeviceMakeRepository) GetAll

GetAll mocks base method.

type MockDeviceMakeRepositoryMockRecorder

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

MockDeviceMakeRepositoryMockRecorder is the mock recorder for MockDeviceMakeRepository.

func (*MockDeviceMakeRepositoryMockRecorder) GetAll

func (mr *MockDeviceMakeRepositoryMockRecorder) GetAll(ctx interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

Jump to

Keyboard shortcuts

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