workflow

package
v0.0.0-...-b81b3d3 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Workflow

type Workflow interface {
	// TruncateData 清空数据
	TruncateData(*common.Context, *types.TruncateParaStruct) (string, error)

	// DeleteData 删除数据
	DeleteData(*common.Context, *types.DeleteParaStruct) (string, error)

	// ArchiveData 归档数据
	ArchiveData(*common.Context, *types.ArchiveParaStruct) (string, error)

	// RebuildTables 重建表
	RebuildTables(*common.Context, *types.RebuildParaStruct) (string, error)

	// WorkFlowStatus 查看工作流状态
	WorkFlowStatus(*common.Context, string) (types.WorkFlowStatusType, error)

	// WorkFlowAddr 查看工作流地址
	WorkFlowAddr(*common.Context, string) (string, error)

	// DeleteWorkFlow 删除工作流
	DeleteWorkFlow(*common.Context, string) error

	// StopWorkFlow 停止工作流
	StopWorkFlow(ctx *common.Context, workflow string) error
}

func NewDriver

func NewDriver(driver string) Workflow

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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