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::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_doandwhile_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.