pub fn deploy_to_kubernetes(app: &str) -> Result<(), Box<dyn Error>>Expand description
Deploys a single container for the specified application.
This function deploys the application either to Kubernetes or directly to Docker,
based on the use_kubernetes flag.
§Arguments
app- A string slice representing the application to deployuse_kubernetes- A boolean indicating whether to use Kubernetes for deployment
§Returns
Returns Ok(()) if the container is deployed successfully, or an error if deployment fails.