[−][src]Trait the_process_foundry::base::AppTrait
A data structure containing information used to generate both generate Actions and Events
Required methods
fn build(
instance: AppInstance,
parent: Option<Rc<dyn ContainerTrait>>
) -> Result<Self> where
Self: Sized,
instance: AppInstance,
parent: Option<Rc<dyn ContainerTrait>>
) -> Result<Self> where
Self: Sized,
Construct the metadata for the module controlling the app instance This is important to make sure the module aligns with the actual installed instance
fn get_name(&self) -> String
Print a standardized "name (version)" for logging purposes
Provided methods
fn set_version(&self, instance: AppInstance) -> Result<AppInstance>
Knows how to get the version number of the installed app (not the module version)
Implementors
impl AppTrait for Bash
[src]
fn get_name(&self) -> String
[src]
fn build(
instance: AppInstance,
_parent: Option<Rc<dyn ContainerTrait>>
) -> Result<Bash>
[src]
instance: AppInstance,
_parent: Option<Rc<dyn ContainerTrait>>
) -> Result<Bash>
fn set_version(&self, _instance: AppInstance) -> Result<AppInstance>
[src]
Knows how to get the version number of the installed app (not the module version)
impl AppTrait for DockerCompose
[src]
fn get_name(&self) -> String
[src]
fn build(
instance: AppInstance,
parent: Option<Rc<dyn ContainerTrait>>
) -> Result<DockerCompose>
[src]
instance: AppInstance,
parent: Option<Rc<dyn ContainerTrait>>
) -> Result<DockerCompose>
fn set_version(&self, _instance: AppInstance) -> Result<AppInstance>
[src]
Knows how to get the version number of the installed app (not the module version)
impl AppTrait for DockerContainer
[src]
fn get_name(&self) -> String
[src]
fn build(
instance: AppInstance,
parent: Option<Rc<dyn ContainerTrait>>
) -> Result<DockerContainer>
[src]
instance: AppInstance,
parent: Option<Rc<dyn ContainerTrait>>
) -> Result<DockerContainer>
impl AppTrait for PgBaseBackup
[src]
fn get_name(&self) -> String
[src]
fn build(
instance: AppInstance,
parent: Option<Rc<dyn ContainerTrait>>
) -> Result<PgBaseBackup>
[src]
instance: AppInstance,
parent: Option<Rc<dyn ContainerTrait>>
) -> Result<PgBaseBackup>
fn set_version(&self, _instance: AppInstance) -> Result<AppInstance>
[src]
Knows how to get the version number of the installed app (not the module version)
impl AppTrait for Postgres
[src]
fn get_name(&self) -> String
[src]
fn build(
instance: AppInstance,
_parent: Option<Rc<dyn ContainerTrait>>
) -> Result<Postgres>
[src]
instance: AppInstance,
_parent: Option<Rc<dyn ContainerTrait>>
) -> Result<Postgres>
fn set_version(&self, _instance: AppInstance) -> Result<AppInstance>
[src]
Knows how to get the version number of the installed app (not the module version)