package
1.33.0-rc3
Repository: https://github.com/ovh/utask.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

AfterRun evaluates a step's "check" conditions after the Step's action has been performed and impacts the entire task's execution flow through the provided StateSetter.
DependencyParts de-composes a Step's dependency into its constituent parts: step name + step state a dependency expressed only as a step name is equivalent to depending on that step being in DONE state.
PreRun evaluates a step's "skip" conditions before the Step's action has been performed and impacts the entire task's execution flow through the provided StateSetter.
RegisterRunner makes a named runner available for use in a Step's configuration.
Run carries out the action defined by a Step, by providing values to its configuration - a stepChan channel is provided for committing the result back - a shutdownCtx context is provided to interrupt execution in flight values IS NOT CONCURRENT SAFE, DO NOT SHARE WITH OTHER GOROUTINES.
ValidCondition asserts that the definition for a StepCondition is valid.

# Constants

retry patterns for a step.
retry patterns for a step.
retry patterns for a step.
retry patterns for a step.
retry patterns for a step.
possible states of a step.
wildcard.
possible states of a step.
possible states of a step.
possible states of a step.
steps that carry a foreach list of arguments.
possible states of a step.
possible states of a step.
possible states of a step.
possible states of a step.
possible states of a step.
possible states of a step.
possible states of a step.
possible states of a step.

# Structs

Context provides a step with extra metadata about the task.
Step describes one unit of work within a task, and its dependency to other steps a step contains an action that makes use of an available executor, with a specific parameter set The result of a step is stored as its output, and can be validated with json schema Any error and metadata returned by the step's executor will also be stored, resulting in a state The state of a step can be customized by the author of a template, to account for business-specific outcomes (eg.

# Interfaces

Runner represents a component capable of executing a specific action, provided a configuration and a context.

# Type aliases

StateSetter is a handle to apply the effects of a condition evaluation.