workflow

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MulanPSL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const CUSTOM = "Custom"
View Source
const CUSTOMONEOUT = "CustomOneOut"
View Source
const GETWIDTHLENGTH = "GetWidthLength"
View Source
const IMAGEENCHANCE = "ImageEnhance"
View Source
const SYNTHESIS = "Synthesis"

定义工作流名称

Variables

View Source
var (
	TaskName5     string
	WorkflowName4 string
)
View Source
var (
	TaskName4     string
	WorkflowName3 string
)
View Source
var (
	TaskName3     string
	WorkflowName2 string
)
View Source
var (
	TaskName6     string
	WorkflowName5 string
)
View Source
var (
	TaskName     string
	TaskName2    string
	WorkflowName string
)
View Source
var (
	WorkflowFunction    Workflow
	WorkflowMap         = make(map[string](func(*executor.WorkflowExecutor, int) *workflow.ConductorWorkflow))
	TaskOwnerEmail      string
	WorkflowDescription string
	WorkflowOwnerEmail  string
)

Functions

This section is empty.

Types

type Workflow

type Workflow struct {
	Wf *workflow.ConductorWorkflow
}

func (*Workflow) NewCustomCommandWorkflow

func (wkf *Workflow) NewCustomCommandWorkflow(excutor *executor.WorkflowExecutor, version int) *workflow.ConductorWorkflow

NewCustomCommandWorkflow 创建自定义ffmpeg请求workflow

func (*Workflow) NewCustomOneOutWorkflow

func (wkf *Workflow) NewCustomOneOutWorkflow(excutor *executor.WorkflowExecutor, version int) *workflow.ConductorWorkflow

NewCustomOneOutWorkflow 创建自定义ffmpeg请求单路输出workflow

func (*Workflow) NewGetWidthLengthWorkflow

func (wkf *Workflow) NewGetWidthLengthWorkflow(excutor *executor.WorkflowExecutor, version int) *workflow.ConductorWorkflow

NewGetWidthLengthWorkflow 创建获取视频长宽信息workflow

func (*Workflow) NewImageEnhanceWorkflow

func (wkf *Workflow) NewImageEnhanceWorkflow(excutor *executor.WorkflowExecutor, version int) *workflow.ConductorWorkflow

NewImageEnhanceWorkflow 创建图片画质增强workflow

func (*Workflow) NewSynthesisWorkflow

func (wkf *Workflow) NewSynthesisWorkflow(excutor *executor.WorkflowExecutor, version int) *workflow.ConductorWorkflow

NewSynthesisWorkflow 创建视频合成workflow

func (*Workflow) NewTask

func (wkf *Workflow) NewTask(taskName string, inputData map[string]string) *workflow.SimpleTask

创建新task

func (*Workflow) NewWorkflow

func (wkf *Workflow) NewWorkflow(name string, excutor *executor.WorkflowExecutor, version int) (*workflow.ConductorWorkflow, error)

NewWorkflow 创建新的workflow

Jump to

Keyboard shortcuts

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