feat(wxapi): 新增微信云托管服务管理相关接口

This commit is contained in:
Fu Diwei
2022-11-04 13:43:34 +08:00
parent 7525d6475d
commit 2fa4e24b95
26 changed files with 1637 additions and 49 deletions

View File

@@ -0,0 +1,25 @@
{
"env_id": "test-6gxk23no5605e14f",
"upload_type": "repository",
"flow_ratio": 0,
"cpu": 0.25,
"mem": 0.5,
"min_num": 0,
"max_num": 1,
"policy_type": "cpu",
"policy_threshold": 60,
"container_port": 80,
"server_name": "test",
"repository_type": "github",
"dockerfile_path": "Dockerfile",
"repository": "test/wx-container-demo",
"branch": "main",
"code_detail": {
"name": {
"name": "wx-container-demo",
"full_name": "test/wx-container-demo"
}
},
"has_dockerfile": 1,
"env_params": "{}"
}

View File

@@ -0,0 +1,7 @@
{
"errcode": 0,
"errmsg": "ok",
"result": "succ",
"version_name": "ss-012",
"run_id": "1mz98HwJmGdACf"
}

View File

@@ -0,0 +1,5 @@
{
"env_id": "test-6gxk23no5605e14f",
"server_name": "test",
"version_name": "test-012"
}

View File

@@ -0,0 +1,6 @@
{
"env_id": "test-6gxk23no5605e14f",
"service_name": "ss1",
"is_public": true,
"remark": "test"
}

View File

@@ -0,0 +1,5 @@
{
"env_id": "test-6gxk23no5605e14f",
"server_name": "ss",
"release_version": "ss-006"
}

View File

@@ -0,0 +1,6 @@
{
"errcode": 0,
"errmsg": "ok",
"result": "success",
"release_order_id": 26182
}

View File

@@ -0,0 +1,24 @@
{
"env_id": "test-6gxk23no5605e14f",
"version_name": "ss-003",
"upload_type": "image",
"flow_ratio": 100,
"dockerfile_path": "Dockerfile",
"cpu": "0.25",
"mem": "0.5",
"min_num": "0",
"max_num": "1",
"policy_type": "cpu",
"policy_threshold": "50",
"env_params": "{}",
"container_port": 80,
"server_name": "ss",
"image_info": {
"repository_name": "tcb-100001320084-hvbz/web-container-6gnyxqnl696f40ce_pressure-python",
"is_public": true,
"tag_name": "pressure-python-006-20211219230528",
"server_addr": "ccr.ccs.tencentyun.com",
"image_url": "ccr.ccs.tencentyun.com/tcb-100001320084-hvbz/web-container-6gnyxqnl696f40ce_pressure-python:pressure-python-006-20211219230528"
},
"custom_logs": "stdout"
}

View File

@@ -0,0 +1,6 @@
{
"errcode": 0,
"errmsg": "ok",
"result": "succ",
"run_id": "1mz9GjJgyY53bh"
}