common

package
v1.1.83 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateParentInfo added in v0.7.0

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 added in v0.7.0

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.

Jump to

Keyboard shortcuts

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