pulp_container_client 2.6.0 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +16 -12
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepository.md +23 -0
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -11
- data/docs/ContainerContainerRemote.md +7 -5
- data/docs/ContainerContainerRemoteResponse.md +7 -5
- data/docs/ManifestCopy.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +23 -0
- data/docs/PatchedcontainerContainerRemote.md +7 -5
- data/docs/RecursiveManage.md +1 -1
- data/docs/RepositoriesContainerPushApi.md +112 -0
- data/docs/RepositoriesContainerPushVersionsApi.md +271 -0
- data/docs/RepositoriesContainerVersionsApi.md +16 -279
- data/docs/TagCopy.md +1 -1
- data/lib/pulp_container_client.rb +4 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +1 -1
- data/lib/pulp_container_client/api/content_manifests_api.rb +1 -1
- data/lib/pulp_container_client/api/content_tags_api.rb +1 -1
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +1 -1
- data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +1 -1
- data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +141 -1
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +339 -0
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +26 -343
- data/lib/pulp_container_client/api/token_api.rb +1 -1
- data/lib/pulp_container_client/api_client.rb +12 -8
- data/lib/pulp_container_client/api_error.rb +1 -1
- data/lib/pulp_container_client/configuration.rb +8 -1
- data/lib/pulp_container_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_container_client/models/container_blob_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +25 -25
- data/lib/pulp_container_client/models/container_container_namespace.rb +1 -1
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository.rb +259 -0
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -43
- data/lib/pulp_container_client/models/container_container_remote.rb +19 -7
- data/lib/pulp_container_client/models/container_container_remote_response.rb +19 -7
- 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/container_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +1 -1
- data/lib/pulp_container_client/models/container_manifest_response.rb +1 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +1 -1
- data/lib/pulp_container_client/models/content_summary.rb +1 -1
- data/lib/pulp_container_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_container_client/models/manifest_copy.rb +2 -2
- data/lib/pulp_container_client/models/media_types_enum.rb +1 -1
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_content_redirect_content_guard_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +254 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +19 -7
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/policy_enum.rb +1 -1
- data/lib/pulp_container_client/models/recursive_manage.rb +2 -2
- data/lib/pulp_container_client/models/remove_image.rb +1 -1
- data/lib/pulp_container_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_container_client/models/repository_version.rb +1 -1
- data/lib/pulp_container_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_container_client/models/tag_copy.rb +2 -2
- data/lib/pulp_container_client/models/tag_image.rb +1 -1
- data/lib/pulp_container_client/models/un_tag_image.rb +1 -1
- data/lib/pulp_container_client/version.rb +2 -2
- data/pulp_container_client.gemspec +1 -1
- data/spec/api/content_blobs_api_spec.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +1 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
- data/spec/api/remotes_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_push_api_spec.rb +27 -1
- data/spec/api/repositories_container_push_versions_api_spec.rb +104 -0
- data/spec/api/repositories_container_versions_api_spec.rb +5 -74
- data/spec/api/token_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/container_blob_response_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_namespace_response_spec.rb +1 -1
- data/spec/models/container_container_namespace_spec.rb +1 -1
- data/spec/models/container_container_push_repository_response_spec.rb +7 -13
- data/spec/models/container_container_push_repository_spec.rb +59 -0
- data/spec/models/container_container_remote_response_spec.rb +7 -1
- data/spec/models/container_container_remote_spec.rb +7 -1
- data/spec/models/container_container_repository_response_spec.rb +1 -1
- data/spec/models/container_container_repository_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/container_manifest_response_spec.rb +1 -1
- data/spec/models/container_tag_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/manifest_copy_spec.rb +1 -1
- data/spec/models/media_types_enum_spec.rb +1 -1
- data/spec/models/oci_build_image_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_blob_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_namespace_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_manifest_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_tag_response_list_spec.rb +1 -1
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +59 -0
- data/spec/models/patchedcontainer_container_remote_spec.rb +7 -1
- data/spec/models/patchedcontainer_container_repository_spec.rb +1 -1
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/recursive_manage_spec.rb +1 -1
- data/spec/models/remove_image_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/tag_copy_spec.rb +1 -1
- data/spec/models/tag_image_spec.rb +1 -1
- data/spec/models/un_tag_image_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +51 -39
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -15,55 +15,51 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
18
|
-
attr_accessor :pulp_href
|
19
|
-
|
20
18
|
# Timestamp of creation.
|
21
19
|
attr_accessor :pulp_created
|
22
20
|
|
23
|
-
attr_accessor :versions_href
|
24
|
-
|
25
|
-
attr_accessor :pulp_labels
|
26
|
-
|
27
|
-
attr_accessor :latest_version_href
|
28
|
-
|
29
21
|
# A unique name for this repository.
|
30
22
|
attr_accessor :name
|
31
23
|
|
24
|
+
attr_accessor :versions_href
|
25
|
+
|
32
26
|
# An optional description.
|
33
27
|
attr_accessor :description
|
34
28
|
|
29
|
+
attr_accessor :latest_version_href
|
30
|
+
|
35
31
|
# 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
32
|
attr_accessor :retained_versions
|
37
33
|
|
38
|
-
attr_accessor :
|
34
|
+
attr_accessor :pulp_href
|
35
|
+
|
36
|
+
attr_accessor :pulp_labels
|
39
37
|
|
40
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
39
|
def self.attribute_map
|
42
40
|
{
|
43
|
-
:'pulp_href' => :'pulp_href',
|
44
41
|
:'pulp_created' => :'pulp_created',
|
45
|
-
:'versions_href' => :'versions_href',
|
46
|
-
:'pulp_labels' => :'pulp_labels',
|
47
|
-
:'latest_version_href' => :'latest_version_href',
|
48
42
|
:'name' => :'name',
|
43
|
+
:'versions_href' => :'versions_href',
|
49
44
|
:'description' => :'description',
|
45
|
+
:'latest_version_href' => :'latest_version_href',
|
50
46
|
:'retained_versions' => :'retained_versions',
|
51
|
-
:'
|
47
|
+
:'pulp_href' => :'pulp_href',
|
48
|
+
:'pulp_labels' => :'pulp_labels'
|
52
49
|
}
|
53
50
|
end
|
54
51
|
|
55
52
|
# Attribute type mapping.
|
56
53
|
def self.openapi_types
|
57
54
|
{
|
58
|
-
:'pulp_href' => :'String',
|
59
55
|
:'pulp_created' => :'DateTime',
|
60
|
-
:'versions_href' => :'String',
|
61
|
-
:'pulp_labels' => :'Object',
|
62
|
-
:'latest_version_href' => :'String',
|
63
56
|
:'name' => :'String',
|
57
|
+
:'versions_href' => :'String',
|
64
58
|
:'description' => :'String',
|
59
|
+
:'latest_version_href' => :'String',
|
65
60
|
:'retained_versions' => :'Integer',
|
66
|
-
:'
|
61
|
+
:'pulp_href' => :'String',
|
62
|
+
:'pulp_labels' => :'Object'
|
67
63
|
}
|
68
64
|
end
|
69
65
|
|
@@ -72,7 +68,6 @@ module PulpContainerClient
|
|
72
68
|
Set.new([
|
73
69
|
:'description',
|
74
70
|
:'retained_versions',
|
75
|
-
:'remote'
|
76
71
|
])
|
77
72
|
end
|
78
73
|
|
@@ -91,40 +86,36 @@ module PulpContainerClient
|
|
91
86
|
h[k.to_sym] = v
|
92
87
|
}
|
93
88
|
|
94
|
-
if attributes.key?(:'pulp_href')
|
95
|
-
self.pulp_href = attributes[:'pulp_href']
|
96
|
-
end
|
97
|
-
|
98
89
|
if attributes.key?(:'pulp_created')
|
99
90
|
self.pulp_created = attributes[:'pulp_created']
|
100
91
|
end
|
101
92
|
|
93
|
+
if attributes.key?(:'name')
|
94
|
+
self.name = attributes[:'name']
|
95
|
+
end
|
96
|
+
|
102
97
|
if attributes.key?(:'versions_href')
|
103
98
|
self.versions_href = attributes[:'versions_href']
|
104
99
|
end
|
105
100
|
|
106
|
-
if attributes.key?(:'
|
107
|
-
self.
|
101
|
+
if attributes.key?(:'description')
|
102
|
+
self.description = attributes[:'description']
|
108
103
|
end
|
109
104
|
|
110
105
|
if attributes.key?(:'latest_version_href')
|
111
106
|
self.latest_version_href = attributes[:'latest_version_href']
|
112
107
|
end
|
113
108
|
|
114
|
-
if attributes.key?(:'name')
|
115
|
-
self.name = attributes[:'name']
|
116
|
-
end
|
117
|
-
|
118
|
-
if attributes.key?(:'description')
|
119
|
-
self.description = attributes[:'description']
|
120
|
-
end
|
121
|
-
|
122
109
|
if attributes.key?(:'retained_versions')
|
123
110
|
self.retained_versions = attributes[:'retained_versions']
|
124
111
|
end
|
125
112
|
|
126
|
-
if attributes.key?(:'
|
127
|
-
self.
|
113
|
+
if attributes.key?(:'pulp_href')
|
114
|
+
self.pulp_href = attributes[:'pulp_href']
|
115
|
+
end
|
116
|
+
|
117
|
+
if attributes.key?(:'pulp_labels')
|
118
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
128
119
|
end
|
129
120
|
end
|
130
121
|
|
@@ -166,15 +157,14 @@ module PulpContainerClient
|
|
166
157
|
def ==(o)
|
167
158
|
return true if self.equal?(o)
|
168
159
|
self.class == o.class &&
|
169
|
-
pulp_href == o.pulp_href &&
|
170
160
|
pulp_created == o.pulp_created &&
|
171
|
-
versions_href == o.versions_href &&
|
172
|
-
pulp_labels == o.pulp_labels &&
|
173
|
-
latest_version_href == o.latest_version_href &&
|
174
161
|
name == o.name &&
|
162
|
+
versions_href == o.versions_href &&
|
175
163
|
description == o.description &&
|
164
|
+
latest_version_href == o.latest_version_href &&
|
176
165
|
retained_versions == o.retained_versions &&
|
177
|
-
|
166
|
+
pulp_href == o.pulp_href &&
|
167
|
+
pulp_labels == o.pulp_labels
|
178
168
|
end
|
179
169
|
|
180
170
|
# @see the `==` method
|
@@ -186,7 +176,7 @@ module PulpContainerClient
|
|
186
176
|
# Calculates hash code according to all attributes.
|
187
177
|
# @return [Integer] Hash code
|
188
178
|
def hash
|
189
|
-
[
|
179
|
+
[pulp_created, name, versions_href, description, latest_version_href, retained_versions, pulp_href, pulp_labels].hash
|
190
180
|
end
|
191
181
|
|
192
182
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -50,22 +50,25 @@ module PulpContainerClient
|
|
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
|
# 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.
|
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
|
@@ -99,6 +102,7 @@ module PulpContainerClient
|
|
99
102
|
:'password' => :'password',
|
100
103
|
:'pulp_labels' => :'pulp_labels',
|
101
104
|
:'download_concurrency' => :'download_concurrency',
|
105
|
+
:'max_retries' => :'max_retries',
|
102
106
|
:'policy' => :'policy',
|
103
107
|
:'total_timeout' => :'total_timeout',
|
104
108
|
:'connect_timeout' => :'connect_timeout',
|
@@ -128,6 +132,7 @@ module PulpContainerClient
|
|
128
132
|
:'password' => :'String',
|
129
133
|
:'pulp_labels' => :'Object',
|
130
134
|
:'download_concurrency' => :'Integer',
|
135
|
+
:'max_retries' => :'Integer',
|
131
136
|
:'policy' => :'PolicyEnum',
|
132
137
|
:'total_timeout' => :'Float',
|
133
138
|
:'connect_timeout' => :'Float',
|
@@ -152,6 +157,8 @@ module PulpContainerClient
|
|
152
157
|
:'proxy_password',
|
153
158
|
:'username',
|
154
159
|
:'password',
|
160
|
+
:'download_concurrency',
|
161
|
+
:'max_retries',
|
155
162
|
:'total_timeout',
|
156
163
|
:'connect_timeout',
|
157
164
|
:'sock_connect_timeout',
|
@@ -229,6 +236,10 @@ module PulpContainerClient
|
|
229
236
|
self.download_concurrency = attributes[:'download_concurrency']
|
230
237
|
end
|
231
238
|
|
239
|
+
if attributes.key?(:'max_retries')
|
240
|
+
self.max_retries = attributes[:'max_retries']
|
241
|
+
end
|
242
|
+
|
232
243
|
if attributes.key?(:'policy')
|
233
244
|
self.policy = attributes[:'policy']
|
234
245
|
end
|
@@ -397,6 +408,7 @@ module PulpContainerClient
|
|
397
408
|
password == o.password &&
|
398
409
|
pulp_labels == o.pulp_labels &&
|
399
410
|
download_concurrency == o.download_concurrency &&
|
411
|
+
max_retries == o.max_retries &&
|
400
412
|
policy == o.policy &&
|
401
413
|
total_timeout == o.total_timeout &&
|
402
414
|
connect_timeout == o.connect_timeout &&
|
@@ -418,7 +430,7 @@ module PulpContainerClient
|
|
418
430
|
# Calculates hash code according to all attributes.
|
419
431
|
# @return [Integer] Hash code
|
420
432
|
def hash
|
421
|
-
[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, upstream_name, include_tags, exclude_tags].hash
|
433
|
+
[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, upstream_name, include_tags, exclude_tags].hash
|
422
434
|
end
|
423
435
|
|
424
436
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -43,22 +43,25 @@ module PulpContainerClient
|
|
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
|
# 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.
|
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
|
@@ -90,6 +93,7 @@ module PulpContainerClient
|
|
90
93
|
:'pulp_labels' => :'pulp_labels',
|
91
94
|
:'pulp_last_updated' => :'pulp_last_updated',
|
92
95
|
:'download_concurrency' => :'download_concurrency',
|
96
|
+
:'max_retries' => :'max_retries',
|
93
97
|
:'policy' => :'policy',
|
94
98
|
:'total_timeout' => :'total_timeout',
|
95
99
|
:'connect_timeout' => :'connect_timeout',
|
@@ -117,6 +121,7 @@ module PulpContainerClient
|
|
117
121
|
:'pulp_labels' => :'Object',
|
118
122
|
:'pulp_last_updated' => :'DateTime',
|
119
123
|
:'download_concurrency' => :'Integer',
|
124
|
+
:'max_retries' => :'Integer',
|
120
125
|
:'policy' => :'PolicyEnum',
|
121
126
|
:'total_timeout' => :'Float',
|
122
127
|
:'connect_timeout' => :'Float',
|
@@ -136,6 +141,8 @@ module PulpContainerClient
|
|
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',
|
@@ -205,6 +212,10 @@ module PulpContainerClient
|
|
205
212
|
self.download_concurrency = attributes[:'download_concurrency']
|
206
213
|
end
|
207
214
|
|
215
|
+
if attributes.key?(:'max_retries')
|
216
|
+
self.max_retries = attributes[:'max_retries']
|
217
|
+
end
|
218
|
+
|
208
219
|
if attributes.key?(:'policy')
|
209
220
|
self.policy = attributes[:'policy']
|
210
221
|
end
|
@@ -371,6 +382,7 @@ module PulpContainerClient
|
|
371
382
|
pulp_labels == o.pulp_labels &&
|
372
383
|
pulp_last_updated == o.pulp_last_updated &&
|
373
384
|
download_concurrency == o.download_concurrency &&
|
385
|
+
max_retries == o.max_retries &&
|
374
386
|
policy == o.policy &&
|
375
387
|
total_timeout == o.total_timeout &&
|
376
388
|
connect_timeout == o.connect_timeout &&
|
@@ -392,7 +404,7 @@ module PulpContainerClient
|
|
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, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, upstream_name, include_tags, exclude_tags].hash
|
407
|
+
[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, upstream_name, include_tags, exclude_tags].hash
|
396
408
|
end
|
397
409
|
|
398
410
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -42,7 +42,7 @@ module PulpContainerClient
|
|
42
42
|
{
|
43
43
|
:'source_repository' => :'String',
|
44
44
|
:'source_repository_version' => :'String',
|
45
|
-
:'digests' => :'Array<
|
45
|
+
:'digests' => :'Array<AnyType>',
|
46
46
|
:'media_types' => :'Array<MediaTypesEnum>'
|
47
47
|
}
|
48
48
|
end
|