feat: 增加 daemon.json 文件不存在或为空提示

This commit is contained in:
ssongliu
2023-02-01 16:15:31 +08:00
committed by ssongliu
parent d22b0a1368
commit b6e660a6cd
39 changed files with 641 additions and 430 deletions

View File

@@ -881,17 +881,14 @@ var doc = `{
},
"/auth/status": {
"get": {
"description": "获取系统安全登录状态",
"description": "判断是否为首次登录",
"tags": [
"Auth"
],
"summary": "Load safety status",
"summary": "Check is First login",
"responses": {
"200": {
"description": ""
},
"402": {
"description": ""
}
}
}
@@ -1637,6 +1634,31 @@ var doc = `{
}
}
},
"/containers/daemonjson/file": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "获取 docker 配置信息(表单)",
"produces": [
"application/json"
],
"tags": [
"Container Docker"
],
"summary": "Load docker daemon.json",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
}
}
},
"/containers/daemonjson/update": {
"post": {
"security": [
@@ -6230,6 +6252,25 @@ var doc = `{
}
}
},
"/settings/search/available": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "获取系统可用状态",
"tags": [
"System Setting"
],
"summary": "Load system available status",
"responses": {
"200": {
"description": ""
}
}
}
},
"/settings/snapshot": {
"post": {
"security": [
@@ -10553,15 +10594,18 @@ var doc = `{
"model.App": {
"type": "object",
"properties": {
"author": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"crossVersionUpdate": {
"type": "boolean"
},
"document": {
"type": "string"
},
"github": {
"type": "string"
},
"icon": {
"type": "string"
},
@@ -10583,9 +10627,6 @@ var doc = `{
"shortDesc": {
"type": "string"
},
"source": {
"type": "string"
},
"status": {
"type": "string"
},
@@ -10594,6 +10635,9 @@ var doc = `{
},
"updatedAt": {
"type": "string"
},
"website": {
"type": "string"
}
}
},
@@ -10981,8 +11025,20 @@ var doc = `{
"pageSize": {
"type": "integer"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"type": {
"type": "string"
},
"unused": {
"type": "boolean"
},
"update": {
"type": "boolean"
}
}
},
@@ -11852,15 +11908,18 @@ var doc = `{
"response.AppDTO": {
"type": "object",
"properties": {
"author": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"crossVersionUpdate": {
"type": "boolean"
},
"document": {
"type": "string"
},
"github": {
"type": "string"
},
"icon": {
"type": "string"
},
@@ -11882,9 +11941,6 @@ var doc = `{
"shortDesc": {
"type": "string"
},
"source": {
"type": "string"
},
"status": {
"type": "string"
},
@@ -11905,6 +11961,9 @@ var doc = `{
"items": {
"type": "string"
}
},
"website": {
"type": "string"
}
}
},