Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateParentInfo ¶
func CreateParentInfo(grandParentInfo executors.ImmutableParentInfo, nodeID string, parentAttempt uint32) (executors.ImmutableParentInfo, error)
CreateParentInfo creates a unique parent id, the unique id of parent is dependent on the unique id and the current attempt of the grandparent to track the lineage.
func GenerateUniqueID ¶
func GenerateUniqueID(parentInfo executors.ImmutableParentInfo, nodeID string) (string, error)
GenerateUniqueID is the UniqueId of a node is unique within a given workflow execution. In order to achieve that we track the lineage of the node. To compute the uniqueID of a node, we use the uniqueID and retry attempt of the parent node For nodes in level 0, there is no parent, and parentInfo is nil
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.