代码拉取完成,页面将自动刷新
From 0f032f9748bdf676355520fdd4d2e89f7a1c4c2f Mon Sep 17 00:00:00 2001
From: zhongtao <zhongtao17@huawei.com>
Date: Fri, 14 Jun 2024 15:47:08 +0800
Subject: [PATCH 18/18] add struct for nri
Signed-off-by: zhongtao <zhongtao17@huawei.com>
---
src/json/schema/container/create-request.json | 3 +++
src/json/schema/isulad-daemon-configs.json | 21 +++++++++++++++++++
2 files changed, 24 insertions(+)
diff --git a/src/json/schema/container/create-request.json b/src/json/schema/container/create-request.json
index 4d9d1ff..e19394d 100644
--- a/src/json/schema/container/create-request.json
+++ b/src/json/schema/container/create-request.json
@@ -20,6 +20,9 @@
"sandbox": {
"$ref": "sandbox-info.json"
},
+ "adjust": {
+ "$ref": "../nri/container-adjustment.json"
+ },
"hostconfig": {
"type": "string"
},
diff --git a/src/json/schema/isulad-daemon-configs.json b/src/json/schema/isulad-daemon-configs.json
index cd8948a..7b148bd 100644
--- a/src/json/schema/isulad-daemon-configs.json
+++ b/src/json/schema/isulad-daemon-configs.json
@@ -100,6 +100,27 @@
"cni-conf-dir": {
"type": "string"
},
+ "nri-support" : {
+ "type": "boolean"
+ },
+ "disable-connections" : {
+ "type": "boolean"
+ },
+ "plugin_config_path": {
+ "type": "string"
+ },
+ "plugin_path": {
+ "type": "string"
+ },
+ "nri_socket_path": {
+ "type": "string"
+ },
+ "plugin_registration_timeout": {
+ "type": "uint64"
+ },
+ "plugin_requst_timeout": {
+ "type": "uint64"
+ },
"image-layer-check": {
"type": "boolean"
},
--
2.25.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。