split daemon request and runtime setup
This commit is contained in:
@@ -186,3 +186,10 @@
|
||||
- 将容器镜像解析的平台校验、tag 校验、仓库 digest 收集拆分,保留摘要唯一性要求。
|
||||
|
||||
验证:`GOCACHE=/tmp/yms-go-cache go test ./...` 通过。
|
||||
|
||||
### 本轮继续拆分
|
||||
|
||||
- daemon server 将请求读取、进度回调、更新/重启分派、诊断分派拆开,保留协议错误文本与响应行为。
|
||||
- `runServe` 将 native/container 运行时构建与资源关闭拆出,避免入口函数承担全部分支。
|
||||
|
||||
验证:`GOCACHE=/tmp/yms-go-cache go test ./...`、`git diff --check` 通过。
|
||||
|
||||
Reference in New Issue
Block a user