(
&self,
environment: &EnvironmentRequest,
infra_ctx: &InfrastructureContext,
)
| 98 | } |
| 99 | |
| 100 | fn deploy_environment( |
| 101 | &self, |
| 102 | environment: &EnvironmentRequest, |
| 103 | infra_ctx: &InfrastructureContext, |
| 104 | ) -> Result<(), Box<EngineError>> { |
| 105 | let mut env = environment |
| 106 | .to_environment_domain( |
| 107 | infra_ctx.context(), |
| 108 | infra_ctx.cloud_provider(), |
| 109 | infra_ctx.container_registry(), |
| 110 | infra_ctx.kubernetes(), |
| 111 | ) |
| 112 | .unwrap(); |
| 113 | |
| 114 | env.action = qovery_engine::infrastructure::models::cloud_provider::service::Action::Create; |
| 115 | EnvironmentTask::deploy_environment(env, infra_ctx, &|| AbortStatus::None) |
| 116 | } |
| 117 | |
| 118 | fn pause_environment( |
| 119 | &self, |
no test coverage detected