Documentation
¶
Index ¶
Constants ¶
View Source
const ( WorkerName = workflowNamePrefix + "worker" WorkflowBatchName = workflowNamePrefix + "batch" WorkflowDurableName = workflowNamePrefix + "durable" WorkflowDurableChildName = workflowNamePrefix + "durable-child" WorkflowDagName = workflowNamePrefix + "dag" // The EventKeyDagShapes workflows. Each is a standalone DAG with a distinct // topology; all four are triggered by a single EventKeyDagShapes event. WorkflowDagShapeDenseFaninName = workflowNamePrefix + "dag-shape-dense-fanin" WorkflowDagShapeConditionalName = workflowNamePrefix + "dag-shape-conditional" WorkflowDagShapeOnFailureName = workflowNamePrefix + "dag-shape-onfailure" WorkflowDagShapeDeepRetryName = workflowNamePrefix + "dag-shape-deep-retry" )
Variables ¶
View Source
var All = []EventKey{EventKeyDefault, EventKeyBatch, EventKeyDurable, EventKeyDag, EventKeyDagShapes}
View Source
var DagShapeWorkflowNames = []string{ WorkflowDagShapeDenseFaninName, WorkflowDagShapeConditionalName, WorkflowDagShapeOnFailureName, WorkflowDagShapeDeepRetryName, }
DagShapeWorkflowNames is the ordered set of workflows triggered by EventKeyDagShapes.
Functions ¶
func WorkflowStandardName ¶
Types ¶
type EventKey ¶
type EventKey string
const ( EventKeyDefault EventKey = "load-test:event" EventKeyBatch EventKey = "load-test:batch-event" EventKeyDurable EventKey = "load-test:durable-event" EventKeyDag EventKey = "load-test:dag-event" // EventKeyDagShapes triggers the DagShapeWorkflowNames set - a handful of // multi-step DAGs whose topologies (dense fan-in, conditional skip fan-out, // on-failure handler, deep retry chain) are modelled on real production // workloads, for exercising the DAG operator. EventKeyDagShapes EventKey = "load-test:dag-shapes-event" )
Click to show internal directories.
Click to hide internal directories.