common

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionID

type ExecutionID struct {
	WorkflowID string `json:"workflow_id"`
	RunID      string `json:"run_id"`
}

func NewExecutionID

func NewExecutionID(workflowID string, runID string) (*ExecutionID, error)

func NewFromEncoded

func NewFromEncoded(encoded string) (*ExecutionID, error)

func (*ExecutionID) Encode

func (id *ExecutionID) Encode() (string, error)

func (*ExecutionID) String

func (id *ExecutionID) String() string

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).

func (*Target) String

func (t *Target) String() string

func (*Target) Validate

func (t *Target) Validate() error

Jump to

Keyboard shortcuts

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