pulp_container_client 2.14.13 → 2.14.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -7
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +1 -1
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentBlobsApi.md +2 -6
- data/docs/ContentManifestsApi.md +4 -8
- data/docs/ContentSignaturesApi.md +2 -6
- data/docs/ContentTagsApi.md +4 -8
- data/docs/DistributionsContainerApi.md +2 -10
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +1 -1
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PulpContainerNamespacesApi.md +2 -6
- data/docs/RemotesContainerApi.md +2 -6
- data/docs/RepositoriesContainerApi.md +2 -22
- data/docs/RepositoriesContainerPushApi.md +2 -22
- data/docs/RepositoriesContainerPushVersionsApi.md +2 -4
- data/docs/RepositoriesContainerVersionsApi.md +2 -4
- data/lib/pulp_container_client/api/content_blobs_api.rb +2 -8
- data/lib/pulp_container_client/api/content_manifests_api.rb +4 -10
- data/lib/pulp_container_client/api/content_signatures_api.rb +2 -8
- data/lib/pulp_container_client/api/content_tags_api.rb +4 -10
- data/lib/pulp_container_client/api/distributions_container_api.rb +2 -14
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +2 -8
- data/lib/pulp_container_client/api/remotes_container_api.rb +2 -8
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -32
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +2 -32
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +2 -5
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +2 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +19 -19
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +29 -29
- data/lib/pulp_container_client/models/container_container_push_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +19 -19
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +1 -3
- data/spec/api/content_manifests_api_spec.rb +2 -4
- data/spec/api/content_signatures_api_spec.rb +1 -3
- data/spec/api/content_tags_api_spec.rb +2 -4
- data/spec/api/distributions_container_api_spec.rb +1 -5
- data/spec/api/pulp_container_namespaces_api_spec.rb +1 -3
- data/spec/api/remotes_container_api_spec.rb +1 -3
- data/spec/api/repositories_container_api_spec.rb +1 -11
- data/spec/api/repositories_container_push_api_spec.rb +1 -11
- data/spec/api/repositories_container_push_versions_api_spec.rb +1 -2
- data/spec/api/repositories_container_versions_api_spec.rb +1 -2
- data/spec/models/container_container_distribution_response_spec.rb +4 -4
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- metadata +46 -46
@@ -49,7 +49,7 @@ module PulpContainerClient
|
|
49
49
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
50
50
|
attr_accessor :max_retries
|
51
51
|
|
52
|
-
# immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
|
52
|
+
# immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
|
53
53
|
attr_accessor :policy
|
54
54
|
|
55
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.
|
@@ -301,20 +301,20 @@ module PulpContainerClient
|
|
301
301
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
302
302
|
end
|
303
303
|
|
304
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
305
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
304
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
305
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
306
306
|
end
|
307
307
|
|
308
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
309
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
308
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
309
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
310
310
|
end
|
311
311
|
|
312
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
313
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
312
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
313
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
314
314
|
end
|
315
315
|
|
316
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
317
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
316
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
317
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
318
318
|
end
|
319
319
|
|
320
320
|
if @upstream_name.nil?
|
@@ -330,10 +330,10 @@ module PulpContainerClient
|
|
330
330
|
return false if @name.nil?
|
331
331
|
return false if @url.nil?
|
332
332
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
333
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
334
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
335
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
336
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
333
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
334
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
335
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
336
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
337
337
|
return false if @upstream_name.nil?
|
338
338
|
true
|
339
339
|
end
|
@@ -351,8 +351,8 @@ module PulpContainerClient
|
|
351
351
|
# Custom attribute writer method with validation
|
352
352
|
# @param [Object] total_timeout Value to be assigned
|
353
353
|
def total_timeout=(total_timeout)
|
354
|
-
if !total_timeout.nil? && total_timeout < 0
|
355
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
354
|
+
if !total_timeout.nil? && total_timeout < 0
|
355
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
356
356
|
end
|
357
357
|
|
358
358
|
@total_timeout = total_timeout
|
@@ -361,8 +361,8 @@ module PulpContainerClient
|
|
361
361
|
# Custom attribute writer method with validation
|
362
362
|
# @param [Object] connect_timeout Value to be assigned
|
363
363
|
def connect_timeout=(connect_timeout)
|
364
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
365
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
364
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
365
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
366
366
|
end
|
367
367
|
|
368
368
|
@connect_timeout = connect_timeout
|
@@ -371,8 +371,8 @@ module PulpContainerClient
|
|
371
371
|
# Custom attribute writer method with validation
|
372
372
|
# @param [Object] sock_connect_timeout Value to be assigned
|
373
373
|
def sock_connect_timeout=(sock_connect_timeout)
|
374
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
375
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
374
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
375
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
376
376
|
end
|
377
377
|
|
378
378
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -381,8 +381,8 @@ module PulpContainerClient
|
|
381
381
|
# Custom attribute writer method with validation
|
382
382
|
# @param [Object] sock_read_timeout Value to be assigned
|
383
383
|
def sock_read_timeout=(sock_read_timeout)
|
384
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
385
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
384
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
385
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
386
386
|
end
|
387
387
|
|
388
388
|
@sock_read_timeout = sock_read_timeout
|
@@ -23,7 +23,7 @@ module PulpContainerClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -32,7 +32,7 @@ module PulpContainerClient
|
|
32
32
|
# An optional description.
|
33
33
|
attr_accessor :description
|
34
34
|
|
35
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
35
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
36
36
|
attr_accessor :retain_repo_versions
|
37
37
|
|
38
38
|
# An optional remote to use by default when syncing.
|
@@ -85,10 +85,6 @@ module PulpContainerClient
|
|
85
85
|
invalid_properties.push('invalid value for "role", role cannot be nil.')
|
86
86
|
end
|
87
87
|
|
88
|
-
if @role.to_s.length < 1
|
89
|
-
invalid_properties.push('invalid value for "role", the character length must be great than or equal to 1.')
|
90
|
-
end
|
91
|
-
|
92
88
|
invalid_properties
|
93
89
|
end
|
94
90
|
|
@@ -96,24 +92,9 @@ module PulpContainerClient
|
|
96
92
|
# @return true if the model is valid
|
97
93
|
def valid?
|
98
94
|
return false if @role.nil?
|
99
|
-
return false if @role.to_s.length < 1
|
100
95
|
true
|
101
96
|
end
|
102
97
|
|
103
|
-
# Custom attribute writer method with validation
|
104
|
-
# @param [Object] role Value to be assigned
|
105
|
-
def role=(role)
|
106
|
-
if role.nil?
|
107
|
-
fail ArgumentError, 'role cannot be nil'
|
108
|
-
end
|
109
|
-
|
110
|
-
if role.to_s.length < 1
|
111
|
-
fail ArgumentError, 'invalid value for "role", the character length must be great than or equal to 1.'
|
112
|
-
end
|
113
|
-
|
114
|
-
@role = role
|
115
|
-
end
|
116
|
-
|
117
98
|
# Checks equality by comparing each attribute.
|
118
99
|
# @param [Object] Object to be compared
|
119
100
|
def ==(o)
|
@@ -15,19 +15,19 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
18
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
19
|
-
attr_accessor :content_guard
|
20
|
-
|
21
18
|
# The latest RepositoryVersion for this Repository will be served.
|
22
19
|
attr_accessor :repository
|
23
20
|
|
24
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
22
|
attr_accessor :name
|
26
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
27
26
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
27
|
attr_accessor :base_path
|
29
28
|
|
30
|
-
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
30
|
+
attr_accessor :content_guard
|
31
31
|
|
32
32
|
# RepositoryVersion to be served
|
33
33
|
attr_accessor :repository_version
|
@@ -41,11 +41,11 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'content_guard' => :'content_guard',
|
45
44
|
:'repository' => :'repository',
|
46
45
|
:'name' => :'name',
|
47
|
-
:'base_path' => :'base_path',
|
48
46
|
:'pulp_labels' => :'pulp_labels',
|
47
|
+
:'base_path' => :'base_path',
|
48
|
+
:'content_guard' => :'content_guard',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
@@ -55,11 +55,11 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
-
:'content_guard' => :'String',
|
59
58
|
:'repository' => :'String',
|
60
59
|
:'name' => :'String',
|
61
|
-
:'base_path' => :'String',
|
62
60
|
:'pulp_labels' => :'Hash<String, String>',
|
61
|
+
:'base_path' => :'String',
|
62
|
+
:'content_guard' => :'String',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
@@ -90,10 +90,6 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'content_guard')
|
94
|
-
self.content_guard = attributes[:'content_guard']
|
95
|
-
end
|
96
|
-
|
97
93
|
if attributes.key?(:'repository')
|
98
94
|
self.repository = attributes[:'repository']
|
99
95
|
end
|
@@ -102,16 +98,20 @@ module PulpContainerClient
|
|
102
98
|
self.name = attributes[:'name']
|
103
99
|
end
|
104
100
|
|
105
|
-
if attributes.key?(:'base_path')
|
106
|
-
self.base_path = attributes[:'base_path']
|
107
|
-
end
|
108
|
-
|
109
101
|
if attributes.key?(:'pulp_labels')
|
110
102
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
111
103
|
self.pulp_labels = value
|
112
104
|
end
|
113
105
|
end
|
114
106
|
|
107
|
+
if attributes.key?(:'base_path')
|
108
|
+
self.base_path = attributes[:'base_path']
|
109
|
+
end
|
110
|
+
|
111
|
+
if attributes.key?(:'content_guard')
|
112
|
+
self.content_guard = attributes[:'content_guard']
|
113
|
+
end
|
114
|
+
|
115
115
|
if attributes.key?(:'repository_version')
|
116
116
|
self.repository_version = attributes[:'repository_version']
|
117
117
|
end
|
@@ -188,11 +188,11 @@ module PulpContainerClient
|
|
188
188
|
def ==(o)
|
189
189
|
return true if self.equal?(o)
|
190
190
|
self.class == o.class &&
|
191
|
-
content_guard == o.content_guard &&
|
192
191
|
repository == o.repository &&
|
193
192
|
name == o.name &&
|
194
|
-
base_path == o.base_path &&
|
195
193
|
pulp_labels == o.pulp_labels &&
|
194
|
+
base_path == o.base_path &&
|
195
|
+
content_guard == o.content_guard &&
|
196
196
|
repository_version == o.repository_version &&
|
197
197
|
private == o.private &&
|
198
198
|
description == o.description
|
@@ -207,7 +207,7 @@ module PulpContainerClient
|
|
207
207
|
# Calculates hash code according to all attributes.
|
208
208
|
# @return [Integer] Hash code
|
209
209
|
def hash
|
210
|
-
[
|
210
|
+
[repository, name, pulp_labels, base_path, content_guard, repository_version, private, description].hash
|
211
211
|
end
|
212
212
|
|
213
213
|
# Builds the object from hash
|
@@ -15,7 +15,7 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class PatchedcontainerContainerPushRepository
|
18
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
18
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
19
19
|
attr_accessor :retain_repo_versions
|
20
20
|
|
21
21
|
# An optional description.
|
@@ -56,7 +56,7 @@ module PulpContainerClient
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
57
|
attr_accessor :max_retries
|
58
58
|
|
59
|
-
# immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
|
59
|
+
# immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
|
60
60
|
attr_accessor :policy
|
61
61
|
|
62
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.
|
@@ -346,20 +346,20 @@ module PulpContainerClient
|
|
346
346
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
347
347
|
end
|
348
348
|
|
349
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
350
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
349
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
350
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
351
351
|
end
|
352
352
|
|
353
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
354
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
353
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
354
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
355
355
|
end
|
356
356
|
|
357
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
358
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
357
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
358
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
359
359
|
end
|
360
360
|
|
361
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
362
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
361
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
362
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
363
363
|
end
|
364
364
|
|
365
365
|
if !@upstream_name.nil? && @upstream_name.to_s.length < 1
|
@@ -387,10 +387,10 @@ module PulpContainerClient
|
|
387
387
|
return false if !@username.nil? && @username.to_s.length < 1
|
388
388
|
return false if !@password.nil? && @password.to_s.length < 1
|
389
389
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
390
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
391
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
392
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
393
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
390
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
391
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
392
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
393
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
394
394
|
return false if !@upstream_name.nil? && @upstream_name.to_s.length < 1
|
395
395
|
return false if !@sigstore.nil? && @sigstore.to_s.length < 1
|
396
396
|
true
|
@@ -509,8 +509,8 @@ module PulpContainerClient
|
|
509
509
|
# Custom attribute writer method with validation
|
510
510
|
# @param [Object] total_timeout Value to be assigned
|
511
511
|
def total_timeout=(total_timeout)
|
512
|
-
if !total_timeout.nil? && total_timeout < 0
|
513
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
512
|
+
if !total_timeout.nil? && total_timeout < 0
|
513
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
514
514
|
end
|
515
515
|
|
516
516
|
@total_timeout = total_timeout
|
@@ -519,8 +519,8 @@ module PulpContainerClient
|
|
519
519
|
# Custom attribute writer method with validation
|
520
520
|
# @param [Object] connect_timeout Value to be assigned
|
521
521
|
def connect_timeout=(connect_timeout)
|
522
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
523
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
522
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
523
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
524
524
|
end
|
525
525
|
|
526
526
|
@connect_timeout = connect_timeout
|
@@ -529,8 +529,8 @@ module PulpContainerClient
|
|
529
529
|
# Custom attribute writer method with validation
|
530
530
|
# @param [Object] sock_connect_timeout Value to be assigned
|
531
531
|
def sock_connect_timeout=(sock_connect_timeout)
|
532
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
533
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
532
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
533
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
534
534
|
end
|
535
535
|
|
536
536
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -539,8 +539,8 @@ module PulpContainerClient
|
|
539
539
|
# Custom attribute writer method with validation
|
540
540
|
# @param [Object] sock_read_timeout Value to be assigned
|
541
541
|
def sock_read_timeout=(sock_read_timeout)
|
542
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
543
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
542
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
543
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
544
544
|
end
|
545
545
|
|
546
546
|
@sock_read_timeout = sock_read_timeout
|
@@ -23,7 +23,7 @@ module PulpContainerClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -40,9 +40,7 @@ describe 'ContentBlobsApi' do
|
|
40
40
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
41
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
42
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
43
|
-
# @option opts [Array<String>] :ordering Ordering
|
44
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
43
|
+
# @option opts [Array<String>] :ordering Ordering
|
46
44
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
47
45
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
48
46
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -39,11 +39,9 @@ describe 'ContentManifestsApi' do
|
|
39
39
|
# @option opts [String] :digest Filter results where digest matches value
|
40
40
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
41
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
42
|
-
# @option opts [Array<String>] :media_type
|
42
|
+
# @option opts [Array<String>] :media_type
|
43
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
44
|
-
# @option opts [Array<String>] :ordering Ordering
|
45
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
46
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
44
|
+
# @option opts [Array<String>] :ordering Ordering
|
47
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
48
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
49
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -48,9 +48,7 @@ describe 'ContentSignaturesApi' do
|
|
48
48
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
49
49
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
50
50
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
51
|
-
# @option opts [Array<String>] :ordering Ordering
|
52
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
53
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
51
|
+
# @option opts [Array<String>] :ordering Ordering
|
54
52
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
55
53
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
56
54
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,13 +38,11 @@ describe 'ContentTagsApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
41
|
-
# @option opts [Array<String>] :media_type
|
41
|
+
# @option opts [Array<String>] :media_type
|
42
42
|
# @option opts [String] :name Filter results where name matches value
|
43
43
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
44
44
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
45
|
-
# @option opts [Array<String>] :ordering Ordering
|
46
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
47
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
45
|
+
# @option opts [Array<String>] :ordering Ordering
|
48
46
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
49
47
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
50
48
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -84,12 +84,8 @@ describe 'DistributionsContainerApi' do
|
|
84
84
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
85
85
|
# @option opts [String] :namespace__name
|
86
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
87
|
-
# @option opts [Array<String>] :ordering Ordering
|
88
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
89
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
87
|
+
# @option opts [Array<String>] :ordering Ordering
|
90
88
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
91
|
-
# @option opts [String] :repository Filter results where repository matches value
|
92
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
93
89
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
94
90
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
95
91
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -79,9 +79,7 @@ describe 'PulpContainerNamespacesApi' do
|
|
79
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
80
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
|
-
# @option opts [Array<String>] :ordering Ordering
|
83
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
84
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
85
83
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
86
84
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
87
85
|
# @return [PaginatedcontainerContainerNamespaceResponseList]
|
@@ -79,9 +79,7 @@ describe 'RemotesContainerApi' do
|
|
79
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
80
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
|
-
# @option opts [Array<String>] :ordering Ordering
|
83
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
84
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
85
83
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
86
84
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
87
85
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -134,19 +134,9 @@ describe 'RepositoriesContainerApi' do
|
|
134
134
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
135
135
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
136
136
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
137
|
-
# @option opts [Array<String>] :ordering Ordering
|
138
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
139
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
137
|
+
# @option opts [Array<String>] :ordering Ordering
|
140
138
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
141
139
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
142
|
-
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
143
|
-
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
144
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
145
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
146
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
147
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
148
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
149
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
150
140
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
151
141
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
152
142
|
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
@@ -55,19 +55,9 @@ describe 'RepositoriesContainerPushApi' do
|
|
55
55
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
56
56
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
57
57
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
|
-
# @option opts [Array<String>] :ordering Ordering
|
59
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
60
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
58
|
+
# @option opts [Array<String>] :ordering Ordering
|
61
59
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
62
60
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
63
|
-
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
64
|
-
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
65
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
66
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
67
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
68
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
69
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
70
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
71
61
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
72
62
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
73
63
|
# @return [PaginatedcontainerContainerPushRepositoryResponseList]
|
@@ -59,14 +59,13 @@ describe 'RepositoriesContainerPushVersionsApi' do
|
|
59
59
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
|
-
# @option opts [Array<String>] :ordering Ordering
|
62
|
+
# @option opts [Array<String>] :ordering Ordering
|
63
63
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
69
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
71
70
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
72
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -59,14 +59,13 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
59
59
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
|
-
# @option opts [Array<String>] :ordering Ordering
|
62
|
+
# @option opts [Array<String>] :ordering Ordering
|
63
63
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
69
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
71
70
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
72
71
|
# @return [PaginatedRepositoryVersionResponseList]
|