zrok2 2.0.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.
- zrok2-2.0.0/PKG-INFO +31 -0
- zrok2-2.0.0/README.md +284 -0
- zrok2-2.0.0/pyproject.toml +3 -0
- zrok2-2.0.0/setup.cfg +37 -0
- zrok2-2.0.0/setup.py +67 -0
- zrok2-2.0.0/test/__init__.py +0 -0
- zrok2-2.0.0/test/test_access201_response.py +52 -0
- zrok2-2.0.0/test/test_access_request.py +54 -0
- zrok2-2.0.0/test/test_access_summary.py +60 -0
- zrok2-2.0.0/test/test_accesses_list.py +63 -0
- zrok2-2.0.0/test/test_account_api.py +79 -0
- zrok2-2.0.0/test/test_add_frontend_grant_request.py +52 -0
- zrok2-2.0.0/test/test_add_namespace_frontend_mapping_request.py +53 -0
- zrok2-2.0.0/test/test_add_namespace_grant_request.py +52 -0
- zrok2-2.0.0/test/test_add_organization_member_request.py +53 -0
- zrok2-2.0.0/test/test_admin_api.py +205 -0
- zrok2-2.0.0/test/test_agent_api.py +85 -0
- zrok2-2.0.0/test/test_auth_user.py +52 -0
- zrok2-2.0.0/test/test_change_password_request.py +53 -0
- zrok2-2.0.0/test/test_client_version_check_request.py +51 -0
- zrok2-2.0.0/test/test_configuration.py +56 -0
- zrok2-2.0.0/test/test_create_frontend201_response.py +51 -0
- zrok2-2.0.0/test/test_create_frontend_request.py +55 -0
- zrok2-2.0.0/test/test_create_identity201_response.py +52 -0
- zrok2-2.0.0/test/test_create_identity_request.py +51 -0
- zrok2-2.0.0/test/test_create_namespace201_response.py +51 -0
- zrok2-2.0.0/test/test_create_namespace_request.py +54 -0
- zrok2-2.0.0/test/test_create_organization201_response.py +51 -0
- zrok2-2.0.0/test/test_create_organization_request.py +51 -0
- zrok2-2.0.0/test/test_create_share_name_request.py +52 -0
- zrok2-2.0.0/test/test_delete_identity_request.py +51 -0
- zrok2-2.0.0/test/test_disable_request.py +51 -0
- zrok2-2.0.0/test/test_enable_request.py +52 -0
- zrok2-2.0.0/test/test_enroll200_response.py +51 -0
- zrok2-2.0.0/test/test_enroll_request.py +51 -0
- zrok2-2.0.0/test/test_environment.py +63 -0
- zrok2-2.0.0/test/test_environment_and_resources.py +96 -0
- zrok2-2.0.0/test/test_environment_api.py +43 -0
- zrok2-2.0.0/test/test_environment_summary.py +60 -0
- zrok2-2.0.0/test/test_environments_list.py +63 -0
- zrok2-2.0.0/test/test_frontend.py +59 -0
- zrok2-2.0.0/test/test_get_sparklines200_response.py +62 -0
- zrok2-2.0.0/test/test_get_sparklines_request.py +57 -0
- zrok2-2.0.0/test/test_invite_request.py +52 -0
- zrok2-2.0.0/test/test_invite_token_generate_request.py +53 -0
- zrok2-2.0.0/test/test_list_frontend_namespace_mappings200_response_inner.py +54 -0
- zrok2-2.0.0/test/test_list_frontends200_response_inner.py +58 -0
- zrok2-2.0.0/test/test_list_memberships200_response.py +56 -0
- zrok2-2.0.0/test/test_list_memberships200_response_memberships_inner.py +53 -0
- zrok2-2.0.0/test/test_list_namespaces200_response_inner.py +56 -0
- zrok2-2.0.0/test/test_list_organization_members200_response.py +55 -0
- zrok2-2.0.0/test/test_list_organization_members200_response_members_inner.py +52 -0
- zrok2-2.0.0/test/test_list_organizations200_response.py +55 -0
- zrok2-2.0.0/test/test_list_organizations200_response_organizations_inner.py +52 -0
- zrok2-2.0.0/test/test_list_share_namespaces200_response_inner.py +53 -0
- zrok2-2.0.0/test/test_login_request.py +52 -0
- zrok2-2.0.0/test/test_metadata_api.py +145 -0
- zrok2-2.0.0/test/test_metrics.py +59 -0
- zrok2-2.0.0/test/test_metrics_sample.py +53 -0
- zrok2-2.0.0/test/test_name.py +56 -0
- zrok2-2.0.0/test/test_name_selection.py +52 -0
- zrok2-2.0.0/test/test_overview.py +110 -0
- zrok2-2.0.0/test/test_overview_names_inner.py +56 -0
- zrok2-2.0.0/test/test_ping200_response.py +51 -0
- zrok2-2.0.0/test/test_principal.py +55 -0
- zrok2-2.0.0/test/test_regenerate_account_token200_response.py +51 -0
- zrok2-2.0.0/test/test_regenerate_account_token_request.py +51 -0
- zrok2-2.0.0/test/test_register_request.py +52 -0
- zrok2-2.0.0/test/test_remote_access_request.py +60 -0
- zrok2-2.0.0/test/test_remote_share200_response.py +54 -0
- zrok2-2.0.0/test/test_remote_share_request.py +74 -0
- zrok2-2.0.0/test/test_remote_status200_response.py +82 -0
- zrok2-2.0.0/test/test_remote_status200_response_accesses_inner.py +62 -0
- zrok2-2.0.0/test/test_remote_status200_response_shares_inner.py +64 -0
- zrok2-2.0.0/test/test_remote_status200_response_shares_inner_failure.py +54 -0
- zrok2-2.0.0/test/test_remote_unaccess_request.py +52 -0
- zrok2-2.0.0/test/test_remote_unshare_request.py +52 -0
- zrok2-2.0.0/test/test_remove_namespace_frontend_mapping_request.py +52 -0
- zrok2-2.0.0/test/test_remove_organization_member_request.py +52 -0
- zrok2-2.0.0/test/test_reset_password_request.py +52 -0
- zrok2-2.0.0/test/test_share.py +67 -0
- zrok2-2.0.0/test/test_share_api.py +103 -0
- zrok2-2.0.0/test/test_share_http_healthcheck200_response.py +52 -0
- zrok2-2.0.0/test/test_share_http_healthcheck_request.py +56 -0
- zrok2-2.0.0/test/test_share_request.py +75 -0
- zrok2-2.0.0/test/test_share_response.py +54 -0
- zrok2-2.0.0/test/test_share_summary.py +62 -0
- zrok2-2.0.0/test/test_shares_list.py +65 -0
- zrok2-2.0.0/test/test_spark_data_sample.py +52 -0
- zrok2-2.0.0/test/test_unaccess_request.py +53 -0
- zrok2-2.0.0/test/test_unshare_request.py +52 -0
- zrok2-2.0.0/test/test_update_access_request.py +53 -0
- zrok2-2.0.0/test/test_update_frontend_request.py +55 -0
- zrok2-2.0.0/test/test_update_namespace_request.py +55 -0
- zrok2-2.0.0/test/test_update_share_name_request.py +53 -0
- zrok2-2.0.0/test/test_update_share_request.py +57 -0
- zrok2-2.0.0/test/test_verify200_response.py +51 -0
- zrok2-2.0.0/test/test_verify_request.py +51 -0
- zrok2-2.0.0/test/test_version_inventory200_response.py +51 -0
- zrok2-2.0.0/versioneer.py +2277 -0
- zrok2-2.0.0/zrok2/__init__.py +8 -0
- zrok2-2.0.0/zrok2/_version.py +21 -0
- zrok2-2.0.0/zrok2/access.py +58 -0
- zrok2-2.0.0/zrok2/decor.py +33 -0
- zrok2-2.0.0/zrok2/dialer.py +10 -0
- zrok2-2.0.0/zrok2/environment/__init__.py +1 -0
- zrok2-2.0.0/zrok2/environment/dirs.py +32 -0
- zrok2-2.0.0/zrok2/environment/enable.py +124 -0
- zrok2-2.0.0/zrok2/environment/root.py +217 -0
- zrok2-2.0.0/zrok2/listener.py +29 -0
- zrok2-2.0.0/zrok2/listing.py +96 -0
- zrok2-2.0.0/zrok2/model.py +142 -0
- zrok2-2.0.0/zrok2/name.py +170 -0
- zrok2-2.0.0/zrok2/overview.py +77 -0
- zrok2-2.0.0/zrok2/proxy.py +203 -0
- zrok2-2.0.0/zrok2/share.py +296 -0
- zrok2-2.0.0/zrok2/status.py +24 -0
- zrok2-2.0.0/zrok2.egg-info/PKG-INFO +31 -0
- zrok2-2.0.0/zrok2.egg-info/SOURCES.txt +436 -0
- zrok2-2.0.0/zrok2.egg-info/dependency_links.txt +1 -0
- zrok2-2.0.0/zrok2.egg-info/requires.txt +9 -0
- zrok2-2.0.0/zrok2.egg-info/top_level.txt +3 -0
- zrok2-2.0.0/zrok_api/__init__.py +231 -0
- zrok2-2.0.0/zrok_api/api/__init__.py +10 -0
- zrok2-2.0.0/zrok_api/api/account_api.py +2261 -0
- zrok2-2.0.0/zrok_api/api/admin_api.py +7956 -0
- zrok2-2.0.0/zrok_api/api/agent_api.py +2547 -0
- zrok2-2.0.0/zrok_api/api/environment_api.py +589 -0
- zrok2-2.0.0/zrok_api/api/metadata_api.py +5614 -0
- zrok2-2.0.0/zrok_api/api/share_api.py +3321 -0
- zrok2-2.0.0/zrok_api/api_client.py +801 -0
- zrok2-2.0.0/zrok_api/api_response.py +21 -0
- zrok2-2.0.0/zrok_api/configuration.py +602 -0
- zrok2-2.0.0/zrok_api/exceptions.py +216 -0
- zrok2-2.0.0/zrok_api/models/__init__.py +103 -0
- zrok2-2.0.0/zrok_api/models/access201_response.py +89 -0
- zrok2-2.0.0/zrok_api/models/access_request.py +93 -0
- zrok2-2.0.0/zrok_api/models/access_summary.py +105 -0
- zrok2-2.0.0/zrok_api/models/accesses_list.py +95 -0
- zrok2-2.0.0/zrok_api/models/add_frontend_grant_request.py +89 -0
- zrok2-2.0.0/zrok_api/models/add_namespace_frontend_mapping_request.py +91 -0
- zrok2-2.0.0/zrok_api/models/add_namespace_grant_request.py +89 -0
- zrok2-2.0.0/zrok_api/models/add_organization_member_request.py +91 -0
- zrok2-2.0.0/zrok_api/models/auth_user.py +89 -0
- zrok2-2.0.0/zrok_api/models/change_password_request.py +91 -0
- zrok2-2.0.0/zrok_api/models/client_version_check_request.py +87 -0
- zrok2-2.0.0/zrok_api/models/configuration.py +97 -0
- zrok2-2.0.0/zrok_api/models/create_frontend201_response.py +87 -0
- zrok2-2.0.0/zrok_api/models/create_frontend_request.py +105 -0
- zrok2-2.0.0/zrok_api/models/create_identity201_response.py +89 -0
- zrok2-2.0.0/zrok_api/models/create_identity_request.py +87 -0
- zrok2-2.0.0/zrok_api/models/create_namespace201_response.py +87 -0
- zrok2-2.0.0/zrok_api/models/create_namespace_request.py +93 -0
- zrok2-2.0.0/zrok_api/models/create_organization201_response.py +87 -0
- zrok2-2.0.0/zrok_api/models/create_organization_request.py +87 -0
- zrok2-2.0.0/zrok_api/models/create_share_name_request.py +89 -0
- zrok2-2.0.0/zrok_api/models/delete_identity_request.py +87 -0
- zrok2-2.0.0/zrok_api/models/disable_request.py +87 -0
- zrok2-2.0.0/zrok_api/models/enable_request.py +89 -0
- zrok2-2.0.0/zrok_api/models/enroll200_response.py +87 -0
- zrok2-2.0.0/zrok_api/models/enroll_request.py +87 -0
- zrok2-2.0.0/zrok_api/models/environment.py +111 -0
- zrok2-2.0.0/zrok_api/models/environment_and_resources.py +111 -0
- zrok2-2.0.0/zrok_api/models/environment_summary.py +105 -0
- zrok2-2.0.0/zrok_api/models/environments_list.py +95 -0
- zrok2-2.0.0/zrok_api/models/frontend.py +103 -0
- zrok2-2.0.0/zrok_api/models/get_sparklines200_response.py +95 -0
- zrok2-2.0.0/zrok_api/models/get_sparklines_request.py +91 -0
- zrok2-2.0.0/zrok_api/models/invite_request.py +89 -0
- zrok2-2.0.0/zrok_api/models/invite_token_generate_request.py +87 -0
- zrok2-2.0.0/zrok_api/models/list_frontend_namespace_mappings200_response_inner.py +93 -0
- zrok2-2.0.0/zrok_api/models/list_frontends200_response_inner.py +101 -0
- zrok2-2.0.0/zrok_api/models/list_memberships200_response.py +95 -0
- zrok2-2.0.0/zrok_api/models/list_memberships200_response_memberships_inner.py +91 -0
- zrok2-2.0.0/zrok_api/models/list_namespaces200_response_inner.py +97 -0
- zrok2-2.0.0/zrok_api/models/list_organization_members200_response.py +95 -0
- zrok2-2.0.0/zrok_api/models/list_organization_members200_response_members_inner.py +89 -0
- zrok2-2.0.0/zrok_api/models/list_organizations200_response.py +95 -0
- zrok2-2.0.0/zrok_api/models/list_organizations200_response_organizations_inner.py +89 -0
- zrok2-2.0.0/zrok_api/models/list_share_namespaces200_response_inner.py +91 -0
- zrok2-2.0.0/zrok_api/models/login_request.py +89 -0
- zrok2-2.0.0/zrok_api/models/metrics.py +101 -0
- zrok2-2.0.0/zrok_api/models/metrics_sample.py +91 -0
- zrok2-2.0.0/zrok_api/models/name.py +97 -0
- zrok2-2.0.0/zrok_api/models/name_selection.py +89 -0
- zrok2-2.0.0/zrok_api/models/overview.py +117 -0
- zrok2-2.0.0/zrok_api/models/overview_names_inner.py +97 -0
- zrok2-2.0.0/zrok_api/models/ping200_response.py +87 -0
- zrok2-2.0.0/zrok_api/models/principal.py +95 -0
- zrok2-2.0.0/zrok_api/models/regenerate_account_token200_response.py +87 -0
- zrok2-2.0.0/zrok_api/models/regenerate_account_token_request.py +87 -0
- zrok2-2.0.0/zrok_api/models/register_request.py +89 -0
- zrok2-2.0.0/zrok_api/models/remote_access_request.py +102 -0
- zrok2-2.0.0/zrok_api/models/remote_share200_response.py +89 -0
- zrok2-2.0.0/zrok_api/models/remote_share_request.py +141 -0
- zrok2-2.0.0/zrok_api/models/remote_status200_response.py +105 -0
- zrok2-2.0.0/zrok_api/models/remote_status200_response_accesses_inner.py +101 -0
- zrok2-2.0.0/zrok_api/models/remote_status200_response_shares_inner.py +105 -0
- zrok2-2.0.0/zrok_api/models/remote_status200_response_shares_inner_failure.py +93 -0
- zrok2-2.0.0/zrok_api/models/remote_unaccess_request.py +89 -0
- zrok2-2.0.0/zrok_api/models/remote_unshare_request.py +89 -0
- zrok2-2.0.0/zrok_api/models/remove_namespace_frontend_mapping_request.py +89 -0
- zrok2-2.0.0/zrok_api/models/remove_organization_member_request.py +89 -0
- zrok2-2.0.0/zrok_api/models/reset_password_request.py +89 -0
- zrok2-2.0.0/zrok_api/models/share.py +115 -0
- zrok2-2.0.0/zrok_api/models/share_http_healthcheck200_response.py +89 -0
- zrok2-2.0.0/zrok_api/models/share_http_healthcheck_request.py +97 -0
- zrok2-2.0.0/zrok_api/models/share_request.py +157 -0
- zrok2-2.0.0/zrok_api/models/share_response.py +89 -0
- zrok2-2.0.0/zrok_api/models/share_summary.py +105 -0
- zrok2-2.0.0/zrok_api/models/shares_list.py +95 -0
- zrok2-2.0.0/zrok_api/models/spark_data_sample.py +89 -0
- zrok2-2.0.0/zrok_api/models/unaccess_request.py +91 -0
- zrok2-2.0.0/zrok_api/models/unshare_request.py +89 -0
- zrok2-2.0.0/zrok_api/models/update_access_request.py +91 -0
- zrok2-2.0.0/zrok_api/models/update_frontend_request.py +95 -0
- zrok2-2.0.0/zrok_api/models/update_namespace_request.py +95 -0
- zrok2-2.0.0/zrok_api/models/update_share_name_request.py +91 -0
- zrok2-2.0.0/zrok_api/models/update_share_request.py +91 -0
- zrok2-2.0.0/zrok_api/models/verify200_response.py +87 -0
- zrok2-2.0.0/zrok_api/models/verify_request.py +87 -0
- zrok2-2.0.0/zrok_api/models/version_inventory200_response.py +87 -0
- zrok2-2.0.0/zrok_api/py.typed +0 -0
- zrok2-2.0.0/zrok_api/rest.py +258 -0
zrok2-2.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: zrok2
|
|
3
|
+
Version: 2.0.0
|
|
4
|
+
Summary: zrok2
|
|
5
|
+
Home-page: https://github.com/openziti/zrok
|
|
6
|
+
Author: NetFoundry
|
|
7
|
+
Author-email: developers@openziti.org
|
|
8
|
+
License: Apache 2.0
|
|
9
|
+
Project-URL: Source, https://github.com/openziti/zrok
|
|
10
|
+
Project-URL: Tracker, https://github.com/openziti/zrok/issues
|
|
11
|
+
Project-URL: Discussion, https://openziti.discourse.group/
|
|
12
|
+
Keywords: zrok,zrok2
|
|
13
|
+
Requires-Python: >3.10.0
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: python_dateutil>=2.8.2
|
|
16
|
+
Requires-Dist: pydantic>=2
|
|
17
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
18
|
+
Requires-Dist: openziti>=1.0.0
|
|
19
|
+
Requires-Dist: urllib3>=2.1.0
|
|
20
|
+
Provides-Extra: test
|
|
21
|
+
Requires-Dist: pytest>=7.0; extra == "test"
|
|
22
|
+
Requires-Dist: pytest-cov; extra == "test"
|
|
23
|
+
Dynamic: description
|
|
24
|
+
Dynamic: keywords
|
|
25
|
+
Dynamic: provides-extra
|
|
26
|
+
Dynamic: requires-dist
|
|
27
|
+
Dynamic: requires-python
|
|
28
|
+
Dynamic: summary
|
|
29
|
+
|
|
30
|
+
Geo-scale, next-generation peer-to-peer sharing platform built on top of OpenZiti.
|
|
31
|
+
|
zrok2-2.0.0/README.md
ADDED
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
# zrok
|
|
2
|
+
zrok client access
|
|
3
|
+
|
|
4
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
|
+
|
|
6
|
+
- API version: 2.0.0
|
|
7
|
+
- Package version: 1.0.0
|
|
8
|
+
- Generator version: 7.14.0
|
|
9
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
|
+
|
|
11
|
+
## Requirements.
|
|
12
|
+
|
|
13
|
+
Python 3.9+
|
|
14
|
+
|
|
15
|
+
## Installation & Usage
|
|
16
|
+
### pip install
|
|
17
|
+
|
|
18
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
22
|
+
```
|
|
23
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
24
|
+
|
|
25
|
+
Then import the package:
|
|
26
|
+
```python
|
|
27
|
+
import zrok_api
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Setuptools
|
|
31
|
+
|
|
32
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
python setup.py install --user
|
|
36
|
+
```
|
|
37
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
38
|
+
|
|
39
|
+
Then import the package:
|
|
40
|
+
```python
|
|
41
|
+
import zrok_api
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Tests
|
|
45
|
+
|
|
46
|
+
Execute `pytest` to run the tests.
|
|
47
|
+
|
|
48
|
+
## Getting Started
|
|
49
|
+
|
|
50
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
|
|
54
|
+
import zrok_api
|
|
55
|
+
from zrok_api.rest import ApiException
|
|
56
|
+
from pprint import pprint
|
|
57
|
+
|
|
58
|
+
# Defining the host is optional and defaults to /api/v2
|
|
59
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
60
|
+
configuration = zrok_api.Configuration(
|
|
61
|
+
host = "/api/v2"
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
# The client must configure the authentication and authorization parameters
|
|
65
|
+
# in accordance with the API server security policy.
|
|
66
|
+
# Examples for each auth method are provided below, use the example that
|
|
67
|
+
# satisfies your auth use case.
|
|
68
|
+
|
|
69
|
+
# Configure API key authorization: key
|
|
70
|
+
configuration.api_key['key'] = os.environ["API_KEY"]
|
|
71
|
+
|
|
72
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
73
|
+
# configuration.api_key_prefix['key'] = 'Bearer'
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
# Enter a context with an instance of the API client
|
|
77
|
+
with zrok_api.ApiClient(configuration) as api_client:
|
|
78
|
+
# Create an instance of the API class
|
|
79
|
+
api_instance = zrok_api.AccountApi(api_client)
|
|
80
|
+
body = zrok_api.ChangePasswordRequest() # ChangePasswordRequest | (optional)
|
|
81
|
+
|
|
82
|
+
try:
|
|
83
|
+
api_instance.change_password(body=body)
|
|
84
|
+
except ApiException as e:
|
|
85
|
+
print("Exception when calling AccountApi->change_password: %s\n" % e)
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## Documentation for API Endpoints
|
|
90
|
+
|
|
91
|
+
All URIs are relative to */api/v2*
|
|
92
|
+
|
|
93
|
+
Class | Method | HTTP request | Description
|
|
94
|
+
------------ | ------------- | ------------- | -------------
|
|
95
|
+
*AccountApi* | [**change_password**](docs/AccountApi.md#change_password) | **POST** /changePassword |
|
|
96
|
+
*AccountApi* | [**invite**](docs/AccountApi.md#invite) | **POST** /invite |
|
|
97
|
+
*AccountApi* | [**login**](docs/AccountApi.md#login) | **POST** /login |
|
|
98
|
+
*AccountApi* | [**regenerate_account_token**](docs/AccountApi.md#regenerate_account_token) | **POST** /regenerateAccountToken |
|
|
99
|
+
*AccountApi* | [**register**](docs/AccountApi.md#register) | **POST** /register |
|
|
100
|
+
*AccountApi* | [**reset_password**](docs/AccountApi.md#reset_password) | **POST** /resetPassword |
|
|
101
|
+
*AccountApi* | [**reset_password_request**](docs/AccountApi.md#reset_password_request) | **POST** /resetPasswordRequest |
|
|
102
|
+
*AccountApi* | [**verify**](docs/AccountApi.md#verify) | **POST** /verify |
|
|
103
|
+
*AdminApi* | [**add_frontend_grant**](docs/AdminApi.md#add_frontend_grant) | **POST** /frontend/grant |
|
|
104
|
+
*AdminApi* | [**add_namespace_frontend_mapping**](docs/AdminApi.md#add_namespace_frontend_mapping) | **POST** /namespace/frontend/mapping |
|
|
105
|
+
*AdminApi* | [**add_namespace_grant**](docs/AdminApi.md#add_namespace_grant) | **POST** /namespace/grant |
|
|
106
|
+
*AdminApi* | [**add_organization_member**](docs/AdminApi.md#add_organization_member) | **POST** /organization/add |
|
|
107
|
+
*AdminApi* | [**create_account**](docs/AdminApi.md#create_account) | **POST** /account |
|
|
108
|
+
*AdminApi* | [**create_frontend**](docs/AdminApi.md#create_frontend) | **POST** /frontend |
|
|
109
|
+
*AdminApi* | [**create_identity**](docs/AdminApi.md#create_identity) | **POST** /identity |
|
|
110
|
+
*AdminApi* | [**create_namespace**](docs/AdminApi.md#create_namespace) | **POST** /namespace |
|
|
111
|
+
*AdminApi* | [**create_organization**](docs/AdminApi.md#create_organization) | **POST** /organization |
|
|
112
|
+
*AdminApi* | [**delete_account**](docs/AdminApi.md#delete_account) | **DELETE** /account |
|
|
113
|
+
*AdminApi* | [**delete_frontend**](docs/AdminApi.md#delete_frontend) | **DELETE** /frontend |
|
|
114
|
+
*AdminApi* | [**delete_frontend_grant**](docs/AdminApi.md#delete_frontend_grant) | **DELETE** /frontend/grant |
|
|
115
|
+
*AdminApi* | [**delete_identity**](docs/AdminApi.md#delete_identity) | **DELETE** /identity |
|
|
116
|
+
*AdminApi* | [**delete_namespace**](docs/AdminApi.md#delete_namespace) | **DELETE** /namespace |
|
|
117
|
+
*AdminApi* | [**delete_organization**](docs/AdminApi.md#delete_organization) | **DELETE** /organization |
|
|
118
|
+
*AdminApi* | [**grants**](docs/AdminApi.md#grants) | **POST** /grants |
|
|
119
|
+
*AdminApi* | [**invite_token_generate**](docs/AdminApi.md#invite_token_generate) | **POST** /invite/token/generate |
|
|
120
|
+
*AdminApi* | [**list_frontend_namespace_mappings**](docs/AdminApi.md#list_frontend_namespace_mappings) | **GET** /frontend/namespace/mapping/{frontendToken} |
|
|
121
|
+
*AdminApi* | [**list_frontends**](docs/AdminApi.md#list_frontends) | **GET** /frontends |
|
|
122
|
+
*AdminApi* | [**list_namespace_frontend_mappings**](docs/AdminApi.md#list_namespace_frontend_mappings) | **GET** /namespace/frontend/mapping/{namespaceToken} |
|
|
123
|
+
*AdminApi* | [**list_namespaces**](docs/AdminApi.md#list_namespaces) | **GET** /namespaces |
|
|
124
|
+
*AdminApi* | [**list_organization_members**](docs/AdminApi.md#list_organization_members) | **POST** /organization/list |
|
|
125
|
+
*AdminApi* | [**list_organizations**](docs/AdminApi.md#list_organizations) | **GET** /organizations |
|
|
126
|
+
*AdminApi* | [**remove_namespace_frontend_mapping**](docs/AdminApi.md#remove_namespace_frontend_mapping) | **DELETE** /namespace/frontend/mapping |
|
|
127
|
+
*AdminApi* | [**remove_namespace_grant**](docs/AdminApi.md#remove_namespace_grant) | **DELETE** /namespace/grant |
|
|
128
|
+
*AdminApi* | [**remove_organization_member**](docs/AdminApi.md#remove_organization_member) | **POST** /organization/remove |
|
|
129
|
+
*AdminApi* | [**update_account_password**](docs/AdminApi.md#update_account_password) | **PATCH** /account |
|
|
130
|
+
*AdminApi* | [**update_frontend**](docs/AdminApi.md#update_frontend) | **PATCH** /frontend |
|
|
131
|
+
*AdminApi* | [**update_namespace**](docs/AdminApi.md#update_namespace) | **PATCH** /namespace |
|
|
132
|
+
*AgentApi* | [**enroll**](docs/AgentApi.md#enroll) | **POST** /agent/enroll |
|
|
133
|
+
*AgentApi* | [**ping**](docs/AgentApi.md#ping) | **POST** /agent/ping |
|
|
134
|
+
*AgentApi* | [**remote_access**](docs/AgentApi.md#remote_access) | **POST** /agent/access |
|
|
135
|
+
*AgentApi* | [**remote_share**](docs/AgentApi.md#remote_share) | **POST** /agent/share |
|
|
136
|
+
*AgentApi* | [**remote_status**](docs/AgentApi.md#remote_status) | **POST** /agent/status |
|
|
137
|
+
*AgentApi* | [**remote_unaccess**](docs/AgentApi.md#remote_unaccess) | **POST** /agent/unaccess |
|
|
138
|
+
*AgentApi* | [**remote_unshare**](docs/AgentApi.md#remote_unshare) | **POST** /agent/unshare |
|
|
139
|
+
*AgentApi* | [**share_http_healthcheck**](docs/AgentApi.md#share_http_healthcheck) | **POST** /agent/share/http-healthcheck |
|
|
140
|
+
*AgentApi* | [**unenroll**](docs/AgentApi.md#unenroll) | **POST** /agent/unenroll |
|
|
141
|
+
*EnvironmentApi* | [**disable**](docs/EnvironmentApi.md#disable) | **POST** /disable |
|
|
142
|
+
*EnvironmentApi* | [**enable**](docs/EnvironmentApi.md#enable) | **POST** /enable |
|
|
143
|
+
*MetadataApi* | [**client_version_check**](docs/MetadataApi.md#client_version_check) | **POST** /clientVersionCheck |
|
|
144
|
+
*MetadataApi* | [**configuration**](docs/MetadataApi.md#configuration) | **GET** /configuration |
|
|
145
|
+
*MetadataApi* | [**get_account_detail**](docs/MetadataApi.md#get_account_detail) | **GET** /detail/account |
|
|
146
|
+
*MetadataApi* | [**get_account_metrics**](docs/MetadataApi.md#get_account_metrics) | **GET** /metrics/account |
|
|
147
|
+
*MetadataApi* | [**get_environment_detail**](docs/MetadataApi.md#get_environment_detail) | **GET** /detail/environment/{envZId} |
|
|
148
|
+
*MetadataApi* | [**get_environment_metrics**](docs/MetadataApi.md#get_environment_metrics) | **GET** /metrics/environment/{envId} |
|
|
149
|
+
*MetadataApi* | [**get_frontend_detail**](docs/MetadataApi.md#get_frontend_detail) | **GET** /detail/frontend/{frontendId} |
|
|
150
|
+
*MetadataApi* | [**get_share_detail**](docs/MetadataApi.md#get_share_detail) | **GET** /detail/share/{shareToken} |
|
|
151
|
+
*MetadataApi* | [**get_share_metrics**](docs/MetadataApi.md#get_share_metrics) | **GET** /metrics/share/{shareToken} |
|
|
152
|
+
*MetadataApi* | [**get_sparklines**](docs/MetadataApi.md#get_sparklines) | **POST** /sparklines |
|
|
153
|
+
*MetadataApi* | [**list_accesses**](docs/MetadataApi.md#list_accesses) | **GET** /accesses |
|
|
154
|
+
*MetadataApi* | [**list_environments**](docs/MetadataApi.md#list_environments) | **GET** /environments |
|
|
155
|
+
*MetadataApi* | [**list_memberships**](docs/MetadataApi.md#list_memberships) | **GET** /memberships |
|
|
156
|
+
*MetadataApi* | [**list_org_members**](docs/MetadataApi.md#list_org_members) | **GET** /members/{organizationToken} |
|
|
157
|
+
*MetadataApi* | [**list_shares**](docs/MetadataApi.md#list_shares) | **GET** /shares |
|
|
158
|
+
*MetadataApi* | [**org_account_overview**](docs/MetadataApi.md#org_account_overview) | **GET** /overview/{organizationToken}/{accountEmail} |
|
|
159
|
+
*MetadataApi* | [**overview**](docs/MetadataApi.md#overview) | **GET** /overview |
|
|
160
|
+
*MetadataApi* | [**version**](docs/MetadataApi.md#version) | **GET** /version |
|
|
161
|
+
*MetadataApi* | [**version_inventory**](docs/MetadataApi.md#version_inventory) | **GET** /versions |
|
|
162
|
+
*ShareApi* | [**access**](docs/ShareApi.md#access) | **POST** /access |
|
|
163
|
+
*ShareApi* | [**create_share_name**](docs/ShareApi.md#create_share_name) | **POST** /share/name |
|
|
164
|
+
*ShareApi* | [**delete_share_name**](docs/ShareApi.md#delete_share_name) | **DELETE** /share/name |
|
|
165
|
+
*ShareApi* | [**list_all_names**](docs/ShareApi.md#list_all_names) | **GET** /share/names |
|
|
166
|
+
*ShareApi* | [**list_names_for_namespace**](docs/ShareApi.md#list_names_for_namespace) | **GET** /share/names/{namespaceToken} |
|
|
167
|
+
*ShareApi* | [**list_share_namespaces**](docs/ShareApi.md#list_share_namespaces) | **GET** /share/namespaces |
|
|
168
|
+
*ShareApi* | [**share**](docs/ShareApi.md#share) | **POST** /share |
|
|
169
|
+
*ShareApi* | [**unaccess**](docs/ShareApi.md#unaccess) | **DELETE** /unaccess |
|
|
170
|
+
*ShareApi* | [**unshare**](docs/ShareApi.md#unshare) | **DELETE** /unshare |
|
|
171
|
+
*ShareApi* | [**update_access**](docs/ShareApi.md#update_access) | **PATCH** /access |
|
|
172
|
+
*ShareApi* | [**update_share**](docs/ShareApi.md#update_share) | **PATCH** /share |
|
|
173
|
+
*ShareApi* | [**update_share_name**](docs/ShareApi.md#update_share_name) | **PATCH** /share/name |
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
## Documentation For Models
|
|
177
|
+
|
|
178
|
+
- [Access201Response](docs/Access201Response.md)
|
|
179
|
+
- [AccessRequest](docs/AccessRequest.md)
|
|
180
|
+
- [AccessSummary](docs/AccessSummary.md)
|
|
181
|
+
- [AccessesList](docs/AccessesList.md)
|
|
182
|
+
- [AddFrontendGrantRequest](docs/AddFrontendGrantRequest.md)
|
|
183
|
+
- [AddNamespaceFrontendMappingRequest](docs/AddNamespaceFrontendMappingRequest.md)
|
|
184
|
+
- [AddNamespaceGrantRequest](docs/AddNamespaceGrantRequest.md)
|
|
185
|
+
- [AddOrganizationMemberRequest](docs/AddOrganizationMemberRequest.md)
|
|
186
|
+
- [AuthUser](docs/AuthUser.md)
|
|
187
|
+
- [ChangePasswordRequest](docs/ChangePasswordRequest.md)
|
|
188
|
+
- [ClientVersionCheckRequest](docs/ClientVersionCheckRequest.md)
|
|
189
|
+
- [Configuration](docs/Configuration.md)
|
|
190
|
+
- [CreateFrontend201Response](docs/CreateFrontend201Response.md)
|
|
191
|
+
- [CreateFrontendRequest](docs/CreateFrontendRequest.md)
|
|
192
|
+
- [CreateIdentity201Response](docs/CreateIdentity201Response.md)
|
|
193
|
+
- [CreateIdentityRequest](docs/CreateIdentityRequest.md)
|
|
194
|
+
- [CreateNamespace201Response](docs/CreateNamespace201Response.md)
|
|
195
|
+
- [CreateNamespaceRequest](docs/CreateNamespaceRequest.md)
|
|
196
|
+
- [CreateOrganization201Response](docs/CreateOrganization201Response.md)
|
|
197
|
+
- [CreateOrganizationRequest](docs/CreateOrganizationRequest.md)
|
|
198
|
+
- [CreateShareNameRequest](docs/CreateShareNameRequest.md)
|
|
199
|
+
- [DeleteIdentityRequest](docs/DeleteIdentityRequest.md)
|
|
200
|
+
- [DisableRequest](docs/DisableRequest.md)
|
|
201
|
+
- [EnableRequest](docs/EnableRequest.md)
|
|
202
|
+
- [Enroll200Response](docs/Enroll200Response.md)
|
|
203
|
+
- [EnrollRequest](docs/EnrollRequest.md)
|
|
204
|
+
- [Environment](docs/Environment.md)
|
|
205
|
+
- [EnvironmentAndResources](docs/EnvironmentAndResources.md)
|
|
206
|
+
- [EnvironmentSummary](docs/EnvironmentSummary.md)
|
|
207
|
+
- [EnvironmentsList](docs/EnvironmentsList.md)
|
|
208
|
+
- [Frontend](docs/Frontend.md)
|
|
209
|
+
- [GetSparklines200Response](docs/GetSparklines200Response.md)
|
|
210
|
+
- [GetSparklinesRequest](docs/GetSparklinesRequest.md)
|
|
211
|
+
- [InviteRequest](docs/InviteRequest.md)
|
|
212
|
+
- [InviteTokenGenerateRequest](docs/InviteTokenGenerateRequest.md)
|
|
213
|
+
- [ListFrontendNamespaceMappings200ResponseInner](docs/ListFrontendNamespaceMappings200ResponseInner.md)
|
|
214
|
+
- [ListFrontends200ResponseInner](docs/ListFrontends200ResponseInner.md)
|
|
215
|
+
- [ListMemberships200Response](docs/ListMemberships200Response.md)
|
|
216
|
+
- [ListMemberships200ResponseMembershipsInner](docs/ListMemberships200ResponseMembershipsInner.md)
|
|
217
|
+
- [ListNamespaces200ResponseInner](docs/ListNamespaces200ResponseInner.md)
|
|
218
|
+
- [ListOrganizationMembers200Response](docs/ListOrganizationMembers200Response.md)
|
|
219
|
+
- [ListOrganizationMembers200ResponseMembersInner](docs/ListOrganizationMembers200ResponseMembersInner.md)
|
|
220
|
+
- [ListOrganizations200Response](docs/ListOrganizations200Response.md)
|
|
221
|
+
- [ListOrganizations200ResponseOrganizationsInner](docs/ListOrganizations200ResponseOrganizationsInner.md)
|
|
222
|
+
- [ListShareNamespaces200ResponseInner](docs/ListShareNamespaces200ResponseInner.md)
|
|
223
|
+
- [LoginRequest](docs/LoginRequest.md)
|
|
224
|
+
- [Metrics](docs/Metrics.md)
|
|
225
|
+
- [MetricsSample](docs/MetricsSample.md)
|
|
226
|
+
- [Name](docs/Name.md)
|
|
227
|
+
- [NameSelection](docs/NameSelection.md)
|
|
228
|
+
- [Overview](docs/Overview.md)
|
|
229
|
+
- [OverviewNamesInner](docs/OverviewNamesInner.md)
|
|
230
|
+
- [Ping200Response](docs/Ping200Response.md)
|
|
231
|
+
- [Principal](docs/Principal.md)
|
|
232
|
+
- [RegenerateAccountToken200Response](docs/RegenerateAccountToken200Response.md)
|
|
233
|
+
- [RegenerateAccountTokenRequest](docs/RegenerateAccountTokenRequest.md)
|
|
234
|
+
- [RegisterRequest](docs/RegisterRequest.md)
|
|
235
|
+
- [RemoteAccessRequest](docs/RemoteAccessRequest.md)
|
|
236
|
+
- [RemoteShare200Response](docs/RemoteShare200Response.md)
|
|
237
|
+
- [RemoteShareRequest](docs/RemoteShareRequest.md)
|
|
238
|
+
- [RemoteStatus200Response](docs/RemoteStatus200Response.md)
|
|
239
|
+
- [RemoteStatus200ResponseAccessesInner](docs/RemoteStatus200ResponseAccessesInner.md)
|
|
240
|
+
- [RemoteStatus200ResponseSharesInner](docs/RemoteStatus200ResponseSharesInner.md)
|
|
241
|
+
- [RemoteStatus200ResponseSharesInnerFailure](docs/RemoteStatus200ResponseSharesInnerFailure.md)
|
|
242
|
+
- [RemoteUnaccessRequest](docs/RemoteUnaccessRequest.md)
|
|
243
|
+
- [RemoteUnshareRequest](docs/RemoteUnshareRequest.md)
|
|
244
|
+
- [RemoveNamespaceFrontendMappingRequest](docs/RemoveNamespaceFrontendMappingRequest.md)
|
|
245
|
+
- [RemoveOrganizationMemberRequest](docs/RemoveOrganizationMemberRequest.md)
|
|
246
|
+
- [ResetPasswordRequest](docs/ResetPasswordRequest.md)
|
|
247
|
+
- [Share](docs/Share.md)
|
|
248
|
+
- [ShareHttpHealthcheck200Response](docs/ShareHttpHealthcheck200Response.md)
|
|
249
|
+
- [ShareHttpHealthcheckRequest](docs/ShareHttpHealthcheckRequest.md)
|
|
250
|
+
- [ShareRequest](docs/ShareRequest.md)
|
|
251
|
+
- [ShareResponse](docs/ShareResponse.md)
|
|
252
|
+
- [ShareSummary](docs/ShareSummary.md)
|
|
253
|
+
- [SharesList](docs/SharesList.md)
|
|
254
|
+
- [SparkDataSample](docs/SparkDataSample.md)
|
|
255
|
+
- [UnaccessRequest](docs/UnaccessRequest.md)
|
|
256
|
+
- [UnshareRequest](docs/UnshareRequest.md)
|
|
257
|
+
- [UpdateAccessRequest](docs/UpdateAccessRequest.md)
|
|
258
|
+
- [UpdateFrontendRequest](docs/UpdateFrontendRequest.md)
|
|
259
|
+
- [UpdateNamespaceRequest](docs/UpdateNamespaceRequest.md)
|
|
260
|
+
- [UpdateShareNameRequest](docs/UpdateShareNameRequest.md)
|
|
261
|
+
- [UpdateShareRequest](docs/UpdateShareRequest.md)
|
|
262
|
+
- [Verify200Response](docs/Verify200Response.md)
|
|
263
|
+
- [VerifyRequest](docs/VerifyRequest.md)
|
|
264
|
+
- [VersionInventory200Response](docs/VersionInventory200Response.md)
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
<a id="documentation-for-authorization"></a>
|
|
268
|
+
## Documentation For Authorization
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
Authentication schemes defined for the API:
|
|
272
|
+
<a id="key"></a>
|
|
273
|
+
### key
|
|
274
|
+
|
|
275
|
+
- **Type**: API key
|
|
276
|
+
- **API key parameter name**: x-token
|
|
277
|
+
- **Location**: HTTP header
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
## Author
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
zrok2-2.0.0/setup.cfg
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[metadata]
|
|
2
|
+
author = NetFoundry
|
|
3
|
+
author_email = developers@openziti.org
|
|
4
|
+
description = zrok Python SDK
|
|
5
|
+
long_description = file: README.md
|
|
6
|
+
long_description_content_type = text/markdown
|
|
7
|
+
url = https://github.com/openziti/zrok
|
|
8
|
+
license = Apache 2.0
|
|
9
|
+
project_urls =
|
|
10
|
+
Source = https://github.com/openziti/zrok
|
|
11
|
+
Tracker = https://github.com/openziti/zrok/issues
|
|
12
|
+
Discussion = https://openziti.discourse.group/
|
|
13
|
+
|
|
14
|
+
[options]
|
|
15
|
+
package_dir =
|
|
16
|
+
= .
|
|
17
|
+
packages = find:
|
|
18
|
+
|
|
19
|
+
[options.packages.find]
|
|
20
|
+
where = .
|
|
21
|
+
|
|
22
|
+
[flake8]
|
|
23
|
+
exclude = zrok_api, build
|
|
24
|
+
max-line-length = 120
|
|
25
|
+
|
|
26
|
+
[versioneer]
|
|
27
|
+
VCS = git
|
|
28
|
+
style = pep440-pre
|
|
29
|
+
versionfile_source = zrok2/_version.py
|
|
30
|
+
versionfile_build = zrok2/_version.py
|
|
31
|
+
tag_prefix = v
|
|
32
|
+
parentdir_prefix = zrok2-
|
|
33
|
+
|
|
34
|
+
[egg_info]
|
|
35
|
+
tag_build =
|
|
36
|
+
tag_date = 0
|
|
37
|
+
|
zrok2-2.0.0/setup.py
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
from setuptools import setup, find_packages # noqa: H301
|
|
2
|
+
import os
|
|
3
|
+
import versioneer
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
import re
|
|
6
|
+
|
|
7
|
+
NAME = os.getenv('ZROK_PY_NAME', "zrok2")
|
|
8
|
+
VERSION = "2.0.0"
|
|
9
|
+
|
|
10
|
+
OVERRIDES = {
|
|
11
|
+
# Override specific packages with version constraints different from the generated requirements.txt
|
|
12
|
+
"openziti": "openziti >= 1.0.0",
|
|
13
|
+
# urllib3 2.1.0 introduced breaking changes that are implemented by openapi-generator 7.12.0
|
|
14
|
+
"urllib3": "urllib3 >= 2.1.0",
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# Parse the generated requirements.txt
|
|
19
|
+
def parse_requirements(filename):
|
|
20
|
+
requirements = []
|
|
21
|
+
if not Path(filename).exists():
|
|
22
|
+
return requirements
|
|
23
|
+
|
|
24
|
+
with open(filename, 'r') as f:
|
|
25
|
+
for line in f:
|
|
26
|
+
line = line.strip()
|
|
27
|
+
if not line or line.startswith('#'):
|
|
28
|
+
continue
|
|
29
|
+
|
|
30
|
+
# Extract package name (everything before any version specifier)
|
|
31
|
+
package_name = re.split(r'[<>=~]', line)[0].strip()
|
|
32
|
+
|
|
33
|
+
# If we have an override for this package, skip it
|
|
34
|
+
if package_name in OVERRIDES:
|
|
35
|
+
continue
|
|
36
|
+
|
|
37
|
+
requirements.append(line)
|
|
38
|
+
|
|
39
|
+
return requirements
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# Combine requirements from requirements.txt and overrides
|
|
43
|
+
requirements_file = Path(__file__).parent / "requirements.txt"
|
|
44
|
+
REQUIRES = parse_requirements(requirements_file) + list(OVERRIDES.values())
|
|
45
|
+
|
|
46
|
+
setup(
|
|
47
|
+
name=NAME,
|
|
48
|
+
cmdclass=versioneer.get_cmdclass(dict()),
|
|
49
|
+
version=versioneer.get_version(),
|
|
50
|
+
description="zrok2",
|
|
51
|
+
author_email="",
|
|
52
|
+
url="",
|
|
53
|
+
keywords=["zrok", "zrok2"],
|
|
54
|
+
install_requires=REQUIRES,
|
|
55
|
+
extras_require={
|
|
56
|
+
"test": ["pytest>=7.0", "pytest-cov"],
|
|
57
|
+
},
|
|
58
|
+
python_requires='>3.10.0',
|
|
59
|
+
packages=find_packages(),
|
|
60
|
+
include_package_data=True,
|
|
61
|
+
package_data={
|
|
62
|
+
'': ['requirements.txt'], # Include the generated requirements.txt in the package
|
|
63
|
+
},
|
|
64
|
+
long_description="""\
|
|
65
|
+
Geo-scale, next-generation peer-to-peer sharing platform built on top of OpenZiti.
|
|
66
|
+
"""
|
|
67
|
+
)
|
|
File without changes
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
zrok
|
|
5
|
+
|
|
6
|
+
zrok client access
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from zrok_api.models.access201_response import Access201Response
|
|
18
|
+
|
|
19
|
+
class TestAccess201Response(unittest.TestCase):
|
|
20
|
+
"""Access201Response unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> Access201Response:
|
|
29
|
+
"""Test Access201Response
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `Access201Response`
|
|
34
|
+
"""
|
|
35
|
+
model = Access201Response()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return Access201Response(
|
|
38
|
+
frontend_token = '',
|
|
39
|
+
backend_mode = ''
|
|
40
|
+
)
|
|
41
|
+
else:
|
|
42
|
+
return Access201Response(
|
|
43
|
+
)
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
def testAccess201Response(self):
|
|
47
|
+
"""Test Access201Response"""
|
|
48
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
49
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
50
|
+
|
|
51
|
+
if __name__ == '__main__':
|
|
52
|
+
unittest.main()
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
zrok
|
|
5
|
+
|
|
6
|
+
zrok client access
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from zrok_api.models.access_request import AccessRequest
|
|
18
|
+
|
|
19
|
+
class TestAccessRequest(unittest.TestCase):
|
|
20
|
+
"""AccessRequest unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> AccessRequest:
|
|
29
|
+
"""Test AccessRequest
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `AccessRequest`
|
|
34
|
+
"""
|
|
35
|
+
model = AccessRequest()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return AccessRequest(
|
|
38
|
+
env_zid = '',
|
|
39
|
+
share_token = '',
|
|
40
|
+
bind_address = '',
|
|
41
|
+
description = ''
|
|
42
|
+
)
|
|
43
|
+
else:
|
|
44
|
+
return AccessRequest(
|
|
45
|
+
)
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
def testAccessRequest(self):
|
|
49
|
+
"""Test AccessRequest"""
|
|
50
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
51
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
52
|
+
|
|
53
|
+
if __name__ == '__main__':
|
|
54
|
+
unittest.main()
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
zrok
|
|
5
|
+
|
|
6
|
+
zrok client access
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from zrok_api.models.access_summary import AccessSummary
|
|
18
|
+
|
|
19
|
+
class TestAccessSummary(unittest.TestCase):
|
|
20
|
+
"""AccessSummary unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> AccessSummary:
|
|
29
|
+
"""Test AccessSummary
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `AccessSummary`
|
|
34
|
+
"""
|
|
35
|
+
model = AccessSummary()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return AccessSummary(
|
|
38
|
+
id = 56,
|
|
39
|
+
frontend_token = '',
|
|
40
|
+
env_zid = '',
|
|
41
|
+
share_token = '',
|
|
42
|
+
backend_mode = '',
|
|
43
|
+
bind_address = '',
|
|
44
|
+
description = '',
|
|
45
|
+
limited = True,
|
|
46
|
+
created_at = 56,
|
|
47
|
+
updated_at = 56
|
|
48
|
+
)
|
|
49
|
+
else:
|
|
50
|
+
return AccessSummary(
|
|
51
|
+
)
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
def testAccessSummary(self):
|
|
55
|
+
"""Test AccessSummary"""
|
|
56
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
57
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
58
|
+
|
|
59
|
+
if __name__ == '__main__':
|
|
60
|
+
unittest.main()
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
zrok
|
|
5
|
+
|
|
6
|
+
zrok client access
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from zrok_api.models.accesses_list import AccessesList
|
|
18
|
+
|
|
19
|
+
class TestAccessesList(unittest.TestCase):
|
|
20
|
+
"""AccessesList unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> AccessesList:
|
|
29
|
+
"""Test AccessesList
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `AccessesList`
|
|
34
|
+
"""
|
|
35
|
+
model = AccessesList()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return AccessesList(
|
|
38
|
+
accesses = [
|
|
39
|
+
zrok_api.models.access_summary.accessSummary(
|
|
40
|
+
id = 56,
|
|
41
|
+
frontend_token = '',
|
|
42
|
+
env_zid = '',
|
|
43
|
+
share_token = '',
|
|
44
|
+
backend_mode = '',
|
|
45
|
+
bind_address = '',
|
|
46
|
+
description = '',
|
|
47
|
+
limited = True,
|
|
48
|
+
created_at = 56,
|
|
49
|
+
updated_at = 56, )
|
|
50
|
+
]
|
|
51
|
+
)
|
|
52
|
+
else:
|
|
53
|
+
return AccessesList(
|
|
54
|
+
)
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
def testAccessesList(self):
|
|
58
|
+
"""Test AccessesList"""
|
|
59
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
60
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
61
|
+
|
|
62
|
+
if __name__ == '__main__':
|
|
63
|
+
unittest.main()
|