Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionID ¶
ExecutionID identifies a running or completed Temporal workflow execution. It is serialized to JSON and stored as the opaque executor execution ID returned to callers after a task is dispatched.
func NewExecutionID ¶
func NewExecutionID(workflowID string, runID string) (*ExecutionID, error)
NewExecutionID constructs a validated ExecutionID. Both workflowID and runID are required; returns an error if either is empty.
func NewFromEncoded ¶
func NewFromEncoded(encoded string) (*ExecutionID, error)
NewFromEncoded deserializes an ExecutionID from the JSON string produced by Encode.
func (*ExecutionID) Encode ¶
func (id *ExecutionID) Encode() (string, error)
Encode serializes the ExecutionID to a JSON string suitable for storage and later recovery via NewFromEncoded.
func (*ExecutionID) String ¶
func (id *ExecutionID) String() string
String returns a human-readable representation for logging.
type Target ¶
type Target struct {
Type devicetypes.ComponentType
ComponentIDs []string
}
Target represents a batch of components of the same type for activity execution. Workflow passes only component IDs to activity (not full objects).