feat:gateway-mvp implmentation,enable to deploy function,proxy request to the container and delete function's container and task

This commit is contained in:
2025-04-12 13:26:13 +08:00
committed by Samuel Dai
parent 7258f4f6ed
commit 92b281dc48
8 changed files with 35 additions and 23 deletions

View File

@ -177,6 +177,7 @@ impl Service {
// TASK_EXITED (4) — 任务已退出
// TASK_PAUSED (5) — 任务已暂停
// TASK_FAILED (6) — 任务失败
let _ = self.kill_task(task.id.to_string(), ns).await;
let _ = self.delete_task(&task.id, ns).await;
}