pulp_rpm_client 3.13.3 → 3.14.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 +4 -4
- data/docs/PatchedrpmRpmRemote.md +7 -5
- data/docs/PatchedrpmUlnRemote.md +7 -5
- data/docs/RpmRpmRemote.md +7 -5
- data/docs/RpmRpmRemoteResponse.md +7 -5
- data/docs/RpmUlnRemote.md +7 -5
- data/docs/RpmUlnRemoteResponse.md +7 -5
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +18 -6
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +18 -6
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/models/patchedrpm_rpm_remote_spec.rb +6 -0
- data/spec/models/patchedrpm_uln_remote_spec.rb +6 -0
- data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_remote_spec.rb +6 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
- data/spec/models/rpm_uln_remote_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 29bc29d66d39b76d8e6d8c6d85374b4c8b42cb18e0dcc564dd52b02f07e0ba4e
|
|
4
|
+
data.tar.gz: 3ae86c279371913657399722c377877a2663cd38b96ab0256681d5cb37f8c4ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef389308529ca1067f16e4b65b79b9e446fddf2b8f654f5639e82ee2894d3d7cbd65194acf22fade88ae0ded30d655343760167bdec8c5e5853d064467ebd472
|
|
7
|
+
data.tar.gz: 1146602e27f4dd7d1094e83273917fa86ff2868293626cdba4347c5234590416f99e70390a6b41371ec92a3d310350aad3cdfafbe49de8e647b31fb33dec7e2f
|
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.14.0
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_rpm_client-3.
|
|
27
|
+
gem install ./pulp_rpm_client-3.14.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.14.0.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulp_rpm_client', '~> 3.
|
|
36
|
+
gem 'pulp_rpm_client', '~> 3.14.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
data/docs/PatchedrpmRpmRemote.md
CHANGED
|
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
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
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
22
|
+
**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
|
+
**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
|
+
**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
|
+
**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
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
|
27
28
|
**sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional]
|
|
@@ -44,6 +45,7 @@ instance = PulpRpmClient::PatchedrpmRpmRemote.new(name: null,
|
|
|
44
45
|
password: null,
|
|
45
46
|
pulp_labels: null,
|
|
46
47
|
download_concurrency: null,
|
|
48
|
+
max_retries: null,
|
|
47
49
|
policy: null,
|
|
48
50
|
total_timeout: null,
|
|
49
51
|
connect_timeout: null,
|
data/docs/PatchedrpmUlnRemote.md
CHANGED
|
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**username** | **String** | Your ULN account username. | [optional]
|
|
17
17
|
**password** | **String** | Your ULN account password. | [optional]
|
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
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
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
22
|
+
**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
|
+
**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
|
+
**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
|
+
**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
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
|
27
28
|
**uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional]
|
|
@@ -44,6 +45,7 @@ instance = PulpRpmClient::PatchedrpmUlnRemote.new(name: null,
|
|
|
44
45
|
password: null,
|
|
45
46
|
pulp_labels: null,
|
|
46
47
|
download_concurrency: null,
|
|
48
|
+
max_retries: null,
|
|
47
49
|
policy: null,
|
|
48
50
|
total_timeout: null,
|
|
49
51
|
connect_timeout: null,
|
data/docs/RpmRpmRemote.md
CHANGED
|
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
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
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
22
|
+
**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
|
+
**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
|
+
**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
|
+
**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
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
|
27
28
|
**sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional]
|
|
@@ -44,6 +45,7 @@ instance = PulpRpmClient::RpmRpmRemote.new(name: null,
|
|
|
44
45
|
password: null,
|
|
45
46
|
pulp_labels: null,
|
|
46
47
|
download_concurrency: null,
|
|
48
|
+
max_retries: null,
|
|
47
49
|
policy: null,
|
|
48
50
|
total_timeout: null,
|
|
49
51
|
connect_timeout: null,
|
|
@@ -14,12 +14,13 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
15
15
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
17
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
17
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
18
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
18
19
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
|
19
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
|
20
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
21
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
22
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
20
|
+
**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]
|
|
21
|
+
**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]
|
|
22
|
+
**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]
|
|
23
|
+
**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]
|
|
23
24
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
24
25
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
|
25
26
|
**sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional]
|
|
@@ -40,6 +41,7 @@ instance = PulpRpmClient::RpmRpmRemoteResponse.new(pulp_href: null,
|
|
|
40
41
|
pulp_labels: null,
|
|
41
42
|
pulp_last_updated: null,
|
|
42
43
|
download_concurrency: null,
|
|
44
|
+
max_retries: null,
|
|
43
45
|
policy: null,
|
|
44
46
|
total_timeout: null,
|
|
45
47
|
connect_timeout: null,
|
data/docs/RpmUlnRemote.md
CHANGED
|
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**username** | **String** | Your ULN account username. |
|
|
17
17
|
**password** | **String** | Your ULN account password. |
|
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
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
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
22
|
+
**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
|
+
**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
|
+
**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
|
+
**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
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
|
27
28
|
**uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional]
|
|
@@ -44,6 +45,7 @@ instance = PulpRpmClient::RpmUlnRemote.new(name: null,
|
|
|
44
45
|
password: null,
|
|
45
46
|
pulp_labels: null,
|
|
46
47
|
download_concurrency: null,
|
|
48
|
+
max_retries: null,
|
|
47
49
|
policy: null,
|
|
48
50
|
total_timeout: null,
|
|
49
51
|
connect_timeout: null,
|
|
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**password** | **String** | Your ULN account password. |
|
|
17
17
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
18
18
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
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
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
22
|
+
**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
|
+
**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
|
+
**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
|
+
**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
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
|
27
28
|
**uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional]
|
|
@@ -44,6 +45,7 @@ instance = PulpRpmClient::RpmUlnRemoteResponse.new(pulp_href: null,
|
|
|
44
45
|
pulp_labels: null,
|
|
45
46
|
pulp_last_updated: null,
|
|
46
47
|
download_concurrency: null,
|
|
48
|
+
max_retries: null,
|
|
47
49
|
policy: null,
|
|
48
50
|
total_timeout: null,
|
|
49
51
|
connect_timeout: null,
|
|
@@ -50,22 +50,25 @@ module PulpRpmClient
|
|
|
50
50
|
|
|
51
51
|
attr_accessor :pulp_labels
|
|
52
52
|
|
|
53
|
-
# Total number of simultaneous connections.
|
|
53
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
54
54
|
attr_accessor :download_concurrency
|
|
55
55
|
|
|
56
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
57
|
+
attr_accessor :max_retries
|
|
58
|
+
|
|
56
59
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
|
57
60
|
attr_accessor :policy
|
|
58
61
|
|
|
59
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
|
62
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
60
63
|
attr_accessor :total_timeout
|
|
61
64
|
|
|
62
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
|
65
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
63
66
|
attr_accessor :connect_timeout
|
|
64
67
|
|
|
65
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
|
68
|
+
# 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.
|
|
66
69
|
attr_accessor :sock_connect_timeout
|
|
67
70
|
|
|
68
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
|
71
|
+
# 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.
|
|
69
72
|
attr_accessor :sock_read_timeout
|
|
70
73
|
|
|
71
74
|
# Headers for aiohttp.Clientsession
|
|
@@ -93,6 +96,7 @@ module PulpRpmClient
|
|
|
93
96
|
:'password' => :'password',
|
|
94
97
|
:'pulp_labels' => :'pulp_labels',
|
|
95
98
|
:'download_concurrency' => :'download_concurrency',
|
|
99
|
+
:'max_retries' => :'max_retries',
|
|
96
100
|
:'policy' => :'policy',
|
|
97
101
|
:'total_timeout' => :'total_timeout',
|
|
98
102
|
:'connect_timeout' => :'connect_timeout',
|
|
@@ -120,6 +124,7 @@ module PulpRpmClient
|
|
|
120
124
|
:'password' => :'String',
|
|
121
125
|
:'pulp_labels' => :'Object',
|
|
122
126
|
:'download_concurrency' => :'Integer',
|
|
127
|
+
:'max_retries' => :'Integer',
|
|
123
128
|
:'policy' => :'PolicyEnum',
|
|
124
129
|
:'total_timeout' => :'Float',
|
|
125
130
|
:'connect_timeout' => :'Float',
|
|
@@ -142,6 +147,8 @@ module PulpRpmClient
|
|
|
142
147
|
:'proxy_password',
|
|
143
148
|
:'username',
|
|
144
149
|
:'password',
|
|
150
|
+
:'download_concurrency',
|
|
151
|
+
:'max_retries',
|
|
145
152
|
:'total_timeout',
|
|
146
153
|
:'connect_timeout',
|
|
147
154
|
:'sock_connect_timeout',
|
|
@@ -218,6 +225,10 @@ module PulpRpmClient
|
|
|
218
225
|
self.download_concurrency = attributes[:'download_concurrency']
|
|
219
226
|
end
|
|
220
227
|
|
|
228
|
+
if attributes.key?(:'max_retries')
|
|
229
|
+
self.max_retries = attributes[:'max_retries']
|
|
230
|
+
end
|
|
231
|
+
|
|
221
232
|
if attributes.key?(:'policy')
|
|
222
233
|
self.policy = attributes[:'policy']
|
|
223
234
|
end
|
|
@@ -359,6 +370,7 @@ module PulpRpmClient
|
|
|
359
370
|
password == o.password &&
|
|
360
371
|
pulp_labels == o.pulp_labels &&
|
|
361
372
|
download_concurrency == o.download_concurrency &&
|
|
373
|
+
max_retries == o.max_retries &&
|
|
362
374
|
policy == o.policy &&
|
|
363
375
|
total_timeout == o.total_timeout &&
|
|
364
376
|
connect_timeout == o.connect_timeout &&
|
|
@@ -378,7 +390,7 @@ module PulpRpmClient
|
|
|
378
390
|
# Calculates hash code according to all attributes.
|
|
379
391
|
# @return [Integer] Hash code
|
|
380
392
|
def hash
|
|
381
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, sles_auth_token].hash
|
|
393
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, sles_auth_token].hash
|
|
382
394
|
end
|
|
383
395
|
|
|
384
396
|
# Builds the object from hash
|
|
@@ -50,22 +50,25 @@ module PulpRpmClient
|
|
|
50
50
|
|
|
51
51
|
attr_accessor :pulp_labels
|
|
52
52
|
|
|
53
|
-
# Total number of simultaneous connections.
|
|
53
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
54
54
|
attr_accessor :download_concurrency
|
|
55
55
|
|
|
56
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
57
|
+
attr_accessor :max_retries
|
|
58
|
+
|
|
56
59
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
|
57
60
|
attr_accessor :policy
|
|
58
61
|
|
|
59
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
|
62
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
60
63
|
attr_accessor :total_timeout
|
|
61
64
|
|
|
62
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
|
65
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
63
66
|
attr_accessor :connect_timeout
|
|
64
67
|
|
|
65
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
|
68
|
+
# 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.
|
|
66
69
|
attr_accessor :sock_connect_timeout
|
|
67
70
|
|
|
68
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
|
71
|
+
# 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.
|
|
69
72
|
attr_accessor :sock_read_timeout
|
|
70
73
|
|
|
71
74
|
# Headers for aiohttp.Clientsession
|
|
@@ -93,6 +96,7 @@ module PulpRpmClient
|
|
|
93
96
|
:'password' => :'password',
|
|
94
97
|
:'pulp_labels' => :'pulp_labels',
|
|
95
98
|
:'download_concurrency' => :'download_concurrency',
|
|
99
|
+
:'max_retries' => :'max_retries',
|
|
96
100
|
:'policy' => :'policy',
|
|
97
101
|
:'total_timeout' => :'total_timeout',
|
|
98
102
|
:'connect_timeout' => :'connect_timeout',
|
|
@@ -120,6 +124,7 @@ module PulpRpmClient
|
|
|
120
124
|
:'password' => :'String',
|
|
121
125
|
:'pulp_labels' => :'Object',
|
|
122
126
|
:'download_concurrency' => :'Integer',
|
|
127
|
+
:'max_retries' => :'Integer',
|
|
123
128
|
:'policy' => :'PolicyEnum',
|
|
124
129
|
:'total_timeout' => :'Float',
|
|
125
130
|
:'connect_timeout' => :'Float',
|
|
@@ -140,6 +145,8 @@ module PulpRpmClient
|
|
|
140
145
|
:'proxy_url',
|
|
141
146
|
:'proxy_username',
|
|
142
147
|
:'proxy_password',
|
|
148
|
+
:'download_concurrency',
|
|
149
|
+
:'max_retries',
|
|
143
150
|
:'total_timeout',
|
|
144
151
|
:'connect_timeout',
|
|
145
152
|
:'sock_connect_timeout',
|
|
@@ -216,6 +223,10 @@ module PulpRpmClient
|
|
|
216
223
|
self.download_concurrency = attributes[:'download_concurrency']
|
|
217
224
|
end
|
|
218
225
|
|
|
226
|
+
if attributes.key?(:'max_retries')
|
|
227
|
+
self.max_retries = attributes[:'max_retries']
|
|
228
|
+
end
|
|
229
|
+
|
|
219
230
|
if attributes.key?(:'policy')
|
|
220
231
|
self.policy = attributes[:'policy']
|
|
221
232
|
end
|
|
@@ -357,6 +368,7 @@ module PulpRpmClient
|
|
|
357
368
|
password == o.password &&
|
|
358
369
|
pulp_labels == o.pulp_labels &&
|
|
359
370
|
download_concurrency == o.download_concurrency &&
|
|
371
|
+
max_retries == o.max_retries &&
|
|
360
372
|
policy == o.policy &&
|
|
361
373
|
total_timeout == o.total_timeout &&
|
|
362
374
|
connect_timeout == o.connect_timeout &&
|
|
@@ -376,7 +388,7 @@ module PulpRpmClient
|
|
|
376
388
|
# Calculates hash code according to all attributes.
|
|
377
389
|
# @return [Integer] Hash code
|
|
378
390
|
def hash
|
|
379
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, uln_server_base_url].hash
|
|
391
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, uln_server_base_url].hash
|
|
380
392
|
end
|
|
381
393
|
|
|
382
394
|
# Builds the object from hash
|
|
@@ -50,22 +50,25 @@ module PulpRpmClient
|
|
|
50
50
|
|
|
51
51
|
attr_accessor :pulp_labels
|
|
52
52
|
|
|
53
|
-
# Total number of simultaneous connections.
|
|
53
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
54
54
|
attr_accessor :download_concurrency
|
|
55
55
|
|
|
56
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
57
|
+
attr_accessor :max_retries
|
|
58
|
+
|
|
56
59
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
|
57
60
|
attr_accessor :policy
|
|
58
61
|
|
|
59
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
|
62
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
60
63
|
attr_accessor :total_timeout
|
|
61
64
|
|
|
62
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
|
65
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
63
66
|
attr_accessor :connect_timeout
|
|
64
67
|
|
|
65
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
|
68
|
+
# 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.
|
|
66
69
|
attr_accessor :sock_connect_timeout
|
|
67
70
|
|
|
68
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
|
71
|
+
# 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.
|
|
69
72
|
attr_accessor :sock_read_timeout
|
|
70
73
|
|
|
71
74
|
# Headers for aiohttp.Clientsession
|
|
@@ -93,6 +96,7 @@ module PulpRpmClient
|
|
|
93
96
|
:'password' => :'password',
|
|
94
97
|
:'pulp_labels' => :'pulp_labels',
|
|
95
98
|
:'download_concurrency' => :'download_concurrency',
|
|
99
|
+
:'max_retries' => :'max_retries',
|
|
96
100
|
:'policy' => :'policy',
|
|
97
101
|
:'total_timeout' => :'total_timeout',
|
|
98
102
|
:'connect_timeout' => :'connect_timeout',
|
|
@@ -120,6 +124,7 @@ module PulpRpmClient
|
|
|
120
124
|
:'password' => :'String',
|
|
121
125
|
:'pulp_labels' => :'Object',
|
|
122
126
|
:'download_concurrency' => :'Integer',
|
|
127
|
+
:'max_retries' => :'Integer',
|
|
123
128
|
:'policy' => :'PolicyEnum',
|
|
124
129
|
:'total_timeout' => :'Float',
|
|
125
130
|
:'connect_timeout' => :'Float',
|
|
@@ -142,6 +147,8 @@ module PulpRpmClient
|
|
|
142
147
|
:'proxy_password',
|
|
143
148
|
:'username',
|
|
144
149
|
:'password',
|
|
150
|
+
:'download_concurrency',
|
|
151
|
+
:'max_retries',
|
|
145
152
|
:'total_timeout',
|
|
146
153
|
:'connect_timeout',
|
|
147
154
|
:'sock_connect_timeout',
|
|
@@ -218,6 +225,10 @@ module PulpRpmClient
|
|
|
218
225
|
self.download_concurrency = attributes[:'download_concurrency']
|
|
219
226
|
end
|
|
220
227
|
|
|
228
|
+
if attributes.key?(:'max_retries')
|
|
229
|
+
self.max_retries = attributes[:'max_retries']
|
|
230
|
+
end
|
|
231
|
+
|
|
221
232
|
if attributes.key?(:'policy')
|
|
222
233
|
self.policy = attributes[:'policy']
|
|
223
234
|
end
|
|
@@ -369,6 +380,7 @@ module PulpRpmClient
|
|
|
369
380
|
password == o.password &&
|
|
370
381
|
pulp_labels == o.pulp_labels &&
|
|
371
382
|
download_concurrency == o.download_concurrency &&
|
|
383
|
+
max_retries == o.max_retries &&
|
|
372
384
|
policy == o.policy &&
|
|
373
385
|
total_timeout == o.total_timeout &&
|
|
374
386
|
connect_timeout == o.connect_timeout &&
|
|
@@ -388,7 +400,7 @@ module PulpRpmClient
|
|
|
388
400
|
# Calculates hash code according to all attributes.
|
|
389
401
|
# @return [Integer] Hash code
|
|
390
402
|
def hash
|
|
391
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, sles_auth_token].hash
|
|
403
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, sles_auth_token].hash
|
|
392
404
|
end
|
|
393
405
|
|
|
394
406
|
# Builds the object from hash
|
|
@@ -43,22 +43,25 @@ module PulpRpmClient
|
|
|
43
43
|
# Timestamp of the most recent update of the remote.
|
|
44
44
|
attr_accessor :pulp_last_updated
|
|
45
45
|
|
|
46
|
-
# Total number of simultaneous connections.
|
|
46
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
47
47
|
attr_accessor :download_concurrency
|
|
48
48
|
|
|
49
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
50
|
+
attr_accessor :max_retries
|
|
51
|
+
|
|
49
52
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
|
50
53
|
attr_accessor :policy
|
|
51
54
|
|
|
52
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
|
55
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
53
56
|
attr_accessor :total_timeout
|
|
54
57
|
|
|
55
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
|
58
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
56
59
|
attr_accessor :connect_timeout
|
|
57
60
|
|
|
58
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
|
61
|
+
# 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.
|
|
59
62
|
attr_accessor :sock_connect_timeout
|
|
60
63
|
|
|
61
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
|
64
|
+
# 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.
|
|
62
65
|
attr_accessor :sock_read_timeout
|
|
63
66
|
|
|
64
67
|
# Headers for aiohttp.Clientsession
|
|
@@ -84,6 +87,7 @@ module PulpRpmClient
|
|
|
84
87
|
:'pulp_labels' => :'pulp_labels',
|
|
85
88
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
86
89
|
:'download_concurrency' => :'download_concurrency',
|
|
90
|
+
:'max_retries' => :'max_retries',
|
|
87
91
|
:'policy' => :'policy',
|
|
88
92
|
:'total_timeout' => :'total_timeout',
|
|
89
93
|
:'connect_timeout' => :'connect_timeout',
|
|
@@ -109,6 +113,7 @@ module PulpRpmClient
|
|
|
109
113
|
:'pulp_labels' => :'Object',
|
|
110
114
|
:'pulp_last_updated' => :'DateTime',
|
|
111
115
|
:'download_concurrency' => :'Integer',
|
|
116
|
+
:'max_retries' => :'Integer',
|
|
112
117
|
:'policy' => :'PolicyEnum',
|
|
113
118
|
:'total_timeout' => :'Float',
|
|
114
119
|
:'connect_timeout' => :'Float',
|
|
@@ -126,6 +131,8 @@ module PulpRpmClient
|
|
|
126
131
|
:'ca_cert',
|
|
127
132
|
:'client_cert',
|
|
128
133
|
:'proxy_url',
|
|
134
|
+
:'download_concurrency',
|
|
135
|
+
:'max_retries',
|
|
129
136
|
:'total_timeout',
|
|
130
137
|
:'connect_timeout',
|
|
131
138
|
:'sock_connect_timeout',
|
|
@@ -194,6 +201,10 @@ module PulpRpmClient
|
|
|
194
201
|
self.download_concurrency = attributes[:'download_concurrency']
|
|
195
202
|
end
|
|
196
203
|
|
|
204
|
+
if attributes.key?(:'max_retries')
|
|
205
|
+
self.max_retries = attributes[:'max_retries']
|
|
206
|
+
end
|
|
207
|
+
|
|
197
208
|
if attributes.key?(:'policy')
|
|
198
209
|
self.policy = attributes[:'policy']
|
|
199
210
|
end
|
|
@@ -343,6 +354,7 @@ module PulpRpmClient
|
|
|
343
354
|
pulp_labels == o.pulp_labels &&
|
|
344
355
|
pulp_last_updated == o.pulp_last_updated &&
|
|
345
356
|
download_concurrency == o.download_concurrency &&
|
|
357
|
+
max_retries == o.max_retries &&
|
|
346
358
|
policy == o.policy &&
|
|
347
359
|
total_timeout == o.total_timeout &&
|
|
348
360
|
connect_timeout == o.connect_timeout &&
|
|
@@ -362,7 +374,7 @@ module PulpRpmClient
|
|
|
362
374
|
# Calculates hash code according to all attributes.
|
|
363
375
|
# @return [Integer] Hash code
|
|
364
376
|
def hash
|
|
365
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, sles_auth_token].hash
|
|
377
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, sles_auth_token].hash
|
|
366
378
|
end
|
|
367
379
|
|
|
368
380
|
# Builds the object from hash
|
|
@@ -50,22 +50,25 @@ module PulpRpmClient
|
|
|
50
50
|
|
|
51
51
|
attr_accessor :pulp_labels
|
|
52
52
|
|
|
53
|
-
# Total number of simultaneous connections.
|
|
53
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
54
54
|
attr_accessor :download_concurrency
|
|
55
55
|
|
|
56
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
57
|
+
attr_accessor :max_retries
|
|
58
|
+
|
|
56
59
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
|
57
60
|
attr_accessor :policy
|
|
58
61
|
|
|
59
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
|
62
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
60
63
|
attr_accessor :total_timeout
|
|
61
64
|
|
|
62
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
|
65
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
63
66
|
attr_accessor :connect_timeout
|
|
64
67
|
|
|
65
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
|
68
|
+
# 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.
|
|
66
69
|
attr_accessor :sock_connect_timeout
|
|
67
70
|
|
|
68
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
|
71
|
+
# 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.
|
|
69
72
|
attr_accessor :sock_read_timeout
|
|
70
73
|
|
|
71
74
|
# Headers for aiohttp.Clientsession
|
|
@@ -93,6 +96,7 @@ module PulpRpmClient
|
|
|
93
96
|
:'password' => :'password',
|
|
94
97
|
:'pulp_labels' => :'pulp_labels',
|
|
95
98
|
:'download_concurrency' => :'download_concurrency',
|
|
99
|
+
:'max_retries' => :'max_retries',
|
|
96
100
|
:'policy' => :'policy',
|
|
97
101
|
:'total_timeout' => :'total_timeout',
|
|
98
102
|
:'connect_timeout' => :'connect_timeout',
|
|
@@ -120,6 +124,7 @@ module PulpRpmClient
|
|
|
120
124
|
:'password' => :'String',
|
|
121
125
|
:'pulp_labels' => :'Object',
|
|
122
126
|
:'download_concurrency' => :'Integer',
|
|
127
|
+
:'max_retries' => :'Integer',
|
|
123
128
|
:'policy' => :'PolicyEnum',
|
|
124
129
|
:'total_timeout' => :'Float',
|
|
125
130
|
:'connect_timeout' => :'Float',
|
|
@@ -140,6 +145,8 @@ module PulpRpmClient
|
|
|
140
145
|
:'proxy_url',
|
|
141
146
|
:'proxy_username',
|
|
142
147
|
:'proxy_password',
|
|
148
|
+
:'download_concurrency',
|
|
149
|
+
:'max_retries',
|
|
143
150
|
:'total_timeout',
|
|
144
151
|
:'connect_timeout',
|
|
145
152
|
:'sock_connect_timeout',
|
|
@@ -216,6 +223,10 @@ module PulpRpmClient
|
|
|
216
223
|
self.download_concurrency = attributes[:'download_concurrency']
|
|
217
224
|
end
|
|
218
225
|
|
|
226
|
+
if attributes.key?(:'max_retries')
|
|
227
|
+
self.max_retries = attributes[:'max_retries']
|
|
228
|
+
end
|
|
229
|
+
|
|
219
230
|
if attributes.key?(:'policy')
|
|
220
231
|
self.policy = attributes[:'policy']
|
|
221
232
|
end
|
|
@@ -377,6 +388,7 @@ module PulpRpmClient
|
|
|
377
388
|
password == o.password &&
|
|
378
389
|
pulp_labels == o.pulp_labels &&
|
|
379
390
|
download_concurrency == o.download_concurrency &&
|
|
391
|
+
max_retries == o.max_retries &&
|
|
380
392
|
policy == o.policy &&
|
|
381
393
|
total_timeout == o.total_timeout &&
|
|
382
394
|
connect_timeout == o.connect_timeout &&
|
|
@@ -396,7 +408,7 @@ module PulpRpmClient
|
|
|
396
408
|
# Calculates hash code according to all attributes.
|
|
397
409
|
# @return [Integer] Hash code
|
|
398
410
|
def hash
|
|
399
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, uln_server_base_url].hash
|
|
411
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, uln_server_base_url].hash
|
|
400
412
|
end
|
|
401
413
|
|
|
402
414
|
# Builds the object from hash
|
|
@@ -49,22 +49,25 @@ module PulpRpmClient
|
|
|
49
49
|
# Timestamp of the most recent update of the remote.
|
|
50
50
|
attr_accessor :pulp_last_updated
|
|
51
51
|
|
|
52
|
-
# Total number of simultaneous connections.
|
|
52
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
53
53
|
attr_accessor :download_concurrency
|
|
54
54
|
|
|
55
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
56
|
+
attr_accessor :max_retries
|
|
57
|
+
|
|
55
58
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
|
56
59
|
attr_accessor :policy
|
|
57
60
|
|
|
58
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
|
61
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
59
62
|
attr_accessor :total_timeout
|
|
60
63
|
|
|
61
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
|
64
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
62
65
|
attr_accessor :connect_timeout
|
|
63
66
|
|
|
64
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
|
67
|
+
# 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.
|
|
65
68
|
attr_accessor :sock_connect_timeout
|
|
66
69
|
|
|
67
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
|
70
|
+
# 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.
|
|
68
71
|
attr_accessor :sock_read_timeout
|
|
69
72
|
|
|
70
73
|
# Headers for aiohttp.Clientsession
|
|
@@ -92,6 +95,7 @@ module PulpRpmClient
|
|
|
92
95
|
:'pulp_labels' => :'pulp_labels',
|
|
93
96
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
94
97
|
:'download_concurrency' => :'download_concurrency',
|
|
98
|
+
:'max_retries' => :'max_retries',
|
|
95
99
|
:'policy' => :'policy',
|
|
96
100
|
:'total_timeout' => :'total_timeout',
|
|
97
101
|
:'connect_timeout' => :'connect_timeout',
|
|
@@ -119,6 +123,7 @@ module PulpRpmClient
|
|
|
119
123
|
:'pulp_labels' => :'Object',
|
|
120
124
|
:'pulp_last_updated' => :'DateTime',
|
|
121
125
|
:'download_concurrency' => :'Integer',
|
|
126
|
+
:'max_retries' => :'Integer',
|
|
122
127
|
:'policy' => :'PolicyEnum',
|
|
123
128
|
:'total_timeout' => :'Float',
|
|
124
129
|
:'connect_timeout' => :'Float',
|
|
@@ -136,6 +141,8 @@ module PulpRpmClient
|
|
|
136
141
|
:'ca_cert',
|
|
137
142
|
:'client_cert',
|
|
138
143
|
:'proxy_url',
|
|
144
|
+
:'download_concurrency',
|
|
145
|
+
:'max_retries',
|
|
139
146
|
:'total_timeout',
|
|
140
147
|
:'connect_timeout',
|
|
141
148
|
:'sock_connect_timeout',
|
|
@@ -212,6 +219,10 @@ module PulpRpmClient
|
|
|
212
219
|
self.download_concurrency = attributes[:'download_concurrency']
|
|
213
220
|
end
|
|
214
221
|
|
|
222
|
+
if attributes.key?(:'max_retries')
|
|
223
|
+
self.max_retries = attributes[:'max_retries']
|
|
224
|
+
end
|
|
225
|
+
|
|
215
226
|
if attributes.key?(:'policy')
|
|
216
227
|
self.policy = attributes[:'policy']
|
|
217
228
|
end
|
|
@@ -373,6 +384,7 @@ module PulpRpmClient
|
|
|
373
384
|
pulp_labels == o.pulp_labels &&
|
|
374
385
|
pulp_last_updated == o.pulp_last_updated &&
|
|
375
386
|
download_concurrency == o.download_concurrency &&
|
|
387
|
+
max_retries == o.max_retries &&
|
|
376
388
|
policy == o.policy &&
|
|
377
389
|
total_timeout == o.total_timeout &&
|
|
378
390
|
connect_timeout == o.connect_timeout &&
|
|
@@ -392,7 +404,7 @@ module PulpRpmClient
|
|
|
392
404
|
# Calculates hash code according to all attributes.
|
|
393
405
|
# @return [Integer] Hash code
|
|
394
406
|
def hash
|
|
395
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, username, password, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, uln_server_base_url].hash
|
|
407
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, username, password, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, uln_server_base_url].hash
|
|
396
408
|
end
|
|
397
409
|
|
|
398
410
|
# Builds the object from hash
|
|
@@ -110,6 +110,12 @@ describe 'PatchedrpmRpmRemote' do
|
|
|
110
110
|
end
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
+
describe 'test attribute "max_retries"' do
|
|
114
|
+
it 'should work' do
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
113
119
|
describe 'test attribute "policy"' do
|
|
114
120
|
it 'should work' do
|
|
115
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -110,6 +110,12 @@ describe 'PatchedrpmUlnRemote' do
|
|
|
110
110
|
end
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
+
describe 'test attribute "max_retries"' do
|
|
114
|
+
it 'should work' do
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
113
119
|
describe 'test attribute "policy"' do
|
|
114
120
|
it 'should work' do
|
|
115
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -98,6 +98,12 @@ describe 'RpmRpmRemoteResponse' do
|
|
|
98
98
|
end
|
|
99
99
|
end
|
|
100
100
|
|
|
101
|
+
describe 'test attribute "max_retries"' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
101
107
|
describe 'test attribute "policy"' do
|
|
102
108
|
it 'should work' do
|
|
103
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -110,6 +110,12 @@ describe 'RpmRpmRemote' do
|
|
|
110
110
|
end
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
+
describe 'test attribute "max_retries"' do
|
|
114
|
+
it 'should work' do
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
113
119
|
describe 'test attribute "policy"' do
|
|
114
120
|
it 'should work' do
|
|
115
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -110,6 +110,12 @@ describe 'RpmUlnRemoteResponse' do
|
|
|
110
110
|
end
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
+
describe 'test attribute "max_retries"' do
|
|
114
|
+
it 'should work' do
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
113
119
|
describe 'test attribute "policy"' do
|
|
114
120
|
it 'should work' do
|
|
115
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -110,6 +110,12 @@ describe 'RpmUlnRemote' do
|
|
|
110
110
|
end
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
+
describe 'test attribute "max_retries"' do
|
|
114
|
+
it 'should work' do
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
113
119
|
describe 'test attribute "policy"' do
|
|
114
120
|
it 'should work' do
|
|
115
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_rpm_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.14.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-07-
|
|
11
|
+
date: 2021-07-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|