pulp_container_client 2.27.9 → 2.28.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 +4 -4
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerNamespace.md +3 -1
- data/docs/ContainerContainerNamespaceResponse.md +3 -1
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +16 -16
- 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 +6 -6
- 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 +31 -31
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +62 -62
- 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 +31 -31
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +62 -62
- data/lib/pulp_container_client/models/container_container_push_repository.rb +55 -55
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +82 -82
- 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 +29 -29
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +29 -29
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +53 -53
- 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 +11 -11
- data/spec/models/container_container_distribution_spec.rb +5 -5
- 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 +11 -11
- 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/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 +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
- data/spec/models/patchedcontainer_container_remote_spec.rb +12 -0
- metadata +60 -60
data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb
CHANGED
|
@@ -16,14 +16,13 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
18
18
|
class PatchedcontainerContainerPullThroughDistribution
|
|
19
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
20
|
-
attr_accessor :base_path
|
|
21
|
-
|
|
22
19
|
# Whether this distribution should be shown in the content app.
|
|
23
20
|
attr_accessor :hidden
|
|
24
21
|
|
|
25
|
-
#
|
|
26
|
-
attr_accessor :
|
|
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
|
|
24
|
+
|
|
25
|
+
attr_accessor :pulp_labels
|
|
27
26
|
|
|
28
27
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
29
28
|
attr_accessor :name
|
|
@@ -31,11 +30,12 @@ module PulpContainerClient
|
|
|
31
30
|
# The latest RepositoryVersion for this Repository will be served.
|
|
32
31
|
attr_accessor :repository
|
|
33
32
|
|
|
34
|
-
attr_accessor :pulp_labels
|
|
35
|
-
|
|
36
33
|
# RepositoryVersion to be served
|
|
37
34
|
attr_accessor :repository_version
|
|
38
35
|
|
|
36
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
37
|
+
attr_accessor :content_guard
|
|
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
|
-
:'base_path' => :'base_path',
|
|
55
54
|
:'hidden' => :'hidden',
|
|
56
|
-
:'
|
|
55
|
+
:'base_path' => :'base_path',
|
|
56
|
+
:'pulp_labels' => :'pulp_labels',
|
|
57
57
|
:'name' => :'name',
|
|
58
58
|
:'repository' => :'repository',
|
|
59
|
-
:'pulp_labels' => :'pulp_labels',
|
|
60
59
|
:'repository_version' => :'repository_version',
|
|
60
|
+
:'content_guard' => :'content_guard',
|
|
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
|
-
:'base_path' => :'String',
|
|
77
76
|
:'hidden' => :'Boolean',
|
|
78
|
-
:'
|
|
77
|
+
:'base_path' => :'String',
|
|
78
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
79
79
|
:'name' => :'String',
|
|
80
80
|
:'repository' => :'String',
|
|
81
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
82
81
|
:'repository_version' => :'String',
|
|
82
|
+
:'content_guard' => :'String',
|
|
83
83
|
:'remote' => :'String',
|
|
84
84
|
:'distributions' => :'Array<String>',
|
|
85
85
|
:'private' => :'Boolean',
|
|
@@ -111,18 +111,20 @@ module PulpContainerClient
|
|
|
111
111
|
h[k.to_sym] = v
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
if attributes.key?(:'base_path')
|
|
115
|
-
self.base_path = attributes[:'base_path']
|
|
116
|
-
end
|
|
117
|
-
|
|
118
114
|
if attributes.key?(:'hidden')
|
|
119
115
|
self.hidden = attributes[:'hidden']
|
|
120
116
|
else
|
|
121
117
|
self.hidden = false
|
|
122
118
|
end
|
|
123
119
|
|
|
124
|
-
if attributes.key?(:'
|
|
125
|
-
self.
|
|
120
|
+
if attributes.key?(:'base_path')
|
|
121
|
+
self.base_path = attributes[:'base_path']
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
if attributes.key?(:'pulp_labels')
|
|
125
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
126
|
+
self.pulp_labels = value
|
|
127
|
+
end
|
|
126
128
|
end
|
|
127
129
|
|
|
128
130
|
if attributes.key?(:'name')
|
|
@@ -133,16 +135,14 @@ module PulpContainerClient
|
|
|
133
135
|
self.repository = attributes[:'repository']
|
|
134
136
|
end
|
|
135
137
|
|
|
136
|
-
if attributes.key?(:'pulp_labels')
|
|
137
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
138
|
-
self.pulp_labels = value
|
|
139
|
-
end
|
|
140
|
-
end
|
|
141
|
-
|
|
142
138
|
if attributes.key?(:'repository_version')
|
|
143
139
|
self.repository_version = attributes[:'repository_version']
|
|
144
140
|
end
|
|
145
141
|
|
|
142
|
+
if attributes.key?(:'content_guard')
|
|
143
|
+
self.content_guard = attributes[:'content_guard']
|
|
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
|
-
base_path == o.base_path &&
|
|
239
238
|
hidden == o.hidden &&
|
|
240
|
-
|
|
239
|
+
base_path == o.base_path &&
|
|
240
|
+
pulp_labels == o.pulp_labels &&
|
|
241
241
|
name == o.name &&
|
|
242
242
|
repository == o.repository &&
|
|
243
|
-
pulp_labels == o.pulp_labels &&
|
|
244
243
|
repository_version == o.repository_version &&
|
|
244
|
+
content_guard == o.content_guard &&
|
|
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
|
+
[hidden, base_path, pulp_labels, name, repository, repository_version, content_guard, 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
|
-
# A unique name for this repository.
|
|
20
|
-
attr_accessor :name
|
|
21
|
-
|
|
22
|
-
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
23
|
-
attr_accessor :retain_checkpoints
|
|
24
|
-
|
|
25
19
|
# A reference to an associated signing service.
|
|
26
20
|
attr_accessor :manifest_signing_service
|
|
27
21
|
|
|
22
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
|
23
|
+
attr_accessor :retain_repo_versions
|
|
24
|
+
|
|
28
25
|
attr_accessor :pulp_labels
|
|
29
26
|
|
|
27
|
+
# A unique name for this repository.
|
|
28
|
+
attr_accessor :name
|
|
29
|
+
|
|
30
30
|
# An optional description.
|
|
31
31
|
attr_accessor :description
|
|
32
32
|
|
|
33
|
-
# Retain X
|
|
34
|
-
attr_accessor :
|
|
33
|
+
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
34
|
+
attr_accessor :retain_checkpoints
|
|
35
35
|
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
37
|
def self.attribute_map
|
|
38
38
|
{
|
|
39
|
-
:'name' => :'name',
|
|
40
|
-
:'retain_checkpoints' => :'retain_checkpoints',
|
|
41
39
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
40
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
42
41
|
:'pulp_labels' => :'pulp_labels',
|
|
42
|
+
:'name' => :'name',
|
|
43
43
|
:'description' => :'description',
|
|
44
|
-
:'
|
|
44
|
+
:'retain_checkpoints' => :'retain_checkpoints'
|
|
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
|
-
:'name' => :'String',
|
|
57
|
-
:'retain_checkpoints' => :'Integer',
|
|
58
56
|
:'manifest_signing_service' => :'String',
|
|
57
|
+
:'retain_repo_versions' => :'Integer',
|
|
59
58
|
:'pulp_labels' => :'Hash<String, String>',
|
|
59
|
+
:'name' => :'String',
|
|
60
60
|
:'description' => :'String',
|
|
61
|
-
:'
|
|
61
|
+
:'retain_checkpoints' => :'Integer'
|
|
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
|
-
:'retain_checkpoints',
|
|
69
68
|
:'manifest_signing_service',
|
|
69
|
+
:'retain_repo_versions',
|
|
70
70
|
:'description',
|
|
71
|
-
:'
|
|
71
|
+
:'retain_checkpoints'
|
|
72
72
|
])
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -87,30 +87,30 @@ module PulpContainerClient
|
|
|
87
87
|
h[k.to_sym] = v
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
if attributes.key?(:'name')
|
|
91
|
-
self.name = attributes[:'name']
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if attributes.key?(:'retain_checkpoints')
|
|
95
|
-
self.retain_checkpoints = attributes[:'retain_checkpoints']
|
|
96
|
-
end
|
|
97
|
-
|
|
98
90
|
if attributes.key?(:'manifest_signing_service')
|
|
99
91
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
100
92
|
end
|
|
101
93
|
|
|
94
|
+
if attributes.key?(:'retain_repo_versions')
|
|
95
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
96
|
+
end
|
|
97
|
+
|
|
102
98
|
if attributes.key?(:'pulp_labels')
|
|
103
99
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
104
100
|
self.pulp_labels = value
|
|
105
101
|
end
|
|
106
102
|
end
|
|
107
103
|
|
|
104
|
+
if attributes.key?(:'name')
|
|
105
|
+
self.name = attributes[:'name']
|
|
106
|
+
end
|
|
107
|
+
|
|
108
108
|
if attributes.key?(:'description')
|
|
109
109
|
self.description = attributes[:'description']
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
-
if attributes.key?(:'
|
|
113
|
-
self.
|
|
112
|
+
if attributes.key?(:'retain_checkpoints')
|
|
113
|
+
self.retain_checkpoints = attributes[:'retain_checkpoints']
|
|
114
114
|
end
|
|
115
115
|
end
|
|
116
116
|
|
|
@@ -119,20 +119,20 @@ 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 !@
|
|
123
|
-
invalid_properties.push('invalid value for "
|
|
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
124
|
end
|
|
125
125
|
|
|
126
|
-
if !@
|
|
127
|
-
invalid_properties.push('invalid value for "
|
|
126
|
+
if !@name.nil? && @name.to_s.length < 1
|
|
127
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
128
128
|
end
|
|
129
129
|
|
|
130
130
|
if !@description.nil? && @description.to_s.length < 1
|
|
131
131
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
132
132
|
end
|
|
133
133
|
|
|
134
|
-
if !@
|
|
135
|
-
invalid_properties.push('invalid value for "
|
|
134
|
+
if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
135
|
+
invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
|
|
136
136
|
end
|
|
137
137
|
|
|
138
138
|
invalid_properties
|
|
@@ -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
|
|
145
146
|
return false if !@name.nil? && @name.to_s.length < 1
|
|
146
|
-
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
147
147
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
148
|
-
return false if !@
|
|
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] retain_repo_versions Value to be assigned
|
|
154
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
155
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
156
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
@retain_repo_versions = retain_repo_versions
|
|
160
|
+
end
|
|
161
|
+
|
|
152
162
|
# Custom attribute writer method with validation
|
|
153
163
|
# @param [Object] name Value to be assigned
|
|
154
164
|
def name=(name)
|
|
@@ -163,16 +173,6 @@ module PulpContainerClient
|
|
|
163
173
|
@name = name
|
|
164
174
|
end
|
|
165
175
|
|
|
166
|
-
# Custom attribute writer method with validation
|
|
167
|
-
# @param [Object] retain_checkpoints Value to be assigned
|
|
168
|
-
def retain_checkpoints=(retain_checkpoints)
|
|
169
|
-
if !retain_checkpoints.nil? && retain_checkpoints < 1
|
|
170
|
-
fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
|
|
171
|
-
end
|
|
172
|
-
|
|
173
|
-
@retain_checkpoints = retain_checkpoints
|
|
174
|
-
end
|
|
175
|
-
|
|
176
176
|
# Custom attribute writer method with validation
|
|
177
177
|
# @param [Object] description Value to be assigned
|
|
178
178
|
def description=(description)
|
|
@@ -184,13 +184,13 @@ module PulpContainerClient
|
|
|
184
184
|
end
|
|
185
185
|
|
|
186
186
|
# Custom attribute writer method with validation
|
|
187
|
-
# @param [Object]
|
|
188
|
-
def
|
|
189
|
-
if !
|
|
190
|
-
fail ArgumentError, 'invalid value for "
|
|
187
|
+
# @param [Object] retain_checkpoints Value to be assigned
|
|
188
|
+
def retain_checkpoints=(retain_checkpoints)
|
|
189
|
+
if !retain_checkpoints.nil? && retain_checkpoints < 1
|
|
190
|
+
fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
|
|
191
191
|
end
|
|
192
192
|
|
|
193
|
-
@
|
|
193
|
+
@retain_checkpoints = retain_checkpoints
|
|
194
194
|
end
|
|
195
195
|
|
|
196
196
|
# Checks equality by comparing each attribute.
|
|
@@ -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
|
-
name == o.name &&
|
|
202
|
-
retain_checkpoints == o.retain_checkpoints &&
|
|
203
201
|
manifest_signing_service == o.manifest_signing_service &&
|
|
202
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
204
203
|
pulp_labels == o.pulp_labels &&
|
|
204
|
+
name == o.name &&
|
|
205
205
|
description == o.description &&
|
|
206
|
-
|
|
206
|
+
retain_checkpoints == o.retain_checkpoints
|
|
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
|
+
[manifest_signing_service, retain_repo_versions, pulp_labels, name, description, retain_checkpoints].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,7 +27,7 @@ describe PulpContainerClient::ContainerContainerDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "hidden"' 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
|
|
@@ -39,7 +39,7 @@ describe PulpContainerClient::ContainerContainerDistributionResponse do
|
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "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
|
|
@@ -51,55 +51,55 @@ describe PulpContainerClient::ContainerContainerDistributionResponse do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "pulp_labels"' 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 "pulp_href"' 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 "name"' 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 "repository"' 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 "no_content_change_since"' 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 "content_guard_prn"' 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_version"' 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 "pulp_created"' 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 "content_guard"' 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 "hidden"' 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 "base_path"' 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 "pulp_labels"' 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 "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 "content_guard"' 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
|