pulp_container_client 2.27.10 → 2.28.1
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 +4 -4
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +16 -16
- data/docs/ContainerContainerNamespace.md +3 -1
- data/docs/ContainerContainerNamespaceResponse.md +3 -1
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/ContainerContainerRemote.md +6 -2
- data/docs/ContainerContainerRemoteResponse.md +4 -4
- data/docs/ContainerManifestSignatureResponse.md +2 -0
- data/docs/ContentSignaturesApi.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +6 -2
- data/docs/PulpContainerNamespacesApi.md +2 -2
- data/lib/pulp_container_client/api/content_signatures_api.rb +3 -3
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +74 -74
- data/lib/pulp_container_client/models/container_container_namespace.rb +15 -4
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +15 -4
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +30 -30
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +74 -74
- data/lib/pulp_container_client/models/container_container_push_repository.rb +54 -54
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +68 -68
- data/lib/pulp_container_client/models/container_container_remote.rb +29 -3
- data/lib/pulp_container_client/models/container_container_remote_response.rb +19 -19
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +14 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +28 -28
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +28 -28
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +54 -54
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +29 -3
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_signatures_api_spec.rb +1 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +12 -12
- data/spec/models/container_container_distribution_spec.rb +7 -7
- data/spec/models/container_container_namespace_response_spec.rb +6 -0
- data/spec/models/container_container_namespace_spec.rb +6 -0
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -12
- data/spec/models/container_container_pull_through_distribution_spec.rb +7 -7
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_spec.rb +2 -2
- data/spec/models/container_container_remote_spec.rb +12 -0
- data/spec/models/container_manifest_signature_response_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_remote_spec.rb +12 -0
- metadata +59 -59
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
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
20
|
+
attr_accessor :content_guard
|
|
21
|
+
|
|
19
22
|
attr_accessor :pulp_labels
|
|
20
23
|
|
|
24
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
|
+
attr_accessor :name
|
|
26
|
+
|
|
21
27
|
# Whether this distribution should be shown in the content app.
|
|
22
28
|
attr_accessor :hidden
|
|
23
29
|
|
|
24
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
25
|
-
attr_accessor :content_guard
|
|
26
|
-
|
|
27
30
|
# The latest RepositoryVersion for this Repository will be served.
|
|
28
31
|
attr_accessor :repository
|
|
29
32
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :
|
|
33
|
+
# RepositoryVersion to be served
|
|
34
|
+
attr_accessor :repository_version
|
|
32
35
|
|
|
33
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\")
|
|
34
37
|
attr_accessor :base_path
|
|
35
38
|
|
|
36
|
-
# RepositoryVersion to be served
|
|
37
|
-
attr_accessor :repository_version
|
|
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
|
+
:'content_guard' => :'content_guard',
|
|
54
55
|
:'pulp_labels' => :'pulp_labels',
|
|
56
|
+
:'name' => :'name',
|
|
55
57
|
:'hidden' => :'hidden',
|
|
56
|
-
:'content_guard' => :'content_guard',
|
|
57
58
|
:'repository' => :'repository',
|
|
58
|
-
:'name' => :'name',
|
|
59
|
-
:'base_path' => :'base_path',
|
|
60
59
|
:'repository_version' => :'repository_version',
|
|
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
|
+
:'content_guard' => :'String',
|
|
76
77
|
:'pulp_labels' => :'Hash<String, String>',
|
|
78
|
+
:'name' => :'String',
|
|
77
79
|
:'hidden' => :'Boolean',
|
|
78
|
-
:'content_guard' => :'String',
|
|
79
80
|
:'repository' => :'String',
|
|
80
|
-
:'name' => :'String',
|
|
81
|
-
:'base_path' => :'String',
|
|
82
81
|
:'repository_version' => :'String',
|
|
82
|
+
:'base_path' => :'String',
|
|
83
83
|
:'remote' => :'String',
|
|
84
84
|
:'distributions' => :'Array<String>',
|
|
85
85
|
:'private' => :'Boolean',
|
|
@@ -111,38 +111,38 @@ module PulpContainerClient
|
|
|
111
111
|
h[k.to_sym] = v
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
if attributes.key?(:'content_guard')
|
|
115
|
+
self.content_guard = attributes[:'content_guard']
|
|
116
|
+
end
|
|
117
|
+
|
|
114
118
|
if attributes.key?(:'pulp_labels')
|
|
115
119
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
116
120
|
self.pulp_labels = value
|
|
117
121
|
end
|
|
118
122
|
end
|
|
119
123
|
|
|
124
|
+
if attributes.key?(:'name')
|
|
125
|
+
self.name = attributes[:'name']
|
|
126
|
+
end
|
|
127
|
+
|
|
120
128
|
if attributes.key?(:'hidden')
|
|
121
129
|
self.hidden = attributes[:'hidden']
|
|
122
130
|
else
|
|
123
131
|
self.hidden = false
|
|
124
132
|
end
|
|
125
133
|
|
|
126
|
-
if attributes.key?(:'content_guard')
|
|
127
|
-
self.content_guard = attributes[:'content_guard']
|
|
128
|
-
end
|
|
129
|
-
|
|
130
134
|
if attributes.key?(:'repository')
|
|
131
135
|
self.repository = attributes[:'repository']
|
|
132
136
|
end
|
|
133
137
|
|
|
134
|
-
if attributes.key?(:'
|
|
135
|
-
self.
|
|
138
|
+
if attributes.key?(:'repository_version')
|
|
139
|
+
self.repository_version = attributes[:'repository_version']
|
|
136
140
|
end
|
|
137
141
|
|
|
138
142
|
if attributes.key?(:'base_path')
|
|
139
143
|
self.base_path = attributes[:'base_path']
|
|
140
144
|
end
|
|
141
145
|
|
|
142
|
-
if attributes.key?(:'repository_version')
|
|
143
|
-
self.repository_version = attributes[:'repository_version']
|
|
144
|
-
end
|
|
145
|
-
|
|
146
146
|
if attributes.key?(:'remote')
|
|
147
147
|
self.remote = attributes[:'remote']
|
|
148
148
|
end
|
|
@@ -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
|
+
content_guard == o.content_guard &&
|
|
238
239
|
pulp_labels == o.pulp_labels &&
|
|
240
|
+
name == o.name &&
|
|
239
241
|
hidden == o.hidden &&
|
|
240
|
-
content_guard == o.content_guard &&
|
|
241
242
|
repository == o.repository &&
|
|
242
|
-
name == o.name &&
|
|
243
|
-
base_path == o.base_path &&
|
|
244
243
|
repository_version == o.repository_version &&
|
|
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
|
-
[pulp_labels,
|
|
260
|
+
[content_guard, pulp_labels, name, hidden, repository, repository_version, base_path, remote, distributions, private, description].hash
|
|
261
261
|
end
|
|
262
262
|
|
|
263
263
|
# Builds the object from hash
|
|
@@ -19,29 +19,29 @@ module PulpContainerClient
|
|
|
19
19
|
# A reference to an associated signing service.
|
|
20
20
|
attr_accessor :manifest_signing_service
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
23
|
+
attr_accessor :retain_checkpoints
|
|
23
24
|
|
|
24
25
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
25
26
|
attr_accessor :retain_repo_versions
|
|
26
27
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
28
|
+
# An optional description.
|
|
29
|
+
attr_accessor :description
|
|
30
|
+
|
|
31
|
+
attr_accessor :pulp_labels
|
|
29
32
|
|
|
30
33
|
# A unique name for this repository.
|
|
31
34
|
attr_accessor :name
|
|
32
35
|
|
|
33
|
-
# An optional description.
|
|
34
|
-
attr_accessor :description
|
|
35
|
-
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
37
|
def self.attribute_map
|
|
38
38
|
{
|
|
39
39
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
40
|
-
:'pulp_labels' => :'pulp_labels',
|
|
41
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
42
40
|
:'retain_checkpoints' => :'retain_checkpoints',
|
|
43
|
-
:'
|
|
44
|
-
:'description' => :'description'
|
|
41
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
42
|
+
:'description' => :'description',
|
|
43
|
+
:'pulp_labels' => :'pulp_labels',
|
|
44
|
+
:'name' => :'name'
|
|
45
45
|
}
|
|
46
46
|
end
|
|
47
47
|
|
|
@@ -54,11 +54,11 @@ module PulpContainerClient
|
|
|
54
54
|
def self.openapi_types
|
|
55
55
|
{
|
|
56
56
|
:'manifest_signing_service' => :'String',
|
|
57
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
58
|
-
:'retain_repo_versions' => :'Integer',
|
|
59
57
|
:'retain_checkpoints' => :'Integer',
|
|
60
|
-
:'
|
|
61
|
-
:'description' => :'String'
|
|
58
|
+
:'retain_repo_versions' => :'Integer',
|
|
59
|
+
:'description' => :'String',
|
|
60
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
61
|
+
:'name' => :'String'
|
|
62
62
|
}
|
|
63
63
|
end
|
|
64
64
|
|
|
@@ -66,9 +66,9 @@ module PulpContainerClient
|
|
|
66
66
|
def self.openapi_nullable
|
|
67
67
|
Set.new([
|
|
68
68
|
:'manifest_signing_service',
|
|
69
|
-
:'retain_repo_versions',
|
|
70
69
|
:'retain_checkpoints',
|
|
71
|
-
:'
|
|
70
|
+
:'retain_repo_versions',
|
|
71
|
+
:'description',
|
|
72
72
|
])
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -91,26 +91,26 @@ module PulpContainerClient
|
|
|
91
91
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
-
if attributes.key?(:'
|
|
95
|
-
|
|
96
|
-
self.pulp_labels = value
|
|
97
|
-
end
|
|
94
|
+
if attributes.key?(:'retain_checkpoints')
|
|
95
|
+
self.retain_checkpoints = attributes[:'retain_checkpoints']
|
|
98
96
|
end
|
|
99
97
|
|
|
100
98
|
if attributes.key?(:'retain_repo_versions')
|
|
101
99
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
102
100
|
end
|
|
103
101
|
|
|
104
|
-
if attributes.key?(:'
|
|
105
|
-
self.
|
|
102
|
+
if attributes.key?(:'description')
|
|
103
|
+
self.description = attributes[:'description']
|
|
106
104
|
end
|
|
107
105
|
|
|
108
|
-
if attributes.key?(:'
|
|
109
|
-
|
|
106
|
+
if attributes.key?(:'pulp_labels')
|
|
107
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
108
|
+
self.pulp_labels = value
|
|
109
|
+
end
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
-
if attributes.key?(:'
|
|
113
|
-
self.
|
|
112
|
+
if attributes.key?(:'name')
|
|
113
|
+
self.name = attributes[:'name']
|
|
114
114
|
end
|
|
115
115
|
end
|
|
116
116
|
|
|
@@ -119,22 +119,22 @@ 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 !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
123
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
124
|
-
end
|
|
125
|
-
|
|
126
122
|
if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
127
123
|
invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
|
|
128
124
|
end
|
|
129
125
|
|
|
130
|
-
if !@
|
|
131
|
-
invalid_properties.push('invalid value for "
|
|
126
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
127
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
132
128
|
end
|
|
133
129
|
|
|
134
130
|
if !@description.nil? && @description.to_s.length < 1
|
|
135
131
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
136
132
|
end
|
|
137
133
|
|
|
134
|
+
if !@name.nil? && @name.to_s.length < 1
|
|
135
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
136
|
+
end
|
|
137
|
+
|
|
138
138
|
invalid_properties
|
|
139
139
|
end
|
|
140
140
|
|
|
@@ -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 !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
146
145
|
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
147
|
-
return false if !@
|
|
146
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
148
147
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
148
|
+
return false if !@name.nil? && @name.to_s.length < 1
|
|
149
149
|
true
|
|
150
150
|
end
|
|
151
151
|
|
|
152
|
+
# Custom attribute writer method with validation
|
|
153
|
+
# @param [Object] retain_checkpoints Value to be assigned
|
|
154
|
+
def retain_checkpoints=(retain_checkpoints)
|
|
155
|
+
if !retain_checkpoints.nil? && retain_checkpoints < 1
|
|
156
|
+
fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
@retain_checkpoints = retain_checkpoints
|
|
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)
|
|
@@ -160,13 +170,13 @@ module PulpContainerClient
|
|
|
160
170
|
end
|
|
161
171
|
|
|
162
172
|
# Custom attribute writer method with validation
|
|
163
|
-
# @param [Object]
|
|
164
|
-
def
|
|
165
|
-
if !
|
|
166
|
-
fail ArgumentError, 'invalid value for "
|
|
173
|
+
# @param [Object] description Value to be assigned
|
|
174
|
+
def description=(description)
|
|
175
|
+
if !description.nil? && description.to_s.length < 1
|
|
176
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
167
177
|
end
|
|
168
178
|
|
|
169
|
-
@
|
|
179
|
+
@description = description
|
|
170
180
|
end
|
|
171
181
|
|
|
172
182
|
# Custom attribute writer method with validation
|
|
@@ -183,27 +193,17 @@ module PulpContainerClient
|
|
|
183
193
|
@name = name
|
|
184
194
|
end
|
|
185
195
|
|
|
186
|
-
# Custom attribute writer method with validation
|
|
187
|
-
# @param [Object] description Value to be assigned
|
|
188
|
-
def description=(description)
|
|
189
|
-
if !description.nil? && description.to_s.length < 1
|
|
190
|
-
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
@description = description
|
|
194
|
-
end
|
|
195
|
-
|
|
196
196
|
# Checks equality by comparing each attribute.
|
|
197
197
|
# @param [Object] Object to be compared
|
|
198
198
|
def ==(o)
|
|
199
199
|
return true if self.equal?(o)
|
|
200
200
|
self.class == o.class &&
|
|
201
201
|
manifest_signing_service == o.manifest_signing_service &&
|
|
202
|
-
pulp_labels == o.pulp_labels &&
|
|
203
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
204
202
|
retain_checkpoints == o.retain_checkpoints &&
|
|
205
|
-
|
|
206
|
-
description == o.description
|
|
203
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
204
|
+
description == o.description &&
|
|
205
|
+
pulp_labels == o.pulp_labels &&
|
|
206
|
+
name == o.name
|
|
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
|
-
[manifest_signing_service,
|
|
218
|
+
[manifest_signing_service, retain_checkpoints, retain_repo_versions, description, pulp_labels, name].hash
|
|
219
219
|
end
|
|
220
220
|
|
|
221
221
|
# Builds the object from hash
|
|
@@ -81,10 +81,16 @@ module PulpContainerClient
|
|
|
81
81
|
# Name of the upstream repository
|
|
82
82
|
attr_accessor :upstream_name
|
|
83
83
|
|
|
84
|
-
#
|
|
84
|
+
# A list of tags (wildcards *, ? are recognized) and/or digests (format: 'sha256:<hex>') to include during sync. 'includes' is evaluated before 'excludes'.
|
|
85
|
+
attr_accessor :includes
|
|
86
|
+
|
|
87
|
+
# A list of tag patterns to exclude during sync. Wildcards *, ? are recognized. 'excludes' is evaluated after 'includes'.
|
|
88
|
+
attr_accessor :excludes
|
|
89
|
+
|
|
90
|
+
# Deprecated. Use 'includes' instead.
|
|
85
91
|
attr_accessor :include_tags
|
|
86
92
|
|
|
87
|
-
#
|
|
93
|
+
# Deprecated. Use 'excludes' instead.
|
|
88
94
|
attr_accessor :exclude_tags
|
|
89
95
|
|
|
90
96
|
# A URL to a sigstore to download image signatures from
|
|
@@ -137,6 +143,8 @@ module PulpContainerClient
|
|
|
137
143
|
:'download_concurrency' => :'download_concurrency',
|
|
138
144
|
:'rate_limit' => :'rate_limit',
|
|
139
145
|
:'upstream_name' => :'upstream_name',
|
|
146
|
+
:'includes' => :'includes',
|
|
147
|
+
:'excludes' => :'excludes',
|
|
140
148
|
:'include_tags' => :'include_tags',
|
|
141
149
|
:'exclude_tags' => :'exclude_tags',
|
|
142
150
|
:'sigstore' => :'sigstore'
|
|
@@ -173,6 +181,8 @@ module PulpContainerClient
|
|
|
173
181
|
:'download_concurrency' => :'Integer',
|
|
174
182
|
:'rate_limit' => :'Integer',
|
|
175
183
|
:'upstream_name' => :'String',
|
|
184
|
+
:'includes' => :'Array<String>',
|
|
185
|
+
:'excludes' => :'Array<String>',
|
|
176
186
|
:'include_tags' => :'Array<String>',
|
|
177
187
|
:'exclude_tags' => :'Array<String>',
|
|
178
188
|
:'sigstore' => :'String'
|
|
@@ -197,6 +207,8 @@ module PulpContainerClient
|
|
|
197
207
|
:'sock_read_timeout',
|
|
198
208
|
:'download_concurrency',
|
|
199
209
|
:'rate_limit',
|
|
210
|
+
:'includes',
|
|
211
|
+
:'excludes',
|
|
200
212
|
:'include_tags',
|
|
201
213
|
:'exclude_tags',
|
|
202
214
|
])
|
|
@@ -309,6 +321,18 @@ module PulpContainerClient
|
|
|
309
321
|
self.upstream_name = attributes[:'upstream_name']
|
|
310
322
|
end
|
|
311
323
|
|
|
324
|
+
if attributes.key?(:'includes')
|
|
325
|
+
if (value = attributes[:'includes']).is_a?(Array)
|
|
326
|
+
self.includes = value
|
|
327
|
+
end
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
if attributes.key?(:'excludes')
|
|
331
|
+
if (value = attributes[:'excludes']).is_a?(Array)
|
|
332
|
+
self.excludes = value
|
|
333
|
+
end
|
|
334
|
+
end
|
|
335
|
+
|
|
312
336
|
if attributes.key?(:'include_tags')
|
|
313
337
|
if (value = attributes[:'include_tags']).is_a?(Array)
|
|
314
338
|
self.include_tags = value
|
|
@@ -639,6 +663,8 @@ module PulpContainerClient
|
|
|
639
663
|
download_concurrency == o.download_concurrency &&
|
|
640
664
|
rate_limit == o.rate_limit &&
|
|
641
665
|
upstream_name == o.upstream_name &&
|
|
666
|
+
includes == o.includes &&
|
|
667
|
+
excludes == o.excludes &&
|
|
642
668
|
include_tags == o.include_tags &&
|
|
643
669
|
exclude_tags == o.exclude_tags &&
|
|
644
670
|
sigstore == o.sigstore
|
|
@@ -653,7 +679,7 @@ module PulpContainerClient
|
|
|
653
679
|
# Calculates hash code according to all attributes.
|
|
654
680
|
# @return [Integer] Hash code
|
|
655
681
|
def hash
|
|
656
|
-
[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, upstream_name, include_tags, exclude_tags, sigstore].hash
|
|
682
|
+
[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, upstream_name, includes, excludes, include_tags, exclude_tags, sigstore].hash
|
|
657
683
|
end
|
|
658
684
|
|
|
659
685
|
# Builds the object from hash
|
|
@@ -53,7 +53,7 @@ describe 'ContentSignaturesApi' do
|
|
|
53
53
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
54
54
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
55
55
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
56
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `digest` - Digest * `-digest` - Digest (descending) * `type` - Type * `-type` - Type (descending) * `key_id` - Key id * `-key_id` - Key id (descending) * `timestamp` - Timestamp * `-timestamp` - Timestamp (descending) * `creator` - Creator * `-creator` - Creator (descending) * `data` - Data * `-data` - Data (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
56
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `digest` - Digest * `-digest` - Digest (descending) * `type` - Type * `-type` - Type (descending) * `key_id` - Key id * `-key_id` - Key id (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `timestamp` - Timestamp * `-timestamp` - Timestamp (descending) * `creator` - Creator * `-creator` - Creator (descending) * `data` - Data * `-data` - Data (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
57
57
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
58
58
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
59
59
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
@@ -88,7 +88,7 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
88
88
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
89
89
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
90
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
91
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
91
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
92
92
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
93
93
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
94
94
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -27,25 +27,25 @@ describe PulpContainerClient::ContainerContainerDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "pulp_last_updated"' 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 "no_content_change_since"' 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 "content_guard_prn"' 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 "pulp_href"' 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
|
|
@@ -57,49 +57,49 @@ describe PulpContainerClient::ContainerContainerDistributionResponse do
|
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "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_created"' 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 "pulp_labels"' 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 "name"' 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 "hidden"' 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 "repository"' 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 "repository_version"' 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 "base_path"' 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,43 +27,43 @@ describe PulpContainerClient::ContainerContainerDistribution do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "content_guard"' 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 "name"' 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 "hidden"' 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 "repository_version"' 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
|
|
@@ -57,4 +57,10 @@ describe PulpContainerClient::ContainerContainerNamespaceResponse do
|
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
+
describe 'test attribute "pulp_labels"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
60
66
|
end
|
|
@@ -33,4 +33,10 @@ describe PulpContainerClient::ContainerContainerNamespace do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
describe 'test attribute "pulp_labels"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
36
42
|
end
|