codosdk 1.0.0__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {codosdk-1.0.0 → codosdk-1.0.2}/PKG-INFO +1 -1
- {codosdk-1.0.0 → codosdk-1.0.2}/codosdk.egg-info/PKG-INFO +1 -1
- {codosdk-1.0.0 → codosdk-1.0.2}/setup.py +1 -1
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/apis/agent_apis.py +18 -2
- {codosdk-1.0.0 → codosdk-1.0.2}/LICENSE +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/README.md +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/codosdk.egg-info/SOURCES.txt +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/codosdk.egg-info/dependency_links.txt +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/codosdk.egg-info/requires.txt +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/codosdk.egg-info/top_level.txt +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/opssdk/__init__.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/opssdk/utils/__init__.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/pyproject.toml +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/setup.cfg +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/__init__.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/api_set.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/apis/__init__.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/apis/admin_apis.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/apis/cmdb_apis.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/apis/kerrigan_apis.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/apis/mgv4_apis.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/apis/task_apis.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/application.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/base_handler.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/cache.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/cache_context.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/client.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/cloud/__init__.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/cloud/qcloud_api.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/cloud/ucloud_api.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/cloud_utils.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/configs.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/consts.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/db_context.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/error.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/fetch_coroutine.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/jwt_token.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/ldap.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/logger.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/model_utils.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/mqhelper.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/program.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/salt_api.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/sqlalchemy_pagination.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/tools.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/utils/__init__.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/utils/cc_crypto.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/utils/date_format.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/utils/pydantic_utils.py +0 -0
- {codosdk-1.0.0 → codosdk-1.0.2}/websdk2/web_logs.py +0 -0
|
@@ -14,6 +14,7 @@ class AgentAPIS:
|
|
|
14
14
|
get_agent_work_url = f'{route_prefix}/v1/manager/agent/get_running_task'
|
|
15
15
|
batch_add_task_url = f'{route_prefix}/v1/agent/task/batch'
|
|
16
16
|
sync_files_url = f'{route_prefix}/v1/manager/agent/share_file/register'
|
|
17
|
+
cloud_native_url = f'{route_prefix}/v1/manager/agent/task/cloud_native'
|
|
17
18
|
|
|
18
19
|
get_agent_list = dict(method='GET',
|
|
19
20
|
url=agent_list_url,
|
|
@@ -33,7 +34,7 @@ class AgentAPIS:
|
|
|
33
34
|
},
|
|
34
35
|
field_help={
|
|
35
36
|
},
|
|
36
|
-
description='
|
|
37
|
+
description='批量脚本任务下发')
|
|
37
38
|
|
|
38
39
|
sync_files_task = dict(method='POST',
|
|
39
40
|
url=sync_files_url,
|
|
@@ -41,4 +42,19 @@ class AgentAPIS:
|
|
|
41
42
|
},
|
|
42
43
|
field_help={
|
|
43
44
|
},
|
|
44
|
-
description='
|
|
45
|
+
description='批量分发文件下发')
|
|
46
|
+
|
|
47
|
+
cloud_native_task = dict(method='POST',
|
|
48
|
+
url=cloud_native_url,
|
|
49
|
+
body={
|
|
50
|
+
},
|
|
51
|
+
field_help={
|
|
52
|
+
},
|
|
53
|
+
description='云原生任务下发/终止/重试')
|
|
54
|
+
|
|
55
|
+
get_cloud_native_task = dict(method='GET',
|
|
56
|
+
url=cloud_native_url,
|
|
57
|
+
params={},
|
|
58
|
+
field_help={
|
|
59
|
+
},
|
|
60
|
+
description='云原生任务查询')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|