pulp_deb_client 2.8.0 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/DebAptRemote.md +8 -0
- data/docs/DebAptRemoteResponse.md +8 -0
- data/docs/PatcheddebAptRemote.md +8 -0
- data/docs/RepositoriesDebVersionsApi.md +2 -2
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +4 -4
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +105 -1
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +105 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +105 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/repositories_deb_versions_api_spec.rb +2 -2
- data/spec/models/deb_apt_remote_response_spec.rb +24 -0
- data/spec/models/deb_apt_remote_spec.rb +24 -0
- data/spec/models/patcheddeb_apt_remote_spec.rb +24 -0
- metadata +54 -54
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9b6aa9d883518bd080fca8f3996e2ff0ead0306d294a04f6b43d218acd38c1b
|
4
|
+
data.tar.gz: 12c00851fb5a39d73afc33d2711c42043ab010ecd3bf54c68f4852615205ef76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28eb2d5013145b448c695712210fb89fc602c975f33174ccee6931d4c600228332266f6825d3073d420a8266ec55ae350977ce04be51f41f72a9510e42236680
|
7
|
+
data.tar.gz: 18126d8ae95ff0e5884c136ecdc635b3cabc3cb633190ebfa234577b974d990a8b1b4d0dda38c4e72cd2311abe77307da898104a1eb0784c184b698ecdcaeb79
|
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: 2.
|
10
|
+
- Package version: 2.9.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_deb_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_deb_client-2.
|
27
|
+
gem install ./pulp_deb_client-2.9.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_deb_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_deb_client-2.9.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_deb_client', '~> 2.
|
36
|
+
gem 'pulp_deb_client', '~> 2.9.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/DebAptRemote.md
CHANGED
@@ -15,6 +15,10 @@ Name | Type | Description | Notes
|
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
16
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
17
|
**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]
|
18
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
18
22
|
**distributions** | **String** | Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax. |
|
19
23
|
**components** | **String** | Whitespace separatet list of components to sync. If none are supplied, all that are available will be synchronized. Leave blank for repositores using \"flat repository format\". | [optional]
|
20
24
|
**architectures** | **String** | Whitespace separated list of architectures to sync If none are supplied, all that are available will be synchronized. A list of valid architecture specification strings can be found by running \"dpkg-architecture -L\". A sync will download the intersection of the list of architectures provided via this field and those provided by the relevant \"Release\" file. Architecture=\"all\" is always synchronized and does not need to be provided here. | [optional]
|
@@ -40,6 +44,10 @@ instance = PulpDebClient::DebAptRemote.new(name: null,
|
|
40
44
|
password: null,
|
41
45
|
download_concurrency: null,
|
42
46
|
policy: null,
|
47
|
+
total_timeout: null,
|
48
|
+
connect_timeout: null,
|
49
|
+
sock_connect_timeout: null,
|
50
|
+
sock_read_timeout: null,
|
43
51
|
distributions: null,
|
44
52
|
components: null,
|
45
53
|
architectures: null,
|
@@ -18,6 +18,10 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
20
|
**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]
|
21
25
|
**distributions** | **String** | Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax. |
|
22
26
|
**components** | **String** | Whitespace separatet list of components to sync. If none are supplied, all that are available will be synchronized. Leave blank for repositores using \"flat repository format\". | [optional]
|
23
27
|
**architectures** | **String** | Whitespace separated list of architectures to sync If none are supplied, all that are available will be synchronized. A list of valid architecture specification strings can be found by running \"dpkg-architecture -L\". A sync will download the intersection of the list of architectures provided via this field and those provided by the relevant \"Release\" file. Architecture=\"all\" is always synchronized and does not need to be provided here. | [optional]
|
@@ -46,6 +50,10 @@ instance = PulpDebClient::DebAptRemoteResponse.new(pulp_href: null,
|
|
46
50
|
pulp_last_updated: null,
|
47
51
|
download_concurrency: null,
|
48
52
|
policy: null,
|
53
|
+
total_timeout: null,
|
54
|
+
connect_timeout: null,
|
55
|
+
sock_connect_timeout: null,
|
56
|
+
sock_read_timeout: null,
|
49
57
|
distributions: null,
|
50
58
|
components: null,
|
51
59
|
architectures: null,
|
data/docs/PatcheddebAptRemote.md
CHANGED
@@ -15,6 +15,10 @@ Name | Type | Description | Notes
|
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
16
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
17
|
**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]
|
18
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
18
22
|
**distributions** | **String** | Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax. | [optional]
|
19
23
|
**components** | **String** | Whitespace separatet list of components to sync. If none are supplied, all that are available will be synchronized. Leave blank for repositores using \"flat repository format\". | [optional]
|
20
24
|
**architectures** | **String** | Whitespace separated list of architectures to sync If none are supplied, all that are available will be synchronized. A list of valid architecture specification strings can be found by running \"dpkg-architecture -L\". A sync will download the intersection of the list of architectures provided via this field and those provided by the relevant \"Release\" file. Architecture=\"all\" is always synchronized and does not need to be provided here. | [optional]
|
@@ -40,6 +44,10 @@ instance = PulpDebClient::PatcheddebAptRemote.new(name: null,
|
|
40
44
|
password: null,
|
41
45
|
download_concurrency: null,
|
42
46
|
policy: null,
|
47
|
+
total_timeout: null,
|
48
|
+
connect_timeout: null,
|
49
|
+
sock_connect_timeout: null,
|
50
|
+
sock_read_timeout: null,
|
43
51
|
distributions: null,
|
44
52
|
components: null,
|
45
53
|
architectures: null,
|
@@ -17,7 +17,7 @@ Method | HTTP request | Description
|
|
17
17
|
|
18
18
|
Delete a repository version
|
19
19
|
|
20
|
-
Trigger an asynchronous task to delete a
|
20
|
+
Trigger an asynchronous task to delete a repository version.
|
21
21
|
|
22
22
|
### Example
|
23
23
|
|
@@ -222,7 +222,7 @@ Name | Type | Description | Notes
|
|
222
222
|
|
223
223
|
|
224
224
|
|
225
|
-
Trigger an asynchronous task to repair a
|
225
|
+
Trigger an asynchronous task to repair a repository version.
|
226
226
|
|
227
227
|
### Example
|
228
228
|
|
@@ -20,7 +20,7 @@ module PulpDebClient
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Delete a repository version
|
23
|
-
# Trigger an asynchronous task to delete a
|
23
|
+
# Trigger an asynchronous task to delete a repository version.
|
24
24
|
# @param deb_apt_repository_version_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [AsyncOperationResponse]
|
@@ -30,7 +30,7 @@ module PulpDebClient
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# Delete a repository version
|
33
|
-
# Trigger an asynchronous task to delete a
|
33
|
+
# Trigger an asynchronous task to delete a repository version.
|
34
34
|
# @param deb_apt_repository_version_href [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
@@ -268,7 +268,7 @@ module PulpDebClient
|
|
268
268
|
return data, status_code, headers
|
269
269
|
end
|
270
270
|
|
271
|
-
# Trigger an asynchronous task to repair a
|
271
|
+
# Trigger an asynchronous task to repair a repository version.
|
272
272
|
# @param deb_apt_repository_version_href [String]
|
273
273
|
# @param repository_version [RepositoryVersion]
|
274
274
|
# @param [Hash] opts the optional parameters
|
@@ -278,7 +278,7 @@ module PulpDebClient
|
|
278
278
|
data
|
279
279
|
end
|
280
280
|
|
281
|
-
# Trigger an asynchronous task to repair a
|
281
|
+
# Trigger an asynchronous task to repair a repository version.
|
282
282
|
# @param deb_apt_repository_version_href [String]
|
283
283
|
# @param repository_version [RepositoryVersion]
|
284
284
|
# @param [Hash] opts the optional parameters
|
@@ -48,6 +48,18 @@ module PulpDebClient
|
|
48
48
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
49
49
|
attr_accessor :policy
|
50
50
|
|
51
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
52
|
+
attr_accessor :total_timeout
|
53
|
+
|
54
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
55
|
+
attr_accessor :connect_timeout
|
56
|
+
|
57
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
58
|
+
attr_accessor :sock_connect_timeout
|
59
|
+
|
60
|
+
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
61
|
+
attr_accessor :sock_read_timeout
|
62
|
+
|
51
63
|
# Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax.
|
52
64
|
attr_accessor :distributions
|
53
65
|
|
@@ -86,6 +98,10 @@ module PulpDebClient
|
|
86
98
|
:'password' => :'password',
|
87
99
|
:'download_concurrency' => :'download_concurrency',
|
88
100
|
:'policy' => :'policy',
|
101
|
+
:'total_timeout' => :'total_timeout',
|
102
|
+
:'connect_timeout' => :'connect_timeout',
|
103
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
104
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
89
105
|
:'distributions' => :'distributions',
|
90
106
|
:'components' => :'components',
|
91
107
|
:'architectures' => :'architectures',
|
@@ -111,6 +127,10 @@ module PulpDebClient
|
|
111
127
|
:'password' => :'String',
|
112
128
|
:'download_concurrency' => :'Integer',
|
113
129
|
:'policy' => :'PolicyEnum',
|
130
|
+
:'total_timeout' => :'Float',
|
131
|
+
:'connect_timeout' => :'Float',
|
132
|
+
:'sock_connect_timeout' => :'Float',
|
133
|
+
:'sock_read_timeout' => :'Float',
|
114
134
|
:'distributions' => :'String',
|
115
135
|
:'components' => :'String',
|
116
136
|
:'architectures' => :'String',
|
@@ -131,6 +151,10 @@ module PulpDebClient
|
|
131
151
|
:'proxy_url',
|
132
152
|
:'username',
|
133
153
|
:'password',
|
154
|
+
:'total_timeout',
|
155
|
+
:'connect_timeout',
|
156
|
+
:'sock_connect_timeout',
|
157
|
+
:'sock_read_timeout',
|
134
158
|
:'components',
|
135
159
|
:'architectures',
|
136
160
|
:'gpgkey',
|
@@ -196,6 +220,22 @@ module PulpDebClient
|
|
196
220
|
self.policy = attributes[:'policy']
|
197
221
|
end
|
198
222
|
|
223
|
+
if attributes.key?(:'total_timeout')
|
224
|
+
self.total_timeout = attributes[:'total_timeout']
|
225
|
+
end
|
226
|
+
|
227
|
+
if attributes.key?(:'connect_timeout')
|
228
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
229
|
+
end
|
230
|
+
|
231
|
+
if attributes.key?(:'sock_connect_timeout')
|
232
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
233
|
+
end
|
234
|
+
|
235
|
+
if attributes.key?(:'sock_read_timeout')
|
236
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
237
|
+
end
|
238
|
+
|
199
239
|
if attributes.key?(:'distributions')
|
200
240
|
self.distributions = attributes[:'distributions']
|
201
241
|
end
|
@@ -245,6 +285,22 @@ module PulpDebClient
|
|
245
285
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
246
286
|
end
|
247
287
|
|
288
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
289
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
290
|
+
end
|
291
|
+
|
292
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
293
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
294
|
+
end
|
295
|
+
|
296
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
297
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
298
|
+
end
|
299
|
+
|
300
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
301
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
302
|
+
end
|
303
|
+
|
248
304
|
if @distributions.nil?
|
249
305
|
invalid_properties.push('invalid value for "distributions", distributions cannot be nil.')
|
250
306
|
end
|
@@ -258,6 +314,10 @@ module PulpDebClient
|
|
258
314
|
return false if @name.nil?
|
259
315
|
return false if @url.nil?
|
260
316
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
317
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
318
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
319
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
320
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
261
321
|
return false if @distributions.nil?
|
262
322
|
true
|
263
323
|
end
|
@@ -272,6 +332,46 @@ module PulpDebClient
|
|
272
332
|
@download_concurrency = download_concurrency
|
273
333
|
end
|
274
334
|
|
335
|
+
# Custom attribute writer method with validation
|
336
|
+
# @param [Object] total_timeout Value to be assigned
|
337
|
+
def total_timeout=(total_timeout)
|
338
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
339
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
340
|
+
end
|
341
|
+
|
342
|
+
@total_timeout = total_timeout
|
343
|
+
end
|
344
|
+
|
345
|
+
# Custom attribute writer method with validation
|
346
|
+
# @param [Object] connect_timeout Value to be assigned
|
347
|
+
def connect_timeout=(connect_timeout)
|
348
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
349
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
350
|
+
end
|
351
|
+
|
352
|
+
@connect_timeout = connect_timeout
|
353
|
+
end
|
354
|
+
|
355
|
+
# Custom attribute writer method with validation
|
356
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
357
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
358
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
359
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
360
|
+
end
|
361
|
+
|
362
|
+
@sock_connect_timeout = sock_connect_timeout
|
363
|
+
end
|
364
|
+
|
365
|
+
# Custom attribute writer method with validation
|
366
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
367
|
+
def sock_read_timeout=(sock_read_timeout)
|
368
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
369
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
370
|
+
end
|
371
|
+
|
372
|
+
@sock_read_timeout = sock_read_timeout
|
373
|
+
end
|
374
|
+
|
275
375
|
# Checks equality by comparing each attribute.
|
276
376
|
# @param [Object] Object to be compared
|
277
377
|
def ==(o)
|
@@ -288,6 +388,10 @@ module PulpDebClient
|
|
288
388
|
password == o.password &&
|
289
389
|
download_concurrency == o.download_concurrency &&
|
290
390
|
policy == o.policy &&
|
391
|
+
total_timeout == o.total_timeout &&
|
392
|
+
connect_timeout == o.connect_timeout &&
|
393
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
394
|
+
sock_read_timeout == o.sock_read_timeout &&
|
291
395
|
distributions == o.distributions &&
|
292
396
|
components == o.components &&
|
293
397
|
architectures == o.architectures &&
|
@@ -307,7 +411,7 @@ module PulpDebClient
|
|
307
411
|
# Calculates hash code according to all attributes.
|
308
412
|
# @return [Integer] Hash code
|
309
413
|
def hash
|
310
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
414
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
311
415
|
end
|
312
416
|
|
313
417
|
# Builds the object from hash
|
@@ -56,6 +56,18 @@ module PulpDebClient
|
|
56
56
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
57
57
|
attr_accessor :policy
|
58
58
|
|
59
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
60
|
+
attr_accessor :total_timeout
|
61
|
+
|
62
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
63
|
+
attr_accessor :connect_timeout
|
64
|
+
|
65
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
66
|
+
attr_accessor :sock_connect_timeout
|
67
|
+
|
68
|
+
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
69
|
+
attr_accessor :sock_read_timeout
|
70
|
+
|
59
71
|
# Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax.
|
60
72
|
attr_accessor :distributions
|
61
73
|
|
@@ -97,6 +109,10 @@ module PulpDebClient
|
|
97
109
|
:'pulp_last_updated' => :'pulp_last_updated',
|
98
110
|
:'download_concurrency' => :'download_concurrency',
|
99
111
|
:'policy' => :'policy',
|
112
|
+
:'total_timeout' => :'total_timeout',
|
113
|
+
:'connect_timeout' => :'connect_timeout',
|
114
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
115
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
100
116
|
:'distributions' => :'distributions',
|
101
117
|
:'components' => :'components',
|
102
118
|
:'architectures' => :'architectures',
|
@@ -125,6 +141,10 @@ module PulpDebClient
|
|
125
141
|
:'pulp_last_updated' => :'DateTime',
|
126
142
|
:'download_concurrency' => :'Integer',
|
127
143
|
:'policy' => :'PolicyEnum',
|
144
|
+
:'total_timeout' => :'Float',
|
145
|
+
:'connect_timeout' => :'Float',
|
146
|
+
:'sock_connect_timeout' => :'Float',
|
147
|
+
:'sock_read_timeout' => :'Float',
|
128
148
|
:'distributions' => :'String',
|
129
149
|
:'components' => :'String',
|
130
150
|
:'architectures' => :'String',
|
@@ -145,6 +165,10 @@ module PulpDebClient
|
|
145
165
|
:'proxy_url',
|
146
166
|
:'username',
|
147
167
|
:'password',
|
168
|
+
:'total_timeout',
|
169
|
+
:'connect_timeout',
|
170
|
+
:'sock_connect_timeout',
|
171
|
+
:'sock_read_timeout',
|
148
172
|
:'components',
|
149
173
|
:'architectures',
|
150
174
|
:'gpgkey',
|
@@ -222,6 +246,22 @@ module PulpDebClient
|
|
222
246
|
self.policy = attributes[:'policy']
|
223
247
|
end
|
224
248
|
|
249
|
+
if attributes.key?(:'total_timeout')
|
250
|
+
self.total_timeout = attributes[:'total_timeout']
|
251
|
+
end
|
252
|
+
|
253
|
+
if attributes.key?(:'connect_timeout')
|
254
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
255
|
+
end
|
256
|
+
|
257
|
+
if attributes.key?(:'sock_connect_timeout')
|
258
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
259
|
+
end
|
260
|
+
|
261
|
+
if attributes.key?(:'sock_read_timeout')
|
262
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
263
|
+
end
|
264
|
+
|
225
265
|
if attributes.key?(:'distributions')
|
226
266
|
self.distributions = attributes[:'distributions']
|
227
267
|
end
|
@@ -271,6 +311,22 @@ module PulpDebClient
|
|
271
311
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
272
312
|
end
|
273
313
|
|
314
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
315
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
316
|
+
end
|
317
|
+
|
318
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
319
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
320
|
+
end
|
321
|
+
|
322
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
323
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
324
|
+
end
|
325
|
+
|
326
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
327
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
328
|
+
end
|
329
|
+
|
274
330
|
if @distributions.nil?
|
275
331
|
invalid_properties.push('invalid value for "distributions", distributions cannot be nil.')
|
276
332
|
end
|
@@ -284,6 +340,10 @@ module PulpDebClient
|
|
284
340
|
return false if @name.nil?
|
285
341
|
return false if @url.nil?
|
286
342
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
343
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
344
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
345
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
346
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
287
347
|
return false if @distributions.nil?
|
288
348
|
true
|
289
349
|
end
|
@@ -298,6 +358,46 @@ module PulpDebClient
|
|
298
358
|
@download_concurrency = download_concurrency
|
299
359
|
end
|
300
360
|
|
361
|
+
# Custom attribute writer method with validation
|
362
|
+
# @param [Object] total_timeout Value to be assigned
|
363
|
+
def total_timeout=(total_timeout)
|
364
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
365
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
366
|
+
end
|
367
|
+
|
368
|
+
@total_timeout = total_timeout
|
369
|
+
end
|
370
|
+
|
371
|
+
# Custom attribute writer method with validation
|
372
|
+
# @param [Object] connect_timeout Value to be assigned
|
373
|
+
def connect_timeout=(connect_timeout)
|
374
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
375
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
376
|
+
end
|
377
|
+
|
378
|
+
@connect_timeout = connect_timeout
|
379
|
+
end
|
380
|
+
|
381
|
+
# Custom attribute writer method with validation
|
382
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
383
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
384
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
385
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
386
|
+
end
|
387
|
+
|
388
|
+
@sock_connect_timeout = sock_connect_timeout
|
389
|
+
end
|
390
|
+
|
391
|
+
# Custom attribute writer method with validation
|
392
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
393
|
+
def sock_read_timeout=(sock_read_timeout)
|
394
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
395
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
396
|
+
end
|
397
|
+
|
398
|
+
@sock_read_timeout = sock_read_timeout
|
399
|
+
end
|
400
|
+
|
301
401
|
# Checks equality by comparing each attribute.
|
302
402
|
# @param [Object] Object to be compared
|
303
403
|
def ==(o)
|
@@ -317,6 +417,10 @@ module PulpDebClient
|
|
317
417
|
pulp_last_updated == o.pulp_last_updated &&
|
318
418
|
download_concurrency == o.download_concurrency &&
|
319
419
|
policy == o.policy &&
|
420
|
+
total_timeout == o.total_timeout &&
|
421
|
+
connect_timeout == o.connect_timeout &&
|
422
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
423
|
+
sock_read_timeout == o.sock_read_timeout &&
|
320
424
|
distributions == o.distributions &&
|
321
425
|
components == o.components &&
|
322
426
|
architectures == o.architectures &&
|
@@ -336,7 +440,7 @@ module PulpDebClient
|
|
336
440
|
# Calculates hash code according to all attributes.
|
337
441
|
# @return [Integer] Hash code
|
338
442
|
def hash
|
339
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_last_updated, download_concurrency, policy, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
443
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
340
444
|
end
|
341
445
|
|
342
446
|
# Builds the object from hash
|
@@ -48,6 +48,18 @@ module PulpDebClient
|
|
48
48
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
49
49
|
attr_accessor :policy
|
50
50
|
|
51
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
52
|
+
attr_accessor :total_timeout
|
53
|
+
|
54
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
55
|
+
attr_accessor :connect_timeout
|
56
|
+
|
57
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
58
|
+
attr_accessor :sock_connect_timeout
|
59
|
+
|
60
|
+
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
61
|
+
attr_accessor :sock_read_timeout
|
62
|
+
|
51
63
|
# Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax.
|
52
64
|
attr_accessor :distributions
|
53
65
|
|
@@ -86,6 +98,10 @@ module PulpDebClient
|
|
86
98
|
:'password' => :'password',
|
87
99
|
:'download_concurrency' => :'download_concurrency',
|
88
100
|
:'policy' => :'policy',
|
101
|
+
:'total_timeout' => :'total_timeout',
|
102
|
+
:'connect_timeout' => :'connect_timeout',
|
103
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
104
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
89
105
|
:'distributions' => :'distributions',
|
90
106
|
:'components' => :'components',
|
91
107
|
:'architectures' => :'architectures',
|
@@ -111,6 +127,10 @@ module PulpDebClient
|
|
111
127
|
:'password' => :'String',
|
112
128
|
:'download_concurrency' => :'Integer',
|
113
129
|
:'policy' => :'PolicyEnum',
|
130
|
+
:'total_timeout' => :'Float',
|
131
|
+
:'connect_timeout' => :'Float',
|
132
|
+
:'sock_connect_timeout' => :'Float',
|
133
|
+
:'sock_read_timeout' => :'Float',
|
114
134
|
:'distributions' => :'String',
|
115
135
|
:'components' => :'String',
|
116
136
|
:'architectures' => :'String',
|
@@ -131,6 +151,10 @@ module PulpDebClient
|
|
131
151
|
:'proxy_url',
|
132
152
|
:'username',
|
133
153
|
:'password',
|
154
|
+
:'total_timeout',
|
155
|
+
:'connect_timeout',
|
156
|
+
:'sock_connect_timeout',
|
157
|
+
:'sock_read_timeout',
|
134
158
|
:'components',
|
135
159
|
:'architectures',
|
136
160
|
:'gpgkey',
|
@@ -196,6 +220,22 @@ module PulpDebClient
|
|
196
220
|
self.policy = attributes[:'policy']
|
197
221
|
end
|
198
222
|
|
223
|
+
if attributes.key?(:'total_timeout')
|
224
|
+
self.total_timeout = attributes[:'total_timeout']
|
225
|
+
end
|
226
|
+
|
227
|
+
if attributes.key?(:'connect_timeout')
|
228
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
229
|
+
end
|
230
|
+
|
231
|
+
if attributes.key?(:'sock_connect_timeout')
|
232
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
233
|
+
end
|
234
|
+
|
235
|
+
if attributes.key?(:'sock_read_timeout')
|
236
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
237
|
+
end
|
238
|
+
|
199
239
|
if attributes.key?(:'distributions')
|
200
240
|
self.distributions = attributes[:'distributions']
|
201
241
|
end
|
@@ -237,6 +277,22 @@ module PulpDebClient
|
|
237
277
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
238
278
|
end
|
239
279
|
|
280
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
281
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
282
|
+
end
|
283
|
+
|
284
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
285
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
286
|
+
end
|
287
|
+
|
288
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
289
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
290
|
+
end
|
291
|
+
|
292
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
293
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
294
|
+
end
|
295
|
+
|
240
296
|
invalid_properties
|
241
297
|
end
|
242
298
|
|
@@ -244,6 +300,10 @@ module PulpDebClient
|
|
244
300
|
# @return true if the model is valid
|
245
301
|
def valid?
|
246
302
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
303
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
304
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
305
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
306
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
247
307
|
true
|
248
308
|
end
|
249
309
|
|
@@ -257,6 +317,46 @@ module PulpDebClient
|
|
257
317
|
@download_concurrency = download_concurrency
|
258
318
|
end
|
259
319
|
|
320
|
+
# Custom attribute writer method with validation
|
321
|
+
# @param [Object] total_timeout Value to be assigned
|
322
|
+
def total_timeout=(total_timeout)
|
323
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
324
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
325
|
+
end
|
326
|
+
|
327
|
+
@total_timeout = total_timeout
|
328
|
+
end
|
329
|
+
|
330
|
+
# Custom attribute writer method with validation
|
331
|
+
# @param [Object] connect_timeout Value to be assigned
|
332
|
+
def connect_timeout=(connect_timeout)
|
333
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
334
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
335
|
+
end
|
336
|
+
|
337
|
+
@connect_timeout = connect_timeout
|
338
|
+
end
|
339
|
+
|
340
|
+
# Custom attribute writer method with validation
|
341
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
342
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
343
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
344
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
345
|
+
end
|
346
|
+
|
347
|
+
@sock_connect_timeout = sock_connect_timeout
|
348
|
+
end
|
349
|
+
|
350
|
+
# Custom attribute writer method with validation
|
351
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
352
|
+
def sock_read_timeout=(sock_read_timeout)
|
353
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
354
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
355
|
+
end
|
356
|
+
|
357
|
+
@sock_read_timeout = sock_read_timeout
|
358
|
+
end
|
359
|
+
|
260
360
|
# Checks equality by comparing each attribute.
|
261
361
|
# @param [Object] Object to be compared
|
262
362
|
def ==(o)
|
@@ -273,6 +373,10 @@ module PulpDebClient
|
|
273
373
|
password == o.password &&
|
274
374
|
download_concurrency == o.download_concurrency &&
|
275
375
|
policy == o.policy &&
|
376
|
+
total_timeout == o.total_timeout &&
|
377
|
+
connect_timeout == o.connect_timeout &&
|
378
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
379
|
+
sock_read_timeout == o.sock_read_timeout &&
|
276
380
|
distributions == o.distributions &&
|
277
381
|
components == o.components &&
|
278
382
|
architectures == o.architectures &&
|
@@ -292,7 +396,7 @@ module PulpDebClient
|
|
292
396
|
# Calculates hash code according to all attributes.
|
293
397
|
# @return [Integer] Hash code
|
294
398
|
def hash
|
295
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
399
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
296
400
|
end
|
297
401
|
|
298
402
|
# Builds the object from hash
|
@@ -34,7 +34,7 @@ describe 'RepositoriesDebVersionsApi' do
|
|
34
34
|
|
35
35
|
# unit tests for delete
|
36
36
|
# Delete a repository version
|
37
|
-
# Trigger an asynchronous task to delete a
|
37
|
+
# Trigger an asynchronous task to delete a repository version.
|
38
38
|
# @param deb_apt_repository_version_href
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [AsyncOperationResponse]
|
@@ -90,7 +90,7 @@ describe 'RepositoriesDebVersionsApi' do
|
|
90
90
|
end
|
91
91
|
|
92
92
|
# unit tests for repair
|
93
|
-
# Trigger an asynchronous task to repair a
|
93
|
+
# Trigger an asynchronous task to repair a repository version.
|
94
94
|
# @param deb_apt_repository_version_href
|
95
95
|
# @param repository_version
|
96
96
|
# @param [Hash] opts the optional parameters
|
@@ -116,6 +116,30 @@ describe 'DebAptRemoteResponse' do
|
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
119
|
+
describe 'test attribute "total_timeout"' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
describe 'test attribute "connect_timeout"' do
|
126
|
+
it 'should work' do
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
describe 'test attribute "sock_connect_timeout"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
describe 'test attribute "sock_read_timeout"' do
|
138
|
+
it 'should work' do
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
119
143
|
describe 'test attribute "distributions"' do
|
120
144
|
it 'should work' do
|
121
145
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -98,6 +98,30 @@ describe 'DebAptRemote' do
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
describe 'test attribute "total_timeout"' 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
|
+
|
107
|
+
describe 'test attribute "connect_timeout"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
describe 'test attribute "sock_connect_timeout"' 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
|
+
|
119
|
+
describe 'test attribute "sock_read_timeout"' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
101
125
|
describe 'test attribute "distributions"' do
|
102
126
|
it 'should work' do
|
103
127
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -98,6 +98,30 @@ describe 'PatcheddebAptRemote' do
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
describe 'test attribute "total_timeout"' 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
|
+
|
107
|
+
describe 'test attribute "connect_timeout"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
describe 'test attribute "sock_connect_timeout"' 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
|
+
|
119
|
+
describe 'test attribute "sock_read_timeout"' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
101
125
|
describe 'test attribute "distributions"' do
|
102
126
|
it 'should work' do
|
103
127
|
# 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_deb_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.9.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:
|
11
|
+
date: 2021-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -318,76 +318,76 @@ signing_key:
|
|
318
318
|
specification_version: 4
|
319
319
|
summary: Pulp 3 API Ruby Gem
|
320
320
|
test_files:
|
321
|
+
- spec/api/remotes_apt_api_spec.rb
|
321
322
|
- spec/api/content_installer_packages_api_spec.rb
|
322
|
-
- spec/api/repositories_deb_versions_api_spec.rb
|
323
|
-
- spec/api/publications_verbatim_api_spec.rb
|
324
|
-
- spec/api/repositories_apt_api_spec.rb
|
325
|
-
- spec/api/content_release_components_api_spec.rb
|
326
|
-
- spec/api/content_releases_api_spec.rb
|
327
|
-
- spec/api/distributions_apt_api_spec.rb
|
328
|
-
- spec/api/content_release_architectures_api_spec.rb
|
329
|
-
- spec/api/content_installer_file_indices_api_spec.rb
|
330
323
|
- spec/api/publications_apt_api_spec.rb
|
331
324
|
- spec/api/content_package_indices_api_spec.rb
|
332
|
-
- spec/api/
|
325
|
+
- spec/api/content_installer_file_indices_api_spec.rb
|
326
|
+
- spec/api/repositories_deb_versions_api_spec.rb
|
333
327
|
- spec/api/content_packages_api_spec.rb
|
334
328
|
- spec/api/content_package_release_components_api_spec.rb
|
329
|
+
- spec/api/content_release_architectures_api_spec.rb
|
330
|
+
- spec/api/content_generic_contents_api_spec.rb
|
331
|
+
- spec/api/content_releases_api_spec.rb
|
332
|
+
- spec/api/repositories_apt_api_spec.rb
|
333
|
+
- spec/api/distributions_apt_api_spec.rb
|
335
334
|
- spec/api/content_release_files_api_spec.rb
|
336
|
-
- spec/api/
|
335
|
+
- spec/api/publications_verbatim_api_spec.rb
|
336
|
+
- spec/api/content_release_components_api_spec.rb
|
337
337
|
- spec/api_client_spec.rb
|
338
338
|
- spec/configuration_spec.rb
|
339
|
-
- spec/models/
|
340
|
-
- spec/models/deb_apt_remote_spec.rb
|
341
|
-
- spec/models/paginateddeb_apt_repository_response_list_spec.rb
|
342
|
-
- spec/models/deb_package_index_spec.rb
|
339
|
+
- spec/models/deb_release_component_spec.rb
|
343
340
|
- spec/models/deb_package_index_response_spec.rb
|
344
|
-
- spec/models/
|
345
|
-
- spec/models/
|
346
|
-
- spec/models/
|
341
|
+
- spec/models/paginateddeb_apt_publication_response_list_spec.rb
|
342
|
+
- spec/models/deb_package_release_component_spec.rb
|
343
|
+
- spec/models/deb_release_file_spec.rb
|
347
344
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
348
|
-
- spec/models/
|
349
|
-
- spec/models/
|
350
|
-
- spec/models/
|
345
|
+
- spec/models/paginateddeb_release_component_response_list_spec.rb
|
346
|
+
- spec/models/deb_base_package_response_spec.rb
|
347
|
+
- spec/models/deb_generic_content_response_spec.rb
|
348
|
+
- spec/models/patcheddeb_apt_remote_spec.rb
|
349
|
+
- spec/models/paginateddeb_apt_repository_response_list_spec.rb
|
350
|
+
- spec/models/deb_apt_publication_response_spec.rb
|
351
|
+
- spec/models/paginateddeb_apt_remote_response_list_spec.rb
|
352
|
+
- spec/models/deb_apt_distribution_response_spec.rb
|
353
|
+
- spec/models/policy_enum_spec.rb
|
354
|
+
- spec/models/deb_apt_repository_spec.rb
|
355
|
+
- spec/models/paginateddeb_release_architecture_response_list_spec.rb
|
356
|
+
- spec/models/repository_add_remove_content_spec.rb
|
357
|
+
- spec/models/deb_apt_distribution_spec.rb
|
351
358
|
- spec/models/content_summary_response_spec.rb
|
359
|
+
- spec/models/paginateddeb_generic_content_response_list_spec.rb
|
352
360
|
- spec/models/deb_installer_file_index_response_spec.rb
|
353
|
-
- spec/models/
|
354
|
-
- spec/models/
|
355
|
-
- spec/models/repository_version_response_spec.rb
|
356
|
-
- spec/models/deb_apt_publication_response_spec.rb
|
357
|
-
- spec/models/deb_release_component_spec.rb
|
358
|
-
- spec/models/deb_verbatim_publication_spec.rb
|
359
|
-
- spec/models/patcheddeb_apt_remote_spec.rb
|
360
|
-
- spec/models/deb_package_release_component_spec.rb
|
361
|
-
- spec/models/deb_verbatim_publication_response_spec.rb
|
362
|
-
- spec/models/patcheddeb_apt_distribution_spec.rb
|
361
|
+
- spec/models/paginateddeb_release_response_list_spec.rb
|
362
|
+
- spec/models/deb_generic_content_spec.rb
|
363
363
|
- spec/models/paginateddeb_apt_distribution_response_list_spec.rb
|
364
|
-
- spec/models/
|
365
|
-
- spec/models/
|
366
|
-
- spec/models/policy_enum_spec.rb
|
364
|
+
- spec/models/deb_release_architecture_spec.rb
|
365
|
+
- spec/models/deb_apt_remote_spec.rb
|
367
366
|
- spec/models/paginateddeb_base_package_response_list_spec.rb
|
368
|
-
- spec/models/deb_generic_content_spec.rb
|
369
|
-
- spec/models/deb_generic_content_response_spec.rb
|
370
|
-
- spec/models/paginateddeb_release_component_response_list_spec.rb
|
371
|
-
- spec/models/deb_apt_distribution_response_spec.rb
|
372
|
-
- spec/models/async_operation_response_spec.rb
|
373
|
-
- spec/models/deb_release_response_spec.rb
|
374
|
-
- spec/models/paginateddeb_release_architecture_response_list_spec.rb
|
375
367
|
- spec/models/patcheddeb_apt_repository_spec.rb
|
376
|
-
- spec/models/deb_apt_remote_response_spec.rb
|
377
|
-
- spec/models/deb_release_spec.rb
|
378
|
-
- spec/models/deb_package_release_component_response_spec.rb
|
379
368
|
- spec/models/deb_apt_repository_response_spec.rb
|
369
|
+
- spec/models/repository_version_spec.rb
|
370
|
+
- spec/models/deb_release_spec.rb
|
371
|
+
- spec/models/deb_verbatim_publication_response_spec.rb
|
372
|
+
- spec/models/deb_package_index_spec.rb
|
373
|
+
- spec/models/deb_verbatim_publication_spec.rb
|
374
|
+
- spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
|
375
|
+
- spec/models/paginateddeb_package_index_response_list_spec.rb
|
376
|
+
- spec/models/content_summary_spec.rb
|
377
|
+
- spec/models/patcheddeb_apt_distribution_spec.rb
|
378
|
+
- spec/models/repository_version_response_spec.rb
|
380
379
|
- spec/models/deb_base_package_spec.rb
|
380
|
+
- spec/models/deb_release_architecture_response_spec.rb
|
381
|
+
- spec/models/deb_package_release_component_response_spec.rb
|
382
|
+
- spec/models/paginateddeb_release_file_response_list_spec.rb
|
383
|
+
- spec/models/deb_release_response_spec.rb
|
381
384
|
- spec/models/deb_release_file_response_spec.rb
|
385
|
+
- spec/models/repository_sync_url_spec.rb
|
386
|
+
- spec/models/paginateddeb_installer_file_index_response_list_spec.rb
|
387
|
+
- spec/models/async_operation_response_spec.rb
|
388
|
+
- spec/models/deb_apt_remote_response_spec.rb
|
389
|
+
- spec/models/paginateddeb_package_release_component_response_list_spec.rb
|
382
390
|
- spec/models/deb_installer_file_index_spec.rb
|
383
|
-
- spec/models/
|
384
|
-
- spec/models/deb_base_package_response_spec.rb
|
391
|
+
- spec/models/deb_apt_publication_spec.rb
|
385
392
|
- spec/models/deb_release_component_response_spec.rb
|
386
|
-
- spec/models/repository_sync_url_spec.rb
|
387
|
-
- spec/models/paginateddeb_apt_publication_response_list_spec.rb
|
388
|
-
- spec/models/deb_apt_repository_spec.rb
|
389
|
-
- spec/models/paginateddeb_apt_remote_response_list_spec.rb
|
390
|
-
- spec/models/deb_apt_distribution_spec.rb
|
391
|
-
- spec/models/paginateddeb_release_response_list_spec.rb
|
392
|
-
- spec/models/deb_release_architecture_spec.rb
|
393
393
|
- spec/spec_helper.rb
|