workflow

package
v0.0.70 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApplicationError

func NewApplicationError(message string, details ...interface{}) error

func NewNonRetryableApplicationError

func NewNonRetryableApplicationError(message string, details ...interface{}) error

Types

type Context

type Context struct {
	JobPackages        []string
	TaskHistory        TaskHistoryReader
	WorkspaceSnapshots bool
	SuspendExecution   func(jobworkflow.JobContext, string, execution.Requirements) error
	StageNodeExecution func(execution.Requirements)
	jobworkflow.JobContext
	ops.ServiceDependencies2
}

func (Context) GetJobId

func (c Context) GetJobId() string

func (Context) GetLogger

func (c Context) GetLogger() *slog.Logger

type NonRetryableError

type NonRetryableError struct {
	// contains filtered or unexported fields
}

func (NonRetryableError) Error

func (e NonRetryableError) Error() string

func (NonRetryableError) NonRetryable

func (e NonRetryableError) NonRetryable() bool

type RetryableErrror

type RetryableErrror struct {
	// contains filtered or unexported fields
}

func (RetryableErrror) Error

func (e RetryableErrror) Error() string

func (RetryableErrror) NonRetryable

func (e RetryableErrror) NonRetryable() bool

type TaskHistoryReader added in v0.0.55

type TaskHistoryReader interface {
	CachedTaskOutput(context.Context, jobdb.JobKey, string, int64, string) (jobdb.TaskData, error)
}

TaskHistoryReader provides read-only access for verified legacy replay recovery.

Jump to

Keyboard shortcuts

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