Documentation ¶
Index ¶
- Constants
- func AuthorizeProjectAssignment(ctx context.Context, authorizer engine.Authorizer, ...) error
- func NewInvalidCreateRequestError() error
- func NewProjectsMissingError(projectsMissing []string) error
- func NewProjectsUnauthorizedForAssignmentError(projectsUnauthorized, subjectsUnauthorized []string) error
- type InvalidCreateRequest
- type ProjectsMissingError
- type ProjectsUnauthorizedForAssignmentErr
Constants ¶
View Source
const UnassignedProjectID = "(unassigned)"
Variables ¶
This section is empty.
Functions ¶
func NewInvalidCreateRequestError ¶
func NewInvalidCreateRequestError() error
func NewProjectsMissingError ¶
Types ¶
type InvalidCreateRequest ¶
type InvalidCreateRequest struct{}
InvalidCreateRequest occurs when a create request contains original projects when it should only contain new projects.
func (*InvalidCreateRequest) Error ¶
func (e *InvalidCreateRequest) Error() string
type ProjectsMissingError ¶
type ProjectsMissingError struct {
// contains filtered or unexported fields
}
ProjectsMissingError occurs when some of the projects in the project diff did not exist.
func (*ProjectsMissingError) Error ¶
func (e *ProjectsMissingError) Error() string
type ProjectsUnauthorizedForAssignmentErr ¶
type ProjectsUnauthorizedForAssignmentErr struct {
// contains filtered or unexported fields
}
ProjectsUnauthorizedForAssignmentErr occurs when some of the projects in the project diff were not authorized for a specific set of subjects.
func (*ProjectsUnauthorizedForAssignmentErr) Error ¶
func (e *ProjectsUnauthorizedForAssignmentErr) Error() string
Click to show internal directories.
Click to hide internal directories.