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
|
@@ -16,18 +16,18 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class PatchedcontainerContainerDistribution
|
|
19
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
20
|
-
attr_accessor :repository
|
|
21
|
-
|
|
22
19
|
# Whether this distribution should be shown in the content app.
|
|
23
20
|
attr_accessor :hidden
|
|
24
21
|
|
|
25
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
26
|
-
attr_accessor :content_guard
|
|
27
|
-
|
|
28
22
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
29
23
|
attr_accessor :base_path
|
|
30
24
|
|
|
25
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
26
|
+
attr_accessor :repository
|
|
27
|
+
|
|
28
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
29
|
+
attr_accessor :content_guard
|
|
30
|
+
|
|
31
31
|
attr_accessor :pulp_labels
|
|
32
32
|
|
|
33
33
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
@@ -45,10 +45,10 @@ module PulpContainerClient
|
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
|
-
:'repository' => :'repository',
|
|
49
48
|
:'hidden' => :'hidden',
|
|
50
|
-
:'content_guard' => :'content_guard',
|
|
51
49
|
:'base_path' => :'base_path',
|
|
50
|
+
:'repository' => :'repository',
|
|
51
|
+
:'content_guard' => :'content_guard',
|
|
52
52
|
:'pulp_labels' => :'pulp_labels',
|
|
53
53
|
:'name' => :'name',
|
|
54
54
|
:'repository_version' => :'repository_version',
|
|
@@ -65,10 +65,10 @@ module PulpContainerClient
|
|
|
65
65
|
# Attribute type mapping.
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
|
-
:'repository' => :'String',
|
|
69
68
|
:'hidden' => :'Boolean',
|
|
70
|
-
:'content_guard' => :'String',
|
|
71
69
|
:'base_path' => :'String',
|
|
70
|
+
:'repository' => :'String',
|
|
71
|
+
:'content_guard' => :'String',
|
|
72
72
|
:'pulp_labels' => :'Hash<String, String>',
|
|
73
73
|
:'name' => :'String',
|
|
74
74
|
:'repository_version' => :'String',
|
|
@@ -101,24 +101,24 @@ module PulpContainerClient
|
|
|
101
101
|
h[k.to_sym] = v
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
if attributes.key?(:'repository')
|
|
105
|
-
self.repository = attributes[:'repository']
|
|
106
|
-
end
|
|
107
|
-
|
|
108
104
|
if attributes.key?(:'hidden')
|
|
109
105
|
self.hidden = attributes[:'hidden']
|
|
110
106
|
else
|
|
111
107
|
self.hidden = false
|
|
112
108
|
end
|
|
113
109
|
|
|
114
|
-
if attributes.key?(:'content_guard')
|
|
115
|
-
self.content_guard = attributes[:'content_guard']
|
|
116
|
-
end
|
|
117
|
-
|
|
118
110
|
if attributes.key?(:'base_path')
|
|
119
111
|
self.base_path = attributes[:'base_path']
|
|
120
112
|
end
|
|
121
113
|
|
|
114
|
+
if attributes.key?(:'repository')
|
|
115
|
+
self.repository = attributes[:'repository']
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
if attributes.key?(:'content_guard')
|
|
119
|
+
self.content_guard = attributes[:'content_guard']
|
|
120
|
+
end
|
|
121
|
+
|
|
122
122
|
if attributes.key?(:'pulp_labels')
|
|
123
123
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
124
124
|
self.pulp_labels = value
|
|
@@ -215,10 +215,10 @@ module PulpContainerClient
|
|
|
215
215
|
def ==(o)
|
|
216
216
|
return true if self.equal?(o)
|
|
217
217
|
self.class == o.class &&
|
|
218
|
-
repository == o.repository &&
|
|
219
218
|
hidden == o.hidden &&
|
|
220
|
-
content_guard == o.content_guard &&
|
|
221
219
|
base_path == o.base_path &&
|
|
220
|
+
repository == o.repository &&
|
|
221
|
+
content_guard == o.content_guard &&
|
|
222
222
|
pulp_labels == o.pulp_labels &&
|
|
223
223
|
name == o.name &&
|
|
224
224
|
repository_version == o.repository_version &&
|
|
@@ -235,7 +235,7 @@ module PulpContainerClient
|
|
|
235
235
|
# Calculates hash code according to all attributes.
|
|
236
236
|
# @return [Integer] Hash code
|
|
237
237
|
def hash
|
|
238
|
-
[
|
|
238
|
+
[hidden, base_path, repository, content_guard, pulp_labels, name, repository_version, private, description].hash
|
|
239
239
|
end
|
|
240
240
|
|
|
241
241
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb
CHANGED
|
@@ -16,18 +16,18 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
18
18
|
class PatchedcontainerContainerPullThroughDistribution
|
|
19
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
20
|
-
attr_accessor :repository
|
|
21
|
-
|
|
22
19
|
# Whether this distribution should be shown in the content app.
|
|
23
20
|
attr_accessor :hidden
|
|
24
21
|
|
|
25
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
26
|
-
attr_accessor :content_guard
|
|
27
|
-
|
|
28
22
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
29
23
|
attr_accessor :base_path
|
|
30
24
|
|
|
25
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
26
|
+
attr_accessor :repository
|
|
27
|
+
|
|
28
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
29
|
+
attr_accessor :content_guard
|
|
30
|
+
|
|
31
31
|
attr_accessor :pulp_labels
|
|
32
32
|
|
|
33
33
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
@@ -48,10 +48,10 @@ module PulpContainerClient
|
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
49
|
def self.attribute_map
|
|
50
50
|
{
|
|
51
|
-
:'repository' => :'repository',
|
|
52
51
|
:'hidden' => :'hidden',
|
|
53
|
-
:'content_guard' => :'content_guard',
|
|
54
52
|
:'base_path' => :'base_path',
|
|
53
|
+
:'repository' => :'repository',
|
|
54
|
+
:'content_guard' => :'content_guard',
|
|
55
55
|
:'pulp_labels' => :'pulp_labels',
|
|
56
56
|
:'name' => :'name',
|
|
57
57
|
:'remote' => :'remote',
|
|
@@ -69,10 +69,10 @@ module PulpContainerClient
|
|
|
69
69
|
# Attribute type mapping.
|
|
70
70
|
def self.openapi_types
|
|
71
71
|
{
|
|
72
|
-
:'repository' => :'String',
|
|
73
72
|
:'hidden' => :'Boolean',
|
|
74
|
-
:'content_guard' => :'String',
|
|
75
73
|
:'base_path' => :'String',
|
|
74
|
+
:'repository' => :'String',
|
|
75
|
+
:'content_guard' => :'String',
|
|
76
76
|
:'pulp_labels' => :'Hash<String, String>',
|
|
77
77
|
:'name' => :'String',
|
|
78
78
|
:'remote' => :'String',
|
|
@@ -105,24 +105,24 @@ module PulpContainerClient
|
|
|
105
105
|
h[k.to_sym] = v
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
if attributes.key?(:'repository')
|
|
109
|
-
self.repository = attributes[:'repository']
|
|
110
|
-
end
|
|
111
|
-
|
|
112
108
|
if attributes.key?(:'hidden')
|
|
113
109
|
self.hidden = attributes[:'hidden']
|
|
114
110
|
else
|
|
115
111
|
self.hidden = false
|
|
116
112
|
end
|
|
117
113
|
|
|
118
|
-
if attributes.key?(:'content_guard')
|
|
119
|
-
self.content_guard = attributes[:'content_guard']
|
|
120
|
-
end
|
|
121
|
-
|
|
122
114
|
if attributes.key?(:'base_path')
|
|
123
115
|
self.base_path = attributes[:'base_path']
|
|
124
116
|
end
|
|
125
117
|
|
|
118
|
+
if attributes.key?(:'repository')
|
|
119
|
+
self.repository = attributes[:'repository']
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
if attributes.key?(:'content_guard')
|
|
123
|
+
self.content_guard = attributes[:'content_guard']
|
|
124
|
+
end
|
|
125
|
+
|
|
126
126
|
if attributes.key?(:'pulp_labels')
|
|
127
127
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
128
128
|
self.pulp_labels = value
|
|
@@ -225,10 +225,10 @@ module PulpContainerClient
|
|
|
225
225
|
def ==(o)
|
|
226
226
|
return true if self.equal?(o)
|
|
227
227
|
self.class == o.class &&
|
|
228
|
-
repository == o.repository &&
|
|
229
228
|
hidden == o.hidden &&
|
|
230
|
-
content_guard == o.content_guard &&
|
|
231
229
|
base_path == o.base_path &&
|
|
230
|
+
repository == o.repository &&
|
|
231
|
+
content_guard == o.content_guard &&
|
|
232
232
|
pulp_labels == o.pulp_labels &&
|
|
233
233
|
name == o.name &&
|
|
234
234
|
remote == o.remote &&
|
|
@@ -246,7 +246,7 @@ module PulpContainerClient
|
|
|
246
246
|
# Calculates hash code according to all attributes.
|
|
247
247
|
# @return [Integer] Hash code
|
|
248
248
|
def hash
|
|
249
|
-
[
|
|
249
|
+
[hidden, base_path, repository, content_guard, pulp_labels, name, remote, distributions, private, description].hash
|
|
250
250
|
end
|
|
251
251
|
|
|
252
252
|
# Builds the object from hash
|
|
@@ -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'
|
|
@@ -214,6 +214,16 @@ module PulpContainerClient
|
|
|
214
214
|
self.url = attributes[:'url']
|
|
215
215
|
end
|
|
216
216
|
|
|
217
|
+
if attributes.key?(:'pulp_labels')
|
|
218
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
219
|
+
self.pulp_labels = value
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
if attributes.key?(:'policy')
|
|
224
|
+
self.policy = attributes[:'policy']
|
|
225
|
+
end
|
|
226
|
+
|
|
217
227
|
if attributes.key?(:'ca_cert')
|
|
218
228
|
self.ca_cert = attributes[:'ca_cert']
|
|
219
229
|
end
|
|
@@ -250,24 +260,10 @@ module PulpContainerClient
|
|
|
250
260
|
self.password = attributes[:'password']
|
|
251
261
|
end
|
|
252
262
|
|
|
253
|
-
if attributes.key?(:'pulp_labels')
|
|
254
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
255
|
-
self.pulp_labels = value
|
|
256
|
-
end
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
if attributes.key?(:'download_concurrency')
|
|
260
|
-
self.download_concurrency = attributes[:'download_concurrency']
|
|
261
|
-
end
|
|
262
|
-
|
|
263
263
|
if attributes.key?(:'max_retries')
|
|
264
264
|
self.max_retries = attributes[:'max_retries']
|
|
265
265
|
end
|
|
266
266
|
|
|
267
|
-
if attributes.key?(:'policy')
|
|
268
|
-
self.policy = attributes[:'policy']
|
|
269
|
-
end
|
|
270
|
-
|
|
271
267
|
if attributes.key?(:'total_timeout')
|
|
272
268
|
self.total_timeout = attributes[:'total_timeout']
|
|
273
269
|
end
|
|
@@ -290,6 +286,10 @@ module PulpContainerClient
|
|
|
290
286
|
end
|
|
291
287
|
end
|
|
292
288
|
|
|
289
|
+
if attributes.key?(:'download_concurrency')
|
|
290
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
|
291
|
+
end
|
|
292
|
+
|
|
293
293
|
if attributes.key?(:'rate_limit')
|
|
294
294
|
self.rate_limit = attributes[:'rate_limit']
|
|
295
295
|
end
|
|
@@ -547,6 +547,8 @@ module PulpContainerClient
|
|
|
547
547
|
self.class == o.class &&
|
|
548
548
|
name == o.name &&
|
|
549
549
|
url == o.url &&
|
|
550
|
+
pulp_labels == o.pulp_labels &&
|
|
551
|
+
policy == o.policy &&
|
|
550
552
|
ca_cert == o.ca_cert &&
|
|
551
553
|
client_cert == o.client_cert &&
|
|
552
554
|
client_key == o.client_key &&
|
|
@@ -556,15 +558,13 @@ module PulpContainerClient
|
|
|
556
558
|
proxy_password == o.proxy_password &&
|
|
557
559
|
username == o.username &&
|
|
558
560
|
password == o.password &&
|
|
559
|
-
pulp_labels == o.pulp_labels &&
|
|
560
|
-
download_concurrency == o.download_concurrency &&
|
|
561
561
|
max_retries == o.max_retries &&
|
|
562
|
-
policy == o.policy &&
|
|
563
562
|
total_timeout == o.total_timeout &&
|
|
564
563
|
connect_timeout == o.connect_timeout &&
|
|
565
564
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
566
565
|
sock_read_timeout == o.sock_read_timeout &&
|
|
567
566
|
headers == o.headers &&
|
|
567
|
+
download_concurrency == o.download_concurrency &&
|
|
568
568
|
rate_limit == o.rate_limit &&
|
|
569
569
|
includes == o.includes &&
|
|
570
570
|
excludes == o.excludes
|
|
@@ -579,7 +579,7 @@ module PulpContainerClient
|
|
|
579
579
|
# Calculates hash code according to all attributes.
|
|
580
580
|
# @return [Integer] Hash code
|
|
581
581
|
def hash
|
|
582
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password,
|
|
582
|
+
[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
|
|
583
583
|
end
|
|
584
584
|
|
|
585
585
|
# 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 PatchedcontainerContainerPushRepository
|
|
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')
|
|
@@ -158,10 +158,10 @@ module PulpContainerClient
|
|
|
158
158
|
def ==(o)
|
|
159
159
|
return true if self.equal?(o)
|
|
160
160
|
self.class == o.class &&
|
|
161
|
-
manifest_signing_service == o.manifest_signing_service &&
|
|
162
|
-
pulp_labels == o.pulp_labels &&
|
|
163
161
|
description == o.description &&
|
|
164
162
|
retain_repo_versions == o.retain_repo_versions &&
|
|
163
|
+
pulp_labels == o.pulp_labels &&
|
|
164
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
165
165
|
name == o.name
|
|
166
166
|
end
|
|
167
167
|
|
|
@@ -174,7 +174,7 @@ module PulpContainerClient
|
|
|
174
174
|
# Calculates hash code according to all attributes.
|
|
175
175
|
# @return [Integer] Hash code
|
|
176
176
|
def hash
|
|
177
|
-
[
|
|
177
|
+
[description, retain_repo_versions, pulp_labels, manifest_signing_service, name].hash
|
|
178
178
|
end
|
|
179
179
|
|
|
180
180
|
# Builds the object from hash
|