Documentation ¶
Index ¶
- func MakeDeleteDeviceEndpoint(s service.Service) endpoint.Endpoint
- func MakeDeleteRevokeEndpoint(s service.Service) endpoint.Endpoint
- func MakeGetDeviceByIdEndpoint(s service.Service) endpoint.Endpoint
- func MakeGetDeviceCertEndpoint(s service.Service) endpoint.Endpoint
- func MakeGetDeviceCertHistoryEndpoint(s service.Service) endpoint.Endpoint
- func MakeGetDeviceLogsEndpoint(s service.Service) endpoint.Endpoint
- func MakeGetDevicesByDMSEndpoint(s service.Service) endpoint.Endpoint
- func MakeGetDevicesEndpoint(s service.Service) endpoint.Endpoint
- func MakeGetDmsCertHistoryThirtyDaysEndpoint(s service.Service) endpoint.Endpoint
- func MakeGetDmsLastIssueCertEndpoint(s service.Service) endpoint.Endpoint
- func MakeHealthEndpoint(s service.Service) endpoint.Endpoint
- func MakePostDeviceEndpoint(s service.Service) endpoint.Endpoint
- func MakeStatsEndpoint(s service.Service) endpoint.Endpoint
- func MakeUpdateDeviceByIdEndpoint(s service.Service) endpoint.Endpoint
- func ValidatePostDeviceRequest(request dto.CreateDeviceRequest) error
- func ValidateUpdateDeviceById(request dto.UpdateDevicesByIdRequest) error
- type DeleteDeviceRequest
- type DeleteRevokeRequest
- type Endpoints
- type GetDeviceCertHistoryRequest
- type GetDeviceCertRequest
- type GetDeviceLogsRequest
- type GetDevicesByDMSRequest
- type GetDevicesByIdRequest
- type HealthRequest
- type HealthResponse
- type PostDeviceResponse
- type PostIssueCertResponse
- type PostIssueCertUsingDefaultResponse
- type StatsRequest
- type StatsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePostDeviceRequest ¶
func ValidatePostDeviceRequest(request dto.CreateDeviceRequest) error
func ValidateUpdateDeviceById ¶
func ValidateUpdateDeviceById(request dto.UpdateDevicesByIdRequest) error
Types ¶
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct {
Id string
}
type DeleteRevokeRequest ¶
type DeleteRevokeRequest struct {
Id string
}
type Endpoints ¶
type Endpoints struct { HealthEndpoint endpoint.Endpoint StatsEndpoint endpoint.Endpoint PostDeviceEndpoint endpoint.Endpoint GetDevices endpoint.Endpoint GetDeviceById endpoint.Endpoint UpdateDeviceById endpoint.Endpoint GetDevicesByDMS endpoint.Endpoint DeleteDevice endpoint.Endpoint DeleteRevoke endpoint.Endpoint GetDeviceLogs endpoint.Endpoint GetDeviceCert endpoint.Endpoint GetDeviceCertHistory endpoint.Endpoint GetDmsCertHistoryThirtyDays endpoint.Endpoint GetDmsLastIssueCert endpoint.Endpoint }
func MakeServerEndpoints ¶
func MakeServerEndpoints(s service.Service, otTracer stdopentracing.Tracer) Endpoints
type GetDeviceCertHistoryRequest ¶
type GetDeviceCertHistoryRequest struct {
Id string
}
type GetDeviceCertRequest ¶
type GetDeviceCertRequest struct {
Id string
}
type GetDeviceLogsRequest ¶
type GetDeviceLogsRequest struct { Id string QueryParameters filters.QueryParameters }
type GetDevicesByDMSRequest ¶
type GetDevicesByDMSRequest struct { Id string QueryParameters filters.QueryParameters }
type GetDevicesByIdRequest ¶
type GetDevicesByIdRequest struct {
Id string
}
type HealthRequest ¶
type HealthRequest struct{}
type HealthResponse ¶
type PostDeviceResponse ¶
type PostIssueCertResponse ¶
type StatsRequest ¶
type StatsRequest struct{}
Click to show internal directories.
Click to hide internal directories.