pulp_container_client 2.27.0 → 2.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughRemote.md +6 -6
- data/docs/ContainerContainerPullThroughRemoteResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/ContainerContainerRemote.md +6 -6
- data/docs/ContainerContainerRemoteResponse.md +8 -8
- data/docs/ContentBlobsApi.md +6 -6
- data/docs/ContentManifestsApi.md +6 -6
- data/docs/ContentSignaturesApi.md +6 -6
- data/docs/ContentTagsApi.md +6 -6
- data/docs/DistributionsContainerApi.md +4 -4
- data/docs/DistributionsPullThroughApi.md +4 -4
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughRemote.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/docs/PatchedcontainerContainerRemote.md +6 -6
- data/docs/RepositoriesContainerApi.md +2 -2
- data/docs/RepositoriesContainerPushApi.md +2 -2
- data/lib/pulp_container_client/api/content_blobs_api.rb +6 -6
- data/lib/pulp_container_client/api/content_manifests_api.rb +6 -6
- data/lib/pulp_container_client/api/content_signatures_api.rb +6 -6
- data/lib/pulp_container_client/api/content_tags_api.rb +6 -6
- data/lib/pulp_container_client/api/distributions_container_api.rb +4 -4
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -4
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -2
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +60 -60
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +60 -60
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +32 -32
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +44 -44
- data/lib/pulp_container_client/models/container_container_push_repository.rb +21 -21
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +59 -59
- data/lib/pulp_container_client/models/container_container_remote.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote_response.rb +45 -45
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +32 -32
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +33 -33
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +3 -3
- data/spec/api/content_manifests_api_spec.rb +3 -3
- data/spec/api/content_signatures_api_spec.rb +3 -3
- data/spec/api/content_tags_api_spec.rb +3 -3
- data/spec/api/distributions_container_api_spec.rb +2 -2
- data/spec/api/distributions_pull_through_api_spec.rb +2 -2
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_push_api_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_remote_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_remote_spec.rb +17 -17
- data/spec/models/container_container_push_repository_response_spec.rb +11 -11
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_spec.rb +10 -10
- data/spec/models/container_container_remote_spec.rb +17 -17
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_remote_spec.rb +17 -17
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_remote_spec.rb +17 -17
- metadata +2 -2
|
@@ -22,6 +22,10 @@ module PulpContainerClient
|
|
|
22
22
|
# The URL of an external content source.
|
|
23
23
|
attr_accessor :url
|
|
24
24
|
|
|
25
|
+
attr_accessor :pulp_labels
|
|
26
|
+
|
|
27
|
+
attr_accessor :policy
|
|
28
|
+
|
|
25
29
|
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
|
26
30
|
attr_accessor :ca_cert
|
|
27
31
|
|
|
@@ -49,16 +53,9 @@ module PulpContainerClient
|
|
|
49
53
|
# The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
|
|
50
54
|
attr_accessor :password
|
|
51
55
|
|
|
52
|
-
attr_accessor :pulp_labels
|
|
53
|
-
|
|
54
|
-
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
55
|
-
attr_accessor :download_concurrency
|
|
56
|
-
|
|
57
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
58
57
|
attr_accessor :max_retries
|
|
59
58
|
|
|
60
|
-
attr_accessor :policy
|
|
61
|
-
|
|
62
59
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
63
60
|
attr_accessor :total_timeout
|
|
64
61
|
|
|
@@ -74,6 +71,9 @@ module PulpContainerClient
|
|
|
74
71
|
# Headers for aiohttp.Clientsession
|
|
75
72
|
attr_accessor :headers
|
|
76
73
|
|
|
74
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
75
|
+
attr_accessor :download_concurrency
|
|
76
|
+
|
|
77
77
|
# Limits requests per second for each concurrent downloader
|
|
78
78
|
attr_accessor :rate_limit
|
|
79
79
|
|
|
@@ -110,6 +110,8 @@ module PulpContainerClient
|
|
|
110
110
|
{
|
|
111
111
|
:'name' => :'name',
|
|
112
112
|
:'url' => :'url',
|
|
113
|
+
:'pulp_labels' => :'pulp_labels',
|
|
114
|
+
:'policy' => :'policy',
|
|
113
115
|
:'ca_cert' => :'ca_cert',
|
|
114
116
|
:'client_cert' => :'client_cert',
|
|
115
117
|
:'client_key' => :'client_key',
|
|
@@ -119,15 +121,13 @@ module PulpContainerClient
|
|
|
119
121
|
:'proxy_password' => :'proxy_password',
|
|
120
122
|
:'username' => :'username',
|
|
121
123
|
:'password' => :'password',
|
|
122
|
-
:'pulp_labels' => :'pulp_labels',
|
|
123
|
-
:'download_concurrency' => :'download_concurrency',
|
|
124
124
|
:'max_retries' => :'max_retries',
|
|
125
|
-
:'policy' => :'policy',
|
|
126
125
|
:'total_timeout' => :'total_timeout',
|
|
127
126
|
:'connect_timeout' => :'connect_timeout',
|
|
128
127
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
|
129
128
|
:'sock_read_timeout' => :'sock_read_timeout',
|
|
130
129
|
:'headers' => :'headers',
|
|
130
|
+
:'download_concurrency' => :'download_concurrency',
|
|
131
131
|
:'rate_limit' => :'rate_limit',
|
|
132
132
|
:'includes' => :'includes',
|
|
133
133
|
:'excludes' => :'excludes'
|
|
@@ -144,6 +144,8 @@ module PulpContainerClient
|
|
|
144
144
|
{
|
|
145
145
|
:'name' => :'String',
|
|
146
146
|
:'url' => :'String',
|
|
147
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
148
|
+
:'policy' => :'Policy7e0Enum',
|
|
147
149
|
:'ca_cert' => :'String',
|
|
148
150
|
:'client_cert' => :'String',
|
|
149
151
|
:'client_key' => :'String',
|
|
@@ -153,15 +155,13 @@ module PulpContainerClient
|
|
|
153
155
|
:'proxy_password' => :'String',
|
|
154
156
|
:'username' => :'String',
|
|
155
157
|
:'password' => :'String',
|
|
156
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
157
|
-
:'download_concurrency' => :'Integer',
|
|
158
158
|
:'max_retries' => :'Integer',
|
|
159
|
-
:'policy' => :'Policy7e0Enum',
|
|
160
159
|
:'total_timeout' => :'Float',
|
|
161
160
|
:'connect_timeout' => :'Float',
|
|
162
161
|
:'sock_connect_timeout' => :'Float',
|
|
163
162
|
:'sock_read_timeout' => :'Float',
|
|
164
163
|
:'headers' => :'Array<Object>',
|
|
164
|
+
:'download_concurrency' => :'Integer',
|
|
165
165
|
:'rate_limit' => :'Integer',
|
|
166
166
|
:'includes' => :'Array<String>',
|
|
167
167
|
:'excludes' => :'Array<String>'
|
|
@@ -179,12 +179,12 @@ module PulpContainerClient
|
|
|
179
179
|
:'proxy_password',
|
|
180
180
|
:'username',
|
|
181
181
|
:'password',
|
|
182
|
-
:'download_concurrency',
|
|
183
182
|
:'max_retries',
|
|
184
183
|
:'total_timeout',
|
|
185
184
|
:'connect_timeout',
|
|
186
185
|
:'sock_connect_timeout',
|
|
187
186
|
:'sock_read_timeout',
|
|
187
|
+
:'download_concurrency',
|
|
188
188
|
:'rate_limit',
|
|
189
189
|
:'includes',
|
|
190
190
|
:'excludes'
|
|
@@ -218,6 +218,16 @@ module PulpContainerClient
|
|
|
218
218
|
self.url = nil
|
|
219
219
|
end
|
|
220
220
|
|
|
221
|
+
if attributes.key?(:'pulp_labels')
|
|
222
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
223
|
+
self.pulp_labels = value
|
|
224
|
+
end
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
if attributes.key?(:'policy')
|
|
228
|
+
self.policy = attributes[:'policy']
|
|
229
|
+
end
|
|
230
|
+
|
|
221
231
|
if attributes.key?(:'ca_cert')
|
|
222
232
|
self.ca_cert = attributes[:'ca_cert']
|
|
223
233
|
end
|
|
@@ -254,24 +264,10 @@ module PulpContainerClient
|
|
|
254
264
|
self.password = attributes[:'password']
|
|
255
265
|
end
|
|
256
266
|
|
|
257
|
-
if attributes.key?(:'pulp_labels')
|
|
258
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
259
|
-
self.pulp_labels = value
|
|
260
|
-
end
|
|
261
|
-
end
|
|
262
|
-
|
|
263
|
-
if attributes.key?(:'download_concurrency')
|
|
264
|
-
self.download_concurrency = attributes[:'download_concurrency']
|
|
265
|
-
end
|
|
266
|
-
|
|
267
267
|
if attributes.key?(:'max_retries')
|
|
268
268
|
self.max_retries = attributes[:'max_retries']
|
|
269
269
|
end
|
|
270
270
|
|
|
271
|
-
if attributes.key?(:'policy')
|
|
272
|
-
self.policy = attributes[:'policy']
|
|
273
|
-
end
|
|
274
|
-
|
|
275
271
|
if attributes.key?(:'total_timeout')
|
|
276
272
|
self.total_timeout = attributes[:'total_timeout']
|
|
277
273
|
end
|
|
@@ -294,6 +290,10 @@ module PulpContainerClient
|
|
|
294
290
|
end
|
|
295
291
|
end
|
|
296
292
|
|
|
293
|
+
if attributes.key?(:'download_concurrency')
|
|
294
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
|
295
|
+
end
|
|
296
|
+
|
|
297
297
|
if attributes.key?(:'rate_limit')
|
|
298
298
|
self.rate_limit = attributes[:'rate_limit']
|
|
299
299
|
end
|
|
@@ -561,6 +561,8 @@ module PulpContainerClient
|
|
|
561
561
|
self.class == o.class &&
|
|
562
562
|
name == o.name &&
|
|
563
563
|
url == o.url &&
|
|
564
|
+
pulp_labels == o.pulp_labels &&
|
|
565
|
+
policy == o.policy &&
|
|
564
566
|
ca_cert == o.ca_cert &&
|
|
565
567
|
client_cert == o.client_cert &&
|
|
566
568
|
client_key == o.client_key &&
|
|
@@ -570,15 +572,13 @@ module PulpContainerClient
|
|
|
570
572
|
proxy_password == o.proxy_password &&
|
|
571
573
|
username == o.username &&
|
|
572
574
|
password == o.password &&
|
|
573
|
-
pulp_labels == o.pulp_labels &&
|
|
574
|
-
download_concurrency == o.download_concurrency &&
|
|
575
575
|
max_retries == o.max_retries &&
|
|
576
|
-
policy == o.policy &&
|
|
577
576
|
total_timeout == o.total_timeout &&
|
|
578
577
|
connect_timeout == o.connect_timeout &&
|
|
579
578
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
580
579
|
sock_read_timeout == o.sock_read_timeout &&
|
|
581
580
|
headers == o.headers &&
|
|
581
|
+
download_concurrency == o.download_concurrency &&
|
|
582
582
|
rate_limit == o.rate_limit &&
|
|
583
583
|
includes == o.includes &&
|
|
584
584
|
excludes == o.excludes
|
|
@@ -593,7 +593,7 @@ module PulpContainerClient
|
|
|
593
593
|
# Calculates hash code according to all attributes.
|
|
594
594
|
# @return [Integer] Hash code
|
|
595
595
|
def hash
|
|
596
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password,
|
|
596
|
+
[name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, includes, excludes].hash
|
|
597
597
|
end
|
|
598
598
|
|
|
599
599
|
# Builds the object from hash
|
|
@@ -33,6 +33,13 @@ module PulpContainerClient
|
|
|
33
33
|
# The URL of an external content source.
|
|
34
34
|
attr_accessor :url
|
|
35
35
|
|
|
36
|
+
attr_accessor :pulp_labels
|
|
37
|
+
|
|
38
|
+
attr_accessor :policy
|
|
39
|
+
|
|
40
|
+
# List of hidden (write only) fields
|
|
41
|
+
attr_accessor :hidden_fields
|
|
42
|
+
|
|
36
43
|
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
|
37
44
|
attr_accessor :ca_cert
|
|
38
45
|
|
|
@@ -45,16 +52,9 @@ module PulpContainerClient
|
|
|
45
52
|
# The proxy URL. Format: scheme://host:port
|
|
46
53
|
attr_accessor :proxy_url
|
|
47
54
|
|
|
48
|
-
attr_accessor :pulp_labels
|
|
49
|
-
|
|
50
|
-
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
51
|
-
attr_accessor :download_concurrency
|
|
52
|
-
|
|
53
55
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
54
56
|
attr_accessor :max_retries
|
|
55
57
|
|
|
56
|
-
attr_accessor :policy
|
|
57
|
-
|
|
58
58
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
59
59
|
attr_accessor :total_timeout
|
|
60
60
|
|
|
@@ -70,12 +70,12 @@ module PulpContainerClient
|
|
|
70
70
|
# Headers for aiohttp.Clientsession
|
|
71
71
|
attr_accessor :headers
|
|
72
72
|
|
|
73
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
74
|
+
attr_accessor :download_concurrency
|
|
75
|
+
|
|
73
76
|
# Limits requests per second for each concurrent downloader
|
|
74
77
|
attr_accessor :rate_limit
|
|
75
78
|
|
|
76
|
-
# List of hidden (write only) fields
|
|
77
|
-
attr_accessor :hidden_fields
|
|
78
|
-
|
|
79
79
|
# A list of remotes to include during pull-through caching. Wildcards *, ? are recognized. 'includes' is evaluated before 'excludes'.
|
|
80
80
|
attr_accessor :includes
|
|
81
81
|
|
|
@@ -113,21 +113,21 @@ module PulpContainerClient
|
|
|
113
113
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
114
114
|
:'name' => :'name',
|
|
115
115
|
:'url' => :'url',
|
|
116
|
+
:'pulp_labels' => :'pulp_labels',
|
|
117
|
+
:'policy' => :'policy',
|
|
118
|
+
:'hidden_fields' => :'hidden_fields',
|
|
116
119
|
:'ca_cert' => :'ca_cert',
|
|
117
120
|
:'client_cert' => :'client_cert',
|
|
118
121
|
:'tls_validation' => :'tls_validation',
|
|
119
122
|
:'proxy_url' => :'proxy_url',
|
|
120
|
-
:'pulp_labels' => :'pulp_labels',
|
|
121
|
-
:'download_concurrency' => :'download_concurrency',
|
|
122
123
|
:'max_retries' => :'max_retries',
|
|
123
|
-
:'policy' => :'policy',
|
|
124
124
|
:'total_timeout' => :'total_timeout',
|
|
125
125
|
:'connect_timeout' => :'connect_timeout',
|
|
126
126
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
|
127
127
|
:'sock_read_timeout' => :'sock_read_timeout',
|
|
128
128
|
:'headers' => :'headers',
|
|
129
|
+
:'download_concurrency' => :'download_concurrency',
|
|
129
130
|
:'rate_limit' => :'rate_limit',
|
|
130
|
-
:'hidden_fields' => :'hidden_fields',
|
|
131
131
|
:'includes' => :'includes',
|
|
132
132
|
:'excludes' => :'excludes'
|
|
133
133
|
}
|
|
@@ -147,21 +147,21 @@ module PulpContainerClient
|
|
|
147
147
|
:'pulp_last_updated' => :'Time',
|
|
148
148
|
:'name' => :'String',
|
|
149
149
|
:'url' => :'String',
|
|
150
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
151
|
+
:'policy' => :'Policy7e0Enum',
|
|
152
|
+
:'hidden_fields' => :'Array<ContainerContainerPullThroughRemoteResponseHiddenFieldsInner>',
|
|
150
153
|
:'ca_cert' => :'String',
|
|
151
154
|
:'client_cert' => :'String',
|
|
152
155
|
:'tls_validation' => :'Boolean',
|
|
153
156
|
:'proxy_url' => :'String',
|
|
154
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
155
|
-
:'download_concurrency' => :'Integer',
|
|
156
157
|
:'max_retries' => :'Integer',
|
|
157
|
-
:'policy' => :'Policy7e0Enum',
|
|
158
158
|
:'total_timeout' => :'Float',
|
|
159
159
|
:'connect_timeout' => :'Float',
|
|
160
160
|
:'sock_connect_timeout' => :'Float',
|
|
161
161
|
:'sock_read_timeout' => :'Float',
|
|
162
162
|
:'headers' => :'Array<Object>',
|
|
163
|
+
:'download_concurrency' => :'Integer',
|
|
163
164
|
:'rate_limit' => :'Integer',
|
|
164
|
-
:'hidden_fields' => :'Array<ContainerContainerPullThroughRemoteResponseHiddenFieldsInner>',
|
|
165
165
|
:'includes' => :'Array<String>',
|
|
166
166
|
:'excludes' => :'Array<String>'
|
|
167
167
|
}
|
|
@@ -173,12 +173,12 @@ module PulpContainerClient
|
|
|
173
173
|
:'ca_cert',
|
|
174
174
|
:'client_cert',
|
|
175
175
|
:'proxy_url',
|
|
176
|
-
:'download_concurrency',
|
|
177
176
|
:'max_retries',
|
|
178
177
|
:'total_timeout',
|
|
179
178
|
:'connect_timeout',
|
|
180
179
|
:'sock_connect_timeout',
|
|
181
180
|
:'sock_read_timeout',
|
|
181
|
+
:'download_concurrency',
|
|
182
182
|
:'rate_limit',
|
|
183
183
|
:'includes',
|
|
184
184
|
:'excludes'
|
|
@@ -228,6 +228,22 @@ module PulpContainerClient
|
|
|
228
228
|
self.url = nil
|
|
229
229
|
end
|
|
230
230
|
|
|
231
|
+
if attributes.key?(:'pulp_labels')
|
|
232
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
233
|
+
self.pulp_labels = value
|
|
234
|
+
end
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
if attributes.key?(:'policy')
|
|
238
|
+
self.policy = attributes[:'policy']
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
if attributes.key?(:'hidden_fields')
|
|
242
|
+
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
|
243
|
+
self.hidden_fields = value
|
|
244
|
+
end
|
|
245
|
+
end
|
|
246
|
+
|
|
231
247
|
if attributes.key?(:'ca_cert')
|
|
232
248
|
self.ca_cert = attributes[:'ca_cert']
|
|
233
249
|
end
|
|
@@ -244,24 +260,10 @@ module PulpContainerClient
|
|
|
244
260
|
self.proxy_url = attributes[:'proxy_url']
|
|
245
261
|
end
|
|
246
262
|
|
|
247
|
-
if attributes.key?(:'pulp_labels')
|
|
248
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
249
|
-
self.pulp_labels = value
|
|
250
|
-
end
|
|
251
|
-
end
|
|
252
|
-
|
|
253
|
-
if attributes.key?(:'download_concurrency')
|
|
254
|
-
self.download_concurrency = attributes[:'download_concurrency']
|
|
255
|
-
end
|
|
256
|
-
|
|
257
263
|
if attributes.key?(:'max_retries')
|
|
258
264
|
self.max_retries = attributes[:'max_retries']
|
|
259
265
|
end
|
|
260
266
|
|
|
261
|
-
if attributes.key?(:'policy')
|
|
262
|
-
self.policy = attributes[:'policy']
|
|
263
|
-
end
|
|
264
|
-
|
|
265
267
|
if attributes.key?(:'total_timeout')
|
|
266
268
|
self.total_timeout = attributes[:'total_timeout']
|
|
267
269
|
end
|
|
@@ -284,14 +286,12 @@ module PulpContainerClient
|
|
|
284
286
|
end
|
|
285
287
|
end
|
|
286
288
|
|
|
287
|
-
if attributes.key?(:'
|
|
288
|
-
self.
|
|
289
|
+
if attributes.key?(:'download_concurrency')
|
|
290
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
|
289
291
|
end
|
|
290
292
|
|
|
291
|
-
if attributes.key?(:'
|
|
292
|
-
|
|
293
|
-
self.hidden_fields = value
|
|
294
|
-
end
|
|
293
|
+
if attributes.key?(:'rate_limit')
|
|
294
|
+
self.rate_limit = attributes[:'rate_limit']
|
|
295
295
|
end
|
|
296
296
|
|
|
297
297
|
if attributes.key?(:'includes')
|
|
@@ -403,21 +403,21 @@ module PulpContainerClient
|
|
|
403
403
|
pulp_last_updated == o.pulp_last_updated &&
|
|
404
404
|
name == o.name &&
|
|
405
405
|
url == o.url &&
|
|
406
|
+
pulp_labels == o.pulp_labels &&
|
|
407
|
+
policy == o.policy &&
|
|
408
|
+
hidden_fields == o.hidden_fields &&
|
|
406
409
|
ca_cert == o.ca_cert &&
|
|
407
410
|
client_cert == o.client_cert &&
|
|
408
411
|
tls_validation == o.tls_validation &&
|
|
409
412
|
proxy_url == o.proxy_url &&
|
|
410
|
-
pulp_labels == o.pulp_labels &&
|
|
411
|
-
download_concurrency == o.download_concurrency &&
|
|
412
413
|
max_retries == o.max_retries &&
|
|
413
|
-
policy == o.policy &&
|
|
414
414
|
total_timeout == o.total_timeout &&
|
|
415
415
|
connect_timeout == o.connect_timeout &&
|
|
416
416
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
417
417
|
sock_read_timeout == o.sock_read_timeout &&
|
|
418
418
|
headers == o.headers &&
|
|
419
|
+
download_concurrency == o.download_concurrency &&
|
|
419
420
|
rate_limit == o.rate_limit &&
|
|
420
|
-
hidden_fields == o.hidden_fields &&
|
|
421
421
|
includes == o.includes &&
|
|
422
422
|
excludes == o.excludes
|
|
423
423
|
end
|
|
@@ -431,7 +431,7 @@ module PulpContainerClient
|
|
|
431
431
|
# Calculates hash code according to all attributes.
|
|
432
432
|
# @return [Integer] Hash code
|
|
433
433
|
def hash
|
|
434
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, name, url,
|
|
434
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, url, pulp_labels, policy, hidden_fields, ca_cert, client_cert, tls_validation, proxy_url, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, includes, excludes].hash
|
|
435
435
|
end
|
|
436
436
|
|
|
437
437
|
# Builds the object from hash
|
|
@@ -16,27 +16,27 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class ContainerContainerPushRepository
|
|
19
|
-
# A reference to an associated signing service.
|
|
20
|
-
attr_accessor :manifest_signing_service
|
|
21
|
-
|
|
22
|
-
attr_accessor :pulp_labels
|
|
23
|
-
|
|
24
19
|
# An optional description.
|
|
25
20
|
attr_accessor :description
|
|
26
21
|
|
|
27
22
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
28
23
|
attr_accessor :retain_repo_versions
|
|
29
24
|
|
|
25
|
+
attr_accessor :pulp_labels
|
|
26
|
+
|
|
27
|
+
# A reference to an associated signing service.
|
|
28
|
+
attr_accessor :manifest_signing_service
|
|
29
|
+
|
|
30
30
|
# A unique name for this repository.
|
|
31
31
|
attr_accessor :name
|
|
32
32
|
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
34
|
def self.attribute_map
|
|
35
35
|
{
|
|
36
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
|
37
|
-
:'pulp_labels' => :'pulp_labels',
|
|
38
36
|
:'description' => :'description',
|
|
39
37
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
|
+
:'pulp_labels' => :'pulp_labels',
|
|
39
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
40
40
|
:'name' => :'name'
|
|
41
41
|
}
|
|
42
42
|
end
|
|
@@ -49,10 +49,10 @@ module PulpContainerClient
|
|
|
49
49
|
# Attribute type mapping.
|
|
50
50
|
def self.openapi_types
|
|
51
51
|
{
|
|
52
|
-
:'manifest_signing_service' => :'String',
|
|
53
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
54
52
|
:'description' => :'String',
|
|
55
53
|
:'retain_repo_versions' => :'Integer',
|
|
54
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
55
|
+
:'manifest_signing_service' => :'String',
|
|
56
56
|
:'name' => :'String'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
@@ -60,9 +60,9 @@ module PulpContainerClient
|
|
|
60
60
|
# List of attributes with nullable: true
|
|
61
61
|
def self.openapi_nullable
|
|
62
62
|
Set.new([
|
|
63
|
-
:'manifest_signing_service',
|
|
64
63
|
:'description',
|
|
65
64
|
:'retain_repo_versions',
|
|
65
|
+
:'manifest_signing_service',
|
|
66
66
|
])
|
|
67
67
|
end
|
|
68
68
|
|
|
@@ -81,8 +81,12 @@ module PulpContainerClient
|
|
|
81
81
|
h[k.to_sym] = v
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
if attributes.key?(:'
|
|
85
|
-
self.
|
|
84
|
+
if attributes.key?(:'description')
|
|
85
|
+
self.description = attributes[:'description']
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
if attributes.key?(:'retain_repo_versions')
|
|
89
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
86
90
|
end
|
|
87
91
|
|
|
88
92
|
if attributes.key?(:'pulp_labels')
|
|
@@ -91,12 +95,8 @@ module PulpContainerClient
|
|
|
91
95
|
end
|
|
92
96
|
end
|
|
93
97
|
|
|
94
|
-
if attributes.key?(:'
|
|
95
|
-
self.
|
|
96
|
-
end
|
|
97
|
-
|
|
98
|
-
if attributes.key?(:'retain_repo_versions')
|
|
99
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
98
|
+
if attributes.key?(:'manifest_signing_service')
|
|
99
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
100
100
|
end
|
|
101
101
|
|
|
102
102
|
if attributes.key?(:'name')
|
|
@@ -165,10 +165,10 @@ module PulpContainerClient
|
|
|
165
165
|
def ==(o)
|
|
166
166
|
return true if self.equal?(o)
|
|
167
167
|
self.class == o.class &&
|
|
168
|
-
manifest_signing_service == o.manifest_signing_service &&
|
|
169
|
-
pulp_labels == o.pulp_labels &&
|
|
170
168
|
description == o.description &&
|
|
171
169
|
retain_repo_versions == o.retain_repo_versions &&
|
|
170
|
+
pulp_labels == o.pulp_labels &&
|
|
171
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
172
172
|
name == o.name
|
|
173
173
|
end
|
|
174
174
|
|
|
@@ -181,7 +181,7 @@ module PulpContainerClient
|
|
|
181
181
|
# Calculates hash code according to all attributes.
|
|
182
182
|
# @return [Integer] Hash code
|
|
183
183
|
def hash
|
|
184
|
-
[
|
|
184
|
+
[description, retain_repo_versions, pulp_labels, manifest_signing_service, name].hash
|
|
185
185
|
end
|
|
186
186
|
|
|
187
187
|
# Builds the object from hash
|