pub struct OrchestratorSpawnConfig<'a> {
pub project_id: &'a str,
pub project_config: &'a ProjectConfig,
pub config: &'a AoConfig,
pub config_path: Option<PathBuf>,
pub port: u16,
pub agent_name: &'a str,
pub runtime_name: &'a str,
pub repo_path: PathBuf,
pub default_branch: String,
pub no_prompt: bool,
}Expand description
Inputs for spawn_orchestrator. Borrows everything so callers can
keep ownership of config/project structs across multiple spawns.
Fields§
§project_id: &'a str§project_config: &'a ProjectConfig§config: &'a AoConfig§config_path: Option<PathBuf>Path to the loaded ao-rs.yaml, passed through as AO_CONFIG_PATH.
port: u16Dashboard port — rendered into the orchestrator prompt and exported as AO_PORT.
agent_name: &'a str§runtime_name: &'a str§repo_path: PathBuf§default_branch: String§no_prompt: boolSkip sending the rendered orchestrator prompt after launch.
Auto Trait Implementations§
impl<'a> Freeze for OrchestratorSpawnConfig<'a>
impl<'a> RefUnwindSafe for OrchestratorSpawnConfig<'a>
impl<'a> Send for OrchestratorSpawnConfig<'a>
impl<'a> Sync for OrchestratorSpawnConfig<'a>
impl<'a> Unpin for OrchestratorSpawnConfig<'a>
impl<'a> UnsafeUnpin for OrchestratorSpawnConfig<'a>
impl<'a> UnwindSafe for OrchestratorSpawnConfig<'a>
Blanket Implementations§
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