pub trait OrchestratableServiceFactory: ServiceFactory {
fn create_orchestratable_service(
&self,
service_id: String,
service_type: &str,
circuit_id: &str,
args: HashMap<String, String>
) -> Result<Box<dyn OrchestratableService>, FactoryCreateError>;
}
Expand description
A service factory that produces orchestratable services.
Required methods
fn create_orchestratable_service(
&self,
service_id: String,
service_type: &str,
circuit_id: &str,
args: HashMap<String, String>
) -> Result<Box<dyn OrchestratableService>, FactoryCreateError>
fn create_orchestratable_service(
&self,
service_id: String,
service_type: &str,
circuit_id: &str,
args: HashMap<String, String>
) -> Result<Box<dyn OrchestratableService>, FactoryCreateError>
Create a Service instance with the given ID, of the given type, the given circuit_id, with the given arguments.