Expand description
Implements running a single BraneScript file.
Re-exports§
pub use crate::errors::RunError as Error;
Structs§
- A helper struct that contains what we need to know about a compiler + VM state for the dummy use-case.
- A helper struct that contains what we need to know about a compiler + VM state for the instance use-case.
- A helper struct that contains what we need to know about a compiler + VM state for the offline use-case.
Functions§
- Runs the given file with the given, optional data folder to resolve data declarations in.
- Function that prepares a local, offline virtual machine that never runs any jobs.
- Initializes the state for an instance VM.
- Function that prepares a remote, instance-backed virtual machine by initializing the proper indices and whatnot.
- Function that prepares a local, offline virtual machine by initializing the proper indices and whatnot.
- Processes the given result of a dummy workflow execution.
- Post-processes the result of a workflow.
- Processes the given result of a remote workflow execution.
- Processes the given result of an offline workflow execution.
- Function that executes the given workflow snippet to completion on the dummy machine, returning the result it returns.
- Runs the given compiled workflow on the remote instance.
- Function that executes the given workflow snippet to completion on the Brane instance, returning the result it returns.
- Function that executes the given workflow snippet to completion on the local machine, returning the result it returns.