pub struct SpawnDataflowNodes {
pub build_id: Option<BuildId>,
pub session_id: SessionId,
pub dataflow_id: DataflowId,
pub local_working_dir: Option<PathBuf>,
pub nodes: BTreeMap<NodeId, ResolvedNode>,
pub dataflow_descriptor: Descriptor,
pub spawn_nodes: BTreeSet<NodeId>,
pub uv: bool,
pub write_events_to: Option<PathBuf>,
pub artifact_base_url: Option<String>,
}Fields§
§build_id: Option<BuildId>§session_id: SessionId§dataflow_id: DataflowId§local_working_dir: Option<PathBuf>Allows overwriting the base working dir when CLI and daemon are running on the same machine.
Must not be used for multi-machine dataflows.
Note that nodes with git sources still use a subdirectory of the base working dir.
nodes: BTreeMap<NodeId, ResolvedNode>§dataflow_descriptor: Descriptor§spawn_nodes: BTreeSet<NodeId>§uv: bool§write_events_to: Option<PathBuf>§artifact_base_url: Option<String>Base URL for downloading artifacts from the coordinator (HTTP distribution mode).
When set, daemons can pull binaries from {artifact_base_url}/{build_id}/{node_id}.
Trait Implementations§
Source§impl Debug for SpawnDataflowNodes
impl Debug for SpawnDataflowNodes
Source§impl<'de> Deserialize<'de> for SpawnDataflowNodes
impl<'de> Deserialize<'de> for SpawnDataflowNodes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SpawnDataflowNodes
impl RefUnwindSafe for SpawnDataflowNodes
impl Send for SpawnDataflowNodes
impl Sync for SpawnDataflowNodes
impl Unpin for SpawnDataflowNodes
impl UnsafeUnpin for SpawnDataflowNodes
impl UnwindSafe for SpawnDataflowNodes
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more