Skip to main content

deploy_dispatch

Function deploy_dispatch 

Source
pub fn deploy_dispatch(
    conn: &Connection,
    node_id: &str,
    node_name: &str,
    target: &str,
    sha256: &str,
    held: bool,
) -> Result<String, String>
Expand description

A push of sha256 to target on a node is held for a person (held) or has just been sent. Returns the run’s id. The same bytes reuse the open run; other bytes for the same target supersede it. Sending moves the run to Running and its one step to dispatching.