Documentation ¶
Index ¶
- type CompatibilityLevel
- type CompatibilitySheetRow
- type DecodeVINQuery
- type DecodeVINQueryHandler
- type DeviceDefinitionQueryResponse
- type GetAllDeviceDefinitionAutocompleteItem
- type GetAllDeviceDefinitionByAutocompleteQuery
- type GetAllDeviceDefinitionByAutocompleteQueryHandler
- type GetAllDeviceDefinitionByAutocompleteQueryResult
- type GetAllDeviceDefinitionByMakeYearRangeQuery
- type GetAllDeviceDefinitionByMakeYearRangeQueryHandler
- type GetAllDeviceDefinitionBySearchQuery
- type GetAllDeviceDefinitionBySearchQueryHandler
- type GetAllDeviceDefinitionBySearchQueryResult
- type GetAllDeviceDefinitionFacet
- type GetAllDeviceDefinitionFacetItem
- type GetAllDeviceDefinitionGroupQuery
- type GetAllDeviceDefinitionGroupQueryHandler
- type GetAllDeviceDefinitionGroupQueryResult
- type GetAllDeviceDefinitionItem
- type GetAllDeviceDefinitionOnChainQuery
- type GetAllDeviceDefinitionOnChainQueryHandler
- type GetAllDeviceDefinitionPagination
- type GetAllDeviceDefinitionQuery
- type GetAllDeviceDefinitionQueryHandler
- type GetAllDeviceMakeQuery
- type GetAllDeviceMakeQueryHandler
- type GetAllDeviceTypeQuery
- type GetAllDeviceTypeQueryHandler
- type GetAllIntegrationFeatureQuery
- type GetAllIntegrationFeatureQueryHandler
- type GetAllIntegrationQuery
- type GetAllIntegrationQueryHandler
- type GetCompatibilitiesByMakeQuery
- type GetCompatibilityByDeviceDefinitionArrayItem
- type GetCompatibilityByDeviceDefinitionArrayQuery
- type GetCompatibilityByDeviceDefinitionArrayQueryHandler
- type GetCompatibilityByDeviceDefinitionQuery
- type GetCompatibilityByDeviceDefinitionQueryHandler
- type GetCompatibilityR1SheetQuery
- type GetCompatibilityR1SheetQueryHandler
- type GetDefinitionsWithHWTemplateQuery
- type GetDefinitionsWithHWTemplateQueryHandler
- type GetDeviceCompatibilityQueryHandler
- type GetDeviceDefinitionByDynamicFilterQuery
- type GetDeviceDefinitionByDynamicFilterQueryHandler
- type GetDeviceDefinitionByIDQuery
- type GetDeviceDefinitionByIDQueryHandler
- type GetDeviceDefinitionByIDsQuery
- type GetDeviceDefinitionByIDsQueryHandler
- type GetDeviceDefinitionByMakeModelYearQuery
- type GetDeviceDefinitionByMakeModelYearQueryHandler
- type GetDeviceDefinitionBySlugNameQuery
- type GetDeviceDefinitionBySlugNameQueryHandler
- type GetDeviceDefinitionBySlugQuery
- type GetDeviceDefinitionBySlugQueryHandler
- type GetDeviceDefinitionBySourceQuery
- type GetDeviceDefinitionBySourceQueryHandler
- type GetDeviceDefinitionHardwareTemplateByIDQuery
- type GetDeviceDefinitionHardwareTemplateByIDQueryHandler
- type GetDeviceDefinitionImagesByIDsQuery
- type GetDeviceDefinitionImagesByIDsQueryHandler
- type GetDeviceDefinitionOnChainByIDQuery
- type GetDeviceDefinitionOnChainByIDQueryHandler
- type GetDeviceDefinitionWithRelsQuery
- type GetDeviceDefinitionWithRelsQueryHandler
- type GetDeviceDefinitionWithRelsQueryResult
- type GetDeviceDefinitionWithoutImageQuery
- type GetDeviceDefinitionWithoutImageQueryHandler
- type GetDeviceMakeByNameQuery
- type GetDeviceMakeByNameQueryHandler
- type GetDeviceMakeBySlugQuery
- type GetDeviceMakeBySlugQueryHandler
- type GetDeviceMakeByTokenIDQuery
- type GetDeviceMakeByTokenIDQueryHandler
- type GetDeviceModelYear
- type GetDeviceModels
- type GetDeviceStyleByDeviceDefinitionIDQuery
- type GetDeviceStyleByDeviceDefinitionIDQueryHandler
- type GetDeviceStyleByExternalIDQuery
- type GetDeviceStyleByExternalIDQueryHandler
- type GetDeviceStyleByFilterQuery
- type GetDeviceStyleByFilterQueryHandler
- type GetDeviceStyleByIDQuery
- type GetDeviceStyleByIDQueryHandler
- type GetDeviceTypeByIDQuery
- type GetDeviceTypeByIDQueryHandler
- type GetDevicesMMYQuery
- type GetDevicesMMYQueryHandler
- type GetDevicesMMYQueryResult
- type GetIntegrationByIDQuery
- type GetIntegrationByIDQueryHandler
- type GetIntegrationByTokenIDQuery
- type GetIntegrationByTokenIDQueryHandler
- type GetIntegrationFeatureByIDQuery
- type GetIntegrationFeatureByIDQueryHandler
- type GetIntegrationOptionsQuery
- type GetIntegrationOptionsQueryHandler
- type GetR1CompatibilitySearch
- type GetR1CompatibilitySearchQueryHandler
- type GetR1CompatibilitySearchQueryResult
- type GetR1SearchEntryItem
- type IntegrationOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompatibilityLevel ¶ added in v0.3.8
type CompatibilityLevel string
CompatibilityLevel enum for overall device compatibility
const ( GoldLevel CompatibilityLevel = "Gold" SilverLevel CompatibilityLevel = "Silver" BronzeLevel CompatibilityLevel = "Bronze" NoDataLevel CompatibilityLevel = "No Data" )
func (CompatibilityLevel) String ¶ added in v0.3.8
func (r CompatibilityLevel) String() string
type CompatibilitySheetRow ¶ added in v1.2.56
type DecodeVINQuery ¶ added in v0.6.8
type DecodeVINQuery struct { VIN string `json:"vin"` KnownModel string `json:"knownModel"` KnownYear int32 `json:"knownYear"` Country string `json:"country"` DeviceDefinitionID string `json:"device_definition_id"` }
func (*DecodeVINQuery) Key ¶ added in v0.6.8
func (*DecodeVINQuery) Key() string
type DecodeVINQueryHandler ¶ added in v0.6.8
type DecodeVINQueryHandler struct {
// contains filtered or unexported fields
}
func NewDecodeVINQueryHandler ¶ added in v0.6.8
func NewDecodeVINQueryHandler(dbs func() *db.ReaderWriter, vinDecodingService services.VINDecodingService, vinRepository repositories.VINRepository, repository repositories.DeviceDefinitionRepository, logger *zerolog.Logger, fuelAPIService gateways.FuelAPIService, powerTrainTypeService services.PowerTrainTypeService, deviceDefinitionOnChainService gateways.DeviceDefinitionOnChainService) DecodeVINQueryHandler
type DeviceDefinitionQueryResponse ¶ added in v0.1.9
type DeviceDefinitionQueryResponse struct { ID string `json:"id"` NameSlug string `json:"name_slug"` Model string `json:"model"` Year int `json:"year"` ImageURL null.String `json:"image_url,omitempty"` CreatedAt time.Time `json:"created_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty"` Metadata null.JSON `json:"metadata"` Source null.String `json:"source"` Verified bool `json:"verified"` ExternalID null.String `json:"external_id"` DeviceMakeID string `json:"device_make_id"` Make string `json:"make"` ExternalIDs null.JSON `json:"external_ids"` }
type GetAllDeviceDefinitionAutocompleteItem ¶ added in v1.2.31
type GetAllDeviceDefinitionByAutocompleteQuery ¶ added in v1.2.31
type GetAllDeviceDefinitionByAutocompleteQuery struct {
Query string `json:"query"`
}
func (*GetAllDeviceDefinitionByAutocompleteQuery) Key ¶ added in v1.2.31
func (*GetAllDeviceDefinitionByAutocompleteQuery) Key() string
type GetAllDeviceDefinitionByAutocompleteQueryHandler ¶ added in v1.2.31
type GetAllDeviceDefinitionByAutocompleteQueryHandler struct {
Service search.TypesenseAPIService
}
func NewGetAllDeviceDefinitionByAutocompleteQueryHandler ¶ added in v1.2.31
func NewGetAllDeviceDefinitionByAutocompleteQueryHandler(service search.TypesenseAPIService) GetAllDeviceDefinitionByAutocompleteQueryHandler
type GetAllDeviceDefinitionByAutocompleteQueryResult ¶ added in v1.2.31
type GetAllDeviceDefinitionByAutocompleteQueryResult struct {
Items []GetAllDeviceDefinitionAutocompleteItem `json:"items"`
}
type GetAllDeviceDefinitionByMakeYearRangeQuery ¶ added in v1.0.29
type GetAllDeviceDefinitionByMakeYearRangeQuery struct { Make string StartYear int32 EndYear int32 }
func (*GetAllDeviceDefinitionByMakeYearRangeQuery) Key ¶ added in v1.0.29
func (*GetAllDeviceDefinitionByMakeYearRangeQuery) Key() string
type GetAllDeviceDefinitionByMakeYearRangeQueryHandler ¶ added in v1.0.29
type GetAllDeviceDefinitionByMakeYearRangeQueryHandler struct {
Repository repositories.DeviceDefinitionRepository
}
func NewGetAllDeviceDefinitionByMakeYearRangeQueryHandler ¶ added in v1.0.29
func NewGetAllDeviceDefinitionByMakeYearRangeQueryHandler(repository repositories.DeviceDefinitionRepository) GetAllDeviceDefinitionByMakeYearRangeQueryHandler
type GetAllDeviceDefinitionBySearchQuery ¶ added in v1.2.31
type GetAllDeviceDefinitionBySearchQuery struct { Query string `json:"query"` Make string `json:"make"` Model string `json:"model"` Year int `json:"year"` Page int `json:"page"` PageSize int `json:"pageSize"` }
func (*GetAllDeviceDefinitionBySearchQuery) Key ¶ added in v1.2.31
func (*GetAllDeviceDefinitionBySearchQuery) Key() string
type GetAllDeviceDefinitionBySearchQueryHandler ¶ added in v1.2.31
type GetAllDeviceDefinitionBySearchQueryHandler struct {
Service search.TypesenseAPIService
}
func NewGetAllDeviceDefinitionBySearchQueryHandler ¶ added in v1.2.31
func NewGetAllDeviceDefinitionBySearchQueryHandler(service search.TypesenseAPIService) GetAllDeviceDefinitionBySearchQueryHandler
type GetAllDeviceDefinitionBySearchQueryResult ¶ added in v1.2.31
type GetAllDeviceDefinitionBySearchQueryResult struct { DeviceDefinitions []GetAllDeviceDefinitionItem `json:"deviceDefinitions"` Facets GetAllDeviceDefinitionFacet `json:"facets"` Pagination GetAllDeviceDefinitionPagination `json:"pagination"` }
type GetAllDeviceDefinitionFacet ¶ added in v1.2.31
type GetAllDeviceDefinitionFacet struct { Makes []GetAllDeviceDefinitionFacetItem `json:"makes"` Models []GetAllDeviceDefinitionFacetItem `json:"models"` Years []GetAllDeviceDefinitionFacetItem `json:"years"` }
type GetAllDeviceDefinitionFacetItem ¶ added in v1.2.31
type GetAllDeviceDefinitionGroupQuery ¶ added in v0.1.34
type GetAllDeviceDefinitionGroupQuery struct { }
func (*GetAllDeviceDefinitionGroupQuery) Key ¶ added in v0.1.34
func (*GetAllDeviceDefinitionGroupQuery) Key() string
type GetAllDeviceDefinitionGroupQueryHandler ¶ added in v0.1.34
type GetAllDeviceDefinitionGroupQueryHandler struct { Repository repositories.DeviceDefinitionRepository MakeRepository repositories.DeviceMakeRepository }
func NewGetAllDeviceDefinitionGroupQueryHandler ¶ added in v0.1.34
func NewGetAllDeviceDefinitionGroupQueryHandler(repository repositories.DeviceDefinitionRepository, makeRepository repositories.DeviceMakeRepository) GetAllDeviceDefinitionGroupQueryHandler
type GetAllDeviceDefinitionGroupQueryResult ¶ added in v0.1.34
type GetAllDeviceDefinitionGroupQueryResult struct { Make string `json:"make"` Models []GetDeviceModels `json:"models"` }
type GetAllDeviceDefinitionItem ¶ added in v1.2.31
type GetAllDeviceDefinitionItem struct { ID string `json:"id"` DeviceDefinitionID string `json:"legacy_ksuid"` //nolint Name string `json:"name"` Make string `json:"make"` // ManufacturerTokenID int `json:"manufacturerTokenId"` // todo Model string `json:"model"` Year int `json:"year"` ImageURL string `json:"imageUrl"` }
type GetAllDeviceDefinitionOnChainQuery ¶ added in v1.1.1
type GetAllDeviceDefinitionOnChainQuery struct { MakeSlug string `json:"makeSlug"` DeviceDefinitionID string `json:"deviceDefinitionId"` Year int `json:"year"` Model string `json:"model"` PageIndex int32 `json:"pageIndex"` PageSize int32 `json:"pageSize"` }
func (*GetAllDeviceDefinitionOnChainQuery) Key ¶ added in v1.1.1
func (*GetAllDeviceDefinitionOnChainQuery) Key() string
type GetAllDeviceDefinitionOnChainQueryHandler ¶ added in v1.1.1
type GetAllDeviceDefinitionOnChainQueryHandler struct { DBS func() *db.ReaderWriter DeviceDefinitionOnChainService gateways.DeviceDefinitionOnChainService }
func NewGetAllDeviceDefinitionOnChainQueryHandler ¶ added in v1.1.1
func NewGetAllDeviceDefinitionOnChainQueryHandler(dbs func() *db.ReaderWriter, deviceDefinitionOnChainService gateways.DeviceDefinitionOnChainService) GetAllDeviceDefinitionOnChainQueryHandler
type GetAllDeviceDefinitionPagination ¶ added in v1.2.31
type GetAllDeviceDefinitionQuery ¶
type GetAllDeviceDefinitionQuery struct { }
func (*GetAllDeviceDefinitionQuery) Key ¶
func (*GetAllDeviceDefinitionQuery) Key() string
type GetAllDeviceDefinitionQueryHandler ¶
type GetAllDeviceDefinitionQueryHandler struct {
Repository repositories.DeviceDefinitionRepository
}
func NewGetAllDeviceDefinitionQueryHandler ¶
func NewGetAllDeviceDefinitionQueryHandler(repository repositories.DeviceDefinitionRepository) GetAllDeviceDefinitionQueryHandler
type GetAllDeviceMakeQuery ¶ added in v0.1.35
type GetAllDeviceMakeQuery struct { }
func (*GetAllDeviceMakeQuery) Key ¶ added in v0.1.35
func (*GetAllDeviceMakeQuery) Key() string
type GetAllDeviceMakeQueryHandler ¶ added in v0.1.35
type GetAllDeviceMakeQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetAllDeviceMakeQueryHandler ¶ added in v0.1.35
func NewGetAllDeviceMakeQueryHandler(dbs func() *db.ReaderWriter) GetAllDeviceMakeQueryHandler
type GetAllDeviceTypeQuery ¶ added in v0.2.3
type GetAllDeviceTypeQuery struct { }
func (*GetAllDeviceTypeQuery) Key ¶ added in v0.2.3
func (*GetAllDeviceTypeQuery) Key() string
type GetAllDeviceTypeQueryHandler ¶ added in v0.2.3
type GetAllDeviceTypeQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetAllDeviceTypeQueryHandler ¶ added in v0.2.3
func NewGetAllDeviceTypeQueryHandler(dbs func() *db.ReaderWriter) GetAllDeviceTypeQueryHandler
type GetAllIntegrationFeatureQuery ¶ added in v0.3.5
type GetAllIntegrationFeatureQuery struct { }
func (*GetAllIntegrationFeatureQuery) Key ¶ added in v0.3.5
func (*GetAllIntegrationFeatureQuery) Key() string
type GetAllIntegrationFeatureQueryHandler ¶ added in v0.3.5
type GetAllIntegrationFeatureQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetAllIntegrationFeatureQuery ¶ added in v0.3.5
func NewGetAllIntegrationFeatureQuery(dbs func() *db.ReaderWriter) GetAllIntegrationFeatureQueryHandler
type GetAllIntegrationQuery ¶
type GetAllIntegrationQuery struct { }
func (*GetAllIntegrationQuery) Key ¶
func (*GetAllIntegrationQuery) Key() string
type GetAllIntegrationQueryHandler ¶
type GetAllIntegrationQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetAllIntegrationQueryHandler ¶
func NewGetAllIntegrationQueryHandler(dbs func() *db.ReaderWriter) GetAllIntegrationQueryHandler
type GetCompatibilitiesByMakeQuery ¶ added in v0.3.9
type GetCompatibilitiesByMakeQuery struct { MakeID string `json:"makeId" validate:"required"` IntegrationID string `json:"integrationId" validate:"required"` Region string `json:"region" validate:"required"` Skip int64 `json:"skip"` Take int64 `json:"take"` }
func (*GetCompatibilitiesByMakeQuery) Key ¶ added in v0.3.9
func (*GetCompatibilitiesByMakeQuery) Key() string
type GetCompatibilityByDeviceDefinitionArrayItem ¶ added in v0.7.2
type GetCompatibilityByDeviceDefinitionArrayItem struct {
DeviceDefinitionID string
}
type GetCompatibilityByDeviceDefinitionArrayQuery ¶ added in v0.7.2
type GetCompatibilityByDeviceDefinitionArrayQuery struct {
DeviceDefinitionID []string
}
func (*GetCompatibilityByDeviceDefinitionArrayQuery) Key ¶ added in v0.7.2
func (*GetCompatibilityByDeviceDefinitionArrayQuery) Key() string
type GetCompatibilityByDeviceDefinitionArrayQueryHandler ¶ added in v0.7.2
type GetCompatibilityByDeviceDefinitionArrayQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetCompatibilityByDeviceDefinitionArrayQueryHandler ¶ added in v0.7.2
func NewGetCompatibilityByDeviceDefinitionArrayQueryHandler(dbs func() *db.ReaderWriter) GetCompatibilityByDeviceDefinitionArrayQueryHandler
type GetCompatibilityByDeviceDefinitionQuery ¶ added in v0.3.6
type GetCompatibilityByDeviceDefinitionQuery struct {
DeviceDefinitionID string
}
func (*GetCompatibilityByDeviceDefinitionQuery) Key ¶ added in v0.3.6
func (*GetCompatibilityByDeviceDefinitionQuery) Key() string
type GetCompatibilityByDeviceDefinitionQueryHandler ¶ added in v0.3.6
type GetCompatibilityByDeviceDefinitionQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetCompatibilityByDeviceDefinitionQueryHandler ¶ added in v0.3.6
func NewGetCompatibilityByDeviceDefinitionQueryHandler(dbs func() *db.ReaderWriter) GetCompatibilityByDeviceDefinitionQueryHandler
type GetCompatibilityR1SheetQuery ¶ added in v1.2.56
type GetCompatibilityR1SheetQuery struct { }
func (*GetCompatibilityR1SheetQuery) Key ¶ added in v1.2.56
func (*GetCompatibilityR1SheetQuery) Key() string
type GetCompatibilityR1SheetQueryHandler ¶ added in v1.2.56
type GetCompatibilityR1SheetQueryHandler struct {
// contains filtered or unexported fields
}
func NewCompatibilityR1SheetQueryHandler ¶ added in v1.2.56
func NewCompatibilityR1SheetQueryHandler(settings *config.Settings) GetCompatibilityR1SheetQueryHandler
type GetDefinitionsWithHWTemplateQuery ¶ added in v0.7.8
type GetDefinitionsWithHWTemplateQuery struct { }
func (*GetDefinitionsWithHWTemplateQuery) Key ¶ added in v0.7.8
func (*GetDefinitionsWithHWTemplateQuery) Key() string
type GetDefinitionsWithHWTemplateQueryHandler ¶ added in v0.7.8
type GetDefinitionsWithHWTemplateQueryHandler struct {
// contains filtered or unexported fields
}
func NewGetDefinitionsWithHWTemplateQueryHandler ¶ added in v0.7.8
func NewGetDefinitionsWithHWTemplateQueryHandler(dbs func() *db.ReaderWriter, log *zerolog.Logger) GetDefinitionsWithHWTemplateQueryHandler
type GetDeviceCompatibilityQueryHandler ¶ added in v0.1.38
type GetDeviceCompatibilityQueryHandler struct { Repository repositories.DeviceDefinitionRepository DBS func() *db.ReaderWriter }
func NewGetDeviceCompatibilityQueryHandler ¶ added in v0.1.38
func NewGetDeviceCompatibilityQueryHandler(dbs func() *db.ReaderWriter, repository repositories.DeviceDefinitionRepository) GetDeviceCompatibilityQueryHandler
type GetDeviceDefinitionByDynamicFilterQuery ¶ added in v0.1.9
type GetDeviceDefinitionByDynamicFilterQuery struct { MakeID string `json:"make_id"` IntegrationID string `json:"integration_id"` DeviceDefinitionID string `json:"device_definition_id"` Year int `json:"year"` Model string `json:"model"` VerifiedVinList []string `json:"verified_vin_list"` PageIndex int `json:"page_index"` PageSize int `json:"page_size"` }
func (*GetDeviceDefinitionByDynamicFilterQuery) Key ¶ added in v0.1.9
func (*GetDeviceDefinitionByDynamicFilterQuery) Key() string
type GetDeviceDefinitionByDynamicFilterQueryHandler ¶ added in v0.1.9
type GetDeviceDefinitionByDynamicFilterQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetDeviceDefinitionByDynamicFilterQueryHandler ¶ added in v0.1.9
func NewGetDeviceDefinitionByDynamicFilterQueryHandler(dbs func() *db.ReaderWriter) GetDeviceDefinitionByDynamicFilterQueryHandler
type GetDeviceDefinitionByIDQuery ¶ added in v0.1.2
type GetDeviceDefinitionByIDQuery struct {
DeviceDefinitionID string `json:"deviceDefinitionId"`
}
func (*GetDeviceDefinitionByIDQuery) Key ¶ added in v0.1.2
func (*GetDeviceDefinitionByIDQuery) Key() string
type GetDeviceDefinitionByIDQueryHandler ¶ added in v0.1.2
type GetDeviceDefinitionByIDQueryHandler struct {
DDCache services.DeviceDefinitionCacheService
}
func NewGetDeviceDefinitionByIDQueryHandler ¶ added in v0.1.2
func NewGetDeviceDefinitionByIDQueryHandler(cache services.DeviceDefinitionCacheService) GetDeviceDefinitionByIDQueryHandler
type GetDeviceDefinitionByIDsQuery ¶ added in v1.0.40
type GetDeviceDefinitionByIDsQuery struct {
DeviceDefinitionID []string `json:"deviceDefinitionId" validate:"required"`
}
func (*GetDeviceDefinitionByIDsQuery) Key ¶ added in v1.0.40
func (*GetDeviceDefinitionByIDsQuery) Key() string
type GetDeviceDefinitionByIDsQueryHandler ¶ added in v1.0.40
type GetDeviceDefinitionByIDsQueryHandler struct { DDCache services.DeviceDefinitionCacheService // contains filtered or unexported fields }
func NewGetDeviceDefinitionByIDsQueryHandler ¶ added in v1.0.40
func NewGetDeviceDefinitionByIDsQueryHandler(cache services.DeviceDefinitionCacheService, log *zerolog.Logger) GetDeviceDefinitionByIDsQueryHandler
type GetDeviceDefinitionByMakeModelYearQuery ¶
type GetDeviceDefinitionByMakeModelYearQuery struct { Make string `json:"make" validate:"required"` Model string `json:"model" validate:"required"` Year int `json:"year" validate:"required"` }
func (*GetDeviceDefinitionByMakeModelYearQuery) Key ¶
func (*GetDeviceDefinitionByMakeModelYearQuery) Key() string
type GetDeviceDefinitionByMakeModelYearQueryHandler ¶
type GetDeviceDefinitionByMakeModelYearQueryHandler struct {
DDCache services.DeviceDefinitionCacheService
}
func NewGetDeviceDefinitionByMakeModelYearQueryHandler ¶
func NewGetDeviceDefinitionByMakeModelYearQueryHandler(cache services.DeviceDefinitionCacheService) GetDeviceDefinitionByMakeModelYearQueryHandler
type GetDeviceDefinitionBySlugNameQuery ¶ added in v1.1.1
type GetDeviceDefinitionBySlugNameQuery struct {
Slug string `json:"slug"`
}
func (*GetDeviceDefinitionBySlugNameQuery) Key ¶ added in v1.1.1
func (*GetDeviceDefinitionBySlugNameQuery) Key() string
type GetDeviceDefinitionBySlugNameQueryHandler ¶ added in v1.1.1
type GetDeviceDefinitionBySlugNameQueryHandler struct {
DDCache services.DeviceDefinitionCacheService
}
func NewGetDeviceDefinitionBySlugNameQueryHandler ¶ added in v1.1.1
func NewGetDeviceDefinitionBySlugNameQueryHandler(cache services.DeviceDefinitionCacheService) GetDeviceDefinitionBySlugNameQueryHandler
type GetDeviceDefinitionBySlugQuery ¶ added in v0.2.7
type GetDeviceDefinitionBySlugQuery struct { // Slug is the model slug Slug string `json:"slug"` Year int `json:"year"` }
func (*GetDeviceDefinitionBySlugQuery) Key ¶ added in v0.2.7
func (*GetDeviceDefinitionBySlugQuery) Key() string
type GetDeviceDefinitionBySlugQueryHandler ¶ added in v0.2.7
type GetDeviceDefinitionBySlugQueryHandler struct {
DDCache services.DeviceDefinitionCacheService
}
func NewGetDeviceDefinitionBySlugQueryHandler ¶ added in v0.2.7
func NewGetDeviceDefinitionBySlugQueryHandler(cache services.DeviceDefinitionCacheService) GetDeviceDefinitionBySlugQueryHandler
type GetDeviceDefinitionBySourceQuery ¶ added in v0.1.30
type GetDeviceDefinitionBySourceQuery struct {
Source string `json:"source" validate:"required"`
}
func (*GetDeviceDefinitionBySourceQuery) Key ¶ added in v0.1.30
func (*GetDeviceDefinitionBySourceQuery) Key() string
type GetDeviceDefinitionBySourceQueryHandler ¶ added in v0.1.30
type GetDeviceDefinitionBySourceQueryHandler struct { DBS func() *db.ReaderWriter // contains filtered or unexported fields }
func NewGetDeviceDefinitionBySourceQueryHandler ¶ added in v0.1.30
func NewGetDeviceDefinitionBySourceQueryHandler(dbs func() *db.ReaderWriter, log *zerolog.Logger) GetDeviceDefinitionBySourceQueryHandler
type GetDeviceDefinitionHardwareTemplateByIDQuery ¶ added in v0.6.8
type GetDeviceDefinitionHardwareTemplateByIDQuery struct { DeviceDefinitionID string `json:"deviceDefinitionId"` IntegrationID string `json:"integration_id"` }
func (*GetDeviceDefinitionHardwareTemplateByIDQuery) Key ¶ added in v0.6.8
func (*GetDeviceDefinitionHardwareTemplateByIDQuery) Key() string
type GetDeviceDefinitionHardwareTemplateByIDQueryHandler ¶ added in v0.6.8
type GetDeviceDefinitionHardwareTemplateByIDQueryHandler struct {
DDCache services.DeviceDefinitionCacheService
}
func NewGetDeviceDefinitionHardwareTemplateByIDQueryHandler ¶ added in v0.6.8
func NewGetDeviceDefinitionHardwareTemplateByIDQueryHandler(cache services.DeviceDefinitionCacheService) GetDeviceDefinitionHardwareTemplateByIDQueryHandler
type GetDeviceDefinitionImagesByIDsQuery ¶ added in v1.1.0
type GetDeviceDefinitionImagesByIDsQuery struct {
DeviceDefinitionID []string `json:"deviceDefinitionId" validate:"required"`
}
func (*GetDeviceDefinitionImagesByIDsQuery) Key ¶ added in v1.1.0
func (*GetDeviceDefinitionImagesByIDsQuery) Key() string
type GetDeviceDefinitionImagesByIDsQueryHandler ¶ added in v1.1.0
type GetDeviceDefinitionImagesByIDsQueryHandler struct {
// contains filtered or unexported fields
}
func NewGetDeviceDefinitionImagesByIDsQueryHandler ¶ added in v1.1.0
func NewGetDeviceDefinitionImagesByIDsQueryHandler(dbs func() *db.ReaderWriter, log *zerolog.Logger) GetDeviceDefinitionImagesByIDsQueryHandler
type GetDeviceDefinitionOnChainByIDQuery ¶ added in v1.1.1
type GetDeviceDefinitionOnChainByIDQuery struct { MakeSlug string `json:"makeSlug"` DeviceDefinitionID string `json:"deviceDefinitionId"` }
func (*GetDeviceDefinitionOnChainByIDQuery) Key ¶ added in v1.1.1
func (*GetDeviceDefinitionOnChainByIDQuery) Key() string
type GetDeviceDefinitionOnChainByIDQueryHandler ¶ added in v1.1.1
type GetDeviceDefinitionOnChainByIDQueryHandler struct { DBS func() *db.ReaderWriter DDCache services.DeviceDefinitionCacheService }
func NewGetDeviceDefinitionOnChainByIDQueryHandler ¶ added in v1.1.1
func NewGetDeviceDefinitionOnChainByIDQueryHandler(cache services.DeviceDefinitionCacheService, dbs func() *db.ReaderWriter) GetDeviceDefinitionOnChainByIDQueryHandler
type GetDeviceDefinitionWithRelsQuery ¶
type GetDeviceDefinitionWithRelsQuery struct {
DeviceDefinitionID string `json:"deviceDefinitionId" validate:"required"`
}
func (*GetDeviceDefinitionWithRelsQuery) Key ¶
func (*GetDeviceDefinitionWithRelsQuery) Key() string
type GetDeviceDefinitionWithRelsQueryHandler ¶
type GetDeviceDefinitionWithRelsQueryHandler struct {
Repository repositories.DeviceDefinitionRepository
}
func NewGetDeviceDefinitionWithRelsQueryHandler ¶
func NewGetDeviceDefinitionWithRelsQueryHandler(repository repositories.DeviceDefinitionRepository) GetDeviceDefinitionWithRelsQueryHandler
type GetDeviceDefinitionWithoutImageQuery ¶ added in v0.1.33
type GetDeviceDefinitionWithoutImageQuery struct { }
func (*GetDeviceDefinitionWithoutImageQuery) Key ¶ added in v0.1.33
func (*GetDeviceDefinitionWithoutImageQuery) Key() string
type GetDeviceDefinitionWithoutImageQueryHandler ¶ added in v0.1.33
type GetDeviceDefinitionWithoutImageQueryHandler struct { DBS func() *db.ReaderWriter // contains filtered or unexported fields }
func NewGetDeviceDefinitionWithoutImageQueryHandler ¶ added in v0.1.33
func NewGetDeviceDefinitionWithoutImageQueryHandler(dbs func() *db.ReaderWriter, log *zerolog.Logger) GetDeviceDefinitionWithoutImageQueryHandler
type GetDeviceMakeByNameQuery ¶ added in v0.1.35
type GetDeviceMakeByNameQuery struct {
Name string `json:"name"`
}
func (*GetDeviceMakeByNameQuery) Key ¶ added in v0.1.35
func (*GetDeviceMakeByNameQuery) Key() string
type GetDeviceMakeByNameQueryHandler ¶ added in v0.1.35
type GetDeviceMakeByNameQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetDeviceMakeByNameQueryHandler ¶ added in v0.1.35
func NewGetDeviceMakeByNameQueryHandler(dbs func() *db.ReaderWriter) GetDeviceMakeByNameQueryHandler
type GetDeviceMakeBySlugQuery ¶ added in v0.2.7
type GetDeviceMakeBySlugQuery struct {
Slug string `json:"slug"`
}
func (*GetDeviceMakeBySlugQuery) Key ¶ added in v0.2.7
func (*GetDeviceMakeBySlugQuery) Key() string
type GetDeviceMakeBySlugQueryHandler ¶ added in v0.2.7
type GetDeviceMakeBySlugQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetDeviceMakeBySlugQueryHandler ¶ added in v0.2.7
func NewGetDeviceMakeBySlugQueryHandler(dbs func() *db.ReaderWriter) GetDeviceMakeBySlugQueryHandler
type GetDeviceMakeByTokenIDQuery ¶ added in v0.5.9
type GetDeviceMakeByTokenIDQuery struct {
TokenID string `json:"tokenId"`
}
func (*GetDeviceMakeByTokenIDQuery) Key ¶ added in v0.5.9
func (*GetDeviceMakeByTokenIDQuery) Key() string
type GetDeviceMakeByTokenIDQueryHandler ¶ added in v0.5.9
type GetDeviceMakeByTokenIDQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetDeviceMakeByTokenIDQueryHandler ¶ added in v0.5.9
func NewGetDeviceMakeByTokenIDQueryHandler(dbs func() *db.ReaderWriter) GetDeviceMakeByTokenIDQueryHandler
type GetDeviceModelYear ¶
type GetDeviceModels ¶
type GetDeviceModels struct { Model string `json:"model"` Years []GetDeviceModelYear `json:"years"` }
type GetDeviceStyleByDeviceDefinitionIDQuery ¶ added in v0.1.31
type GetDeviceStyleByDeviceDefinitionIDQuery struct {
DeviceDefinitionID string `json:"device_definition_id"`
}
func (*GetDeviceStyleByDeviceDefinitionIDQuery) Key ¶ added in v0.1.31
func (*GetDeviceStyleByDeviceDefinitionIDQuery) Key() string
type GetDeviceStyleByDeviceDefinitionIDQueryHandler ¶ added in v0.1.31
type GetDeviceStyleByDeviceDefinitionIDQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetDeviceStyleByDeviceDefinitionIDQueryHandler ¶ added in v0.1.31
func NewGetDeviceStyleByDeviceDefinitionIDQueryHandler(dbs func() *db.ReaderWriter) GetDeviceStyleByDeviceDefinitionIDQueryHandler
type GetDeviceStyleByExternalIDQuery ¶ added in v0.1.27
type GetDeviceStyleByExternalIDQuery struct {
ExternalDeviceID string `json:"external_device_id"`
}
func (*GetDeviceStyleByExternalIDQuery) Key ¶ added in v0.1.27
func (*GetDeviceStyleByExternalIDQuery) Key() string
type GetDeviceStyleByExternalIDQueryHandler ¶ added in v0.1.27
type GetDeviceStyleByExternalIDQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetDeviceStyleByExternalIDQueryHandler ¶ added in v0.1.27
func NewGetDeviceStyleByExternalIDQueryHandler(dbs func() *db.ReaderWriter) GetDeviceStyleByExternalIDQueryHandler
type GetDeviceStyleByFilterQuery ¶ added in v0.1.40
type GetDeviceStyleByFilterQuery struct { DeviceDefinitionID string `json:"device_definition_id"` Name string `json:"name"` SubModel string `json:"sub_model"` }
func (*GetDeviceStyleByFilterQuery) Key ¶ added in v0.1.40
func (*GetDeviceStyleByFilterQuery) Key() string
type GetDeviceStyleByFilterQueryHandler ¶ added in v0.1.40
type GetDeviceStyleByFilterQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetDeviceStyleByFilterQueryHandler ¶ added in v0.1.40
func NewGetDeviceStyleByFilterQueryHandler(dbs func() *db.ReaderWriter) GetDeviceStyleByFilterQueryHandler
type GetDeviceStyleByIDQuery ¶ added in v0.1.27
type GetDeviceStyleByIDQuery struct {
DeviceStyleID string `json:"device_style_id"`
}
func (*GetDeviceStyleByIDQuery) Key ¶ added in v0.1.27
func (*GetDeviceStyleByIDQuery) Key() string
type GetDeviceStyleByIDQueryHandler ¶ added in v0.1.27
type GetDeviceStyleByIDQueryHandler struct { DBS func() *db.ReaderWriter DDCache services.DeviceDefinitionCacheService }
func NewGetDeviceStyleByIDQueryHandler ¶ added in v0.1.27
func NewGetDeviceStyleByIDQueryHandler(dbs func() *db.ReaderWriter, cache services.DeviceDefinitionCacheService) GetDeviceStyleByIDQueryHandler
type GetDeviceTypeByIDQuery ¶ added in v0.2.0
type GetDeviceTypeByIDQuery struct {
DeviceTypeID string `json:"device_type_id"`
}
func (*GetDeviceTypeByIDQuery) Key ¶ added in v0.2.0
func (*GetDeviceTypeByIDQuery) Key() string
type GetDeviceTypeByIDQueryHandler ¶ added in v0.2.0
type GetDeviceTypeByIDQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetDeviceTypeByIDQueryHandler ¶ added in v0.2.0
func NewGetDeviceTypeByIDQueryHandler(dbs func() *db.ReaderWriter) GetDeviceTypeByIDQueryHandler
type GetDevicesMMYQuery ¶ added in v0.7.2
type GetDevicesMMYQuery struct { }
func (*GetDevicesMMYQuery) Key ¶ added in v0.7.2
func (*GetDevicesMMYQuery) Key() string
type GetDevicesMMYQueryHandler ¶ added in v0.7.2
type GetDevicesMMYQueryHandler struct {
Repository repositories.DeviceDefinitionRepository
}
func NewGetDevicesMMYQueryHandler ¶ added in v0.7.2
func NewGetDevicesMMYQueryHandler(repository repositories.DeviceDefinitionRepository) GetDevicesMMYQueryHandler
type GetDevicesMMYQueryResult ¶ added in v0.7.2
type GetIntegrationByIDQuery ¶ added in v0.1.26
type GetIntegrationByIDQuery struct {
IntegrationID []string `json:"integration_id" validate:"required"`
}
func (*GetIntegrationByIDQuery) Key ¶ added in v0.1.26
func (*GetIntegrationByIDQuery) Key() string
type GetIntegrationByIDQueryHandler ¶ added in v0.1.26
type GetIntegrationByIDQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetIntegrationByIDQueryHandler ¶ added in v0.1.26
func NewGetIntegrationByIDQueryHandler(dbs func() *db.ReaderWriter) GetIntegrationByIDQueryHandler
type GetIntegrationByTokenIDQuery ¶ added in v1.0.7
type GetIntegrationByTokenIDQuery struct {
TokenID int `json:"tokenId" validate:"required"`
}
func (*GetIntegrationByTokenIDQuery) Key ¶ added in v1.0.7
func (*GetIntegrationByTokenIDQuery) Key() string
type GetIntegrationByTokenIDQueryHandler ¶ added in v1.0.7
type GetIntegrationByTokenIDQueryHandler struct { DBS func() *db.ReaderWriter // contains filtered or unexported fields }
func NewGetIntegrationByTokenIDQueryHandler ¶ added in v1.0.7
func NewGetIntegrationByTokenIDQueryHandler(dbs func() *db.ReaderWriter, log *zerolog.Logger) GetIntegrationByTokenIDQueryHandler
type GetIntegrationFeatureByIDQuery ¶ added in v0.3.5
type GetIntegrationFeatureByIDQuery struct {
ID string `json:"id"`
}
func (*GetIntegrationFeatureByIDQuery) Key ¶ added in v0.3.5
func (*GetIntegrationFeatureByIDQuery) Key() string
type GetIntegrationFeatureByIDQueryHandler ¶ added in v0.3.5
type GetIntegrationFeatureByIDQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetIntegrationFeatureByIDQueryHandler ¶ added in v0.3.5
func NewGetIntegrationFeatureByIDQueryHandler(dbs func() *db.ReaderWriter) GetIntegrationFeatureByIDQueryHandler
type GetIntegrationOptionsQuery ¶ added in v0.3.8
type GetIntegrationOptionsQuery struct {
MakeID string
}
func (*GetIntegrationOptionsQuery) Key ¶ added in v0.3.8
func (*GetIntegrationOptionsQuery) Key() string
type GetIntegrationOptionsQueryHandler ¶ added in v0.3.8
type GetIntegrationOptionsQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetIntegrationOptionsQueryHandler ¶ added in v0.3.8
func NewGetIntegrationOptionsQueryHandler(dbs func() *db.ReaderWriter) GetIntegrationOptionsQueryHandler
type GetR1CompatibilitySearch ¶ added in v1.2.55
type GetR1CompatibilitySearch struct { Query string `json:"query"` Page int `json:"page"` PageSize int `json:"pageSize"` }
func (*GetR1CompatibilitySearch) Key ¶ added in v1.2.55
func (*GetR1CompatibilitySearch) Key() string
type GetR1CompatibilitySearchQueryHandler ¶ added in v1.2.55
type GetR1CompatibilitySearchQueryHandler struct {
Service search.TypesenseAPIService
}
func NewGetR1CompatibilitySearchQueryHandler ¶ added in v1.2.55
func NewGetR1CompatibilitySearchQueryHandler(service search.TypesenseAPIService) GetR1CompatibilitySearchQueryHandler
type GetR1CompatibilitySearchQueryResult ¶ added in v1.2.55
type GetR1CompatibilitySearchQueryResult struct { DeviceDefinitions []GetR1SearchEntryItem `json:"deviceDefinitions"` Pagination GetAllDeviceDefinitionPagination `json:"pagination"` }
type GetR1SearchEntryItem ¶ added in v1.2.55
type IntegrationOption ¶ added in v0.3.8
Source Files ¶
- decode_vin.go
- device_compatibility.go
- get_compatibility_r1.go
- get_dcf_by_ddid.go
- get_dcf_by_ddids.go
- get_dd_all.go
- get_dd_all_by_make_year_range.go
- get_dd_by_autocomplete.go
- get_dd_by_id.go
- get_dd_by_id_with_rels.go
- get_dd_by_ids.go
- get_dd_by_make_model_year.go
- get_dd_by_search.go
- get_dd_by_slug.go
- get_dd_by_slug_name.go
- get_dd_by_source.go
- get_dd_dynamic_filter.go
- get_dd_group_all.go
- get_dd_hardware_template_by_id.go
- get_dd_images_by_ids.go
- get_dd_on_chain_all.go
- get_dd_on_chain_by_id.go
- get_dd_with_hw_template.go
- get_dd_without_image.go
- get_dm_all.go
- get_dm_by_name.go
- get_dm_by_slug.go
- get_dm_by_token_id.go
- get_dmmy_all.go
- get_ds_by_dd_id.go
- get_ds_by_external_id.go
- get_ds_by_filter.go
- get_ds_by_id.go
- get_dt_all.go
- get_dt_by_id.go
- get_in_all.go
- get_in_by_id.go
- get_in_by_token_id.go
- get_integ_options.go
- get_integration_feature_by_id.go
- get_integration_features_all.go
- get_r1_compat_search.go
Click to show internal directories.
Click to hide internal directories.