Documentation ¶
Index ¶
- func CreateProjectWithUser(projectRepo repository.ProjectRepository, proj *models.Project, ...) (*models.Project, error)
- type CollaboratorsListHandler
- type ProjectCreateHandler
- type ProjectDeleteHandler
- type ProjectGetHandler
- type ProjectGetPolicyHandler
- type ProjectListHandler
- type RoleDeleteHandler
- type RoleUpdateHandler
- type RolesListHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateProjectWithUser ¶
func CreateProjectWithUser( projectRepo repository.ProjectRepository, proj *models.Project, user *models.User, ) (*models.Project, error)
Types ¶
type CollaboratorsListHandler ¶
type CollaboratorsListHandler struct {
handlers.PorterHandlerWriter
}
func NewCollaboratorsListHandler ¶
func NewCollaboratorsListHandler( config *config.Config, writer shared.ResultWriter, ) *CollaboratorsListHandler
func (*CollaboratorsListHandler) ServeHTTP ¶
func (p *CollaboratorsListHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ProjectCreateHandler ¶
type ProjectCreateHandler struct {
handlers.PorterHandlerReadWriter
}
func NewProjectCreateHandler ¶
func NewProjectCreateHandler( config *config.Config, decoderValidator shared.RequestDecoderValidator, writer shared.ResultWriter, ) *ProjectCreateHandler
func (*ProjectCreateHandler) ServeHTTP ¶
func (p *ProjectCreateHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ProjectDeleteHandler ¶
type ProjectDeleteHandler struct {
handlers.PorterHandlerWriter
}
func NewProjectDeleteHandler ¶
func NewProjectDeleteHandler( config *config.Config, writer shared.ResultWriter, ) *ProjectDeleteHandler
func (*ProjectDeleteHandler) ServeHTTP ¶
func (p *ProjectDeleteHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ProjectGetHandler ¶
type ProjectGetHandler struct {
handlers.PorterHandlerWriter
}
func NewProjectGetHandler ¶
func NewProjectGetHandler( config *config.Config, writer shared.ResultWriter, ) *ProjectGetHandler
func (*ProjectGetHandler) ServeHTTP ¶
func (p *ProjectGetHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ProjectGetPolicyHandler ¶
type ProjectGetPolicyHandler struct {
handlers.PorterHandlerWriter
}
func NewProjectGetPolicyHandler ¶
func NewProjectGetPolicyHandler( config *config.Config, writer shared.ResultWriter, ) *ProjectGetPolicyHandler
func (*ProjectGetPolicyHandler) ServeHTTP ¶
func (p *ProjectGetPolicyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ProjectListHandler ¶
type ProjectListHandler struct {
handlers.PorterHandlerWriter
}
func NewProjectListHandler ¶
func NewProjectListHandler( config *config.Config, writer shared.ResultWriter, ) *ProjectListHandler
func (*ProjectListHandler) ServeHTTP ¶
func (p *ProjectListHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type RoleDeleteHandler ¶
type RoleDeleteHandler struct {
handlers.PorterHandlerReadWriter
}
func NewRoleDeleteHandler ¶
func NewRoleDeleteHandler( config *config.Config, decoderValidator shared.RequestDecoderValidator, writer shared.ResultWriter, ) *RoleDeleteHandler
func (*RoleDeleteHandler) ServeHTTP ¶
func (p *RoleDeleteHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type RoleUpdateHandler ¶
type RoleUpdateHandler struct {
handlers.PorterHandlerReadWriter
}
func NewRoleUpdateHandler ¶
func NewRoleUpdateHandler( config *config.Config, decoderValidator shared.RequestDecoderValidator, writer shared.ResultWriter, ) *RoleUpdateHandler
func (*RoleUpdateHandler) ServeHTTP ¶
func (p *RoleUpdateHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type RolesListHandler ¶
type RolesListHandler struct {
handlers.PorterHandlerWriter
}
func NewRolesListHandler ¶
func NewRolesListHandler( config *config.Config, writer shared.ResultWriter, ) *RolesListHandler
func (*RolesListHandler) ServeHTTP ¶
func (p *RolesListHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.