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 MakeUpdateDeviceByIdEndpoint(s service.Service) endpoint.Endpoint
- type CreateDeviceRequest
- type DeleteDeviceRequest
- type DeleteRevokeRequest
- type Endpoints
- type GetDeviceCertHistoryRequest
- type GetDeviceCertRequest
- type GetDeviceLogsRequest
- type GetDevicesByDMSRequest
- type GetDevicesByIdRequest
- type GetDevicesResponse
- type HealthRequest
- type HealthResponse
- type PostDeviceResponse
- type PostIssueCertResponse
- type PostIssueCertUsingDefaultResponse
- type UpdateDevicesByIdRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateDeviceRequest ¶
type CreateDeviceRequest struct { DeviceID string `json:"id" validate:"required"` Alias string `json:"alias"` Description string `json:"description"` Tags []string `json:"tags"` IconName string `json:"icon_name"` IconColor string `json:"icon_color"` DmsId string `json:"dms_id" validate:"required"` }
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct {
Id string
}
type DeleteRevokeRequest ¶
type DeleteRevokeRequest struct {
Id string
}
type Endpoints ¶
type Endpoints struct { HealthEndpoint 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
}
type GetDevicesByDMSRequest ¶
type GetDevicesByDMSRequest struct {
Id string
}
type GetDevicesByIdRequest ¶
type GetDevicesByIdRequest struct {
Id string
}
type GetDevicesResponse ¶
type HealthRequest ¶
type HealthRequest struct{}
type HealthResponse ¶
type PostDeviceResponse ¶
type PostIssueCertResponse ¶
type UpdateDevicesByIdRequest ¶ added in v0.0.10
Click to show internal directories.
Click to hide internal directories.