Skip to main content

api_container

Function api_container 

Source
pub async fn api_container(stack: &FloraStack) -> Result<OmryApi>
Expand description

Spawns a new API instance connected to the Omry server running in the given Docker container.

§Errors

Returns anyhow::Error if we can’t spawn the Omry service client.