Documentation ¶
Overview ¶
Package mock_repositories is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockDeviceDefinitionRepository
- func (m *MockDeviceDefinitionRepository) EXPECT() *MockDeviceDefinitionRepositoryMockRecorder
- func (m *MockDeviceDefinitionRepository) FetchDeviceCompatibility(ctx context.Context, makeID, integrationID, region string) (models.DeviceDefinitionSlice, error)
- func (m *MockDeviceDefinitionRepository) GetAll(ctx context.Context, verified bool) ([]*models.DeviceDefinition, error)
- func (m *MockDeviceDefinitionRepository) GetByID(ctx context.Context, id string) (*models.DeviceDefinition, error)
- func (m *MockDeviceDefinitionRepository) GetByMakeModelAndYears(ctx context.Context, make, model string, year int, loadIntegrations bool) (*models.DeviceDefinition, error)
- func (m *MockDeviceDefinitionRepository) GetOrCreate(ctx context.Context, source, make, model string, year int) (*models.DeviceDefinition, error)
- func (m *MockDeviceDefinitionRepository) GetWithIntegrations(ctx context.Context, id string) (*models.DeviceDefinition, error)
- type MockDeviceDefinitionRepositoryMockRecorder
- func (mr *MockDeviceDefinitionRepositoryMockRecorder) FetchDeviceCompatibility(ctx, makeID, integrationID, region interface{}) *gomock.Call
- func (mr *MockDeviceDefinitionRepositoryMockRecorder) GetAll(ctx, verified interface{}) *gomock.Call
- func (mr *MockDeviceDefinitionRepositoryMockRecorder) GetByID(ctx, id interface{}) *gomock.Call
- func (mr *MockDeviceDefinitionRepositoryMockRecorder) GetByMakeModelAndYears(ctx, make, model, year, loadIntegrations interface{}) *gomock.Call
- func (mr *MockDeviceDefinitionRepositoryMockRecorder) GetOrCreate(ctx, source, make, model, year interface{}) *gomock.Call
- func (mr *MockDeviceDefinitionRepositoryMockRecorder) GetWithIntegrations(ctx, id interface{}) *gomock.Call
- type MockDeviceIntegrationRepository
- type MockDeviceIntegrationRepositoryMockRecorder
- type MockDeviceMakeRepository
- type MockDeviceMakeRepositoryMockRecorder
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 ¶
func (m *MockDeviceDefinitionRepository) EXPECT() *MockDeviceDefinitionRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeviceDefinitionRepository) FetchDeviceCompatibility ¶ added in v0.1.38
func (m *MockDeviceDefinitionRepository) FetchDeviceCompatibility(ctx context.Context, makeID, integrationID, region string) (models.DeviceDefinitionSlice, error)
FetchDeviceCompatibility mocks base method.
func (*MockDeviceDefinitionRepository) GetAll ¶
func (m *MockDeviceDefinitionRepository) GetAll(ctx context.Context, verified bool) ([]*models.DeviceDefinition, error)
GetAll mocks base method.
func (*MockDeviceDefinitionRepository) GetByID ¶ added in v0.1.2
func (m *MockDeviceDefinitionRepository) GetByID(ctx context.Context, id string) (*models.DeviceDefinition, error)
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) GetOrCreate ¶ added in v0.1.4
func (m *MockDeviceDefinitionRepository) GetOrCreate(ctx context.Context, source, make, model string, year int) (*models.DeviceDefinition, error)
GetOrCreate mocks base method.
func (*MockDeviceDefinitionRepository) GetWithIntegrations ¶
func (m *MockDeviceDefinitionRepository) GetWithIntegrations(ctx context.Context, id string) (*models.DeviceDefinition, error)
GetWithIntegrations mocks base method.
type MockDeviceDefinitionRepositoryMockRecorder ¶
type MockDeviceDefinitionRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceDefinitionRepositoryMockRecorder is the mock recorder for MockDeviceDefinitionRepository.
func (*MockDeviceDefinitionRepositoryMockRecorder) FetchDeviceCompatibility ¶ added in v0.1.38
func (mr *MockDeviceDefinitionRepositoryMockRecorder) FetchDeviceCompatibility(ctx, makeID, integrationID, region interface{}) *gomock.Call
FetchDeviceCompatibility indicates an expected call of FetchDeviceCompatibility.
func (*MockDeviceDefinitionRepositoryMockRecorder) GetAll ¶
func (mr *MockDeviceDefinitionRepositoryMockRecorder) GetAll(ctx, verified interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockDeviceDefinitionRepositoryMockRecorder) GetByID ¶ added in v0.1.4
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) GetOrCreate ¶ added in v0.1.4
func (mr *MockDeviceDefinitionRepositoryMockRecorder) GetOrCreate(ctx, source, make, model, year interface{}) *gomock.Call
GetOrCreate indicates an expected call of GetOrCreate.
func (*MockDeviceDefinitionRepositoryMockRecorder) GetWithIntegrations ¶
func (mr *MockDeviceDefinitionRepositoryMockRecorder) GetWithIntegrations(ctx, id interface{}) *gomock.Call
GetWithIntegrations indicates an expected call of GetWithIntegrations.
type MockDeviceIntegrationRepository ¶ added in v0.1.4
type MockDeviceIntegrationRepository struct {
// contains filtered or unexported fields
}
MockDeviceIntegrationRepository is a mock of DeviceIntegrationRepository interface.
func NewMockDeviceIntegrationRepository ¶ added in v0.1.4
func NewMockDeviceIntegrationRepository(ctrl *gomock.Controller) *MockDeviceIntegrationRepository
NewMockDeviceIntegrationRepository creates a new mock instance.
func (*MockDeviceIntegrationRepository) Create ¶ added in v0.1.4
func (m *MockDeviceIntegrationRepository) Create(ctx context.Context, deviceDefinitionID, integrationID, region string) (*models.DeviceIntegration, error)
Create mocks base method.
func (*MockDeviceIntegrationRepository) EXPECT ¶ added in v0.1.4
func (m *MockDeviceIntegrationRepository) EXPECT() *MockDeviceIntegrationRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDeviceIntegrationRepositoryMockRecorder ¶ added in v0.1.4
type MockDeviceIntegrationRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceIntegrationRepositoryMockRecorder is the mock recorder for MockDeviceIntegrationRepository.
func (*MockDeviceIntegrationRepositoryMockRecorder) Create ¶ added in v0.1.4
func (mr *MockDeviceIntegrationRepositoryMockRecorder) Create(ctx, deviceDefinitionID, integrationID, region interface{}) *gomock.Call
Create indicates an expected call of Create.
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 ¶
func (m *MockDeviceMakeRepository) EXPECT() *MockDeviceMakeRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeviceMakeRepository) GetAll ¶
func (m *MockDeviceMakeRepository) GetAll(ctx context.Context) ([]*models.DeviceMake, error)
GetAll mocks base method.
func (*MockDeviceMakeRepository) GetOrCreate ¶ added in v0.1.4
func (m *MockDeviceMakeRepository) GetOrCreate(ctx context.Context, makeName, logURL string) (*models.DeviceMake, error)
GetOrCreate 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.
func (*MockDeviceMakeRepositoryMockRecorder) GetOrCreate ¶ added in v0.1.4
func (mr *MockDeviceMakeRepositoryMockRecorder) GetOrCreate(ctx, makeName, logURL interface{}) *gomock.Call
GetOrCreate indicates an expected call of GetOrCreate.