pulp_python_client 3.24.1 → 3.24.2
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 +4 -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 +6 -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 +2 -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: c78e0bd8de5512159940037d0200b8cc6091e2d2ad370d8372a5a5a5b67d5acc
|
|
4
|
+
data.tar.gz: 8a74d2ae44995e6ab0328c4a70880819f37aa7282f7437a68f7ee87161c314ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9ac60cc52845861c9f10c421a5510fcad1ebc2acc90600b2d50ff317eef286b2156bfb78ddd817d844cf9624cd1aa6a7d9e0cd1c3a16bfb951669d85ba42543
|
|
7
|
+
data.tar.gz: 2a527b7df77621c4af4557df708e191f9db2aa56466e90ccfb20e0bbd5aeaaf12c7ca5e3349d1e202bd545f4dd5e9748856ba748a5d1a3051191e30f48a27ba9
|
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.24.
|
|
10
|
+
- Package version: 3.24.2
|
|
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.24.
|
|
28
|
+
gem install ./pulp_python_client-3.24.2.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_python_client-3.24.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_python_client-3.24.2.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.24.
|
|
37
|
+
gem 'pulp_python_client', '~> 3.24.2'
|
|
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] |
|
|
@@ -554,6 +556,7 @@ opts = {
|
|
|
554
556
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
555
557
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
556
558
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
559
|
+
downloader_config: PulpPythonClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
557
560
|
author: 'author_example', # String | Text containing the author's name. Contact information can also be added, separated with newlines.
|
|
558
561
|
author_email: 'author_email_example', # String | The author's e-mail address.
|
|
559
562
|
description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
|
|
@@ -621,6 +624,7 @@ end
|
|
|
621
624
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
622
625
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
623
626
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
627
|
+
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
624
628
|
| **author** | **String** | Text containing the author's name. Contact information can also be added, separated with newlines. | [optional] |
|
|
625
629
|
| **author_email** | **String** | The author's e-mail address. | [optional] |
|
|
626
630
|
| **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?
|
|
@@ -617,6 +620,7 @@ module PulpPythonClient
|
|
|
617
620
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
618
621
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
619
622
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
623
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
620
624
|
# @option opts [String] :author Text containing the author's name. Contact information can also be added, separated with newlines.
|
|
621
625
|
# @option opts [String] :author_email The author's e-mail address.
|
|
622
626
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
|
@@ -660,6 +664,7 @@ module PulpPythonClient
|
|
|
660
664
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
661
665
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
662
666
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
667
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
663
668
|
# @option opts [String] :author Text containing the author's name. Contact information can also be added, separated with newlines.
|
|
664
669
|
# @option opts [String] :author_email The author's e-mail address.
|
|
665
670
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
|
@@ -729,6 +734,7 @@ module PulpPythonClient
|
|
|
729
734
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
730
735
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
731
736
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
737
|
+
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
732
738
|
form_params['author'] = opts[:'author'] if !opts[:'author'].nil?
|
|
733
739
|
form_params['author_email'] = opts[:'author_email'] if !opts[:'author_email'].nil?
|
|
734
740
|
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)
|
|
@@ -22,6 +22,11 @@ module PulpPythonClient
|
|
|
22
22
|
# The URL of an external content source.
|
|
23
23
|
attr_accessor :url
|
|
24
24
|
|
|
25
|
+
attr_accessor :pulp_labels
|
|
26
|
+
|
|
27
|
+
# 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.
|
|
28
|
+
attr_accessor :policy
|
|
29
|
+
|
|
25
30
|
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
|
26
31
|
attr_accessor :ca_cert
|
|
27
32
|
|
|
@@ -49,17 +54,9 @@ module PulpPythonClient
|
|
|
49
54
|
# The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
|
|
50
55
|
attr_accessor :password
|
|
51
56
|
|
|
52
|
-
attr_accessor :pulp_labels
|
|
53
|
-
|
|
54
|
-
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
55
|
-
attr_accessor :download_concurrency
|
|
56
|
-
|
|
57
57
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
58
58
|
attr_accessor :max_retries
|
|
59
59
|
|
|
60
|
-
# 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.
|
|
61
|
-
attr_accessor :policy
|
|
62
|
-
|
|
63
60
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
64
61
|
attr_accessor :total_timeout
|
|
65
62
|
|
|
@@ -75,6 +72,9 @@ module PulpPythonClient
|
|
|
75
72
|
# Headers for aiohttp.Clientsession
|
|
76
73
|
attr_accessor :headers
|
|
77
74
|
|
|
75
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
76
|
+
attr_accessor :download_concurrency
|
|
77
|
+
|
|
78
78
|
# Limits requests per second for each concurrent downloader
|
|
79
79
|
attr_accessor :rate_limit
|
|
80
80
|
|
|
@@ -126,6 +126,8 @@ module PulpPythonClient
|
|
|
126
126
|
{
|
|
127
127
|
:'name' => :'name',
|
|
128
128
|
:'url' => :'url',
|
|
129
|
+
:'pulp_labels' => :'pulp_labels',
|
|
130
|
+
:'policy' => :'policy',
|
|
129
131
|
:'ca_cert' => :'ca_cert',
|
|
130
132
|
:'client_cert' => :'client_cert',
|
|
131
133
|
:'client_key' => :'client_key',
|
|
@@ -135,15 +137,13 @@ module PulpPythonClient
|
|
|
135
137
|
:'proxy_password' => :'proxy_password',
|
|
136
138
|
:'username' => :'username',
|
|
137
139
|
:'password' => :'password',
|
|
138
|
-
:'pulp_labels' => :'pulp_labels',
|
|
139
|
-
:'download_concurrency' => :'download_concurrency',
|
|
140
140
|
:'max_retries' => :'max_retries',
|
|
141
|
-
:'policy' => :'policy',
|
|
142
141
|
:'total_timeout' => :'total_timeout',
|
|
143
142
|
:'connect_timeout' => :'connect_timeout',
|
|
144
143
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
|
145
144
|
:'sock_read_timeout' => :'sock_read_timeout',
|
|
146
145
|
:'headers' => :'headers',
|
|
146
|
+
:'download_concurrency' => :'download_concurrency',
|
|
147
147
|
:'rate_limit' => :'rate_limit',
|
|
148
148
|
:'includes' => :'includes',
|
|
149
149
|
:'excludes' => :'excludes',
|
|
@@ -165,6 +165,8 @@ module PulpPythonClient
|
|
|
165
165
|
{
|
|
166
166
|
:'name' => :'String',
|
|
167
167
|
:'url' => :'String',
|
|
168
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
169
|
+
:'policy' => :'PolicyEnum',
|
|
168
170
|
:'ca_cert' => :'String',
|
|
169
171
|
:'client_cert' => :'String',
|
|
170
172
|
:'client_key' => :'String',
|
|
@@ -174,15 +176,13 @@ module PulpPythonClient
|
|
|
174
176
|
:'proxy_password' => :'String',
|
|
175
177
|
:'username' => :'String',
|
|
176
178
|
:'password' => :'String',
|
|
177
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
178
|
-
:'download_concurrency' => :'Integer',
|
|
179
179
|
:'max_retries' => :'Integer',
|
|
180
|
-
:'policy' => :'PolicyEnum',
|
|
181
180
|
:'total_timeout' => :'Float',
|
|
182
181
|
:'connect_timeout' => :'Float',
|
|
183
182
|
:'sock_connect_timeout' => :'Float',
|
|
184
183
|
:'sock_read_timeout' => :'Float',
|
|
185
184
|
:'headers' => :'Array<Object>',
|
|
185
|
+
:'download_concurrency' => :'Integer',
|
|
186
186
|
:'rate_limit' => :'Integer',
|
|
187
187
|
:'includes' => :'Array<String>',
|
|
188
188
|
:'excludes' => :'Array<String>',
|
|
@@ -205,12 +205,12 @@ module PulpPythonClient
|
|
|
205
205
|
:'proxy_password',
|
|
206
206
|
:'username',
|
|
207
207
|
:'password',
|
|
208
|
-
:'download_concurrency',
|
|
209
208
|
:'max_retries',
|
|
210
209
|
:'total_timeout',
|
|
211
210
|
:'connect_timeout',
|
|
212
211
|
:'sock_connect_timeout',
|
|
213
212
|
:'sock_read_timeout',
|
|
213
|
+
:'download_concurrency',
|
|
214
214
|
:'rate_limit',
|
|
215
215
|
])
|
|
216
216
|
end
|
|
@@ -238,6 +238,16 @@ module PulpPythonClient
|
|
|
238
238
|
self.url = attributes[:'url']
|
|
239
239
|
end
|
|
240
240
|
|
|
241
|
+
if attributes.key?(:'pulp_labels')
|
|
242
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
243
|
+
self.pulp_labels = value
|
|
244
|
+
end
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
if attributes.key?(:'policy')
|
|
248
|
+
self.policy = attributes[:'policy']
|
|
249
|
+
end
|
|
250
|
+
|
|
241
251
|
if attributes.key?(:'ca_cert')
|
|
242
252
|
self.ca_cert = attributes[:'ca_cert']
|
|
243
253
|
end
|
|
@@ -274,24 +284,10 @@ module PulpPythonClient
|
|
|
274
284
|
self.password = attributes[:'password']
|
|
275
285
|
end
|
|
276
286
|
|
|
277
|
-
if attributes.key?(:'pulp_labels')
|
|
278
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
279
|
-
self.pulp_labels = value
|
|
280
|
-
end
|
|
281
|
-
end
|
|
282
|
-
|
|
283
|
-
if attributes.key?(:'download_concurrency')
|
|
284
|
-
self.download_concurrency = attributes[:'download_concurrency']
|
|
285
|
-
end
|
|
286
|
-
|
|
287
287
|
if attributes.key?(:'max_retries')
|
|
288
288
|
self.max_retries = attributes[:'max_retries']
|
|
289
289
|
end
|
|
290
290
|
|
|
291
|
-
if attributes.key?(:'policy')
|
|
292
|
-
self.policy = attributes[:'policy']
|
|
293
|
-
end
|
|
294
|
-
|
|
295
291
|
if attributes.key?(:'total_timeout')
|
|
296
292
|
self.total_timeout = attributes[:'total_timeout']
|
|
297
293
|
end
|
|
@@ -314,6 +310,10 @@ module PulpPythonClient
|
|
|
314
310
|
end
|
|
315
311
|
end
|
|
316
312
|
|
|
313
|
+
if attributes.key?(:'download_concurrency')
|
|
314
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
|
315
|
+
end
|
|
316
|
+
|
|
317
317
|
if attributes.key?(:'rate_limit')
|
|
318
318
|
self.rate_limit = attributes[:'rate_limit']
|
|
319
319
|
end
|
|
@@ -599,6 +599,8 @@ module PulpPythonClient
|
|
|
599
599
|
self.class == o.class &&
|
|
600
600
|
name == o.name &&
|
|
601
601
|
url == o.url &&
|
|
602
|
+
pulp_labels == o.pulp_labels &&
|
|
603
|
+
policy == o.policy &&
|
|
602
604
|
ca_cert == o.ca_cert &&
|
|
603
605
|
client_cert == o.client_cert &&
|
|
604
606
|
client_key == o.client_key &&
|
|
@@ -608,15 +610,13 @@ module PulpPythonClient
|
|
|
608
610
|
proxy_password == o.proxy_password &&
|
|
609
611
|
username == o.username &&
|
|
610
612
|
password == o.password &&
|
|
611
|
-
pulp_labels == o.pulp_labels &&
|
|
612
|
-
download_concurrency == o.download_concurrency &&
|
|
613
613
|
max_retries == o.max_retries &&
|
|
614
|
-
policy == o.policy &&
|
|
615
614
|
total_timeout == o.total_timeout &&
|
|
616
615
|
connect_timeout == o.connect_timeout &&
|
|
617
616
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
618
617
|
sock_read_timeout == o.sock_read_timeout &&
|
|
619
618
|
headers == o.headers &&
|
|
619
|
+
download_concurrency == o.download_concurrency &&
|
|
620
620
|
rate_limit == o.rate_limit &&
|
|
621
621
|
includes == o.includes &&
|
|
622
622
|
excludes == o.excludes &&
|
|
@@ -636,7 +636,7 @@ module PulpPythonClient
|
|
|
636
636
|
# Calculates hash code according to all attributes.
|
|
637
637
|
# @return [Integer] Hash code
|
|
638
638
|
def hash
|
|
639
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password,
|
|
639
|
+
[name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, includes, excludes, prereleases, package_types, keep_latest_packages, exclude_platforms, provenance].hash
|
|
640
640
|
end
|
|
641
641
|
|
|
642
642
|
# Builds the object from hash
|