Documentation ¶
Index ¶
- Variables
- type Service
- func (s *Service) ClaimTask(ctx context.Context, taskID int) (*ent.Task, error)
- func (s *Service) CreateDeployment(ctx context.Context, input model.DeployDiagramInput) (dp *ent.Deployment, err error)
- func (s *Service) StartProcessInstance(ctx context.Context, input model.StartProcessInput) (*types.WorkflowRun, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrTaskHasClaim = errors.New("task has claim")
)
Functions ¶
This section is empty.
Types ¶
type Service ¶
func (*Service) CreateDeployment ¶
func (s *Service) CreateDeployment(ctx context.Context, input model.DeployDiagramInput) (dp *ent.Deployment, err error)
CreateDeployment 创建部署
func (*Service) StartProcessInstance ¶
func (s *Service) StartProcessInstance(ctx context.Context, input model.StartProcessInput) (*types.WorkflowRun, error)
StartProcessInstance 启动流程实例
Click to show internal directories.
Click to hide internal directories.