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