task

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 27 Imported by: 0

README

自动化执行

Documentation

Index

Constants

This section is empty.

Variables

Functions

func InitCollectionOnce added in v1.11.0

func InitCollectionOnce(db *mongox.Mongo)

func InitCrypto added in v1.9.1

func InitCrypto(reg *cryptox.CryptoRegistry) cryptox.Crypto

func InitTaskDAO added in v1.11.0

func InitTaskDAO(db *mongox.Mongo) dao.TaskDAO

Types

type Handler

type Handler = web.Handler

type Module

type Module struct {
	Svc Service
	Hdl *web.Handler

	StartTaskJob         *StartTaskJob
	PassProcessTaskJob   *PassProcessTaskJob
	TaskRecoveryJob      *TaskRecoveryJob
	TaskExecutionSyncJob *TaskExecutionSyncJob
	// contains filtered or unexported fields
}

func InitModule

func InitModule(q mq.MQ, db *mongox.Mongo, orderModule *order.Module, workflowModule *workflow.Module, engineModule *engine.Module, codebookModule *codebook.Module, workerModule *worker.Module, runnerModule *runner.Module, userModule *user.Module, discoveryModule *discovery.Module, lark2 *lark.Client, crypto *cryptox.CryptoRegistry, sender2 sender.NotificationSender, taskClient taskv1.TaskServiceClient, executorClient executorv1.TaskExecutionServiceClient) (*Module, error)

type PassProcessTaskJob

type PassProcessTaskJob = job.PassProcessTaskJob

type Service

type Service = service.Service

type StartTaskJob

type StartTaskJob = job.StartTaskJob

type TaskExecutionSyncJob added in v1.11.0

type TaskExecutionSyncJob = job.TaskExecutionSyncJob

type TaskRecoveryJob added in v1.11.0

type TaskRecoveryJob = job.TaskRecoveryJob

Directories

Path Synopsis
internal
job
web
Package taskmocks is a generated GoMock package.
Package taskmocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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