[−][src]Trait the_process_foundry::base::ContainerTrait
Ways to manage applications (eg Docker, Bash) contained within itself
Required methods
fn find(&self, query: AppQuery) -> Result<Vec<AppInstance>>
This will find a list of apps with configurations that the container knows about
fn forward(&self, to: AppInstance, message: Message) -> Result<String>
Send a stringified action to the AppInstance
fn cached_apps(&self) -> Result<Vec<AppInstance>>
List the known items in the app cache
fn get_name(&self) -> String
Get the name/version of the container, usually for use in logging/errors.
Provided methods
fn find_one(&self, query: AppQuery) -> Result<AppInstance>
Find a unique app that matches the query
Implementors
impl ContainerTrait for Bash
[src]
fn find(&self, query: AppQuery) -> Result<Vec<AppInstance>>
[src]
This will find a list of apps with configurations that the container knows about
fn cached_apps(&self) -> Result<Vec<AppInstance>>
[src]
List the known items in the app cache
fn forward(&self, _to: AppInstance, _message: Message) -> Result<String>
[src]
fn get_name(&self) -> String
[src]
Get the name/version of the container, usually for use in logging/errors.
impl ContainerTrait for DockerCompose
[src]
fn find(&self, query: AppQuery) -> Result<Vec<AppInstance>>
[src]
This will find a list of apps with configurations that the container knows about
fn cached_apps(&self) -> Result<Vec<AppInstance>>
[src]
List the known items in the app cache
fn forward(&self, to: AppInstance, message: Message) -> Result<String>
[src]
Send the message to a child item
fn get_name(&self) -> String
[src]
Get the name/version of the container, usually for use in logging/errors.
impl ContainerTrait for DockerContainer
[src]
fn find(&self, query: AppQuery) -> Result<Vec<AppInstance>>
[src]
This will find a list of apps with configurations that the container knows about
fn cached_apps(&self) -> Result<Vec<AppInstance>>
[src]
List the known items in the app cache
fn forward(&self, _to: AppInstance, message: Message) -> Result<String>
[src]
fn get_name(&self) -> String
[src]
Get the name/version of the container, usually for use in logging/errors.