This commit is contained in:
anlicheng 2026-05-08 00:05:54 +08:00
parent bd0503144d
commit 87e14773ba
2 changed files with 3 additions and 0 deletions

View File

@ -363,6 +363,8 @@ Body = iolist_to_binary(json:encode(Options))
### Healthcheck
该字段由 iot 校验后下发。`test` 必须是 binary list`interval_ns``timeout_ns``retries` 必须是非负整数efka 只按收到的中间 map 转成 Docker JSON 字段。
输入:
```erlang

View File

@ -82,6 +82,7 @@
- `activate`:如果 `efka` 已经是 `activated`,直接回复 `ok`;否则重新发送 `auth_request`,等待鉴权结果后再回复该 command。
- `deactivate``efka` 进入 `restricted` 状态,并回复 `ok`
- `iot` 侧会异步提交 auth command 并等待对应 `Ref``command_response`,再向 `/host/activate` HTTP 调用方返回结果;等待超时为 10 秒,超时返回 `timeout`,无效响应返回 `invalid response`
## 容器管理命令