pulp-gem-client 0.7.2__tar.gz → 0.7.4__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.
- pulp_gem_client-0.7.4/PKG-INFO +246 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/README.md +3 -3
- pulp_gem_client-0.7.4/pulp_gem_client.egg-info/PKG-INFO +246 -0
- pulp_gem_client-0.7.4/pulp_gem_client.egg-info/requires.txt +5 -0
- pulp_gem_client-0.7.4/pulpcore/client/pulp_gem/__init__.py +126 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/api/distributions_gem_api.py +16 -10
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/api/remotes_gem_api.py +16 -10
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/api/repositories_gem_api.py +16 -10
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/api_client.py +6 -2
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/configuration.py +10 -3
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/exceptions.py +17 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/async_operation_response.py +1 -3
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/content_summary_response.py +1 -5
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/gem_gem_content_response.py +1 -17
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/gem_gem_distribution.py +1 -10
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/gem_gem_distribution_response.py +1 -16
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/gem_gem_publication.py +1 -4
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/gem_gem_publication_response.py +1 -8
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/gem_gem_remote.py +1 -26
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/gem_gem_remote_response.py +1 -26
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/gem_gem_remote_response_hidden_fields_inner.py +1 -4
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/gem_gem_repository.py +1 -7
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/gem_gem_repository_response.py +1 -13
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/my_permissions_response.py +1 -3
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/nested_role.py +1 -5
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/nested_role_response.py +1 -5
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/object_roles_response.py +1 -3
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/paginated_repository_version_response_list.py +1 -6
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/paginatedgem_gem_content_response_list.py +1 -6
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/paginatedgem_gem_distribution_response_list.py +1 -6
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/paginatedgem_gem_publication_response_list.py +1 -6
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/paginatedgem_gem_remote_response_list.py +1 -6
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/paginatedgem_gem_repository_response_list.py +1 -6
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/patchedgem_gem_distribution.py +1 -10
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/patchedgem_gem_remote.py +1 -26
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/patchedgem_gem_repository.py +1 -7
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/repair.py +1 -3
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/repository_add_remove_content.py +1 -5
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/repository_sync_url.py +1 -4
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/repository_version_response.py +1 -11
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/set_label.py +1 -4
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/set_label_response.py +1 -4
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/unset_label.py +1 -3
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/unset_label_response.py +1 -4
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/rest.py +1 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pyproject.toml +21 -14
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/setup.py +6 -6
- pulp_gem-client-0.7.2/PKG-INFO +0 -13
- pulp_gem-client-0.7.2/pulp_gem_client.egg-info/PKG-INFO +0 -13
- pulp_gem-client-0.7.2/pulp_gem_client.egg-info/requires.txt +0 -4
- pulp_gem-client-0.7.2/pulpcore/client/pulp_gem/__init__.py +0 -73
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulp_gem_client.egg-info/SOURCES.txt +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulp_gem_client.egg-info/dependency_links.txt +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulp_gem_client.egg-info/top_level.txt +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/__init__.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/__init__.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/api/__init__.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/api/content_gem_api.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/api/publications_gem_api.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/api/repositories_gem_versions_api.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/api_response.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/__init__.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/models/policy_enum.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/pulpcore/client/pulp_gem/py.typed +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/setup.cfg +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_async_operation_response.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_content_gem_api.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_content_summary_response.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_distributions_gem_api.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_gem_gem_content_response.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_gem_gem_distribution.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_gem_gem_distribution_response.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_gem_gem_publication.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_gem_gem_publication_response.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_gem_gem_remote.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_gem_gem_remote_response.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_gem_gem_remote_response_hidden_fields_inner.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_gem_gem_repository.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_gem_gem_repository_response.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_my_permissions_response.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_nested_role.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_nested_role_response.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_object_roles_response.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_paginated_repository_version_response_list.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_paginatedgem_gem_content_response_list.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_paginatedgem_gem_distribution_response_list.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_paginatedgem_gem_publication_response_list.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_paginatedgem_gem_remote_response_list.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_paginatedgem_gem_repository_response_list.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_patchedgem_gem_distribution.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_patchedgem_gem_remote.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_patchedgem_gem_repository.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_policy_enum.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_publications_gem_api.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_remotes_gem_api.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_repair.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_repositories_gem_api.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_repositories_gem_versions_api.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_repository_add_remove_content.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_repository_sync_url.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_repository_version_response.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_set_label.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_set_label_response.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_unset_label.py +0 -0
- {pulp_gem-client-0.7.2 → pulp_gem_client-0.7.4}/test/test_unset_label_response.py +0 -0
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pulp_gem-client
|
|
3
|
+
Version: 0.7.4
|
|
4
|
+
Summary: Pulp 3 API
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: Pulp Team
|
|
7
|
+
Author-email: Pulp Team <pulp-list@redhat.com>
|
|
8
|
+
License: GPL-2.0-or-later
|
|
9
|
+
Project-URL: Repository, https://github.com/GIT_USER_ID/GIT_REPO_ID
|
|
10
|
+
Keywords: OpenAPI,OpenAPI-Generator,Pulp 3 API
|
|
11
|
+
Requires-Python: >= 3.9
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
14
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
15
|
+
Requires-Dist: pydantic>=2
|
|
16
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
17
|
+
Requires-Dist: lazy-imports<2,>=1
|
|
18
|
+
Dynamic: author
|
|
19
|
+
Dynamic: requires-python
|
|
20
|
+
|
|
21
|
+
# pulp_gem-client
|
|
22
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
|
23
|
+
|
|
24
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
25
|
+
|
|
26
|
+
- API version: v3
|
|
27
|
+
- Package version: 0.7.4
|
|
28
|
+
- Generator version: 7.14.0
|
|
29
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
30
|
+
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
31
|
+
|
|
32
|
+
## Requirements.
|
|
33
|
+
|
|
34
|
+
Python 3.9+
|
|
35
|
+
|
|
36
|
+
## Installation & Usage
|
|
37
|
+
### pip install
|
|
38
|
+
|
|
39
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
43
|
+
```
|
|
44
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
45
|
+
|
|
46
|
+
Then import the package:
|
|
47
|
+
```python
|
|
48
|
+
import pulpcore.client.pulp_gem
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Setuptools
|
|
52
|
+
|
|
53
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
python setup.py install --user
|
|
57
|
+
```
|
|
58
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
59
|
+
|
|
60
|
+
Then import the package:
|
|
61
|
+
```python
|
|
62
|
+
import pulpcore.client.pulp_gem
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Tests
|
|
66
|
+
|
|
67
|
+
Execute `pytest` to run the tests.
|
|
68
|
+
|
|
69
|
+
## Getting Started
|
|
70
|
+
|
|
71
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
72
|
+
|
|
73
|
+
```python
|
|
74
|
+
|
|
75
|
+
import pulpcore.client.pulp_gem
|
|
76
|
+
from pulpcore.client.pulp_gem.rest import ApiException
|
|
77
|
+
from pprint import pprint
|
|
78
|
+
|
|
79
|
+
# Defining the host is optional and defaults to http://localhost:24817
|
|
80
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
81
|
+
configuration = pulpcore.client.pulp_gem.Configuration(
|
|
82
|
+
host = "http://localhost:24817"
|
|
83
|
+
)
|
|
84
|
+
|
|
85
|
+
# The client must configure the authentication and authorization parameters
|
|
86
|
+
# in accordance with the API server security policy.
|
|
87
|
+
# Examples for each auth method are provided below, use the example that
|
|
88
|
+
# satisfies your auth use case.
|
|
89
|
+
|
|
90
|
+
# Configure HTTP basic authorization: basicAuth
|
|
91
|
+
configuration = pulpcore.client.pulp_gem.Configuration(
|
|
92
|
+
username = os.environ["USERNAME"],
|
|
93
|
+
password = os.environ["PASSWORD"]
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
# Configure API key authorization: cookieAuth
|
|
97
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
98
|
+
|
|
99
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
100
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
# Enter a context with an instance of the API client
|
|
104
|
+
with pulpcore.client.pulp_gem.ApiClient(configuration) as api_client:
|
|
105
|
+
# Create an instance of the API class
|
|
106
|
+
api_instance = pulpcore.client.pulp_gem.ContentGemApi(api_client)
|
|
107
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
108
|
+
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
|
|
109
|
+
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
110
|
+
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
|
|
111
|
+
file = None # bytearray | An uploaded file that should be turned into the artifact of the content unit. (optional)
|
|
112
|
+
|
|
113
|
+
try:
|
|
114
|
+
# Create a gem content
|
|
115
|
+
api_response = api_instance.create(x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file)
|
|
116
|
+
print("The response of ContentGemApi->create:\n")
|
|
117
|
+
pprint(api_response)
|
|
118
|
+
except ApiException as e:
|
|
119
|
+
print("Exception when calling ContentGemApi->create: %s\n" % e)
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## Documentation for API Endpoints
|
|
124
|
+
|
|
125
|
+
All URIs are relative to *http://localhost:24817*
|
|
126
|
+
|
|
127
|
+
Class | Method | HTTP request | Description
|
|
128
|
+
------------ | ------------- | ------------- | -------------
|
|
129
|
+
*ContentGemApi* | [**create**](docs/ContentGemApi.md#create) | **POST** /pulp/api/v3/content/gem/gem/ | Create a gem content
|
|
130
|
+
*ContentGemApi* | [**list**](docs/ContentGemApi.md#list) | **GET** /pulp/api/v3/content/gem/gem/ | List gem contents
|
|
131
|
+
*ContentGemApi* | [**read**](docs/ContentGemApi.md#read) | **GET** {gem_gem_content_href} | Inspect a gem content
|
|
132
|
+
*ContentGemApi* | [**set_label**](docs/ContentGemApi.md#set_label) | **POST** {gem_gem_content_href}set_label/ | Set a label
|
|
133
|
+
*ContentGemApi* | [**unset_label**](docs/ContentGemApi.md#unset_label) | **POST** {gem_gem_content_href}unset_label/ | Unset a label
|
|
134
|
+
*DistributionsGemApi* | [**add_role**](docs/DistributionsGemApi.md#add_role) | **POST** {gem_gem_distribution_href}add_role/ | Add a role
|
|
135
|
+
*DistributionsGemApi* | [**create**](docs/DistributionsGemApi.md#create) | **POST** /pulp/api/v3/distributions/gem/gem/ | Create a gem distribution
|
|
136
|
+
*DistributionsGemApi* | [**delete**](docs/DistributionsGemApi.md#delete) | **DELETE** {gem_gem_distribution_href} | Delete a gem distribution
|
|
137
|
+
*DistributionsGemApi* | [**list**](docs/DistributionsGemApi.md#list) | **GET** /pulp/api/v3/distributions/gem/gem/ | List gem distributions
|
|
138
|
+
*DistributionsGemApi* | [**list_roles**](docs/DistributionsGemApi.md#list_roles) | **GET** {gem_gem_distribution_href}list_roles/ | List roles
|
|
139
|
+
*DistributionsGemApi* | [**my_permissions**](docs/DistributionsGemApi.md#my_permissions) | **GET** {gem_gem_distribution_href}my_permissions/ | List user permissions
|
|
140
|
+
*DistributionsGemApi* | [**partial_update**](docs/DistributionsGemApi.md#partial_update) | **PATCH** {gem_gem_distribution_href} | Update a gem distribution
|
|
141
|
+
*DistributionsGemApi* | [**read**](docs/DistributionsGemApi.md#read) | **GET** {gem_gem_distribution_href} | Inspect a gem distribution
|
|
142
|
+
*DistributionsGemApi* | [**remove_role**](docs/DistributionsGemApi.md#remove_role) | **POST** {gem_gem_distribution_href}remove_role/ | Remove a role
|
|
143
|
+
*DistributionsGemApi* | [**set_label**](docs/DistributionsGemApi.md#set_label) | **POST** {gem_gem_distribution_href}set_label/ | Set a label
|
|
144
|
+
*DistributionsGemApi* | [**unset_label**](docs/DistributionsGemApi.md#unset_label) | **POST** {gem_gem_distribution_href}unset_label/ | Unset a label
|
|
145
|
+
*DistributionsGemApi* | [**update**](docs/DistributionsGemApi.md#update) | **PUT** {gem_gem_distribution_href} | Update a gem distribution
|
|
146
|
+
*PublicationsGemApi* | [**add_role**](docs/PublicationsGemApi.md#add_role) | **POST** {gem_gem_publication_href}add_role/ | Add a role
|
|
147
|
+
*PublicationsGemApi* | [**create**](docs/PublicationsGemApi.md#create) | **POST** /pulp/api/v3/publications/gem/gem/ | Create a gem publication
|
|
148
|
+
*PublicationsGemApi* | [**delete**](docs/PublicationsGemApi.md#delete) | **DELETE** {gem_gem_publication_href} | Delete a gem publication
|
|
149
|
+
*PublicationsGemApi* | [**list**](docs/PublicationsGemApi.md#list) | **GET** /pulp/api/v3/publications/gem/gem/ | List gem publications
|
|
150
|
+
*PublicationsGemApi* | [**list_roles**](docs/PublicationsGemApi.md#list_roles) | **GET** {gem_gem_publication_href}list_roles/ | List roles
|
|
151
|
+
*PublicationsGemApi* | [**my_permissions**](docs/PublicationsGemApi.md#my_permissions) | **GET** {gem_gem_publication_href}my_permissions/ | List user permissions
|
|
152
|
+
*PublicationsGemApi* | [**read**](docs/PublicationsGemApi.md#read) | **GET** {gem_gem_publication_href} | Inspect a gem publication
|
|
153
|
+
*PublicationsGemApi* | [**remove_role**](docs/PublicationsGemApi.md#remove_role) | **POST** {gem_gem_publication_href}remove_role/ | Remove a role
|
|
154
|
+
*RemotesGemApi* | [**add_role**](docs/RemotesGemApi.md#add_role) | **POST** {gem_gem_remote_href}add_role/ | Add a role
|
|
155
|
+
*RemotesGemApi* | [**create**](docs/RemotesGemApi.md#create) | **POST** /pulp/api/v3/remotes/gem/gem/ | Create a gem remote
|
|
156
|
+
*RemotesGemApi* | [**delete**](docs/RemotesGemApi.md#delete) | **DELETE** {gem_gem_remote_href} | Delete a gem remote
|
|
157
|
+
*RemotesGemApi* | [**list**](docs/RemotesGemApi.md#list) | **GET** /pulp/api/v3/remotes/gem/gem/ | List gem remotes
|
|
158
|
+
*RemotesGemApi* | [**list_roles**](docs/RemotesGemApi.md#list_roles) | **GET** {gem_gem_remote_href}list_roles/ | List roles
|
|
159
|
+
*RemotesGemApi* | [**my_permissions**](docs/RemotesGemApi.md#my_permissions) | **GET** {gem_gem_remote_href}my_permissions/ | List user permissions
|
|
160
|
+
*RemotesGemApi* | [**partial_update**](docs/RemotesGemApi.md#partial_update) | **PATCH** {gem_gem_remote_href} | Update a gem remote
|
|
161
|
+
*RemotesGemApi* | [**read**](docs/RemotesGemApi.md#read) | **GET** {gem_gem_remote_href} | Inspect a gem remote
|
|
162
|
+
*RemotesGemApi* | [**remove_role**](docs/RemotesGemApi.md#remove_role) | **POST** {gem_gem_remote_href}remove_role/ | Remove a role
|
|
163
|
+
*RemotesGemApi* | [**set_label**](docs/RemotesGemApi.md#set_label) | **POST** {gem_gem_remote_href}set_label/ | Set a label
|
|
164
|
+
*RemotesGemApi* | [**unset_label**](docs/RemotesGemApi.md#unset_label) | **POST** {gem_gem_remote_href}unset_label/ | Unset a label
|
|
165
|
+
*RemotesGemApi* | [**update**](docs/RemotesGemApi.md#update) | **PUT** {gem_gem_remote_href} | Update a gem remote
|
|
166
|
+
*RepositoriesGemApi* | [**add_role**](docs/RepositoriesGemApi.md#add_role) | **POST** {gem_gem_repository_href}add_role/ | Add a role
|
|
167
|
+
*RepositoriesGemApi* | [**create**](docs/RepositoriesGemApi.md#create) | **POST** /pulp/api/v3/repositories/gem/gem/ | Create a gem repository
|
|
168
|
+
*RepositoriesGemApi* | [**delete**](docs/RepositoriesGemApi.md#delete) | **DELETE** {gem_gem_repository_href} | Delete a gem repository
|
|
169
|
+
*RepositoriesGemApi* | [**list**](docs/RepositoriesGemApi.md#list) | **GET** /pulp/api/v3/repositories/gem/gem/ | List gem repositorys
|
|
170
|
+
*RepositoriesGemApi* | [**list_roles**](docs/RepositoriesGemApi.md#list_roles) | **GET** {gem_gem_repository_href}list_roles/ | List roles
|
|
171
|
+
*RepositoriesGemApi* | [**modify**](docs/RepositoriesGemApi.md#modify) | **POST** {gem_gem_repository_href}modify/ | Modify Repository Content
|
|
172
|
+
*RepositoriesGemApi* | [**my_permissions**](docs/RepositoriesGemApi.md#my_permissions) | **GET** {gem_gem_repository_href}my_permissions/ | List user permissions
|
|
173
|
+
*RepositoriesGemApi* | [**partial_update**](docs/RepositoriesGemApi.md#partial_update) | **PATCH** {gem_gem_repository_href} | Update a gem repository
|
|
174
|
+
*RepositoriesGemApi* | [**read**](docs/RepositoriesGemApi.md#read) | **GET** {gem_gem_repository_href} | Inspect a gem repository
|
|
175
|
+
*RepositoriesGemApi* | [**remove_role**](docs/RepositoriesGemApi.md#remove_role) | **POST** {gem_gem_repository_href}remove_role/ | Remove a role
|
|
176
|
+
*RepositoriesGemApi* | [**set_label**](docs/RepositoriesGemApi.md#set_label) | **POST** {gem_gem_repository_href}set_label/ | Set a label
|
|
177
|
+
*RepositoriesGemApi* | [**sync**](docs/RepositoriesGemApi.md#sync) | **POST** {gem_gem_repository_href}sync/ | Sync from a remote
|
|
178
|
+
*RepositoriesGemApi* | [**unset_label**](docs/RepositoriesGemApi.md#unset_label) | **POST** {gem_gem_repository_href}unset_label/ | Unset a label
|
|
179
|
+
*RepositoriesGemApi* | [**update**](docs/RepositoriesGemApi.md#update) | **PUT** {gem_gem_repository_href} | Update a gem repository
|
|
180
|
+
*RepositoriesGemVersionsApi* | [**delete**](docs/RepositoriesGemVersionsApi.md#delete) | **DELETE** {gem_gem_repository_version_href} | Delete a repository version
|
|
181
|
+
*RepositoriesGemVersionsApi* | [**list**](docs/RepositoriesGemVersionsApi.md#list) | **GET** {gem_gem_repository_href}versions/ | List repository versions
|
|
182
|
+
*RepositoriesGemVersionsApi* | [**read**](docs/RepositoriesGemVersionsApi.md#read) | **GET** {gem_gem_repository_version_href} | Inspect a repository version
|
|
183
|
+
*RepositoriesGemVersionsApi* | [**repair**](docs/RepositoriesGemVersionsApi.md#repair) | **POST** {gem_gem_repository_version_href}repair/ |
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
## Documentation For Models
|
|
187
|
+
|
|
188
|
+
- [AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
|
189
|
+
- [ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
|
190
|
+
- [GemGemContentResponse](docs/GemGemContentResponse.md)
|
|
191
|
+
- [GemGemDistribution](docs/GemGemDistribution.md)
|
|
192
|
+
- [GemGemDistributionResponse](docs/GemGemDistributionResponse.md)
|
|
193
|
+
- [GemGemPublication](docs/GemGemPublication.md)
|
|
194
|
+
- [GemGemPublicationResponse](docs/GemGemPublicationResponse.md)
|
|
195
|
+
- [GemGemRemote](docs/GemGemRemote.md)
|
|
196
|
+
- [GemGemRemoteResponse](docs/GemGemRemoteResponse.md)
|
|
197
|
+
- [GemGemRemoteResponseHiddenFieldsInner](docs/GemGemRemoteResponseHiddenFieldsInner.md)
|
|
198
|
+
- [GemGemRepository](docs/GemGemRepository.md)
|
|
199
|
+
- [GemGemRepositoryResponse](docs/GemGemRepositoryResponse.md)
|
|
200
|
+
- [MyPermissionsResponse](docs/MyPermissionsResponse.md)
|
|
201
|
+
- [NestedRole](docs/NestedRole.md)
|
|
202
|
+
- [NestedRoleResponse](docs/NestedRoleResponse.md)
|
|
203
|
+
- [ObjectRolesResponse](docs/ObjectRolesResponse.md)
|
|
204
|
+
- [PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
|
205
|
+
- [PaginatedgemGemContentResponseList](docs/PaginatedgemGemContentResponseList.md)
|
|
206
|
+
- [PaginatedgemGemDistributionResponseList](docs/PaginatedgemGemDistributionResponseList.md)
|
|
207
|
+
- [PaginatedgemGemPublicationResponseList](docs/PaginatedgemGemPublicationResponseList.md)
|
|
208
|
+
- [PaginatedgemGemRemoteResponseList](docs/PaginatedgemGemRemoteResponseList.md)
|
|
209
|
+
- [PaginatedgemGemRepositoryResponseList](docs/PaginatedgemGemRepositoryResponseList.md)
|
|
210
|
+
- [PatchedgemGemDistribution](docs/PatchedgemGemDistribution.md)
|
|
211
|
+
- [PatchedgemGemRemote](docs/PatchedgemGemRemote.md)
|
|
212
|
+
- [PatchedgemGemRepository](docs/PatchedgemGemRepository.md)
|
|
213
|
+
- [PolicyEnum](docs/PolicyEnum.md)
|
|
214
|
+
- [Repair](docs/Repair.md)
|
|
215
|
+
- [RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
|
216
|
+
- [RepositorySyncURL](docs/RepositorySyncURL.md)
|
|
217
|
+
- [RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
|
218
|
+
- [SetLabel](docs/SetLabel.md)
|
|
219
|
+
- [SetLabelResponse](docs/SetLabelResponse.md)
|
|
220
|
+
- [UnsetLabel](docs/UnsetLabel.md)
|
|
221
|
+
- [UnsetLabelResponse](docs/UnsetLabelResponse.md)
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
<a id="documentation-for-authorization"></a>
|
|
225
|
+
## Documentation For Authorization
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
Authentication schemes defined for the API:
|
|
229
|
+
<a id="basicAuth"></a>
|
|
230
|
+
### basicAuth
|
|
231
|
+
|
|
232
|
+
- **Type**: HTTP basic authentication
|
|
233
|
+
|
|
234
|
+
<a id="cookieAuth"></a>
|
|
235
|
+
### cookieAuth
|
|
236
|
+
|
|
237
|
+
- **Type**: API key
|
|
238
|
+
- **API key parameter name**: sessionid
|
|
239
|
+
- **Location**:
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
## Author
|
|
243
|
+
|
|
244
|
+
pulp-list@redhat.com
|
|
245
|
+
|
|
246
|
+
|
|
@@ -4,14 +4,14 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
4
4
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
5
|
|
|
6
6
|
- API version: v3
|
|
7
|
-
- Package version: 0.7.
|
|
8
|
-
- Generator version: 7.
|
|
7
|
+
- Package version: 0.7.4
|
|
8
|
+
- Generator version: 7.14.0
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
10
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
11
11
|
|
|
12
12
|
## Requirements.
|
|
13
13
|
|
|
14
|
-
Python 3.
|
|
14
|
+
Python 3.9+
|
|
15
15
|
|
|
16
16
|
## Installation & Usage
|
|
17
17
|
### pip install
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pulp_gem-client
|
|
3
|
+
Version: 0.7.4
|
|
4
|
+
Summary: Pulp 3 API
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: Pulp Team
|
|
7
|
+
Author-email: Pulp Team <pulp-list@redhat.com>
|
|
8
|
+
License: GPL-2.0-or-later
|
|
9
|
+
Project-URL: Repository, https://github.com/GIT_USER_ID/GIT_REPO_ID
|
|
10
|
+
Keywords: OpenAPI,OpenAPI-Generator,Pulp 3 API
|
|
11
|
+
Requires-Python: >= 3.9
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
14
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
15
|
+
Requires-Dist: pydantic>=2
|
|
16
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
17
|
+
Requires-Dist: lazy-imports<2,>=1
|
|
18
|
+
Dynamic: author
|
|
19
|
+
Dynamic: requires-python
|
|
20
|
+
|
|
21
|
+
# pulp_gem-client
|
|
22
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
|
23
|
+
|
|
24
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
25
|
+
|
|
26
|
+
- API version: v3
|
|
27
|
+
- Package version: 0.7.4
|
|
28
|
+
- Generator version: 7.14.0
|
|
29
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
30
|
+
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
31
|
+
|
|
32
|
+
## Requirements.
|
|
33
|
+
|
|
34
|
+
Python 3.9+
|
|
35
|
+
|
|
36
|
+
## Installation & Usage
|
|
37
|
+
### pip install
|
|
38
|
+
|
|
39
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
43
|
+
```
|
|
44
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
45
|
+
|
|
46
|
+
Then import the package:
|
|
47
|
+
```python
|
|
48
|
+
import pulpcore.client.pulp_gem
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Setuptools
|
|
52
|
+
|
|
53
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
python setup.py install --user
|
|
57
|
+
```
|
|
58
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
59
|
+
|
|
60
|
+
Then import the package:
|
|
61
|
+
```python
|
|
62
|
+
import pulpcore.client.pulp_gem
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Tests
|
|
66
|
+
|
|
67
|
+
Execute `pytest` to run the tests.
|
|
68
|
+
|
|
69
|
+
## Getting Started
|
|
70
|
+
|
|
71
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
72
|
+
|
|
73
|
+
```python
|
|
74
|
+
|
|
75
|
+
import pulpcore.client.pulp_gem
|
|
76
|
+
from pulpcore.client.pulp_gem.rest import ApiException
|
|
77
|
+
from pprint import pprint
|
|
78
|
+
|
|
79
|
+
# Defining the host is optional and defaults to http://localhost:24817
|
|
80
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
81
|
+
configuration = pulpcore.client.pulp_gem.Configuration(
|
|
82
|
+
host = "http://localhost:24817"
|
|
83
|
+
)
|
|
84
|
+
|
|
85
|
+
# The client must configure the authentication and authorization parameters
|
|
86
|
+
# in accordance with the API server security policy.
|
|
87
|
+
# Examples for each auth method are provided below, use the example that
|
|
88
|
+
# satisfies your auth use case.
|
|
89
|
+
|
|
90
|
+
# Configure HTTP basic authorization: basicAuth
|
|
91
|
+
configuration = pulpcore.client.pulp_gem.Configuration(
|
|
92
|
+
username = os.environ["USERNAME"],
|
|
93
|
+
password = os.environ["PASSWORD"]
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
# Configure API key authorization: cookieAuth
|
|
97
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
98
|
+
|
|
99
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
100
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
# Enter a context with an instance of the API client
|
|
104
|
+
with pulpcore.client.pulp_gem.ApiClient(configuration) as api_client:
|
|
105
|
+
# Create an instance of the API class
|
|
106
|
+
api_instance = pulpcore.client.pulp_gem.ContentGemApi(api_client)
|
|
107
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
108
|
+
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
|
|
109
|
+
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
110
|
+
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
|
|
111
|
+
file = None # bytearray | An uploaded file that should be turned into the artifact of the content unit. (optional)
|
|
112
|
+
|
|
113
|
+
try:
|
|
114
|
+
# Create a gem content
|
|
115
|
+
api_response = api_instance.create(x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file)
|
|
116
|
+
print("The response of ContentGemApi->create:\n")
|
|
117
|
+
pprint(api_response)
|
|
118
|
+
except ApiException as e:
|
|
119
|
+
print("Exception when calling ContentGemApi->create: %s\n" % e)
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## Documentation for API Endpoints
|
|
124
|
+
|
|
125
|
+
All URIs are relative to *http://localhost:24817*
|
|
126
|
+
|
|
127
|
+
Class | Method | HTTP request | Description
|
|
128
|
+
------------ | ------------- | ------------- | -------------
|
|
129
|
+
*ContentGemApi* | [**create**](docs/ContentGemApi.md#create) | **POST** /pulp/api/v3/content/gem/gem/ | Create a gem content
|
|
130
|
+
*ContentGemApi* | [**list**](docs/ContentGemApi.md#list) | **GET** /pulp/api/v3/content/gem/gem/ | List gem contents
|
|
131
|
+
*ContentGemApi* | [**read**](docs/ContentGemApi.md#read) | **GET** {gem_gem_content_href} | Inspect a gem content
|
|
132
|
+
*ContentGemApi* | [**set_label**](docs/ContentGemApi.md#set_label) | **POST** {gem_gem_content_href}set_label/ | Set a label
|
|
133
|
+
*ContentGemApi* | [**unset_label**](docs/ContentGemApi.md#unset_label) | **POST** {gem_gem_content_href}unset_label/ | Unset a label
|
|
134
|
+
*DistributionsGemApi* | [**add_role**](docs/DistributionsGemApi.md#add_role) | **POST** {gem_gem_distribution_href}add_role/ | Add a role
|
|
135
|
+
*DistributionsGemApi* | [**create**](docs/DistributionsGemApi.md#create) | **POST** /pulp/api/v3/distributions/gem/gem/ | Create a gem distribution
|
|
136
|
+
*DistributionsGemApi* | [**delete**](docs/DistributionsGemApi.md#delete) | **DELETE** {gem_gem_distribution_href} | Delete a gem distribution
|
|
137
|
+
*DistributionsGemApi* | [**list**](docs/DistributionsGemApi.md#list) | **GET** /pulp/api/v3/distributions/gem/gem/ | List gem distributions
|
|
138
|
+
*DistributionsGemApi* | [**list_roles**](docs/DistributionsGemApi.md#list_roles) | **GET** {gem_gem_distribution_href}list_roles/ | List roles
|
|
139
|
+
*DistributionsGemApi* | [**my_permissions**](docs/DistributionsGemApi.md#my_permissions) | **GET** {gem_gem_distribution_href}my_permissions/ | List user permissions
|
|
140
|
+
*DistributionsGemApi* | [**partial_update**](docs/DistributionsGemApi.md#partial_update) | **PATCH** {gem_gem_distribution_href} | Update a gem distribution
|
|
141
|
+
*DistributionsGemApi* | [**read**](docs/DistributionsGemApi.md#read) | **GET** {gem_gem_distribution_href} | Inspect a gem distribution
|
|
142
|
+
*DistributionsGemApi* | [**remove_role**](docs/DistributionsGemApi.md#remove_role) | **POST** {gem_gem_distribution_href}remove_role/ | Remove a role
|
|
143
|
+
*DistributionsGemApi* | [**set_label**](docs/DistributionsGemApi.md#set_label) | **POST** {gem_gem_distribution_href}set_label/ | Set a label
|
|
144
|
+
*DistributionsGemApi* | [**unset_label**](docs/DistributionsGemApi.md#unset_label) | **POST** {gem_gem_distribution_href}unset_label/ | Unset a label
|
|
145
|
+
*DistributionsGemApi* | [**update**](docs/DistributionsGemApi.md#update) | **PUT** {gem_gem_distribution_href} | Update a gem distribution
|
|
146
|
+
*PublicationsGemApi* | [**add_role**](docs/PublicationsGemApi.md#add_role) | **POST** {gem_gem_publication_href}add_role/ | Add a role
|
|
147
|
+
*PublicationsGemApi* | [**create**](docs/PublicationsGemApi.md#create) | **POST** /pulp/api/v3/publications/gem/gem/ | Create a gem publication
|
|
148
|
+
*PublicationsGemApi* | [**delete**](docs/PublicationsGemApi.md#delete) | **DELETE** {gem_gem_publication_href} | Delete a gem publication
|
|
149
|
+
*PublicationsGemApi* | [**list**](docs/PublicationsGemApi.md#list) | **GET** /pulp/api/v3/publications/gem/gem/ | List gem publications
|
|
150
|
+
*PublicationsGemApi* | [**list_roles**](docs/PublicationsGemApi.md#list_roles) | **GET** {gem_gem_publication_href}list_roles/ | List roles
|
|
151
|
+
*PublicationsGemApi* | [**my_permissions**](docs/PublicationsGemApi.md#my_permissions) | **GET** {gem_gem_publication_href}my_permissions/ | List user permissions
|
|
152
|
+
*PublicationsGemApi* | [**read**](docs/PublicationsGemApi.md#read) | **GET** {gem_gem_publication_href} | Inspect a gem publication
|
|
153
|
+
*PublicationsGemApi* | [**remove_role**](docs/PublicationsGemApi.md#remove_role) | **POST** {gem_gem_publication_href}remove_role/ | Remove a role
|
|
154
|
+
*RemotesGemApi* | [**add_role**](docs/RemotesGemApi.md#add_role) | **POST** {gem_gem_remote_href}add_role/ | Add a role
|
|
155
|
+
*RemotesGemApi* | [**create**](docs/RemotesGemApi.md#create) | **POST** /pulp/api/v3/remotes/gem/gem/ | Create a gem remote
|
|
156
|
+
*RemotesGemApi* | [**delete**](docs/RemotesGemApi.md#delete) | **DELETE** {gem_gem_remote_href} | Delete a gem remote
|
|
157
|
+
*RemotesGemApi* | [**list**](docs/RemotesGemApi.md#list) | **GET** /pulp/api/v3/remotes/gem/gem/ | List gem remotes
|
|
158
|
+
*RemotesGemApi* | [**list_roles**](docs/RemotesGemApi.md#list_roles) | **GET** {gem_gem_remote_href}list_roles/ | List roles
|
|
159
|
+
*RemotesGemApi* | [**my_permissions**](docs/RemotesGemApi.md#my_permissions) | **GET** {gem_gem_remote_href}my_permissions/ | List user permissions
|
|
160
|
+
*RemotesGemApi* | [**partial_update**](docs/RemotesGemApi.md#partial_update) | **PATCH** {gem_gem_remote_href} | Update a gem remote
|
|
161
|
+
*RemotesGemApi* | [**read**](docs/RemotesGemApi.md#read) | **GET** {gem_gem_remote_href} | Inspect a gem remote
|
|
162
|
+
*RemotesGemApi* | [**remove_role**](docs/RemotesGemApi.md#remove_role) | **POST** {gem_gem_remote_href}remove_role/ | Remove a role
|
|
163
|
+
*RemotesGemApi* | [**set_label**](docs/RemotesGemApi.md#set_label) | **POST** {gem_gem_remote_href}set_label/ | Set a label
|
|
164
|
+
*RemotesGemApi* | [**unset_label**](docs/RemotesGemApi.md#unset_label) | **POST** {gem_gem_remote_href}unset_label/ | Unset a label
|
|
165
|
+
*RemotesGemApi* | [**update**](docs/RemotesGemApi.md#update) | **PUT** {gem_gem_remote_href} | Update a gem remote
|
|
166
|
+
*RepositoriesGemApi* | [**add_role**](docs/RepositoriesGemApi.md#add_role) | **POST** {gem_gem_repository_href}add_role/ | Add a role
|
|
167
|
+
*RepositoriesGemApi* | [**create**](docs/RepositoriesGemApi.md#create) | **POST** /pulp/api/v3/repositories/gem/gem/ | Create a gem repository
|
|
168
|
+
*RepositoriesGemApi* | [**delete**](docs/RepositoriesGemApi.md#delete) | **DELETE** {gem_gem_repository_href} | Delete a gem repository
|
|
169
|
+
*RepositoriesGemApi* | [**list**](docs/RepositoriesGemApi.md#list) | **GET** /pulp/api/v3/repositories/gem/gem/ | List gem repositorys
|
|
170
|
+
*RepositoriesGemApi* | [**list_roles**](docs/RepositoriesGemApi.md#list_roles) | **GET** {gem_gem_repository_href}list_roles/ | List roles
|
|
171
|
+
*RepositoriesGemApi* | [**modify**](docs/RepositoriesGemApi.md#modify) | **POST** {gem_gem_repository_href}modify/ | Modify Repository Content
|
|
172
|
+
*RepositoriesGemApi* | [**my_permissions**](docs/RepositoriesGemApi.md#my_permissions) | **GET** {gem_gem_repository_href}my_permissions/ | List user permissions
|
|
173
|
+
*RepositoriesGemApi* | [**partial_update**](docs/RepositoriesGemApi.md#partial_update) | **PATCH** {gem_gem_repository_href} | Update a gem repository
|
|
174
|
+
*RepositoriesGemApi* | [**read**](docs/RepositoriesGemApi.md#read) | **GET** {gem_gem_repository_href} | Inspect a gem repository
|
|
175
|
+
*RepositoriesGemApi* | [**remove_role**](docs/RepositoriesGemApi.md#remove_role) | **POST** {gem_gem_repository_href}remove_role/ | Remove a role
|
|
176
|
+
*RepositoriesGemApi* | [**set_label**](docs/RepositoriesGemApi.md#set_label) | **POST** {gem_gem_repository_href}set_label/ | Set a label
|
|
177
|
+
*RepositoriesGemApi* | [**sync**](docs/RepositoriesGemApi.md#sync) | **POST** {gem_gem_repository_href}sync/ | Sync from a remote
|
|
178
|
+
*RepositoriesGemApi* | [**unset_label**](docs/RepositoriesGemApi.md#unset_label) | **POST** {gem_gem_repository_href}unset_label/ | Unset a label
|
|
179
|
+
*RepositoriesGemApi* | [**update**](docs/RepositoriesGemApi.md#update) | **PUT** {gem_gem_repository_href} | Update a gem repository
|
|
180
|
+
*RepositoriesGemVersionsApi* | [**delete**](docs/RepositoriesGemVersionsApi.md#delete) | **DELETE** {gem_gem_repository_version_href} | Delete a repository version
|
|
181
|
+
*RepositoriesGemVersionsApi* | [**list**](docs/RepositoriesGemVersionsApi.md#list) | **GET** {gem_gem_repository_href}versions/ | List repository versions
|
|
182
|
+
*RepositoriesGemVersionsApi* | [**read**](docs/RepositoriesGemVersionsApi.md#read) | **GET** {gem_gem_repository_version_href} | Inspect a repository version
|
|
183
|
+
*RepositoriesGemVersionsApi* | [**repair**](docs/RepositoriesGemVersionsApi.md#repair) | **POST** {gem_gem_repository_version_href}repair/ |
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
## Documentation For Models
|
|
187
|
+
|
|
188
|
+
- [AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
|
189
|
+
- [ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
|
190
|
+
- [GemGemContentResponse](docs/GemGemContentResponse.md)
|
|
191
|
+
- [GemGemDistribution](docs/GemGemDistribution.md)
|
|
192
|
+
- [GemGemDistributionResponse](docs/GemGemDistributionResponse.md)
|
|
193
|
+
- [GemGemPublication](docs/GemGemPublication.md)
|
|
194
|
+
- [GemGemPublicationResponse](docs/GemGemPublicationResponse.md)
|
|
195
|
+
- [GemGemRemote](docs/GemGemRemote.md)
|
|
196
|
+
- [GemGemRemoteResponse](docs/GemGemRemoteResponse.md)
|
|
197
|
+
- [GemGemRemoteResponseHiddenFieldsInner](docs/GemGemRemoteResponseHiddenFieldsInner.md)
|
|
198
|
+
- [GemGemRepository](docs/GemGemRepository.md)
|
|
199
|
+
- [GemGemRepositoryResponse](docs/GemGemRepositoryResponse.md)
|
|
200
|
+
- [MyPermissionsResponse](docs/MyPermissionsResponse.md)
|
|
201
|
+
- [NestedRole](docs/NestedRole.md)
|
|
202
|
+
- [NestedRoleResponse](docs/NestedRoleResponse.md)
|
|
203
|
+
- [ObjectRolesResponse](docs/ObjectRolesResponse.md)
|
|
204
|
+
- [PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
|
205
|
+
- [PaginatedgemGemContentResponseList](docs/PaginatedgemGemContentResponseList.md)
|
|
206
|
+
- [PaginatedgemGemDistributionResponseList](docs/PaginatedgemGemDistributionResponseList.md)
|
|
207
|
+
- [PaginatedgemGemPublicationResponseList](docs/PaginatedgemGemPublicationResponseList.md)
|
|
208
|
+
- [PaginatedgemGemRemoteResponseList](docs/PaginatedgemGemRemoteResponseList.md)
|
|
209
|
+
- [PaginatedgemGemRepositoryResponseList](docs/PaginatedgemGemRepositoryResponseList.md)
|
|
210
|
+
- [PatchedgemGemDistribution](docs/PatchedgemGemDistribution.md)
|
|
211
|
+
- [PatchedgemGemRemote](docs/PatchedgemGemRemote.md)
|
|
212
|
+
- [PatchedgemGemRepository](docs/PatchedgemGemRepository.md)
|
|
213
|
+
- [PolicyEnum](docs/PolicyEnum.md)
|
|
214
|
+
- [Repair](docs/Repair.md)
|
|
215
|
+
- [RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
|
216
|
+
- [RepositorySyncURL](docs/RepositorySyncURL.md)
|
|
217
|
+
- [RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
|
218
|
+
- [SetLabel](docs/SetLabel.md)
|
|
219
|
+
- [SetLabelResponse](docs/SetLabelResponse.md)
|
|
220
|
+
- [UnsetLabel](docs/UnsetLabel.md)
|
|
221
|
+
- [UnsetLabelResponse](docs/UnsetLabelResponse.md)
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
<a id="documentation-for-authorization"></a>
|
|
225
|
+
## Documentation For Authorization
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
Authentication schemes defined for the API:
|
|
229
|
+
<a id="basicAuth"></a>
|
|
230
|
+
### basicAuth
|
|
231
|
+
|
|
232
|
+
- **Type**: HTTP basic authentication
|
|
233
|
+
|
|
234
|
+
<a id="cookieAuth"></a>
|
|
235
|
+
### cookieAuth
|
|
236
|
+
|
|
237
|
+
- **Type**: API key
|
|
238
|
+
- **API key parameter name**: sessionid
|
|
239
|
+
- **Location**:
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
## Author
|
|
243
|
+
|
|
244
|
+
pulp-list@redhat.com
|
|
245
|
+
|
|
246
|
+
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Pulp 3 API
|
|
7
|
+
|
|
8
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: v3
|
|
11
|
+
Contact: pulp-list@redhat.com
|
|
12
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
13
|
+
|
|
14
|
+
Do not edit the class manually.
|
|
15
|
+
""" # noqa: E501
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
__version__ = "0.7.4"
|
|
19
|
+
|
|
20
|
+
# Define package exports
|
|
21
|
+
__all__ = [
|
|
22
|
+
"ContentGemApi",
|
|
23
|
+
"DistributionsGemApi",
|
|
24
|
+
"PublicationsGemApi",
|
|
25
|
+
"RemotesGemApi",
|
|
26
|
+
"RepositoriesGemApi",
|
|
27
|
+
"RepositoriesGemVersionsApi",
|
|
28
|
+
"ApiResponse",
|
|
29
|
+
"ApiClient",
|
|
30
|
+
"Configuration",
|
|
31
|
+
"OpenApiException",
|
|
32
|
+
"ApiTypeError",
|
|
33
|
+
"ApiValueError",
|
|
34
|
+
"ApiKeyError",
|
|
35
|
+
"ApiAttributeError",
|
|
36
|
+
"ApiException",
|
|
37
|
+
"AsyncOperationResponse",
|
|
38
|
+
"ContentSummaryResponse",
|
|
39
|
+
"GemGemContentResponse",
|
|
40
|
+
"GemGemDistribution",
|
|
41
|
+
"GemGemDistributionResponse",
|
|
42
|
+
"GemGemPublication",
|
|
43
|
+
"GemGemPublicationResponse",
|
|
44
|
+
"GemGemRemote",
|
|
45
|
+
"GemGemRemoteResponse",
|
|
46
|
+
"GemGemRemoteResponseHiddenFieldsInner",
|
|
47
|
+
"GemGemRepository",
|
|
48
|
+
"GemGemRepositoryResponse",
|
|
49
|
+
"MyPermissionsResponse",
|
|
50
|
+
"NestedRole",
|
|
51
|
+
"NestedRoleResponse",
|
|
52
|
+
"ObjectRolesResponse",
|
|
53
|
+
"PaginatedRepositoryVersionResponseList",
|
|
54
|
+
"PaginatedgemGemContentResponseList",
|
|
55
|
+
"PaginatedgemGemDistributionResponseList",
|
|
56
|
+
"PaginatedgemGemPublicationResponseList",
|
|
57
|
+
"PaginatedgemGemRemoteResponseList",
|
|
58
|
+
"PaginatedgemGemRepositoryResponseList",
|
|
59
|
+
"PatchedgemGemDistribution",
|
|
60
|
+
"PatchedgemGemRemote",
|
|
61
|
+
"PatchedgemGemRepository",
|
|
62
|
+
"PolicyEnum",
|
|
63
|
+
"Repair",
|
|
64
|
+
"RepositoryAddRemoveContent",
|
|
65
|
+
"RepositorySyncURL",
|
|
66
|
+
"RepositoryVersionResponse",
|
|
67
|
+
"SetLabel",
|
|
68
|
+
"SetLabelResponse",
|
|
69
|
+
"UnsetLabel",
|
|
70
|
+
"UnsetLabelResponse",
|
|
71
|
+
]
|
|
72
|
+
|
|
73
|
+
# import apis into sdk package
|
|
74
|
+
from pulpcore.client.pulp_gem.api.content_gem_api import ContentGemApi as ContentGemApi
|
|
75
|
+
from pulpcore.client.pulp_gem.api.distributions_gem_api import DistributionsGemApi as DistributionsGemApi
|
|
76
|
+
from pulpcore.client.pulp_gem.api.publications_gem_api import PublicationsGemApi as PublicationsGemApi
|
|
77
|
+
from pulpcore.client.pulp_gem.api.remotes_gem_api import RemotesGemApi as RemotesGemApi
|
|
78
|
+
from pulpcore.client.pulp_gem.api.repositories_gem_api import RepositoriesGemApi as RepositoriesGemApi
|
|
79
|
+
from pulpcore.client.pulp_gem.api.repositories_gem_versions_api import RepositoriesGemVersionsApi as RepositoriesGemVersionsApi
|
|
80
|
+
|
|
81
|
+
# import ApiClient
|
|
82
|
+
from pulpcore.client.pulp_gem.api_response import ApiResponse as ApiResponse
|
|
83
|
+
from pulpcore.client.pulp_gem.api_client import ApiClient as ApiClient
|
|
84
|
+
from pulpcore.client.pulp_gem.configuration import Configuration as Configuration
|
|
85
|
+
from pulpcore.client.pulp_gem.exceptions import OpenApiException as OpenApiException
|
|
86
|
+
from pulpcore.client.pulp_gem.exceptions import ApiTypeError as ApiTypeError
|
|
87
|
+
from pulpcore.client.pulp_gem.exceptions import ApiValueError as ApiValueError
|
|
88
|
+
from pulpcore.client.pulp_gem.exceptions import ApiKeyError as ApiKeyError
|
|
89
|
+
from pulpcore.client.pulp_gem.exceptions import ApiAttributeError as ApiAttributeError
|
|
90
|
+
from pulpcore.client.pulp_gem.exceptions import ApiException as ApiException
|
|
91
|
+
|
|
92
|
+
# import models into sdk package
|
|
93
|
+
from pulpcore.client.pulp_gem.models.async_operation_response import AsyncOperationResponse as AsyncOperationResponse
|
|
94
|
+
from pulpcore.client.pulp_gem.models.content_summary_response import ContentSummaryResponse as ContentSummaryResponse
|
|
95
|
+
from pulpcore.client.pulp_gem.models.gem_gem_content_response import GemGemContentResponse as GemGemContentResponse
|
|
96
|
+
from pulpcore.client.pulp_gem.models.gem_gem_distribution import GemGemDistribution as GemGemDistribution
|
|
97
|
+
from pulpcore.client.pulp_gem.models.gem_gem_distribution_response import GemGemDistributionResponse as GemGemDistributionResponse
|
|
98
|
+
from pulpcore.client.pulp_gem.models.gem_gem_publication import GemGemPublication as GemGemPublication
|
|
99
|
+
from pulpcore.client.pulp_gem.models.gem_gem_publication_response import GemGemPublicationResponse as GemGemPublicationResponse
|
|
100
|
+
from pulpcore.client.pulp_gem.models.gem_gem_remote import GemGemRemote as GemGemRemote
|
|
101
|
+
from pulpcore.client.pulp_gem.models.gem_gem_remote_response import GemGemRemoteResponse as GemGemRemoteResponse
|
|
102
|
+
from pulpcore.client.pulp_gem.models.gem_gem_remote_response_hidden_fields_inner import GemGemRemoteResponseHiddenFieldsInner as GemGemRemoteResponseHiddenFieldsInner
|
|
103
|
+
from pulpcore.client.pulp_gem.models.gem_gem_repository import GemGemRepository as GemGemRepository
|
|
104
|
+
from pulpcore.client.pulp_gem.models.gem_gem_repository_response import GemGemRepositoryResponse as GemGemRepositoryResponse
|
|
105
|
+
from pulpcore.client.pulp_gem.models.my_permissions_response import MyPermissionsResponse as MyPermissionsResponse
|
|
106
|
+
from pulpcore.client.pulp_gem.models.nested_role import NestedRole as NestedRole
|
|
107
|
+
from pulpcore.client.pulp_gem.models.nested_role_response import NestedRoleResponse as NestedRoleResponse
|
|
108
|
+
from pulpcore.client.pulp_gem.models.object_roles_response import ObjectRolesResponse as ObjectRolesResponse
|
|
109
|
+
from pulpcore.client.pulp_gem.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList as PaginatedRepositoryVersionResponseList
|
|
110
|
+
from pulpcore.client.pulp_gem.models.paginatedgem_gem_content_response_list import PaginatedgemGemContentResponseList as PaginatedgemGemContentResponseList
|
|
111
|
+
from pulpcore.client.pulp_gem.models.paginatedgem_gem_distribution_response_list import PaginatedgemGemDistributionResponseList as PaginatedgemGemDistributionResponseList
|
|
112
|
+
from pulpcore.client.pulp_gem.models.paginatedgem_gem_publication_response_list import PaginatedgemGemPublicationResponseList as PaginatedgemGemPublicationResponseList
|
|
113
|
+
from pulpcore.client.pulp_gem.models.paginatedgem_gem_remote_response_list import PaginatedgemGemRemoteResponseList as PaginatedgemGemRemoteResponseList
|
|
114
|
+
from pulpcore.client.pulp_gem.models.paginatedgem_gem_repository_response_list import PaginatedgemGemRepositoryResponseList as PaginatedgemGemRepositoryResponseList
|
|
115
|
+
from pulpcore.client.pulp_gem.models.patchedgem_gem_distribution import PatchedgemGemDistribution as PatchedgemGemDistribution
|
|
116
|
+
from pulpcore.client.pulp_gem.models.patchedgem_gem_remote import PatchedgemGemRemote as PatchedgemGemRemote
|
|
117
|
+
from pulpcore.client.pulp_gem.models.patchedgem_gem_repository import PatchedgemGemRepository as PatchedgemGemRepository
|
|
118
|
+
from pulpcore.client.pulp_gem.models.policy_enum import PolicyEnum as PolicyEnum
|
|
119
|
+
from pulpcore.client.pulp_gem.models.repair import Repair as Repair
|
|
120
|
+
from pulpcore.client.pulp_gem.models.repository_add_remove_content import RepositoryAddRemoveContent as RepositoryAddRemoveContent
|
|
121
|
+
from pulpcore.client.pulp_gem.models.repository_sync_url import RepositorySyncURL as RepositorySyncURL
|
|
122
|
+
from pulpcore.client.pulp_gem.models.repository_version_response import RepositoryVersionResponse as RepositoryVersionResponse
|
|
123
|
+
from pulpcore.client.pulp_gem.models.set_label import SetLabel as SetLabel
|
|
124
|
+
from pulpcore.client.pulp_gem.models.set_label_response import SetLabelResponse as SetLabelResponse
|
|
125
|
+
from pulpcore.client.pulp_gem.models.unset_label import UnsetLabel as UnsetLabel
|
|
126
|
+
from pulpcore.client.pulp_gem.models.unset_label_response import UnsetLabelResponse as UnsetLabelResponse
|