Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectResponse ¶
type CollectResponse struct {
QueryID string `json:"query_id"`
}
CollectResponse is a response for collect api.
type ExtractRequest ¶
type ExtractRequest struct {
QueryID string `json:"query_id"`
}
ExtractRequest is a response for ReleaseRequest.
type ExtractResponse ¶
type ExtractResponse struct {
Target string `json:"target"`
}
ExtractResponse is a response for ExtractRequest.
type Operation ¶
type Operation struct { SubjectResolver subjectResolver PolicyService policyService ProtectService protectService ReleaseService releaseService CollectService collectService ExtractService extractService }
Operation defines handlers for Gatekeeper operations.
func (*Operation) GetRESTHandlers ¶
GetRESTHandlers get all controller API handler available for this service.
type ProtectRequest ¶
ProtectRequest is a request to protect Target using policy with ID Policy.
type ProtectResponse ¶
type ProtectResponse struct {
DID string `json:"did"`
}
ProtectResponse is a response for ProtectRequest.
type ReleaseRequest ¶
type ReleaseRequest struct {
DID string `json:"did"`
}
ReleaseRequest is a request to create release transaction on a DID.
type ReleaseResponse ¶
type ReleaseResponse struct {
TicketID string `json:"ticket_id"`
}
ReleaseResponse is a response for ReleaseRequest.
type TicketStatusResponse ¶
type TicketStatusResponse struct {
Status string `json:"status"`
}
TicketStatusResponse is a response with status of the ticket.
Click to show internal directories.
Click to hide internal directories.