pub trait Service: Debug + Send + Sync {
    fn addresses(&self, port: &str) -> Vec<String>;
}
Expand description

Describes a running service managed by an Orchestrator.

Required methods

Given the name of a port, returns the addresses for each of the service’s processes, in order.

Panics if port does not name a valid port.

Implementors