pulp_container_client 2.24.0 → 2.24.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 +14 -5
- data/docs/ContainerBlobResponse.md +2 -0
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
- data/docs/ContainerContainerPushRepository.md +3 -3
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
- data/docs/ContainerManifestResponse.md +2 -0
- data/docs/ContainerManifestSignatureResponse.md +2 -0
- data/docs/ContainerTagResponse.md +2 -0
- data/docs/ContentBlobsApi.md +150 -2
- data/docs/ContentManifestsApi.md +150 -2
- data/docs/ContentSignaturesApi.md +150 -2
- data/docs/ContentTagsApi.md +150 -2
- data/docs/DistributionsContainerApi.md +6 -4
- data/docs/DistributionsPullThroughApi.md +6 -4
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +3 -3
- data/lib/pulp_container_client/api/content_blobs_api.rb +154 -3
- data/lib/pulp_container_client/api/content_manifests_api.rb +154 -3
- data/lib/pulp_container_client/api/content_signatures_api.rb +154 -3
- data/lib/pulp_container_client/api/content_tags_api.rb +154 -3
- data/lib/pulp_container_client/api/distributions_container_api.rb +6 -3
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +6 -3
- data/lib/pulp_container_client/models/container_blob_response.rb +13 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +55 -55
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +61 -61
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +55 -55
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +61 -61
- data/lib/pulp_container_client/models/container_container_push_repository.rb +16 -16
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +37 -37
- data/lib/pulp_container_client/models/container_manifest_response.rb +13 -1
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +13 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +13 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +16 -16
- data/lib/pulp_container_client/models/unset_label.rb +1 -1
- data/lib/pulp_container_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/pulp_container_client.gemspec +0 -1
- data/spec/api/content_blobs_api_spec.rb +28 -1
- data/spec/api/content_manifests_api_spec.rb +28 -1
- data/spec/api/content_signatures_api_spec.rb +28 -1
- data/spec/api/content_tags_api_spec.rb +28 -1
- data/spec/api/distributions_container_api_spec.rb +2 -1
- data/spec/api/distributions_pull_through_api_spec.rb +2 -1
- data/spec/models/container_blob_response_spec.rb +6 -0
- data/spec/models/container_container_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/container_manifest_response_spec.rb +6 -0
- data/spec/models/container_manifest_signature_response_spec.rb +6 -0
- data/spec/models/container_tag_response_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +63 -83
@@ -16,23 +16,23 @@ require 'time'
|
|
16
16
|
module PulpContainerClient
|
17
17
|
# A serializer for ContainerDistribution.
|
18
18
|
class PatchedcontainerContainerDistribution
|
19
|
-
|
20
|
-
|
21
|
-
# The latest RepositoryVersion for this Repository will be served.
|
22
|
-
attr_accessor :repository
|
19
|
+
# Whether this distribution should be shown in the content app.
|
20
|
+
attr_accessor :hidden
|
23
21
|
|
24
22
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
23
|
attr_accessor :content_guard
|
26
24
|
|
27
|
-
|
28
|
-
attr_accessor :hidden
|
25
|
+
attr_accessor :pulp_labels
|
29
26
|
|
30
|
-
#
|
31
|
-
attr_accessor :
|
27
|
+
# The latest RepositoryVersion for this Repository will be served.
|
28
|
+
attr_accessor :repository
|
32
29
|
|
33
30
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
34
31
|
attr_accessor :base_path
|
35
32
|
|
33
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
34
|
+
attr_accessor :name
|
35
|
+
|
36
36
|
# RepositoryVersion to be served
|
37
37
|
attr_accessor :repository_version
|
38
38
|
|
@@ -45,12 +45,12 @@ module PulpContainerClient
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
46
46
|
def self.attribute_map
|
47
47
|
{
|
48
|
+
:'hidden' => :'hidden',
|
49
|
+
:'content_guard' => :'content_guard',
|
48
50
|
:'pulp_labels' => :'pulp_labels',
|
49
51
|
:'repository' => :'repository',
|
50
|
-
:'content_guard' => :'content_guard',
|
51
|
-
:'hidden' => :'hidden',
|
52
|
-
:'name' => :'name',
|
53
52
|
:'base_path' => :'base_path',
|
53
|
+
:'name' => :'name',
|
54
54
|
:'repository_version' => :'repository_version',
|
55
55
|
:'private' => :'private',
|
56
56
|
:'description' => :'description'
|
@@ -65,12 +65,12 @@ module PulpContainerClient
|
|
65
65
|
# Attribute type mapping.
|
66
66
|
def self.openapi_types
|
67
67
|
{
|
68
|
+
:'hidden' => :'Boolean',
|
69
|
+
:'content_guard' => :'String',
|
68
70
|
:'pulp_labels' => :'Hash<String, String>',
|
69
71
|
:'repository' => :'String',
|
70
|
-
:'content_guard' => :'String',
|
71
|
-
:'hidden' => :'Boolean',
|
72
|
-
:'name' => :'String',
|
73
72
|
:'base_path' => :'String',
|
73
|
+
:'name' => :'String',
|
74
74
|
:'repository_version' => :'String',
|
75
75
|
:'private' => :'Boolean',
|
76
76
|
:'description' => :'String'
|
@@ -101,6 +101,16 @@ module PulpContainerClient
|
|
101
101
|
h[k.to_sym] = v
|
102
102
|
}
|
103
103
|
|
104
|
+
if attributes.key?(:'hidden')
|
105
|
+
self.hidden = attributes[:'hidden']
|
106
|
+
else
|
107
|
+
self.hidden = false
|
108
|
+
end
|
109
|
+
|
110
|
+
if attributes.key?(:'content_guard')
|
111
|
+
self.content_guard = attributes[:'content_guard']
|
112
|
+
end
|
113
|
+
|
104
114
|
if attributes.key?(:'pulp_labels')
|
105
115
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
106
116
|
self.pulp_labels = value
|
@@ -111,24 +121,14 @@ module PulpContainerClient
|
|
111
121
|
self.repository = attributes[:'repository']
|
112
122
|
end
|
113
123
|
|
114
|
-
if attributes.key?(:'
|
115
|
-
self.
|
116
|
-
end
|
117
|
-
|
118
|
-
if attributes.key?(:'hidden')
|
119
|
-
self.hidden = attributes[:'hidden']
|
120
|
-
else
|
121
|
-
self.hidden = false
|
124
|
+
if attributes.key?(:'base_path')
|
125
|
+
self.base_path = attributes[:'base_path']
|
122
126
|
end
|
123
127
|
|
124
128
|
if attributes.key?(:'name')
|
125
129
|
self.name = attributes[:'name']
|
126
130
|
end
|
127
131
|
|
128
|
-
if attributes.key?(:'base_path')
|
129
|
-
self.base_path = attributes[:'base_path']
|
130
|
-
end
|
131
|
-
|
132
132
|
if attributes.key?(:'repository_version')
|
133
133
|
self.repository_version = attributes[:'repository_version']
|
134
134
|
end
|
@@ -147,14 +147,14 @@ module PulpContainerClient
|
|
147
147
|
def list_invalid_properties
|
148
148
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
149
149
|
invalid_properties = Array.new
|
150
|
-
if !@name.nil? && @name.to_s.length < 1
|
151
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
152
|
-
end
|
153
|
-
|
154
150
|
if !@base_path.nil? && @base_path.to_s.length < 1
|
155
151
|
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
156
152
|
end
|
157
153
|
|
154
|
+
if !@name.nil? && @name.to_s.length < 1
|
155
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
156
|
+
end
|
157
|
+
|
158
158
|
if !@description.nil? && @description.to_s.length < 1
|
159
159
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
160
160
|
end
|
@@ -166,26 +166,12 @@ module PulpContainerClient
|
|
166
166
|
# @return true if the model is valid
|
167
167
|
def valid?
|
168
168
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
169
|
-
return false if !@name.nil? && @name.to_s.length < 1
|
170
169
|
return false if !@base_path.nil? && @base_path.to_s.length < 1
|
170
|
+
return false if !@name.nil? && @name.to_s.length < 1
|
171
171
|
return false if !@description.nil? && @description.to_s.length < 1
|
172
172
|
true
|
173
173
|
end
|
174
174
|
|
175
|
-
# Custom attribute writer method with validation
|
176
|
-
# @param [Object] name Value to be assigned
|
177
|
-
def name=(name)
|
178
|
-
if name.nil?
|
179
|
-
fail ArgumentError, 'name cannot be nil'
|
180
|
-
end
|
181
|
-
|
182
|
-
if name.to_s.length < 1
|
183
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
184
|
-
end
|
185
|
-
|
186
|
-
@name = name
|
187
|
-
end
|
188
|
-
|
189
175
|
# Custom attribute writer method with validation
|
190
176
|
# @param [Object] base_path Value to be assigned
|
191
177
|
def base_path=(base_path)
|
@@ -200,6 +186,20 @@ module PulpContainerClient
|
|
200
186
|
@base_path = base_path
|
201
187
|
end
|
202
188
|
|
189
|
+
# Custom attribute writer method with validation
|
190
|
+
# @param [Object] name Value to be assigned
|
191
|
+
def name=(name)
|
192
|
+
if name.nil?
|
193
|
+
fail ArgumentError, 'name cannot be nil'
|
194
|
+
end
|
195
|
+
|
196
|
+
if name.to_s.length < 1
|
197
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
198
|
+
end
|
199
|
+
|
200
|
+
@name = name
|
201
|
+
end
|
202
|
+
|
203
203
|
# Custom attribute writer method with validation
|
204
204
|
# @param [Object] description Value to be assigned
|
205
205
|
def description=(description)
|
@@ -215,12 +215,12 @@ module PulpContainerClient
|
|
215
215
|
def ==(o)
|
216
216
|
return true if self.equal?(o)
|
217
217
|
self.class == o.class &&
|
218
|
+
hidden == o.hidden &&
|
219
|
+
content_guard == o.content_guard &&
|
218
220
|
pulp_labels == o.pulp_labels &&
|
219
221
|
repository == o.repository &&
|
220
|
-
content_guard == o.content_guard &&
|
221
|
-
hidden == o.hidden &&
|
222
|
-
name == o.name &&
|
223
222
|
base_path == o.base_path &&
|
223
|
+
name == o.name &&
|
224
224
|
repository_version == o.repository_version &&
|
225
225
|
private == o.private &&
|
226
226
|
description == o.description
|
@@ -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, content_guard, pulp_labels, repository, base_path, 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,23 +16,23 @@ require 'time'
|
|
16
16
|
module PulpContainerClient
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
18
18
|
class PatchedcontainerContainerPullThroughDistribution
|
19
|
-
|
20
|
-
|
21
|
-
# The latest RepositoryVersion for this Repository will be served.
|
22
|
-
attr_accessor :repository
|
19
|
+
# Whether this distribution should be shown in the content app.
|
20
|
+
attr_accessor :hidden
|
23
21
|
|
24
22
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
23
|
attr_accessor :content_guard
|
26
24
|
|
27
|
-
|
28
|
-
attr_accessor :hidden
|
25
|
+
attr_accessor :pulp_labels
|
29
26
|
|
30
|
-
#
|
31
|
-
attr_accessor :
|
27
|
+
# The latest RepositoryVersion for this Repository will be served.
|
28
|
+
attr_accessor :repository
|
32
29
|
|
33
30
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
34
31
|
attr_accessor :base_path
|
35
32
|
|
33
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
34
|
+
attr_accessor :name
|
35
|
+
|
36
36
|
# Remote that can be used to fetch content when using pull-through caching.
|
37
37
|
attr_accessor :remote
|
38
38
|
|
@@ -48,12 +48,12 @@ module PulpContainerClient
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
49
49
|
def self.attribute_map
|
50
50
|
{
|
51
|
+
:'hidden' => :'hidden',
|
52
|
+
:'content_guard' => :'content_guard',
|
51
53
|
:'pulp_labels' => :'pulp_labels',
|
52
54
|
:'repository' => :'repository',
|
53
|
-
:'content_guard' => :'content_guard',
|
54
|
-
:'hidden' => :'hidden',
|
55
|
-
:'name' => :'name',
|
56
55
|
:'base_path' => :'base_path',
|
56
|
+
:'name' => :'name',
|
57
57
|
:'remote' => :'remote',
|
58
58
|
:'distributions' => :'distributions',
|
59
59
|
:'private' => :'private',
|
@@ -69,12 +69,12 @@ module PulpContainerClient
|
|
69
69
|
# Attribute type mapping.
|
70
70
|
def self.openapi_types
|
71
71
|
{
|
72
|
+
:'hidden' => :'Boolean',
|
73
|
+
:'content_guard' => :'String',
|
72
74
|
:'pulp_labels' => :'Hash<String, String>',
|
73
75
|
:'repository' => :'String',
|
74
|
-
:'content_guard' => :'String',
|
75
|
-
:'hidden' => :'Boolean',
|
76
|
-
:'name' => :'String',
|
77
76
|
:'base_path' => :'String',
|
77
|
+
:'name' => :'String',
|
78
78
|
:'remote' => :'String',
|
79
79
|
:'distributions' => :'Array<String>',
|
80
80
|
:'private' => :'Boolean',
|
@@ -105,6 +105,16 @@ module PulpContainerClient
|
|
105
105
|
h[k.to_sym] = v
|
106
106
|
}
|
107
107
|
|
108
|
+
if attributes.key?(:'hidden')
|
109
|
+
self.hidden = attributes[:'hidden']
|
110
|
+
else
|
111
|
+
self.hidden = false
|
112
|
+
end
|
113
|
+
|
114
|
+
if attributes.key?(:'content_guard')
|
115
|
+
self.content_guard = attributes[:'content_guard']
|
116
|
+
end
|
117
|
+
|
108
118
|
if attributes.key?(:'pulp_labels')
|
109
119
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
110
120
|
self.pulp_labels = value
|
@@ -115,24 +125,14 @@ module PulpContainerClient
|
|
115
125
|
self.repository = attributes[:'repository']
|
116
126
|
end
|
117
127
|
|
118
|
-
if attributes.key?(:'
|
119
|
-
self.
|
120
|
-
end
|
121
|
-
|
122
|
-
if attributes.key?(:'hidden')
|
123
|
-
self.hidden = attributes[:'hidden']
|
124
|
-
else
|
125
|
-
self.hidden = false
|
128
|
+
if attributes.key?(:'base_path')
|
129
|
+
self.base_path = attributes[:'base_path']
|
126
130
|
end
|
127
131
|
|
128
132
|
if attributes.key?(:'name')
|
129
133
|
self.name = attributes[:'name']
|
130
134
|
end
|
131
135
|
|
132
|
-
if attributes.key?(:'base_path')
|
133
|
-
self.base_path = attributes[:'base_path']
|
134
|
-
end
|
135
|
-
|
136
136
|
if attributes.key?(:'remote')
|
137
137
|
self.remote = attributes[:'remote']
|
138
138
|
end
|
@@ -157,14 +157,14 @@ module PulpContainerClient
|
|
157
157
|
def list_invalid_properties
|
158
158
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
159
159
|
invalid_properties = Array.new
|
160
|
-
if !@name.nil? && @name.to_s.length < 1
|
161
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
162
|
-
end
|
163
|
-
|
164
160
|
if !@base_path.nil? && @base_path.to_s.length < 1
|
165
161
|
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
166
162
|
end
|
167
163
|
|
164
|
+
if !@name.nil? && @name.to_s.length < 1
|
165
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
166
|
+
end
|
167
|
+
|
168
168
|
if !@description.nil? && @description.to_s.length < 1
|
169
169
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
170
170
|
end
|
@@ -176,26 +176,12 @@ module PulpContainerClient
|
|
176
176
|
# @return true if the model is valid
|
177
177
|
def valid?
|
178
178
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
179
|
-
return false if !@name.nil? && @name.to_s.length < 1
|
180
179
|
return false if !@base_path.nil? && @base_path.to_s.length < 1
|
180
|
+
return false if !@name.nil? && @name.to_s.length < 1
|
181
181
|
return false if !@description.nil? && @description.to_s.length < 1
|
182
182
|
true
|
183
183
|
end
|
184
184
|
|
185
|
-
# Custom attribute writer method with validation
|
186
|
-
# @param [Object] name Value to be assigned
|
187
|
-
def name=(name)
|
188
|
-
if name.nil?
|
189
|
-
fail ArgumentError, 'name cannot be nil'
|
190
|
-
end
|
191
|
-
|
192
|
-
if name.to_s.length < 1
|
193
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
194
|
-
end
|
195
|
-
|
196
|
-
@name = name
|
197
|
-
end
|
198
|
-
|
199
185
|
# Custom attribute writer method with validation
|
200
186
|
# @param [Object] base_path Value to be assigned
|
201
187
|
def base_path=(base_path)
|
@@ -210,6 +196,20 @@ module PulpContainerClient
|
|
210
196
|
@base_path = base_path
|
211
197
|
end
|
212
198
|
|
199
|
+
# Custom attribute writer method with validation
|
200
|
+
# @param [Object] name Value to be assigned
|
201
|
+
def name=(name)
|
202
|
+
if name.nil?
|
203
|
+
fail ArgumentError, 'name cannot be nil'
|
204
|
+
end
|
205
|
+
|
206
|
+
if name.to_s.length < 1
|
207
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
208
|
+
end
|
209
|
+
|
210
|
+
@name = name
|
211
|
+
end
|
212
|
+
|
213
213
|
# Custom attribute writer method with validation
|
214
214
|
# @param [Object] description Value to be assigned
|
215
215
|
def description=(description)
|
@@ -225,12 +225,12 @@ module PulpContainerClient
|
|
225
225
|
def ==(o)
|
226
226
|
return true if self.equal?(o)
|
227
227
|
self.class == o.class &&
|
228
|
+
hidden == o.hidden &&
|
229
|
+
content_guard == o.content_guard &&
|
228
230
|
pulp_labels == o.pulp_labels &&
|
229
231
|
repository == o.repository &&
|
230
|
-
content_guard == o.content_guard &&
|
231
|
-
hidden == o.hidden &&
|
232
|
-
name == o.name &&
|
233
232
|
base_path == o.base_path &&
|
233
|
+
name == o.name &&
|
234
234
|
remote == o.remote &&
|
235
235
|
distributions == o.distributions &&
|
236
236
|
private == o.private &&
|
@@ -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, content_guard, pulp_labels, repository, base_path, name, remote, distributions, private, description].hash
|
250
250
|
end
|
251
251
|
|
252
252
|
# Builds the object from hash
|
@@ -21,23 +21,23 @@ module PulpContainerClient
|
|
21
21
|
# An optional description.
|
22
22
|
attr_accessor :description
|
23
23
|
|
24
|
+
# A reference to an associated signing service.
|
25
|
+
attr_accessor :manifest_signing_service
|
26
|
+
|
24
27
|
# A unique name for this repository.
|
25
28
|
attr_accessor :name
|
26
29
|
|
27
30
|
# Retain X versions of the repository. Default is null which retains all versions.
|
28
31
|
attr_accessor :retain_repo_versions
|
29
32
|
|
30
|
-
# A reference to an associated signing service.
|
31
|
-
attr_accessor :manifest_signing_service
|
32
|
-
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
34
|
def self.attribute_map
|
35
35
|
{
|
36
36
|
:'pulp_labels' => :'pulp_labels',
|
37
37
|
:'description' => :'description',
|
38
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
38
39
|
:'name' => :'name',
|
39
|
-
:'retain_repo_versions' => :'retain_repo_versions'
|
40
|
-
:'manifest_signing_service' => :'manifest_signing_service'
|
40
|
+
:'retain_repo_versions' => :'retain_repo_versions'
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
@@ -51,9 +51,9 @@ module PulpContainerClient
|
|
51
51
|
{
|
52
52
|
:'pulp_labels' => :'Hash<String, String>',
|
53
53
|
:'description' => :'String',
|
54
|
+
:'manifest_signing_service' => :'String',
|
54
55
|
:'name' => :'String',
|
55
|
-
:'retain_repo_versions' => :'Integer'
|
56
|
-
:'manifest_signing_service' => :'String'
|
56
|
+
:'retain_repo_versions' => :'Integer'
|
57
57
|
}
|
58
58
|
end
|
59
59
|
|
@@ -61,8 +61,8 @@ module PulpContainerClient
|
|
61
61
|
def self.openapi_nullable
|
62
62
|
Set.new([
|
63
63
|
:'description',
|
64
|
-
:'
|
65
|
-
:'
|
64
|
+
:'manifest_signing_service',
|
65
|
+
:'retain_repo_versions'
|
66
66
|
])
|
67
67
|
end
|
68
68
|
|
@@ -91,6 +91,10 @@ module PulpContainerClient
|
|
91
91
|
self.description = attributes[:'description']
|
92
92
|
end
|
93
93
|
|
94
|
+
if attributes.key?(:'manifest_signing_service')
|
95
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
96
|
+
end
|
97
|
+
|
94
98
|
if attributes.key?(:'name')
|
95
99
|
self.name = attributes[:'name']
|
96
100
|
end
|
@@ -98,10 +102,6 @@ module PulpContainerClient
|
|
98
102
|
if attributes.key?(:'retain_repo_versions')
|
99
103
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
100
104
|
end
|
101
|
-
|
102
|
-
if attributes.key?(:'manifest_signing_service')
|
103
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
104
|
-
end
|
105
105
|
end
|
106
106
|
|
107
107
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -175,9 +175,9 @@ module PulpContainerClient
|
|
175
175
|
self.class == o.class &&
|
176
176
|
pulp_labels == o.pulp_labels &&
|
177
177
|
description == o.description &&
|
178
|
+
manifest_signing_service == o.manifest_signing_service &&
|
178
179
|
name == o.name &&
|
179
|
-
retain_repo_versions == o.retain_repo_versions
|
180
|
-
manifest_signing_service == o.manifest_signing_service
|
180
|
+
retain_repo_versions == o.retain_repo_versions
|
181
181
|
end
|
182
182
|
|
183
183
|
# @see the `==` method
|
@@ -189,7 +189,7 @@ module PulpContainerClient
|
|
189
189
|
# Calculates hash code according to all attributes.
|
190
190
|
# @return [Integer] Hash code
|
191
191
|
def hash
|
192
|
-
[pulp_labels, description, name, retain_repo_versions
|
192
|
+
[pulp_labels, description, manifest_signing_service, name, retain_repo_versions].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -28,7 +28,6 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.required_ruby_version = ">= 2.7"
|
29
29
|
s.metadata = {}
|
30
30
|
|
31
|
-
s.add_runtime_dependency 'faraday-net_http', '>= 2.0', '< 3.1'
|
32
31
|
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.9'
|
33
32
|
s.add_runtime_dependency 'faraday-multipart'
|
34
33
|
s.add_runtime_dependency 'marcel'
|
@@ -40,11 +40,12 @@ 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
43
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
44
44
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
45
45
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
46
46
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
47
47
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
48
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
48
49
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
49
50
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
50
51
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -72,4 +73,30 @@ describe 'ContentBlobsApi' do
|
|
72
73
|
end
|
73
74
|
end
|
74
75
|
|
76
|
+
# unit tests for set_label
|
77
|
+
# Set a label
|
78
|
+
# Set a single pulp_label on the object to a specific value or null.
|
79
|
+
# @param container_blob_href
|
80
|
+
# @param set_label
|
81
|
+
# @param [Hash] opts the optional parameters
|
82
|
+
# @return [SetLabelResponse]
|
83
|
+
describe 'set_label test' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
# unit tests for unset_label
|
90
|
+
# Unset a label
|
91
|
+
# Unset a single pulp_label on the object.
|
92
|
+
# @param container_blob_href
|
93
|
+
# @param unset_label
|
94
|
+
# @param [Hash] opts the optional parameters
|
95
|
+
# @return [UnsetLabelResponse]
|
96
|
+
describe 'unset_label test' do
|
97
|
+
it 'should work' do
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
75
102
|
end
|
@@ -43,11 +43,12 @@ describe 'ContentManifestsApi' do
|
|
43
43
|
# @option opts [Integer] :limit Number of results to return per page.
|
44
44
|
# @option opts [Array<String>] :media_type * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
|
45
45
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `type` - Type * `-type` - Type (descending) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `os` - Os * `-os` - Os (descending) * `compressed_image_size` - Compressed image size * `-compressed_image_size` - Compressed image size (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
46
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `type` - Type * `-type` - Type (descending) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `os` - Os * `-os` - Os (descending) * `compressed_image_size` - Compressed image size * `-compressed_image_size` - Compressed image size (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
47
47
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
48
48
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
49
49
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
50
50
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
51
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
51
52
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
52
53
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
53
54
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -75,4 +76,30 @@ describe 'ContentManifestsApi' do
|
|
75
76
|
end
|
76
77
|
end
|
77
78
|
|
79
|
+
# unit tests for set_label
|
80
|
+
# Set a label
|
81
|
+
# Set a single pulp_label on the object to a specific value or null.
|
82
|
+
# @param container_manifest_href
|
83
|
+
# @param set_label
|
84
|
+
# @param [Hash] opts the optional parameters
|
85
|
+
# @return [SetLabelResponse]
|
86
|
+
describe 'set_label test' do
|
87
|
+
it 'should work' do
|
88
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
# unit tests for unset_label
|
93
|
+
# Unset a label
|
94
|
+
# Unset a single pulp_label on the object.
|
95
|
+
# @param container_manifest_href
|
96
|
+
# @param unset_label
|
97
|
+
# @param [Hash] opts the optional parameters
|
98
|
+
# @return [UnsetLabelResponse]
|
99
|
+
describe 'unset_label test' do
|
100
|
+
it 'should work' do
|
101
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
78
105
|
end
|