Crate wdl_engine

Crate wdl_engine 

Source
Expand description

Execution engine for Workflow Description Language (WDL) documents.

Modules§

config
Implementation of engine configuration.
diagnostics
Implementation of evaluation diagnostics.
path
Representation of evaluation paths that support URLs.
trie
Implementation of the inputs prefix trie.
v1
Implementation of evaluation for V1 documents.

Structs§

ApptainerConfig
Configuration for the Apptainer container runtime.
ApptainerState
The state of an Apptainer backend for a given top-level execution.
Array
Represents an Array value.
CallLocation
Represents the location of a call in an evaluation error.
CallValue
Represents the outputs of a call.
CancellationContext
Represents context for cancelling workflow or task evaluation.
CompoundValueSerializer
Serializes a CompoundValue with optional serialization of pairs.
DockerBackend
Represents the Docker backend.
EvaluatedTask
Represents an evaluated task.
Events
Represents events that may be sent during WDL evaluation.
GuestPath
Represents a path to a file or directory on the guest.
HintsValue
Represents a hints value from a WDL 1.2 hints section.
HostPath
Represents a path to a file or directory on the host file system or a URL to a remote file.
Input
Represents a File or Directory input to a task.
InputValue
Represents an input value from a WDL 1.2 hints section.
LocalBackend
Represents a task execution backend that locally executes tasks.
LocatedJsonValue
An input value that has not yet had its paths normalized and been converted to an engine value.
LsfApptainerBackend
The experimental LSF + Apptainer backend.
LsfApptainerBackendConfig
Configuration for the LSF + Apptainer backend.
LsfQueueConfig
Configuration for an LSF queue.
Map
Represents a Map value.
Object
Represents an Object value.
OutputValue
Represents an output value from a WDL 1.2 hints section.
Outputs
Represents outputs of a WDL workflow or task.
Pair
Represents a Pair value.
PreviousTaskDataValue
Represents a task.previous value containing data from a previous attempt.
Scope
Represents an evaluation scope in a WDL document.
ScopeIndex
Represents an index of a scope in a collection of scopes.
ScopeRef
Represents a reference to a scope.
SlurmApptainerBackend
The experimental Slurm + Apptainer backend.
SlurmApptainerBackendConfig
Configuration for the Slurm + Apptainer backend.
SlurmPartitionConfig
Configuration for a Slurm partition.
SourceError
Represents an error that originates from WDL source.
Struct
Represents a Struct value.
TaskExecutionConstraints
Represents constraints applied to a task’s execution.
TaskExecutionResult
Represents the result of a task’s execution.
TaskInputs
Represents inputs to a task.
TaskPostEvaluationData
Immutable data for task values after requirements evaluation (WDL 1.2+).
TaskPostEvaluationValue
Represents a task variable value after requirements evaluation (WDL 1.2+).
TaskPreEvaluationValue
Represents a task variable value before requirements evaluation (WDL 1.3+).
TaskSpawnInfo
Represents information for spawning a task.
TaskSpawnRequest
Represents a request to spawn a task.
TesBackend
Represents the Task Execution Service (TES) backend.
ValueSerializer
Serializes a value with optional serialization of pairs.
WorkflowInputs
Represents inputs to a workflow.

Enums§

CancellationContextState
Represents the current state of a CancellationContext.
CompoundValue
Represents a compound value.
ContentKind
Gets the kind of content.
EngineEvent
Represents an event from the WDL evaluation engine.
EvaluationError
Represents an error that may occur when evaluating a workflow or task.
HiddenValue
Represents a hidden value.
Inputs
Represents inputs to a WDL workflow or task.
PrimitiveValue
Represents a primitive WDL value.
StorageUnit
Represents a storage unit.
Value
Represents a WDL runtime value.

Traits§

Coercible
Implemented on coercible values.
EvaluationContext
Represents context to an expression evaluator.
TaskExecutionBackend
Represents a task execution backend.

Functions§

convert_unit_string
Converts a unit string (e.g. 2 GiB) to bytes.

Type Aliases§

EvaluationResult
Represents a result from evaluating a workflow or task.
JsonMap
A type alias to a JSON map (object).