deployment

package
v0.0.0-...-738d89c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2023 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrTaskHasClaim = errors.New("task has claim")
)

Functions

This section is empty.

Types

type Service

type Service struct {
	WFDB   *ent.Client
	Engine *workflow.Service
}

func (*Service) ClaimTask

func (s *Service) ClaimTask(ctx context.Context, taskID int) (*ent.Task, error)

ClaimTask 认领任务

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 启动流程实例

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL