Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceDefinitionRepository ¶
type DeviceDefinitionRepository interface { GetByID(ctx context.Context, id string) (*models.DeviceDefinition, error) GetByMakeModelAndYears(ctx context.Context, make string, model string, year int, loadIntegrations bool) (*models.DeviceDefinition, error) GetAll(ctx context.Context, verified bool) ([]*models.DeviceDefinition, error) GetWithIntegrations(ctx context.Context, id string) (*models.DeviceDefinition, error) }
func NewDeviceDefinitionRepository ¶
func NewDeviceDefinitionRepository(dbs func() *db.ReaderWriter) DeviceDefinitionRepository
type DeviceMakeRepository ¶
type DeviceMakeRepository interface {
GetAll(ctx context.Context) ([]*models.DeviceMake, error)
}
func NewDeviceMakeRepository ¶
func NewDeviceMakeRepository(dbs func() *db.ReaderWriter) DeviceMakeRepository
Click to show internal directories.
Click to hide internal directories.