Documentation ¶
Index ¶
- type Controller
- type Edges
- type Nodes
- type Params
- type Service
- func (s *Service) AddWorkflow(wf *WorkflowRequest) error
- func (s *Service) DeleteWorkflow(wf *Workflow) error
- func (s *Service) GetWorkflow(wf *Workflow) (*WorkflowRequest, error)
- func (s *Service) Initialize() error
- func (s *Service) ListWorkflow(wf *Workflow) ([]*WorkflowRequest, error)
- func (s *Service) UpdateWorkflow(wf *WorkflowRequest) error
- type Workflow
- type WorkflowRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController() *Controller
func (*Controller) RegisterRoute ¶
func (c *Controller) RegisterRoute(group *gin.RouterGroup)
type Edges ¶
type Edges struct { ID string `json:"id" gorm:"primary_key;" example:"00000000-0000-0000-0000-000000000000"` WorkflowId string `json:"workflowId" example:"00000000-0000-0000-0000-000000000000"` Source string `json:"source" example:"00000000-0000-0000-0000-000000000000"` Target string `json:"target" example:"00000000-0000-0000-0000-000000000000"` database.BaseModel }
type Nodes ¶
type Nodes struct { ID string `json:"id" gorm:"primary_key;" example:"00000000-0000-0000-0000-000000000000"` WorkflowId string `json:"workflowId" example:"00000000-0000-0000-0000-000000000000"` Uses string `json:"uses" example:"test"` Label string `json:"label" example:"test"` Params Params `json:"params" example:"test"` CreatedAt time.Time `json:"createdAt" swaggerignore:"true"` UpdatedAt time.Time `json:"updatedAt" swaggerignore:"true"` }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func GetService ¶
func GetService() *Service
func (*Service) AddWorkflow ¶
func (s *Service) AddWorkflow(wf *WorkflowRequest) error
func (*Service) DeleteWorkflow ¶
func (*Service) GetWorkflow ¶
func (s *Service) GetWorkflow(wf *Workflow) (*WorkflowRequest, error)
func (*Service) Initialize ¶
func (*Service) ListWorkflow ¶
func (s *Service) ListWorkflow(wf *Workflow) ([]*WorkflowRequest, error)
func (*Service) UpdateWorkflow ¶
func (s *Service) UpdateWorkflow(wf *WorkflowRequest) error
type Workflow ¶
type WorkflowRequest ¶
type WorkflowRequest struct { *Workflow *workflow.WorkflowDAG }
Click to show internal directories.
Click to hide internal directories.