Documentation ¶
Index ¶
Constants ¶
View Source
const ( // QueueTypeInMemory in memory queue type QueueTypeInMemory = "in-memory" // QueueTypeEventMesh EventMesh queue QueueTypeEventMesh = "eventmesh" )
View Source
const ( TaskStartID = "START" TaskEndID = "END" NormalStatus = 1 InvalidStatus = -1 )
View Source
const ( TaskInstanceSleepStatus = 1 TaskInstanceWaitStatus = 2 TaskInstanceProcessStatus = 3 TaskInstanceSuccessStatus = 4 TaskInstanceFailStatus = 5 )
task instance status
View Source
const ( WorkflowInstanceProcessStatus = 1 WorkflowInstanceSuccessStatus = 2 )
workflow instance status
View Source
const ( LogSchedule = "schedule" LogQueue = "queue" )
log name
View Source
const ( TaskTypeOperation = "operation" TaskTypeEvent = "event" TaskTypeSwitch = "switch" )
View Source
const ( EventTypePublish = "publish" EventPropsWorkflowInstanceID = "workflowinstanceid" EventPropsWorkflowTaskInstanceID = "workflowtaskinstanceid" )
View Source
const ( MetricsEventTask = "event_task" MetricsOperationTask = "operation_task" MetricsSwitchTask = "switch_task" MetricsScheduler = "scheduler" MetricsEngine = "engine" MetricsTaskQueue = "task_queue" )
Metrics Collector types
View Source
const ( MetricsTotal = "total" MetricsSwitchReject = "reject" MetricsSwitchPass = "pass" MetricsStartRequest = "start_request" MetricsTransitionRequest = "transition_request" MetricsDbLockAcquireTime = "db_lock_acquire_time" MetricsQueueSize = "queue_size" )
Metrics labels
View Source
const (
// RetryAttempts fail retry max times
RetryAttempts = 5
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.