pulp_python_client 3.24.1 → 3.25.0
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.
- checksums.yaml +4 -4
- data/README.md +7 -4
- data/docs/ContentPackagesApi.md +8 -0
- data/docs/ContentProvenanceApi.md +2 -0
- data/docs/PatchedpythonPythonRemote.md +6 -6
- data/docs/PythonPythonRemote.md +6 -6
- data/docs/PythonPythonRemoteResponse.md +8 -8
- data/docs/RemoteNetworkConfig.md +50 -0
- data/docs/RemoteNetworkConfigResponse.md +40 -0
- data/lib/pulp_python_client/api/content_packages_api.rb +12 -0
- data/lib/pulp_python_client/api/content_provenance_api.rb +3 -0
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +33 -33
- data/lib/pulp_python_client/models/python_python_remote.rb +33 -33
- data/lib/pulp_python_client/models/python_python_remote_response.rb +45 -45
- data/lib/pulp_python_client/models/remote_network_config.rb +573 -0
- data/lib/pulp_python_client/models/remote_network_config_response.rb +398 -0
- data/lib/pulp_python_client/version.rb +1 -1
- data/lib/pulp_python_client.rb +2 -0
- data/spec/api/content_packages_api_spec.rb +4 -0
- data/spec/api/content_provenance_api_spec.rb +1 -0
- data/spec/models/patchedpython_python_remote_spec.rb +17 -17
- data/spec/models/python_python_remote_response_spec.rb +10 -10
- data/spec/models/python_python_remote_spec.rb +17 -17
- data/spec/models/remote_network_config_response_spec.rb +102 -0
- data/spec/models/remote_network_config_spec.rb +132 -0
- metadata +10 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 427535dfb7ea293d133803503c8c500a353a5395b50cca2925c2e5160f25e4d7
|
|
4
|
+
data.tar.gz: '0970210c9171db608994b4ea7bc96d03e3ab5ec75d488a6a0cd17572984b1a6e'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c06d32151af0ba9d3bc0a1459801e66527dda583471816372479b5af6e60c36756b037f110a291438df28d77443f248b3dfcc83b4170daab8ee783a1897b71f5
|
|
7
|
+
data.tar.gz: d57a3c819fd13223966333393b6ab4770ff59f5b340eeb779a891f5b6415e2fa523a331a60c329e2f9445b3ad37dfa647b201dbb1abfcdc6594529b6a61f833a
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.
|
|
10
|
+
- Package version: 3.25.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_python_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_python_client-3.
|
|
28
|
+
gem install ./pulp_python_client-3.25.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_python_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_python_client-3.25.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_python_client', '~> 3.
|
|
37
|
+
gem 'pulp_python_client', '~> 3.25.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -77,6 +77,7 @@ opts = {
|
|
|
77
77
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
78
78
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
79
79
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
80
|
+
downloader_config: PulpPythonClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
80
81
|
author: 'author_example', # String | Text containing the author's name. Contact information can also be added, separated with newlines.
|
|
81
82
|
author_email: 'author_email_example', # String | The author's e-mail address.
|
|
82
83
|
description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
|
|
@@ -233,6 +234,8 @@ Class | Method | HTTP request | Description
|
|
|
233
234
|
- [PulpPythonClient::PythonPythonRemoteResponseHiddenFieldsInner](docs/PythonPythonRemoteResponseHiddenFieldsInner.md)
|
|
234
235
|
- [PulpPythonClient::PythonPythonRepository](docs/PythonPythonRepository.md)
|
|
235
236
|
- [PulpPythonClient::PythonPythonRepositoryResponse](docs/PythonPythonRepositoryResponse.md)
|
|
237
|
+
- [PulpPythonClient::RemoteNetworkConfig](docs/RemoteNetworkConfig.md)
|
|
238
|
+
- [PulpPythonClient::RemoteNetworkConfigResponse](docs/RemoteNetworkConfigResponse.md)
|
|
236
239
|
- [PulpPythonClient::Repair](docs/Repair.md)
|
|
237
240
|
- [PulpPythonClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
|
238
241
|
- [PulpPythonClient::RepositorySyncURL](docs/RepositorySyncURL.md)
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -42,6 +42,7 @@ opts = {
|
|
|
42
42
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
43
43
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
44
44
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
45
|
+
downloader_config: PulpPythonClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
45
46
|
author: 'author_example', # String | Text containing the author's name. Contact information can also be added, separated with newlines.
|
|
46
47
|
author_email: 'author_email_example', # String | The author's e-mail address.
|
|
47
48
|
description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
|
|
@@ -111,6 +112,7 @@ end
|
|
|
111
112
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
112
113
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
113
114
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
115
|
+
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
114
116
|
| **author** | **String** | Text containing the author's name. Contact information can also be added, separated with newlines. | [optional] |
|
|
115
117
|
| **author_email** | **String** | The author's e-mail address. | [optional] |
|
|
116
118
|
| **description** | **String** | A longer description of the package that can run to several paragraphs. | [optional] |
|
|
@@ -178,6 +180,7 @@ api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
|
178
180
|
opts = {
|
|
179
181
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
180
182
|
author: 'author_example', # String | Filter results where author matches value
|
|
183
|
+
author__contains: 'author__contains_example', # String | Filter results where author contains value
|
|
181
184
|
author__in: ['inner_example'], # Array<String> | Filter results where author is in a comma-separated list of values
|
|
182
185
|
filename: 'filename_example', # String | Filter results where filename matches value
|
|
183
186
|
filename__contains: 'filename__contains_example', # String | Filter results where filename contains value
|
|
@@ -186,6 +189,7 @@ opts = {
|
|
|
186
189
|
keywords__in: ['inner_example'], # Array<String> | Filter results where keywords is in a comma-separated list of values
|
|
187
190
|
limit: 56, # Integer | Number of results to return per page.
|
|
188
191
|
name: 'name_example', # String | Filter results where name matches value
|
|
192
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
189
193
|
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
190
194
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
191
195
|
ordering: ['-author'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -247,6 +251,7 @@ end
|
|
|
247
251
|
| ---- | ---- | ----------- | ----- |
|
|
248
252
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
249
253
|
| **author** | **String** | Filter results where author matches value | [optional] |
|
|
254
|
+
| **author__contains** | **String** | Filter results where author contains value | [optional] |
|
|
250
255
|
| **author__in** | [**Array<String>**](String.md) | Filter results where author is in a comma-separated list of values | [optional] |
|
|
251
256
|
| **filename** | **String** | Filter results where filename matches value | [optional] |
|
|
252
257
|
| **filename__contains** | **String** | Filter results where filename contains value | [optional] |
|
|
@@ -255,6 +260,7 @@ end
|
|
|
255
260
|
| **keywords__in** | [**Array<String>**](String.md) | Filter results where keywords is in a comma-separated list of values | [optional] |
|
|
256
261
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
257
262
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
263
|
+
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
|
258
264
|
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
|
259
265
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
260
266
|
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
@@ -554,6 +560,7 @@ opts = {
|
|
|
554
560
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
555
561
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
556
562
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
563
|
+
downloader_config: PulpPythonClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
557
564
|
author: 'author_example', # String | Text containing the author's name. Contact information can also be added, separated with newlines.
|
|
558
565
|
author_email: 'author_email_example', # String | The author's e-mail address.
|
|
559
566
|
description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
|
|
@@ -621,6 +628,7 @@ end
|
|
|
621
628
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
622
629
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
623
630
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
631
|
+
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
624
632
|
| **author** | **String** | Text containing the author's name. Contact information can also be added, separated with newlines. | [optional] |
|
|
625
633
|
| **author_email** | **String** | The author's e-mail address. | [optional] |
|
|
626
634
|
| **description** | **String** | A longer description of the package that can run to several paragraphs. | [optional] |
|
|
@@ -40,6 +40,7 @@ opts = {
|
|
|
40
40
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
41
41
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
42
42
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
43
|
+
downloader_config: PulpPythonClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
43
44
|
verify: true # Boolean | Verify each attestation in the provenance.
|
|
44
45
|
}
|
|
45
46
|
|
|
@@ -81,6 +82,7 @@ end
|
|
|
81
82
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
82
83
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
83
84
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
85
|
+
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
84
86
|
| **verify** | **Boolean** | Verify each attestation in the provenance. | [optional][default to true] |
|
|
85
87
|
|
|
86
88
|
### Return type
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
8
8
|
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
+
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
9
11
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
10
12
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
11
13
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
@@ -15,15 +17,13 @@
|
|
|
15
17
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
18
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
17
19
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
18
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
19
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
20
20
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
21
|
-
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
22
21
|
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
22
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
24
23
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
25
24
|
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
26
25
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
27
27
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
28
28
|
| **includes** | **Array<String>** | A list containing project specifiers for Python packages to include. | [optional] |
|
|
29
29
|
| **excludes** | **Array<String>** | A list containing project specifiers for Python packages to exclude. | [optional] |
|
|
@@ -41,6 +41,8 @@ require 'pulp_python_client'
|
|
|
41
41
|
instance = PulpPythonClient::PatchedpythonPythonRemote.new(
|
|
42
42
|
name: null,
|
|
43
43
|
url: null,
|
|
44
|
+
pulp_labels: null,
|
|
45
|
+
policy: null,
|
|
44
46
|
ca_cert: null,
|
|
45
47
|
client_cert: null,
|
|
46
48
|
client_key: null,
|
|
@@ -50,15 +52,13 @@ instance = PulpPythonClient::PatchedpythonPythonRemote.new(
|
|
|
50
52
|
proxy_password: null,
|
|
51
53
|
username: null,
|
|
52
54
|
password: null,
|
|
53
|
-
pulp_labels: null,
|
|
54
|
-
download_concurrency: null,
|
|
55
55
|
max_retries: null,
|
|
56
|
-
policy: null,
|
|
57
56
|
total_timeout: null,
|
|
58
57
|
connect_timeout: null,
|
|
59
58
|
sock_connect_timeout: null,
|
|
60
59
|
sock_read_timeout: null,
|
|
61
60
|
headers: null,
|
|
61
|
+
download_concurrency: null,
|
|
62
62
|
rate_limit: null,
|
|
63
63
|
includes: null,
|
|
64
64
|
excludes: null,
|
data/docs/PythonPythonRemote.md
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **name** | **String** | A unique name for this remote. | |
|
|
8
8
|
| **url** | **String** | The URL of an external content source. | |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
+
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
9
11
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
10
12
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
11
13
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
@@ -15,15 +17,13 @@
|
|
|
15
17
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
18
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
17
19
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
18
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
19
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
20
20
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
21
|
-
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
22
21
|
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
22
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
24
23
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
25
24
|
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
26
25
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
27
27
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
28
28
|
| **includes** | **Array<String>** | A list containing project specifiers for Python packages to include. | [optional] |
|
|
29
29
|
| **excludes** | **Array<String>** | A list containing project specifiers for Python packages to exclude. | [optional] |
|
|
@@ -41,6 +41,8 @@ require 'pulp_python_client'
|
|
|
41
41
|
instance = PulpPythonClient::PythonPythonRemote.new(
|
|
42
42
|
name: null,
|
|
43
43
|
url: null,
|
|
44
|
+
pulp_labels: null,
|
|
45
|
+
policy: null,
|
|
44
46
|
ca_cert: null,
|
|
45
47
|
client_cert: null,
|
|
46
48
|
client_key: null,
|
|
@@ -50,15 +52,13 @@ instance = PulpPythonClient::PythonPythonRemote.new(
|
|
|
50
52
|
proxy_password: null,
|
|
51
53
|
username: null,
|
|
52
54
|
password: null,
|
|
53
|
-
pulp_labels: null,
|
|
54
|
-
download_concurrency: null,
|
|
55
55
|
max_retries: null,
|
|
56
|
-
policy: null,
|
|
57
56
|
total_timeout: null,
|
|
58
57
|
connect_timeout: null,
|
|
59
58
|
sock_connect_timeout: null,
|
|
60
59
|
sock_read_timeout: null,
|
|
61
60
|
headers: null,
|
|
61
|
+
download_concurrency: null,
|
|
62
62
|
rate_limit: null,
|
|
63
63
|
includes: null,
|
|
64
64
|
excludes: null,
|
|
@@ -10,21 +10,21 @@
|
|
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
11
11
|
| **name** | **String** | A unique name for this remote. | |
|
|
12
12
|
| **url** | **String** | The URL of an external content source. | |
|
|
13
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
14
|
+
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
15
|
+
| **hidden_fields** | [**Array<PythonPythonRemoteResponseHiddenFieldsInner>**](PythonPythonRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
13
16
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
14
17
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
15
18
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
16
19
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
17
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
18
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
19
20
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
20
|
-
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
21
21
|
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
22
22
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
23
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
24
24
|
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
25
25
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
26
27
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
27
|
-
| **hidden_fields** | [**Array<PythonPythonRemoteResponseHiddenFieldsInner>**](PythonPythonRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
28
28
|
| **includes** | **Array<String>** | A list containing project specifiers for Python packages to include. | [optional] |
|
|
29
29
|
| **excludes** | **Array<String>** | A list containing project specifiers for Python packages to exclude. | [optional] |
|
|
30
30
|
| **prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional] |
|
|
@@ -45,21 +45,21 @@ instance = PulpPythonClient::PythonPythonRemoteResponse.new(
|
|
|
45
45
|
pulp_last_updated: null,
|
|
46
46
|
name: null,
|
|
47
47
|
url: null,
|
|
48
|
+
pulp_labels: null,
|
|
49
|
+
policy: null,
|
|
50
|
+
hidden_fields: null,
|
|
48
51
|
ca_cert: null,
|
|
49
52
|
client_cert: null,
|
|
50
53
|
tls_validation: null,
|
|
51
54
|
proxy_url: null,
|
|
52
|
-
pulp_labels: null,
|
|
53
|
-
download_concurrency: null,
|
|
54
55
|
max_retries: null,
|
|
55
|
-
policy: null,
|
|
56
56
|
total_timeout: null,
|
|
57
57
|
connect_timeout: null,
|
|
58
58
|
sock_connect_timeout: null,
|
|
59
59
|
sock_read_timeout: null,
|
|
60
60
|
headers: null,
|
|
61
|
+
download_concurrency: null,
|
|
61
62
|
rate_limit: null,
|
|
62
|
-
hidden_fields: null,
|
|
63
63
|
includes: null,
|
|
64
64
|
excludes: null,
|
|
65
65
|
prereleases: null,
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# PulpPythonClient::RemoteNetworkConfig
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
8
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
9
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
10
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
11
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
12
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
13
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
14
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
15
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
17
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
18
|
+
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
19
|
+
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
20
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
21
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
22
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
23
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
24
|
+
|
|
25
|
+
## Example
|
|
26
|
+
|
|
27
|
+
```ruby
|
|
28
|
+
require 'pulp_python_client'
|
|
29
|
+
|
|
30
|
+
instance = PulpPythonClient::RemoteNetworkConfig.new(
|
|
31
|
+
ca_cert: null,
|
|
32
|
+
client_cert: null,
|
|
33
|
+
client_key: null,
|
|
34
|
+
tls_validation: null,
|
|
35
|
+
proxy_url: null,
|
|
36
|
+
proxy_username: null,
|
|
37
|
+
proxy_password: null,
|
|
38
|
+
username: null,
|
|
39
|
+
password: null,
|
|
40
|
+
max_retries: null,
|
|
41
|
+
total_timeout: null,
|
|
42
|
+
connect_timeout: null,
|
|
43
|
+
sock_connect_timeout: null,
|
|
44
|
+
sock_read_timeout: null,
|
|
45
|
+
headers: null,
|
|
46
|
+
download_concurrency: null,
|
|
47
|
+
rate_limit: null
|
|
48
|
+
)
|
|
49
|
+
```
|
|
50
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# PulpPythonClient::RemoteNetworkConfigResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
8
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
9
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
10
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
11
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
12
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
13
|
+
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
14
|
+
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
15
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
16
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
17
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
18
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
require 'pulp_python_client'
|
|
24
|
+
|
|
25
|
+
instance = PulpPythonClient::RemoteNetworkConfigResponse.new(
|
|
26
|
+
ca_cert: null,
|
|
27
|
+
client_cert: null,
|
|
28
|
+
tls_validation: null,
|
|
29
|
+
proxy_url: null,
|
|
30
|
+
max_retries: null,
|
|
31
|
+
total_timeout: null,
|
|
32
|
+
connect_timeout: null,
|
|
33
|
+
sock_connect_timeout: null,
|
|
34
|
+
sock_read_timeout: null,
|
|
35
|
+
headers: null,
|
|
36
|
+
download_concurrency: null,
|
|
37
|
+
rate_limit: null
|
|
38
|
+
)
|
|
39
|
+
```
|
|
40
|
+
|
|
@@ -30,6 +30,7 @@ module PulpPythonClient
|
|
|
30
30
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
31
31
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
32
32
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
33
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
33
34
|
# @option opts [String] :author Text containing the author's name. Contact information can also be added, separated with newlines.
|
|
34
35
|
# @option opts [String] :author_email The author's e-mail address.
|
|
35
36
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
|
@@ -75,6 +76,7 @@ module PulpPythonClient
|
|
|
75
76
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
76
77
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
77
78
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
79
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
78
80
|
# @option opts [String] :author Text containing the author's name. Contact information can also be added, separated with newlines.
|
|
79
81
|
# @option opts [String] :author_email The author's e-mail address.
|
|
80
82
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
|
@@ -154,6 +156,7 @@ module PulpPythonClient
|
|
|
154
156
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
155
157
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
156
158
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
159
|
+
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
157
160
|
form_params['author'] = opts[:'author'] if !opts[:'author'].nil?
|
|
158
161
|
form_params['author_email'] = opts[:'author_email'] if !opts[:'author_email'].nil?
|
|
159
162
|
form_params['description'] = opts[:'description'] if !opts[:'description'].nil?
|
|
@@ -214,6 +217,7 @@ module PulpPythonClient
|
|
|
214
217
|
# @param [Hash] opts the optional parameters
|
|
215
218
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
216
219
|
# @option opts [String] :author Filter results where author matches value
|
|
220
|
+
# @option opts [String] :author__contains Filter results where author contains value
|
|
217
221
|
# @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
|
|
218
222
|
# @option opts [String] :filename Filter results where filename matches value
|
|
219
223
|
# @option opts [String] :filename__contains Filter results where filename contains value
|
|
@@ -222,6 +226,7 @@ module PulpPythonClient
|
|
|
222
226
|
# @option opts [Array<String>] :keywords__in Filter results where keywords is in a comma-separated list of values
|
|
223
227
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
224
228
|
# @option opts [String] :name Filter results where name matches value
|
|
229
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
|
225
230
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
226
231
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
227
232
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -259,6 +264,7 @@ module PulpPythonClient
|
|
|
259
264
|
# @param [Hash] opts the optional parameters
|
|
260
265
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
261
266
|
# @option opts [String] :author Filter results where author matches value
|
|
267
|
+
# @option opts [String] :author__contains Filter results where author contains value
|
|
262
268
|
# @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
|
|
263
269
|
# @option opts [String] :filename Filter results where filename matches value
|
|
264
270
|
# @option opts [String] :filename__contains Filter results where filename contains value
|
|
@@ -267,6 +273,7 @@ module PulpPythonClient
|
|
|
267
273
|
# @option opts [Array<String>] :keywords__in Filter results where keywords is in a comma-separated list of values
|
|
268
274
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
269
275
|
# @option opts [String] :name Filter results where name matches value
|
|
276
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
|
270
277
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
271
278
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
272
279
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -312,6 +319,7 @@ module PulpPythonClient
|
|
|
312
319
|
# query parameters
|
|
313
320
|
query_params = opts[:query_params] || {}
|
|
314
321
|
query_params[:'author'] = opts[:'author'] if !opts[:'author'].nil?
|
|
322
|
+
query_params[:'author__contains'] = opts[:'author__contains'] if !opts[:'author__contains'].nil?
|
|
315
323
|
query_params[:'author__in'] = @api_client.build_collection_param(opts[:'author__in'], :csv) if !opts[:'author__in'].nil?
|
|
316
324
|
query_params[:'filename'] = opts[:'filename'] if !opts[:'filename'].nil?
|
|
317
325
|
query_params[:'filename__contains'] = opts[:'filename__contains'] if !opts[:'filename__contains'].nil?
|
|
@@ -320,6 +328,7 @@ module PulpPythonClient
|
|
|
320
328
|
query_params[:'keywords__in'] = @api_client.build_collection_param(opts[:'keywords__in'], :csv) if !opts[:'keywords__in'].nil?
|
|
321
329
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
322
330
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
331
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
|
323
332
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
|
324
333
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
325
334
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
@@ -617,6 +626,7 @@ module PulpPythonClient
|
|
|
617
626
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
618
627
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
619
628
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
629
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
620
630
|
# @option opts [String] :author Text containing the author's name. Contact information can also be added, separated with newlines.
|
|
621
631
|
# @option opts [String] :author_email The author's e-mail address.
|
|
622
632
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
|
@@ -660,6 +670,7 @@ module PulpPythonClient
|
|
|
660
670
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
661
671
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
662
672
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
673
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
663
674
|
# @option opts [String] :author Text containing the author's name. Contact information can also be added, separated with newlines.
|
|
664
675
|
# @option opts [String] :author_email The author's e-mail address.
|
|
665
676
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
|
@@ -729,6 +740,7 @@ module PulpPythonClient
|
|
|
729
740
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
730
741
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
731
742
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
743
|
+
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
732
744
|
form_params['author'] = opts[:'author'] if !opts[:'author'].nil?
|
|
733
745
|
form_params['author_email'] = opts[:'author_email'] if !opts[:'author_email'].nil?
|
|
734
746
|
form_params['description'] = opts[:'description'] if !opts[:'description'].nil?
|
|
@@ -29,6 +29,7 @@ module PulpPythonClient
|
|
|
29
29
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
30
30
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
31
31
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
32
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
32
33
|
# @option opts [Boolean] :verify Verify each attestation in the provenance. (default to true)
|
|
33
34
|
# @return [AsyncOperationResponse]
|
|
34
35
|
def create(package, opts = {})
|
|
@@ -46,6 +47,7 @@ module PulpPythonClient
|
|
|
46
47
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
47
48
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
48
49
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
50
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
49
51
|
# @option opts [Boolean] :verify Verify each attestation in the provenance. (default to true)
|
|
50
52
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
51
53
|
def create_with_http_info(package, opts = {})
|
|
@@ -85,6 +87,7 @@ module PulpPythonClient
|
|
|
85
87
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
86
88
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
87
89
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
90
|
+
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
88
91
|
form_params['verify'] = opts[:'verify'] if !opts[:'verify'].nil?
|
|
89
92
|
|
|
90
93
|
# http body (model)
|