swfutil

package
v0.0.72 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JobResult

func JobResult(ctx context.Context, engine jobworkflow.Engine, key jobdb.JobKey) (jobdb.JobData, error)

func JobStatus

func JobStatus(ctx context.Context, engine jobworkflow.Engine, key jobdb.JobKey) (jobdb.JobStatus, error)

Types

type ExecutionTask added in v0.0.72

type ExecutionTask struct {
	InvocationID string
	jobdb.TaskRun
}

ExecutionTask is a logical task and its committed attempts. Ordinals identify stored results only; InvocationID distinguishes repeats and block retries.

func ExecutionTasks added in v0.0.72

func ExecutionTasks(run jobdb.GetJobRunResponse) ([]ExecutionTask, error)

ExecutionTasks projects versioned records for diagnostic consumers. It does not construct worker inputs or participate in execution/replay.

Jump to

Keyboard shortcuts

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