Documentation ¶
Index ¶
- func MakeChangeDMSStatusEndpoint(s service.Service) endpoint.Endpoint
- func MakeCreateDMSEndpoint(s service.Service) endpoint.Endpoint
- func MakeCreateDMSFormEndpoint(s service.Service) endpoint.Endpoint
- func MakeDeleteDMSEndpoint(s service.Service) endpoint.Endpoint
- func MakeGetDMSbyIDEndpoint(s service.Service) endpoint.Endpoint
- func MakeGetDMSsEndpoint(s service.Service) endpoint.Endpoint
- func MakeHealthEndpoint(s service.Service) endpoint.Endpoint
- func ValidatePostDmsCreationFormRequest(request dto.PostDmsCreationFormRequest) error
- func ValidatetPostCSRRequest(request dto.PostCSRRequest) error
- func ValidatetPutChangeDmsStatusRequest(request dto.PutChangeDmsStatusRequest) error
- type DeleteCSRRequest
- type DeleteCSRResponse
- type Endpoints
- type GetCRTRequest
- type GetCRTResponse
- type GetDmsIDRequest
- type GetDmsRequest
- type GetPendingCSRFileResponse
- type HealthRequest
- type HealthResponse
- type PostDirectCsr
- type PostDmsResponse
- type PutChangeCSRsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePostDmsCreationFormRequest ¶
func ValidatePostDmsCreationFormRequest(request dto.PostDmsCreationFormRequest) error
func ValidatetPostCSRRequest ¶
func ValidatetPostCSRRequest(request dto.PostCSRRequest) error
func ValidatetPutChangeDmsStatusRequest ¶
func ValidatetPutChangeDmsStatusRequest(request dto.PutChangeDmsStatusRequest) error
Types ¶
type DeleteCSRRequest ¶
type DeleteCSRRequest struct {
ID string
}
type DeleteCSRResponse ¶
type DeleteCSRResponse struct {
Err error
}
type Endpoints ¶
type Endpoints struct { HealthEndpoint endpoint.Endpoint PostCreateDMSEndpoint endpoint.Endpoint PostCreateDMSFormEndpoint endpoint.Endpoint PutChangeDMSStatusEndpoint endpoint.Endpoint DeleteDMSEndpoint endpoint.Endpoint GetDMSsEndpoint endpoint.Endpoint GetDMSbyIDEndpoint endpoint.Endpoint }
func MakeServerEndpoints ¶
func MakeServerEndpoints(s service.Service, otTracer stdopentracing.Tracer) Endpoints
type GetCRTRequest ¶
type GetCRTRequest struct {
ID string
}
type GetCRTResponse ¶
type GetCRTResponse struct {
Data *x509.Certificate
}
type GetDmsIDRequest ¶
type GetDmsIDRequest struct {
ID string
}
type GetDmsRequest ¶
type GetDmsRequest struct {
QueryParameters filters.QueryParameters
}
type HealthRequest ¶
type HealthRequest struct{}
type HealthResponse ¶
type PostDirectCsr ¶
type PostDirectCsr struct {
CsrBase64Encoded string `json:"csr" validate:"base64"`
}
type PostDmsResponse ¶
type PutChangeCSRsResponse ¶
Click to show internal directories.
Click to hide internal directories.