python3-core-api-client 1.0.5__tar.gz → 1.1.0__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.
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/PKG-INFO +5 -5
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/README.md +4 -4
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/pyproject.toml +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/models.py +425 -53
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/basic_authentication_realms.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/borg_archives.py +2 -2
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/borg_repositories.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/certificate_managers.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/certificates.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/clusters.py +28 -2
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/cmses.py +10 -7
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/crons.py +4 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/custom_config_snippets.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/custom_configs.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/customers.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/daemons.py +26 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/database_user_grants.py +14 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/database_users.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/databases.py +4 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/firewall_groups.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/firewall_rules.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/fpm_pools.py +4 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/ftp_users.py +5 -2
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/haproxy_listens.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/haproxy_listens_to_nodes.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/hosts_entries.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/htpasswd_files.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/htpasswd_users.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/login.py +1 -1
- python3_core_api_client-1.1.0/src/cyberfusion/CoreApiClient/resources/logs.py +96 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/mail_accounts.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/mail_aliases.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/mail_domains.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/mail_hostnames.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/mariadb_encryption_keys.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/node_add_ons.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/nodes.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/passenger_apps.py +3 -2
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/redis_instances.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/root_ssh_keys.py +2 -2
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/security_txt_policies.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/ssh_keys.py +2 -2
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/unix_users.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/url_redirects.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/virtual_hosts.py +1 -1
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/python3_core_api_client.egg-info/PKG-INFO +5 -5
- python3_core_api_client-1.0.5/src/cyberfusion/CoreApiClient/resources/logs.py +0 -50
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/setup.cfg +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/__init__.py +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/_encoders.py +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/connector.py +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/exceptions.py +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/http.py +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/interfaces.py +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/__init__.py +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/domain_routers.py +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/health.py +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/malwares.py +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/sites.py +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/task_collections.py +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/tombstones.py +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/python3_core_api_client.egg-info/SOURCES.txt +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/python3_core_api_client.egg-info/dependency_links.txt +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/python3_core_api_client.egg-info/requires.txt +0 -0
- {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/python3_core_api_client.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python3-core-api-client
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: Python client for Core API.
|
|
5
5
|
Author-email: Cyberfusion <support@cyberfusion.io>
|
|
6
6
|
Project-URL: Source, https://github.com/CyberfusionIO/python3-core-api-client
|
|
@@ -13,7 +13,7 @@ Requires-Dist: pydantic[dotenv,email]==1.10.4
|
|
|
13
13
|
|
|
14
14
|
Python client for Core API.
|
|
15
15
|
|
|
16
|
-
This client was built for and tested on the **1.
|
|
16
|
+
This client was built for and tested on the **1.248** version of the API.
|
|
17
17
|
|
|
18
18
|
## Support
|
|
19
19
|
|
|
@@ -250,11 +250,11 @@ To raise `cyberfusion.CoreApiClient.exceptions.CallException` in case of an unex
|
|
|
250
250
|
|
|
251
251
|
Auto-generate models as follows:
|
|
252
252
|
|
|
253
|
-
datamodel-codegen --input-file-type openapi --
|
|
253
|
+
datamodel-codegen --input-file-type openapi --url http://127.0.0.1:22190/openapi.json --output temp_models.py --target-python-version 3.11
|
|
254
254
|
|
|
255
|
-
|
|
255
|
+
This adds models to `temp_models.py`. Merge it with `models.py`.
|
|
256
256
|
|
|
257
|
-
|
|
257
|
+
To not use a local Core API instance, replace `--url` by `--input`. Pass the path to the OpenAPI spec (JSON).
|
|
258
258
|
|
|
259
259
|
# Test strategy
|
|
260
260
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Python client for Core API.
|
|
4
4
|
|
|
5
|
-
This client was built for and tested on the **1.
|
|
5
|
+
This client was built for and tested on the **1.248** version of the API.
|
|
6
6
|
|
|
7
7
|
## Support
|
|
8
8
|
|
|
@@ -239,11 +239,11 @@ To raise `cyberfusion.CoreApiClient.exceptions.CallException` in case of an unex
|
|
|
239
239
|
|
|
240
240
|
Auto-generate models as follows:
|
|
241
241
|
|
|
242
|
-
datamodel-codegen --input-file-type openapi --
|
|
242
|
+
datamodel-codegen --input-file-type openapi --url http://127.0.0.1:22190/openapi.json --output temp_models.py --target-python-version 3.11
|
|
243
243
|
|
|
244
|
-
|
|
244
|
+
This adds models to `temp_models.py`. Merge it with `models.py`.
|
|
245
245
|
|
|
246
|
-
|
|
246
|
+
To not use a local Core API instance, replace `--url` by `--input`. Pass the path to the OpenAPI spec (JSON).
|
|
247
247
|
|
|
248
248
|
# Test strategy
|
|
249
249
|
|