Skip to main content

Module models

Module models 

Source
Expand description

Data models for workflows, instances, pointers, events, and execution results. Core data models for workflows, execution pointers, events, and results.

These types are the building blocks of the WFE runtime. Most are serialized to JSON when persisted or sent over the wire.

Re-exports§

pub use condition::ComparisonOp;
pub use condition::FieldComparison;
pub use condition::StepCondition;
pub use error_behavior::ErrorBehavior;
pub use event::Event;
pub use event::EventSubscription;
pub use execution_error::ExecutionError;
pub use execution_pointer::ExecutionPointer;
pub use execution_result::ExecutionResult;
pub use lifecycle::LifecycleEvent;
pub use lifecycle::LifecycleEventType;
pub use poll_config::HttpMethod;
pub use poll_config::PollCondition;
pub use poll_config::PollEndpointConfig;
pub use queue_type::QueueType;
pub use scheduled_command::CommandName;
pub use scheduled_command::ScheduledCommand;
pub use schema::SchemaType;
pub use schema::WorkflowSchema;
pub use service::ReadinessCheck;
pub use service::ReadinessProbe;
pub use service::ServiceDefinition;
pub use service::ServiceEndpoint;
pub use service::ServicePort;
pub use status::PointerStatus;
pub use status::WorkflowStatus;
pub use workflow_definition::SharedVolume;
pub use workflow_definition::StepOutcome;
pub use workflow_definition::WorkflowDefinition;
pub use workflow_definition::WorkflowStep;
pub use workflow_instance::WorkflowInstance;
pub use artifact::ArtifactBlob;
pub use artifact::ArtifactRef;
pub use artifact::ARTIFACT_REF_KEY;
pub use artifact::MEDIA_TYPE_OCI_LAYER_GZIP;
pub use artifact::MEDIA_TYPE_OCI_LAYER_TAR;
pub use artifact::artifact_ref_value;
pub use artifact::is_artifact_ref;
pub use artifact::parse_artifact_ref;

Modules§

artifact
OCI-compatible artifact references and blobs. Artifact model for OCI-compatible workflow inputs.
condition
Step condition evaluation (used by if_do and while_do).
error_behavior
Error handling behavior for failed steps.
event
External events and subscriptions.
execution_error
Errors that occur during step execution.
execution_pointer
The runtime pointer tracking a step’s execution state.
execution_result
The result returned by a step, controlling flow and persistence.
lifecycle
Lifecycle event types (started, completed, failed, etc.).
poll_config
HTTP polling configuration for PollEndpointStep.
queue_type
Work queue classification (workflow vs event queue).
scheduled_command
Commands scheduled for future execution.
schema
JSON Schema support for workflow definitions.
service
Service definitions and readiness probes.
status
Workflow and pointer status enums.
workflow_definition
The static workflow definition (steps, outcomes, metadata).
workflow_instance
The mutable runtime instance of a workflow.