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 MakeGetCertificateEndpoint(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 PostDmsCreationFormRequest) error
- func ValidatetPostCSRRequest(request PostCSRRequest) error
- func ValidatetPutChangeDmsStatusRequest(request PutChangeDmsStatusRequest) error
- type DeleteCSRRequest
- type DeleteCSRResponse
- type Endpoints
- type GetCRTRequest
- type GetCRTResponse
- type GetDmsIDRequest
- type GetDmsRequest
- type GetPendingCSRFileResponse
- type HealthRequest
- type HealthResponse
- type PostCSRRequest
- type PostDirectCsr
- type PostDmsCreationFormRequest
- type PostDmsCreationFormResponse
- type PostDmsResponse
- type PutChangeCSRsResponse
- type PutChangeDmsStatusRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeGetDMSbyIDEndpoint ¶ added in v0.0.22
func ValidatePostDmsCreationFormRequest ¶
func ValidatePostDmsCreationFormRequest(request PostDmsCreationFormRequest) error
func ValidatetPostCSRRequest ¶
func ValidatetPostCSRRequest(request PostCSRRequest) error
func ValidatetPutChangeDmsStatusRequest ¶
func ValidatetPutChangeDmsStatusRequest(request 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 GetCertificateEndpoint 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 Err error }
type GetDmsIDRequest ¶ added in v0.0.22
type GetDmsIDRequest struct {
ID string
}
type GetDmsRequest ¶
type GetDmsRequest struct{}
type HealthRequest ¶
type HealthRequest struct{}
type HealthResponse ¶
type PostCSRRequest ¶
type PostDirectCsr ¶
type PostDirectCsr struct {
CsrBase64Encoded string `json:"csr"`
}
type PostDmsCreationFormRequest ¶
type PostDmsCreationFormRequest struct { DmsName string `json:"name" validate:"required"` Subject struct { CN string `json:"common_name"` O string `json:"organization"` OU string `json:"organization_unit"` C string `json:"country"` ST string `json:"state"` L string `json:"locality"` } `json:"subject"` KeyMetadata struct { KeyType string `json:"type" validate:"oneof='RSA' 'EC'"` KeyBits int `json:"bits" validate:"required"` KeyStrength string `json:"strength,omitempty"` } `json:"key_metadata" validate:"required"` }
type PostDmsResponse ¶
type PutChangeCSRsResponse ¶
Click to show internal directories.
Click to hide internal directories.