pub(super) fn make(
state: &AppState,
leader: &Leader,
template: &AgentDefinition,
name: &str,
placement: &Placement,
account: Option<&WorkerAccount>,
asked_user: bool,
) -> Result<Value, SpawnError>Expand description
Make the agent, as placement says, and link its account; removed again if it can’t be finished.