Documentation ¶
Index ¶
- type CreateDeviceDefinitionCommand
- type CreateDeviceDefinitionCommandHandler
- type CreateDeviceDefinitionCommandResult
- type CreateDeviceIntegrationCommand
- type CreateDeviceIntegrationCommandHandler
- type CreateDeviceIntegrationCommandResult
- type SyncIPFSDataCommand
- type SyncIPFSDataCommandHandler
- type SyncIPFSDataCommandResult
- type SyncSearchDataCommand
- type SyncSearchDataCommandHandler
- type SyncSearchDataCommandResult
- type SyncSmartCartCompatibilityCommand
- type SyncSmartCartCompatibilityCommandHandler
- type SyncSmartCartCompatibilityCommandResult
- type SyncSmartCartForwardCompatibilityCommand
- type SyncSmartCartForwardCompatibilityCommandHandler
- type SyncSmartCartForwardCompatibilityCommandResult
- type UpdateDeviceDefinitionCommand
- type UpdateDeviceDefinitionCommandHandler
- type UpdateDeviceDefinitionCommandResult
- type UpdateDeviceVehicleInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDeviceDefinitionCommand ¶
type CreateDeviceDefinitionCommand struct { Source string `json:"source"` Make string `json:"make"` Model string `json:"model"` Year int `json:"year"` }
func (*CreateDeviceDefinitionCommand) Key ¶
func (*CreateDeviceDefinitionCommand) Key() string
type CreateDeviceDefinitionCommandHandler ¶
type CreateDeviceDefinitionCommandHandler struct {
Repository repositories.DeviceDefinitionRepository
}
func NewCreateDeviceDefinitionCommandHandler ¶
func NewCreateDeviceDefinitionCommandHandler(repository repositories.DeviceDefinitionRepository) CreateDeviceDefinitionCommandHandler
type CreateDeviceDefinitionCommandResult ¶
type CreateDeviceDefinitionCommandResult struct {
ID string `json:"id"`
}
type CreateDeviceIntegrationCommand ¶
type CreateDeviceIntegrationCommand struct { DeviceDefinitionID string `json:"device_definition_id"` IntegrationID string `json:"integration_id"` Region string `json:"region"` }
func (*CreateDeviceIntegrationCommand) Key ¶
func (*CreateDeviceIntegrationCommand) Key() string
type CreateDeviceIntegrationCommandHandler ¶
type CreateDeviceIntegrationCommandHandler struct {
Repository repositories.DeviceIntegrationRepository
}
func NewCreateDeviceIntegrationCommandHandler ¶
func NewCreateDeviceIntegrationCommandHandler(repository repositories.DeviceIntegrationRepository) CreateDeviceIntegrationCommandHandler
type CreateDeviceIntegrationCommandResult ¶
type CreateDeviceIntegrationCommandResult struct {
ID string `json:"id"`
}
type SyncIPFSDataCommand ¶
type SyncIPFSDataCommand struct { }
func (*SyncIPFSDataCommand) Key ¶
func (*SyncIPFSDataCommand) Key() string
type SyncIPFSDataCommandHandler ¶
type SyncIPFSDataCommandHandler struct { DBS func() *db.ReaderWriter IPFSEndpoint string }
func NewSyncIPFSDataCommandHandler ¶
func NewSyncIPFSDataCommandHandler(dbs func() *db.ReaderWriter, IPFSEndpoint string) SyncIPFSDataCommandHandler
type SyncIPFSDataCommandResult ¶
type SyncIPFSDataCommandResult struct { }
type SyncSearchDataCommand ¶
type SyncSearchDataCommand struct { }
func (*SyncSearchDataCommand) Key ¶
func (*SyncSearchDataCommand) Key() string
type SyncSearchDataCommandHandler ¶
type SyncSearchDataCommandHandler struct { DBS func() *db.ReaderWriter // contains filtered or unexported fields }
func NewSyncSearchDataCommandHandler ¶
func NewSyncSearchDataCommandHandler(dbs func() *db.ReaderWriter, esSvc gateways.ElasticSearchService) SyncSearchDataCommandHandler
type SyncSearchDataCommandResult ¶
type SyncSearchDataCommandResult struct {
Status bool
}
type SyncSmartCartCompatibilityCommand ¶
type SyncSmartCartCompatibilityCommand struct { }
func (*SyncSmartCartCompatibilityCommand) Key ¶
func (*SyncSmartCartCompatibilityCommand) Key() string
type SyncSmartCartCompatibilityCommandHandler ¶
type SyncSmartCartCompatibilityCommandHandler struct { DBS func() *db.ReaderWriter Repository repositories.DeviceDefinitionRepository // contains filtered or unexported fields }
func NewSyncSmartCartCompatibilityCommandHandler ¶
func NewSyncSmartCartCompatibilityCommandHandler(dbs func() *db.ReaderWriter, scSvc gateways.SmartCarService, repository repositories.DeviceDefinitionRepository) SyncSmartCartCompatibilityCommandHandler
type SyncSmartCartCompatibilityCommandResult ¶
type SyncSmartCartCompatibilityCommandResult struct {
Status bool
}
type SyncSmartCartForwardCompatibilityCommand ¶
type SyncSmartCartForwardCompatibilityCommand struct { }
func (*SyncSmartCartForwardCompatibilityCommand) Key ¶
func (*SyncSmartCartForwardCompatibilityCommand) Key() string
type SyncSmartCartForwardCompatibilityCommandHandler ¶
type SyncSmartCartForwardCompatibilityCommandHandler struct { DBS func() *db.ReaderWriter Repository repositories.DeviceDefinitionRepository // contains filtered or unexported fields }
func NewSyncSmartCartForwardCompatibilityCommandHandler ¶
func NewSyncSmartCartForwardCompatibilityCommandHandler(dbs func() *db.ReaderWriter, scSvc gateways.SmartCarService, repository repositories.DeviceDefinitionRepository) SyncSmartCartForwardCompatibilityCommandHandler
type SyncSmartCartForwardCompatibilityCommandResult ¶
type SyncSmartCartForwardCompatibilityCommandResult struct {
Status bool
}
type UpdateDeviceDefinitionCommand ¶
type UpdateDeviceDefinitionCommand struct { DeviceDefinitionID string `json:"deviceDefinitionId"` FuelType string `json:"fuel_type"` DrivenWheels string `json:"driven_wheels"` NumberOfDoors int32 `json:"number_of_doors"` BaseMSRP int32 `json:"base_msrp"` EPAClass string `json:"epa_class"` VehicleType string `json:"vehicle_type"` // VehicleType PASSENGER CAR, from NHTSA MPGHighway float32 `json:"mpg_highway"` MPGCity float32 `json:"mpg_city"` FuelTankCapacityGal float32 `json:"fuel_tank_capacity_gal"` MPG float32 `json:"mpg,omitempty"` }
func (*UpdateDeviceDefinitionCommand) Key ¶
func (*UpdateDeviceDefinitionCommand) Key() string
type UpdateDeviceDefinitionCommandHandler ¶
type UpdateDeviceDefinitionCommandHandler struct {
DBS func() *db.ReaderWriter
}
func NewUpdateDeviceDefinitionCommandHandler ¶
func NewUpdateDeviceDefinitionCommandHandler(dbs func() *db.ReaderWriter) UpdateDeviceDefinitionCommandHandler
type UpdateDeviceDefinitionCommandResult ¶
type UpdateDeviceDefinitionCommandResult struct {
ID string `json:"id"`
}
type UpdateDeviceVehicleInfo ¶
type UpdateDeviceVehicleInfo struct { FuelType string `json:"fuel_type,omitempty"` DrivenWheels string `json:"driven_wheels,omitempty"` NumberOfDoors string `json:"number_of_doors,omitempty"` BaseMSRP int `json:"base_msrp,omitempty"` EPAClass string `json:"epa_class,omitempty"` VehicleType string `json:"vehicle_type,omitempty"` // VehicleType PASSENGER CAR, from NHTSA MPGHighway string `json:"mpg_highway,omitempty"` MPGCity string `json:"mpg_city,omitempty"` FuelTankCapacityGal string `json:"fuel_tank_capacity_gal,omitempty"` MPG string `json:"mpg,omitempty"` }
Click to show internal directories.
Click to hide internal directories.