pub fn deploy_applications(
config: &Config,
rollback: &RollbackManager,
) -> Result<(), Box<dyn Error>>Expand description
Deploys all applications specified in the configuration.
This function iterates through the list of applications specified in the configuration and deploys each one. It creates a snapshot before deployment for potential rollback.
§Arguments
config- A reference to theConfigstruct containing deployment informationrollback- A reference to theRollbackManagerfor creating snapshots
§Returns
Returns Ok(()) if all applications are deployed successfully, or an error if any deployment fails.