api

package
v1.0.25 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGrpcIntegrationService added in v0.3.5

func NewGrpcIntegrationService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.IntegrationServiceServer

func NewGrpcRecallsService added in v0.2.4

func NewGrpcRecallsService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.RecallsServiceServer

func NewGrpcReviewsService added in v0.3.4

func NewGrpcReviewsService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.ReviewsServiceServer

func NewGrpcService added in v0.1.2

func NewGrpcService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.DeviceDefinitionServiceServer

func NewGrpcVinDecoderService added in v0.6.8

func NewGrpcVinDecoderService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.VinDecoderServiceServer

func RegisterDeviceDefinitionsRoutes

func RegisterDeviceDefinitionsRoutes(app fiber.Router, m mediator.Mediator)

func RegisterDeviceMakesRoutes added in v0.6.7

func RegisterDeviceMakesRoutes(app fiber.Router, m mediator.Mediator)

func RegisterDeviceTypeRoutes added in v0.2.0

func RegisterDeviceTypeRoutes(app fiber.Router, m mediator.Mediator)

func RegisterIntegrationRoutes

func RegisterIntegrationRoutes(app fiber.Router, m mediator.Mediator)

func RegisterVINRoutes added in v0.8.3

func RegisterVINRoutes(app fiber.Router, m mediator.Mediator)

func Run

func Run(ctx context.Context, logger zerolog.Logger, settings *config.Settings)

func StartGrpcServer added in v0.1.2

func StartGrpcServer(logger zerolog.Logger, s *config.Settings, m mediator.Mediator)

Types

type GrpcDefinitionsService added in v0.7.6

type GrpcDefinitionsService struct {
	p_grpc.DeviceDefinitionServiceServer
	Mediator mediator.Mediator
	// contains filtered or unexported fields
}

func (*GrpcDefinitionsService) CreateDeviceDefinition added in v0.7.6

func (*GrpcDefinitionsService) CreateDeviceIntegration added in v0.7.6

func (*GrpcDefinitionsService) CreateDeviceMake added in v0.7.6

func (*GrpcDefinitionsService) CreateDeviceStyle added in v0.7.6

func (*GrpcDefinitionsService) CreateDeviceType added in v0.7.6

func (*GrpcDefinitionsService) CreateIntegration added in v0.7.6

func (*GrpcDefinitionsService) DeleteDeviceType added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionAll added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionByID added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionByMMY added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionBySlug added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionBySource added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionIntegration added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionWithoutImages added in v0.7.6

func (s *GrpcDefinitionsService) GetDeviceDefinitionWithoutImages(ctx context.Context, _ *emptypb.Empty) (*p_grpc.GetDeviceDefinitionResponse, error)

func (*GrpcDefinitionsService) GetDeviceDefinitions added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionsWithHardwareTemplate added in v0.7.8

func (s *GrpcDefinitionsService) GetDeviceDefinitionsWithHardwareTemplate(ctx context.Context, _ *emptypb.Empty) (*p_grpc.GetDevicesMMYResponse, error)

func (*GrpcDefinitionsService) GetDeviceImagesByIDs added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceMakeByName added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceMakeBySlug added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceMakeByTokenID added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceMakes added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceStyleByExternalID added in v0.7.6

func (s *GrpcDefinitionsService) GetDeviceStyleByExternalID(ctx context.Context, in *p_grpc.GetDeviceStyleByIDRequest) (*p_grpc.DeviceStyle, error)

func (*GrpcDefinitionsService) GetDeviceStyleByID added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceStylesByDeviceDefinitionID added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceStylesByFilter added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceTypes added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceTypesByID added in v0.7.6

func (*GrpcDefinitionsService) GetDevicesMMY added in v0.7.6

func (*GrpcDefinitionsService) GetFilteredDeviceDefinition added in v0.7.6

func (*GrpcDefinitionsService) GetIntegrationByID added in v0.7.6

func (*GrpcDefinitionsService) GetIntegrationByTokenID added in v1.0.7

func (*GrpcDefinitionsService) GetIntegrations added in v0.7.6

func (*GrpcDefinitionsService) SetDeviceDefinitionImage added in v0.7.6

func (*GrpcDefinitionsService) SyncDeviceDefinitionsWithElasticSearch added in v0.9.3

func (s *GrpcDefinitionsService) SyncDeviceDefinitionsWithElasticSearch(_ context.Context, _ *emptypb.Empty) (*p_grpc.SyncStatusResult, error)

func (*GrpcDefinitionsService) UpdateDeviceDefinition added in v0.7.6

func (*GrpcDefinitionsService) UpdateDeviceMake added in v0.7.6

func (*GrpcDefinitionsService) UpdateDeviceStyle added in v0.7.6

func (*GrpcDefinitionsService) UpdateDeviceType added in v0.7.6

type GrpcIntegrationService added in v0.3.5

type GrpcIntegrationService struct {
	p_grpc.IntegrationServiceServer
	Mediator mediator.Mediator
	// contains filtered or unexported fields
}

func (*GrpcIntegrationService) CreateIntegrationFeature added in v0.3.5

func (*GrpcIntegrationService) DeleteIntegrationFeature added in v0.3.5

func (*GrpcIntegrationService) GetCompatibilitiesByMake added in v0.3.9

func (*GrpcIntegrationService) GetCompatibilityByDeviceArray added in v0.7.2

func (*GrpcIntegrationService) GetCompatibilityByDeviceDefinition added in v0.3.6

func (*GrpcIntegrationService) GetIntegrationFeatureByID added in v0.3.5

func (*GrpcIntegrationService) GetIntegrationFeatures added in v0.3.5

func (*GrpcIntegrationService) GetIntegrationOptions added in v0.3.8

func (*GrpcIntegrationService) UpdateIntegrationFeature added in v0.3.5

type GrpcRecallsService added in v0.2.4

type GrpcRecallsService struct {
	p_grpc.UnimplementedRecallsServiceServer
	Mediator mediator.Mediator
	// contains filtered or unexported fields
}

func (*GrpcRecallsService) GetRecallsByMake added in v0.2.4

func (*GrpcRecallsService) GetRecallsByModel added in v0.2.4

func (*GrpcRecallsService) GetStreamRecallsByMake added in v0.7.7

type GrpcReviewsService added in v0.3.4

type GrpcReviewsService struct {
	p_grpc.ReviewsServiceServer
	Mediator mediator.Mediator
	// contains filtered or unexported fields
}

func (*GrpcReviewsService) ApproveReview added in v0.4.0

func (*GrpcReviewsService) CreateReview added in v0.4.0

func (*GrpcReviewsService) DeleteReview added in v0.4.0

func (*GrpcReviewsService) GetReviewByID added in v0.4.0

func (*GrpcReviewsService) GetReviews added in v0.4.3

func (*GrpcReviewsService) GetReviewsByDeviceDefinitionID added in v0.4.0

func (*GrpcReviewsService) UpdateReview added in v0.4.0

type GrpcVinDecoderService added in v0.6.8

type GrpcVinDecoderService struct {
	p_grpc.VinDecoderServiceServer
	Mediator mediator.Mediator
	// contains filtered or unexported fields
}

func (*GrpcVinDecoderService) DecodeVin added in v0.6.8

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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