Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionsController ¶
type ActionsController struct {
AuthController
WorkflowRepo engine.WorkflowRepo
WorkflowActionRepo engine.WorkflowActionRepo
}
func NewActionsController ¶
func NewActionsController(workflowRepo engine.WorkflowRepo, workflowActionsRepo engine.WorkflowActionRepo, userRepo engine.UserRepo) *ActionsController
func (*ActionsController) RegisterRoutes ¶
func (c *ActionsController) RegisterRoutes()
type AuthController ¶
func NewBaseController ¶
func NewBaseController(userRepo engine.UserRepo) *AuthController
func (*AuthController) RequireAuth ¶
func (wc *AuthController) RequireAuth(next http.HandlerFunc) http.HandlerFunc
type ExecutorsController ¶
type ExecutorsController struct {
AuthController
ExecutorsRepo engine.ExecutorRepo
}
func NewExecutorsController ¶
func NewExecutorsController( workflowExecutorsRepo engine.ExecutorRepo, userRepo engine.UserRepo) *ExecutorsController
func (*ExecutorsController) RegisterRoutes ¶
func (c *ExecutorsController) RegisterRoutes()
type UsersController ¶ added in v1.4.0
type UsersController struct {
AuthController
UserRepo engine.UserRepo
}
func NewUsersController ¶ added in v1.4.0
func NewUsersController(userRepo engine.UserRepo) *UsersController
func (*UsersController) RegisterRoutes ¶ added in v1.4.0
func (c *UsersController) RegisterRoutes()
RegisterRoutes wires up the HTTP routes for this controller
type WorkflowsController ¶
type WorkflowsController struct {
AuthController
WorkflowRepo engine.WorkflowRepo
WorkflowActionRepo engine.WorkflowActionRepo
WorkflowManager *engine.WorkflowManager
}
WorkflowsController holds dependencies for workflow HTTP endpoints.
func NewWorkflowsController ¶
func NewWorkflowsController(workflowRepo engine.WorkflowRepo, workflowActionsRepo engine.WorkflowActionRepo, workflowManager *engine.WorkflowManager, userRepo engine.UserRepo) *WorkflowsController
func (*WorkflowsController) RegisterRoutes ¶
func (c *WorkflowsController) RegisterRoutes()
RegisterRoutes wires the HTTP routes for this controller.
Click to show internal directories.
Click to hide internal directories.