pulp_container_client 2.28.0 → 2.29.0
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 +5 -4
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +16 -16
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
- data/docs/DistributionsContainerApi.md +2 -2
- data/docs/DistributionsPullThroughApi.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/RepositoriesContainerApi.md +3 -3
- data/docs/RepositoriesContainerPushApi.md +75 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +57 -57
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +78 -78
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +57 -57
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +78 -78
- data/lib/pulp_container_client/models/container_container_push_repository.rb +48 -48
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +64 -64
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +50 -50
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +50 -50
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +48 -48
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +3 -3
- data/spec/api/repositories_container_push_api_spec.rb +13 -0
- data/spec/models/container_container_distribution_response_spec.rb +13 -13
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +13 -13
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +12 -12
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +58 -58
data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb
CHANGED
|
@@ -16,26 +16,26 @@ 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
|
-
attr_accessor :
|
|
21
|
-
|
|
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\")
|
|
23
|
-
attr_accessor :base_path
|
|
19
|
+
# RepositoryVersion to be served
|
|
20
|
+
attr_accessor :repository_version
|
|
24
21
|
|
|
25
22
|
attr_accessor :pulp_labels
|
|
26
23
|
|
|
24
|
+
# Whether this distribution should be shown in the content app.
|
|
25
|
+
attr_accessor :hidden
|
|
26
|
+
|
|
27
27
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
28
28
|
attr_accessor :name
|
|
29
29
|
|
|
30
30
|
# The latest RepositoryVersion for this Repository will be served.
|
|
31
31
|
attr_accessor :repository
|
|
32
32
|
|
|
33
|
-
# RepositoryVersion to be served
|
|
34
|
-
attr_accessor :repository_version
|
|
35
|
-
|
|
36
33
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
37
34
|
attr_accessor :content_guard
|
|
38
35
|
|
|
36
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
37
|
+
attr_accessor :base_path
|
|
38
|
+
|
|
39
39
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
40
40
|
attr_accessor :remote
|
|
41
41
|
|
|
@@ -51,13 +51,13 @@ module PulpContainerClient
|
|
|
51
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
52
52
|
def self.attribute_map
|
|
53
53
|
{
|
|
54
|
-
:'
|
|
55
|
-
:'base_path' => :'base_path',
|
|
54
|
+
:'repository_version' => :'repository_version',
|
|
56
55
|
:'pulp_labels' => :'pulp_labels',
|
|
56
|
+
:'hidden' => :'hidden',
|
|
57
57
|
:'name' => :'name',
|
|
58
58
|
:'repository' => :'repository',
|
|
59
|
-
:'repository_version' => :'repository_version',
|
|
60
59
|
:'content_guard' => :'content_guard',
|
|
60
|
+
:'base_path' => :'base_path',
|
|
61
61
|
:'remote' => :'remote',
|
|
62
62
|
:'distributions' => :'distributions',
|
|
63
63
|
:'private' => :'private',
|
|
@@ -73,13 +73,13 @@ module PulpContainerClient
|
|
|
73
73
|
# Attribute type mapping.
|
|
74
74
|
def self.openapi_types
|
|
75
75
|
{
|
|
76
|
-
:'
|
|
77
|
-
:'base_path' => :'String',
|
|
76
|
+
:'repository_version' => :'String',
|
|
78
77
|
:'pulp_labels' => :'Hash<String, String>',
|
|
78
|
+
:'hidden' => :'Boolean',
|
|
79
79
|
:'name' => :'String',
|
|
80
80
|
:'repository' => :'String',
|
|
81
|
-
:'repository_version' => :'String',
|
|
82
81
|
:'content_guard' => :'String',
|
|
82
|
+
:'base_path' => :'String',
|
|
83
83
|
:'remote' => :'String',
|
|
84
84
|
:'distributions' => :'Array<String>',
|
|
85
85
|
:'private' => :'Boolean',
|
|
@@ -90,8 +90,8 @@ module PulpContainerClient
|
|
|
90
90
|
# List of attributes with nullable: true
|
|
91
91
|
def self.openapi_nullable
|
|
92
92
|
Set.new([
|
|
93
|
-
:'repository',
|
|
94
93
|
:'repository_version',
|
|
94
|
+
:'repository',
|
|
95
95
|
:'description'
|
|
96
96
|
])
|
|
97
97
|
end
|
|
@@ -111,14 +111,8 @@ module PulpContainerClient
|
|
|
111
111
|
h[k.to_sym] = v
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
if attributes.key?(:'
|
|
115
|
-
self.
|
|
116
|
-
else
|
|
117
|
-
self.hidden = false
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
if attributes.key?(:'base_path')
|
|
121
|
-
self.base_path = attributes[:'base_path']
|
|
114
|
+
if attributes.key?(:'repository_version')
|
|
115
|
+
self.repository_version = attributes[:'repository_version']
|
|
122
116
|
end
|
|
123
117
|
|
|
124
118
|
if attributes.key?(:'pulp_labels')
|
|
@@ -127,6 +121,12 @@ module PulpContainerClient
|
|
|
127
121
|
end
|
|
128
122
|
end
|
|
129
123
|
|
|
124
|
+
if attributes.key?(:'hidden')
|
|
125
|
+
self.hidden = attributes[:'hidden']
|
|
126
|
+
else
|
|
127
|
+
self.hidden = false
|
|
128
|
+
end
|
|
129
|
+
|
|
130
130
|
if attributes.key?(:'name')
|
|
131
131
|
self.name = attributes[:'name']
|
|
132
132
|
end
|
|
@@ -135,14 +135,14 @@ module PulpContainerClient
|
|
|
135
135
|
self.repository = attributes[:'repository']
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
-
if attributes.key?(:'repository_version')
|
|
139
|
-
self.repository_version = attributes[:'repository_version']
|
|
140
|
-
end
|
|
141
|
-
|
|
142
138
|
if attributes.key?(:'content_guard')
|
|
143
139
|
self.content_guard = attributes[:'content_guard']
|
|
144
140
|
end
|
|
145
141
|
|
|
142
|
+
if attributes.key?(:'base_path')
|
|
143
|
+
self.base_path = attributes[:'base_path']
|
|
144
|
+
end
|
|
145
|
+
|
|
146
146
|
if attributes.key?(:'remote')
|
|
147
147
|
self.remote = attributes[:'remote']
|
|
148
148
|
end
|
|
@@ -167,14 +167,14 @@ module PulpContainerClient
|
|
|
167
167
|
def list_invalid_properties
|
|
168
168
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
169
169
|
invalid_properties = Array.new
|
|
170
|
-
if !@base_path.nil? && @base_path.to_s.length < 1
|
|
171
|
-
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
|
172
|
-
end
|
|
173
|
-
|
|
174
170
|
if !@name.nil? && @name.to_s.length < 1
|
|
175
171
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
176
172
|
end
|
|
177
173
|
|
|
174
|
+
if !@base_path.nil? && @base_path.to_s.length < 1
|
|
175
|
+
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
|
176
|
+
end
|
|
177
|
+
|
|
178
178
|
if !@description.nil? && @description.to_s.length < 1
|
|
179
179
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
180
180
|
end
|
|
@@ -186,26 +186,12 @@ module PulpContainerClient
|
|
|
186
186
|
# @return true if the model is valid
|
|
187
187
|
def valid?
|
|
188
188
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
189
|
-
return false if !@base_path.nil? && @base_path.to_s.length < 1
|
|
190
189
|
return false if !@name.nil? && @name.to_s.length < 1
|
|
190
|
+
return false if !@base_path.nil? && @base_path.to_s.length < 1
|
|
191
191
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
192
192
|
true
|
|
193
193
|
end
|
|
194
194
|
|
|
195
|
-
# Custom attribute writer method with validation
|
|
196
|
-
# @param [Object] base_path Value to be assigned
|
|
197
|
-
def base_path=(base_path)
|
|
198
|
-
if base_path.nil?
|
|
199
|
-
fail ArgumentError, 'base_path cannot be nil'
|
|
200
|
-
end
|
|
201
|
-
|
|
202
|
-
if base_path.to_s.length < 1
|
|
203
|
-
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
|
204
|
-
end
|
|
205
|
-
|
|
206
|
-
@base_path = base_path
|
|
207
|
-
end
|
|
208
|
-
|
|
209
195
|
# Custom attribute writer method with validation
|
|
210
196
|
# @param [Object] name Value to be assigned
|
|
211
197
|
def name=(name)
|
|
@@ -220,6 +206,20 @@ module PulpContainerClient
|
|
|
220
206
|
@name = name
|
|
221
207
|
end
|
|
222
208
|
|
|
209
|
+
# Custom attribute writer method with validation
|
|
210
|
+
# @param [Object] base_path Value to be assigned
|
|
211
|
+
def base_path=(base_path)
|
|
212
|
+
if base_path.nil?
|
|
213
|
+
fail ArgumentError, 'base_path cannot be nil'
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
if base_path.to_s.length < 1
|
|
217
|
+
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
@base_path = base_path
|
|
221
|
+
end
|
|
222
|
+
|
|
223
223
|
# Custom attribute writer method with validation
|
|
224
224
|
# @param [Object] description Value to be assigned
|
|
225
225
|
def description=(description)
|
|
@@ -235,13 +235,13 @@ module PulpContainerClient
|
|
|
235
235
|
def ==(o)
|
|
236
236
|
return true if self.equal?(o)
|
|
237
237
|
self.class == o.class &&
|
|
238
|
-
|
|
239
|
-
base_path == o.base_path &&
|
|
238
|
+
repository_version == o.repository_version &&
|
|
240
239
|
pulp_labels == o.pulp_labels &&
|
|
240
|
+
hidden == o.hidden &&
|
|
241
241
|
name == o.name &&
|
|
242
242
|
repository == o.repository &&
|
|
243
|
-
repository_version == o.repository_version &&
|
|
244
243
|
content_guard == o.content_guard &&
|
|
244
|
+
base_path == o.base_path &&
|
|
245
245
|
remote == o.remote &&
|
|
246
246
|
distributions == o.distributions &&
|
|
247
247
|
private == o.private &&
|
|
@@ -257,7 +257,7 @@ module PulpContainerClient
|
|
|
257
257
|
# Calculates hash code according to all attributes.
|
|
258
258
|
# @return [Integer] Hash code
|
|
259
259
|
def hash
|
|
260
|
-
[
|
|
260
|
+
[repository_version, pulp_labels, hidden, name, repository, content_guard, base_path, remote, distributions, private, description].hash
|
|
261
261
|
end
|
|
262
262
|
|
|
263
263
|
# Builds the object from hash
|
|
@@ -16,32 +16,32 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class PatchedcontainerContainerPushRepository
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# An optional description.
|
|
20
|
+
attr_accessor :description
|
|
21
|
+
|
|
22
|
+
attr_accessor :pulp_labels
|
|
21
23
|
|
|
22
24
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
23
25
|
attr_accessor :retain_repo_versions
|
|
24
26
|
|
|
25
|
-
attr_accessor :pulp_labels
|
|
26
|
-
|
|
27
27
|
# A unique name for this repository.
|
|
28
28
|
attr_accessor :name
|
|
29
29
|
|
|
30
|
-
# An optional description.
|
|
31
|
-
attr_accessor :description
|
|
32
|
-
|
|
33
30
|
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
34
31
|
attr_accessor :retain_checkpoints
|
|
35
32
|
|
|
33
|
+
# A reference to an associated signing service.
|
|
34
|
+
attr_accessor :manifest_signing_service
|
|
35
|
+
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
37
|
def self.attribute_map
|
|
38
38
|
{
|
|
39
|
-
:'
|
|
40
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
|
+
:'description' => :'description',
|
|
41
40
|
:'pulp_labels' => :'pulp_labels',
|
|
41
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
42
42
|
:'name' => :'name',
|
|
43
|
-
:'
|
|
44
|
-
:'
|
|
43
|
+
:'retain_checkpoints' => :'retain_checkpoints',
|
|
44
|
+
:'manifest_signing_service' => :'manifest_signing_service'
|
|
45
45
|
}
|
|
46
46
|
end
|
|
47
47
|
|
|
@@ -53,22 +53,22 @@ module PulpContainerClient
|
|
|
53
53
|
# Attribute type mapping.
|
|
54
54
|
def self.openapi_types
|
|
55
55
|
{
|
|
56
|
-
:'
|
|
57
|
-
:'retain_repo_versions' => :'Integer',
|
|
56
|
+
:'description' => :'String',
|
|
58
57
|
:'pulp_labels' => :'Hash<String, String>',
|
|
58
|
+
:'retain_repo_versions' => :'Integer',
|
|
59
59
|
:'name' => :'String',
|
|
60
|
-
:'
|
|
61
|
-
:'
|
|
60
|
+
:'retain_checkpoints' => :'Integer',
|
|
61
|
+
:'manifest_signing_service' => :'String'
|
|
62
62
|
}
|
|
63
63
|
end
|
|
64
64
|
|
|
65
65
|
# List of attributes with nullable: true
|
|
66
66
|
def self.openapi_nullable
|
|
67
67
|
Set.new([
|
|
68
|
-
:'manifest_signing_service',
|
|
69
|
-
:'retain_repo_versions',
|
|
70
68
|
:'description',
|
|
71
|
-
:'
|
|
69
|
+
:'retain_repo_versions',
|
|
70
|
+
:'retain_checkpoints',
|
|
71
|
+
:'manifest_signing_service'
|
|
72
72
|
])
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -87,12 +87,8 @@ module PulpContainerClient
|
|
|
87
87
|
h[k.to_sym] = v
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
if attributes.key?(:'
|
|
91
|
-
self.
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if attributes.key?(:'retain_repo_versions')
|
|
95
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
90
|
+
if attributes.key?(:'description')
|
|
91
|
+
self.description = attributes[:'description']
|
|
96
92
|
end
|
|
97
93
|
|
|
98
94
|
if attributes.key?(:'pulp_labels')
|
|
@@ -101,17 +97,21 @@ module PulpContainerClient
|
|
|
101
97
|
end
|
|
102
98
|
end
|
|
103
99
|
|
|
104
|
-
if attributes.key?(:'
|
|
105
|
-
self.
|
|
100
|
+
if attributes.key?(:'retain_repo_versions')
|
|
101
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
106
102
|
end
|
|
107
103
|
|
|
108
|
-
if attributes.key?(:'
|
|
109
|
-
self.
|
|
104
|
+
if attributes.key?(:'name')
|
|
105
|
+
self.name = attributes[:'name']
|
|
110
106
|
end
|
|
111
107
|
|
|
112
108
|
if attributes.key?(:'retain_checkpoints')
|
|
113
109
|
self.retain_checkpoints = attributes[:'retain_checkpoints']
|
|
114
110
|
end
|
|
111
|
+
|
|
112
|
+
if attributes.key?(:'manifest_signing_service')
|
|
113
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
114
|
+
end
|
|
115
115
|
end
|
|
116
116
|
|
|
117
117
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -119,6 +119,10 @@ module PulpContainerClient
|
|
|
119
119
|
def list_invalid_properties
|
|
120
120
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
121
121
|
invalid_properties = Array.new
|
|
122
|
+
if !@description.nil? && @description.to_s.length < 1
|
|
123
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
124
|
+
end
|
|
125
|
+
|
|
122
126
|
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
123
127
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
124
128
|
end
|
|
@@ -127,10 +131,6 @@ module PulpContainerClient
|
|
|
127
131
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
128
132
|
end
|
|
129
133
|
|
|
130
|
-
if !@description.nil? && @description.to_s.length < 1
|
|
131
|
-
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
132
|
-
end
|
|
133
|
-
|
|
134
134
|
if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
135
135
|
invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
|
|
136
136
|
end
|
|
@@ -142,13 +142,23 @@ module PulpContainerClient
|
|
|
142
142
|
# @return true if the model is valid
|
|
143
143
|
def valid?
|
|
144
144
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
145
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
|
145
146
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
146
147
|
return false if !@name.nil? && @name.to_s.length < 1
|
|
147
|
-
return false if !@description.nil? && @description.to_s.length < 1
|
|
148
148
|
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
149
149
|
true
|
|
150
150
|
end
|
|
151
151
|
|
|
152
|
+
# Custom attribute writer method with validation
|
|
153
|
+
# @param [Object] description Value to be assigned
|
|
154
|
+
def description=(description)
|
|
155
|
+
if !description.nil? && description.to_s.length < 1
|
|
156
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
@description = description
|
|
160
|
+
end
|
|
161
|
+
|
|
152
162
|
# Custom attribute writer method with validation
|
|
153
163
|
# @param [Object] retain_repo_versions Value to be assigned
|
|
154
164
|
def retain_repo_versions=(retain_repo_versions)
|
|
@@ -173,16 +183,6 @@ module PulpContainerClient
|
|
|
173
183
|
@name = name
|
|
174
184
|
end
|
|
175
185
|
|
|
176
|
-
# Custom attribute writer method with validation
|
|
177
|
-
# @param [Object] description Value to be assigned
|
|
178
|
-
def description=(description)
|
|
179
|
-
if !description.nil? && description.to_s.length < 1
|
|
180
|
-
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
@description = description
|
|
184
|
-
end
|
|
185
|
-
|
|
186
186
|
# Custom attribute writer method with validation
|
|
187
187
|
# @param [Object] retain_checkpoints Value to be assigned
|
|
188
188
|
def retain_checkpoints=(retain_checkpoints)
|
|
@@ -198,12 +198,12 @@ module PulpContainerClient
|
|
|
198
198
|
def ==(o)
|
|
199
199
|
return true if self.equal?(o)
|
|
200
200
|
self.class == o.class &&
|
|
201
|
-
|
|
202
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
201
|
+
description == o.description &&
|
|
203
202
|
pulp_labels == o.pulp_labels &&
|
|
203
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
204
204
|
name == o.name &&
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
retain_checkpoints == o.retain_checkpoints &&
|
|
206
|
+
manifest_signing_service == o.manifest_signing_service
|
|
207
207
|
end
|
|
208
208
|
|
|
209
209
|
# @see the `==` method
|
|
@@ -215,7 +215,7 @@ module PulpContainerClient
|
|
|
215
215
|
# Calculates hash code according to all attributes.
|
|
216
216
|
# @return [Integer] Hash code
|
|
217
217
|
def hash
|
|
218
|
-
[
|
|
218
|
+
[description, pulp_labels, retain_repo_versions, name, retain_checkpoints, manifest_signing_service].hash
|
|
219
219
|
end
|
|
220
220
|
|
|
221
221
|
# Builds the object from hash
|
|
@@ -107,7 +107,7 @@ describe 'RepositoriesContainerApi' do
|
|
|
107
107
|
|
|
108
108
|
# unit tests for create
|
|
109
109
|
# Create a container repository
|
|
110
|
-
# ViewSet for container repo.
|
|
110
|
+
# ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution's access policy for read and content-modifying actions, matching legacy push repository behavior.
|
|
111
111
|
# @param container_container_repository
|
|
112
112
|
# @param [Hash] opts the optional parameters
|
|
113
113
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -133,7 +133,7 @@ describe 'RepositoriesContainerApi' do
|
|
|
133
133
|
|
|
134
134
|
# unit tests for list
|
|
135
135
|
# List container repositorys
|
|
136
|
-
# ViewSet for container repo.
|
|
136
|
+
# ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution's access policy for read and content-modifying actions, matching legacy push repository behavior.
|
|
137
137
|
# @param [Hash] opts the optional parameters
|
|
138
138
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
139
139
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
|
@@ -227,7 +227,7 @@ describe 'RepositoriesContainerApi' do
|
|
|
227
227
|
|
|
228
228
|
# unit tests for read
|
|
229
229
|
# Inspect a container repository
|
|
230
|
-
# ViewSet for container repo.
|
|
230
|
+
# ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution's access policy for read and content-modifying actions, matching legacy push repository behavior.
|
|
231
231
|
# @param container_container_repository_href
|
|
232
232
|
# @param [Hash] opts the optional parameters
|
|
233
233
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -111,6 +111,19 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
111
111
|
end
|
|
112
112
|
end
|
|
113
113
|
|
|
114
|
+
# unit tests for migrate
|
|
115
|
+
# Migrate push repository to container repository
|
|
116
|
+
# Trigger an asynchronous task to convert this push repository into a container repository in place. The repository primary key and version history are preserved; only the repository type changes.
|
|
117
|
+
# @param container_container_push_repository_href
|
|
118
|
+
# @param [Hash] opts the optional parameters
|
|
119
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
120
|
+
# @return [AsyncOperationResponse]
|
|
121
|
+
describe 'migrate test' do
|
|
122
|
+
it 'should work' do
|
|
123
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
|
|
114
127
|
# unit tests for my_permissions
|
|
115
128
|
# List user permissions
|
|
116
129
|
# List permissions available to the current user on this object.
|
|
@@ -27,79 +27,79 @@ describe PulpContainerClient::ContainerContainerDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "repository_version"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "pulp_labels"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "hidden"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "name"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "repository"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "content_guard_prn"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "pulp_href"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "content_guard"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "prn"' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "pulp_created"' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
describe 'test attribute "
|
|
90
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "
|
|
96
|
+
describe 'test attribute "base_path"' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
99
|
end
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
describe 'test attribute "
|
|
102
|
+
describe 'test attribute "no_content_change_since"' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
105
|
end
|
|
@@ -27,19 +27,19 @@ describe PulpContainerClient::ContainerContainerDistribution do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "repository_version"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "pulp_labels"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "hidden"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
@@ -57,13 +57,13 @@ describe PulpContainerClient::ContainerContainerDistribution do
|
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "content_guard"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "base_path"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|