Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyViolation ¶
type ResourceNotFoundProblem ¶
type ResourceNotFoundProblem struct { problems.BasicProblem Resource string `json:"resource,omitempty"` ResourceType string `json:"resourceType,omitempty"` }
func ResourceNotFound ¶
func ResourceNotFound(resource, resourceType string) ResourceNotFoundProblem
type UnauthorizedProblem ¶
type UnauthorizedProblem struct {}
func Unauthorized ¶
func Unauthorized(userID string, violations ...PolicyViolation) UnauthorizedProblem
Click to show internal directories.
Click to hide internal directories.