pulp_container_client 2.14.13 → 2.15.0.dev1661401897
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.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +7 -10
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/ContainerContainerRemote.md +2 -2
- data/docs/ContainerContainerRemoteResponse.md +2 -4
- data/docs/ContainerContainerRepository.md +2 -2
- data/docs/ContainerContainerRepositoryResponse.md +2 -2
- data/docs/ContentBlobsApi.md +10 -14
- data/docs/ContentManifestsApi.md +12 -16
- data/docs/ContentSignaturesApi.md +10 -14
- data/docs/ContentTagsApi.md +12 -16
- data/docs/DistributionsContainerApi.md +22 -30
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +2 -2
- data/docs/PatchedcontainerContainerRepository.md +2 -2
- data/docs/PulpContainerNamespacesApi.md +18 -22
- data/docs/RemotesContainerApi.md +22 -26
- data/docs/RepositoriesContainerApi.md +21 -41
- data/docs/RepositoriesContainerPushApi.md +21 -41
- data/docs/RepositoriesContainerPushVersionsApi.md +14 -16
- data/docs/RepositoriesContainerVersionsApi.md +14 -16
- data/lib/pulp_container_client/api/content_blobs_api.rb +15 -21
- data/lib/pulp_container_client/api/content_manifests_api.rb +17 -23
- data/lib/pulp_container_client/api/content_signatures_api.rb +15 -21
- data/lib/pulp_container_client/api/content_tags_api.rb +17 -23
- data/lib/pulp_container_client/api/distributions_container_api.rb +31 -43
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +27 -33
- data/lib/pulp_container_client/api/remotes_container_api.rb +31 -37
- data/lib/pulp_container_client/api/repositories_container_api.rb +29 -59
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +29 -59
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +19 -22
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +19 -22
- data/lib/pulp_container_client/models/container_container_distribution.rb +48 -50
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +38 -40
- data/lib/pulp_container_client/models/container_container_push_repository.rb +25 -27
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +47 -49
- data/lib/pulp_container_client/models/container_container_remote.rb +3 -5
- data/lib/pulp_container_client/models/container_container_remote_response.rb +4 -18
- data/lib/pulp_container_client/models/container_container_repository.rb +3 -5
- data/lib/pulp_container_client/models/container_container_repository_response.rb +3 -5
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +39 -41
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +25 -27
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +3 -5
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +3 -5
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -1
- data/spec/api/content_blobs_api_spec.rb +5 -7
- data/spec/api/content_manifests_api_spec.rb +6 -8
- data/spec/api/content_signatures_api_spec.rb +5 -7
- data/spec/api/content_tags_api_spec.rb +6 -8
- data/spec/api/distributions_container_api_spec.rb +11 -15
- data/spec/api/pulp_container_namespaces_api_spec.rb +9 -11
- data/spec/api/remotes_container_api_spec.rb +11 -13
- data/spec/api/repositories_container_api_spec.rb +10 -20
- data/spec/api/repositories_container_push_api_spec.rb +10 -20
- data/spec/api/repositories_container_push_versions_api_spec.rb +7 -8
- data/spec/api/repositories_container_versions_api_spec.rb +7 -8
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/container_container_remote_response_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +46 -50
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -215
- data/spec/models/container_container_remote_response_hidden_fields_spec.rb +0 -47
|
@@ -15,19 +15,19 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class PatchedcontainerContainerDistribution
|
|
18
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
19
|
+
attr_accessor :base_path
|
|
20
|
+
|
|
18
21
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
22
|
attr_accessor :content_guard
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :repository
|
|
24
|
+
attr_accessor :pulp_labels
|
|
23
25
|
|
|
24
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
27
|
attr_accessor :name
|
|
26
28
|
|
|
27
|
-
# The
|
|
28
|
-
attr_accessor :
|
|
29
|
-
|
|
30
|
-
attr_accessor :pulp_labels
|
|
29
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
30
|
+
attr_accessor :repository
|
|
31
31
|
|
|
32
32
|
# RepositoryVersion to be served
|
|
33
33
|
attr_accessor :repository_version
|
|
@@ -41,11 +41,11 @@ module PulpContainerClient
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
-
:'content_guard' => :'content_guard',
|
|
45
|
-
:'repository' => :'repository',
|
|
46
|
-
:'name' => :'name',
|
|
47
44
|
:'base_path' => :'base_path',
|
|
45
|
+
:'content_guard' => :'content_guard',
|
|
48
46
|
:'pulp_labels' => :'pulp_labels',
|
|
47
|
+
:'name' => :'name',
|
|
48
|
+
:'repository' => :'repository',
|
|
49
49
|
:'repository_version' => :'repository_version',
|
|
50
50
|
:'private' => :'private',
|
|
51
51
|
:'description' => :'description'
|
|
@@ -55,11 +55,11 @@ module PulpContainerClient
|
|
|
55
55
|
# Attribute type mapping.
|
|
56
56
|
def self.openapi_types
|
|
57
57
|
{
|
|
58
|
+
:'base_path' => :'String',
|
|
58
59
|
:'content_guard' => :'String',
|
|
59
|
-
:'
|
|
60
|
+
:'pulp_labels' => :'Object',
|
|
60
61
|
:'name' => :'String',
|
|
61
|
-
:'
|
|
62
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
62
|
+
:'repository' => :'String',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
65
65
|
:'description' => :'String'
|
|
@@ -90,26 +90,24 @@ module PulpContainerClient
|
|
|
90
90
|
h[k.to_sym] = v
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
if attributes.key?(:'base_path')
|
|
94
|
+
self.base_path = attributes[:'base_path']
|
|
95
|
+
end
|
|
96
|
+
|
|
93
97
|
if attributes.key?(:'content_guard')
|
|
94
98
|
self.content_guard = attributes[:'content_guard']
|
|
95
99
|
end
|
|
96
100
|
|
|
97
|
-
if attributes.key?(:'
|
|
98
|
-
self.
|
|
101
|
+
if attributes.key?(:'pulp_labels')
|
|
102
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
|
99
103
|
end
|
|
100
104
|
|
|
101
105
|
if attributes.key?(:'name')
|
|
102
106
|
self.name = attributes[:'name']
|
|
103
107
|
end
|
|
104
108
|
|
|
105
|
-
if attributes.key?(:'
|
|
106
|
-
self.
|
|
107
|
-
end
|
|
108
|
-
|
|
109
|
-
if attributes.key?(:'pulp_labels')
|
|
110
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
111
|
-
self.pulp_labels = value
|
|
112
|
-
end
|
|
109
|
+
if attributes.key?(:'repository')
|
|
110
|
+
self.repository = attributes[:'repository']
|
|
113
111
|
end
|
|
114
112
|
|
|
115
113
|
if attributes.key?(:'repository_version')
|
|
@@ -129,14 +127,14 @@ module PulpContainerClient
|
|
|
129
127
|
# @return Array for valid properties with the reasons
|
|
130
128
|
def list_invalid_properties
|
|
131
129
|
invalid_properties = Array.new
|
|
132
|
-
if !@name.nil? && @name.to_s.length < 1
|
|
133
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
134
|
-
end
|
|
135
|
-
|
|
136
130
|
if !@base_path.nil? && @base_path.to_s.length < 1
|
|
137
131
|
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
|
138
132
|
end
|
|
139
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
|
+
|
|
140
138
|
if !@description.nil? && @description.to_s.length < 1
|
|
141
139
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
142
140
|
end
|
|
@@ -147,22 +145,12 @@ module PulpContainerClient
|
|
|
147
145
|
# Check to see if the all the properties in the model are valid
|
|
148
146
|
# @return true if the model is valid
|
|
149
147
|
def valid?
|
|
150
|
-
return false if !@name.nil? && @name.to_s.length < 1
|
|
151
148
|
return false if !@base_path.nil? && @base_path.to_s.length < 1
|
|
149
|
+
return false if !@name.nil? && @name.to_s.length < 1
|
|
152
150
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
153
151
|
true
|
|
154
152
|
end
|
|
155
153
|
|
|
156
|
-
# Custom attribute writer method with validation
|
|
157
|
-
# @param [Object] name Value to be assigned
|
|
158
|
-
def name=(name)
|
|
159
|
-
if !name.nil? && name.to_s.length < 1
|
|
160
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
161
|
-
end
|
|
162
|
-
|
|
163
|
-
@name = name
|
|
164
|
-
end
|
|
165
|
-
|
|
166
154
|
# Custom attribute writer method with validation
|
|
167
155
|
# @param [Object] base_path Value to be assigned
|
|
168
156
|
def base_path=(base_path)
|
|
@@ -173,6 +161,16 @@ module PulpContainerClient
|
|
|
173
161
|
@base_path = base_path
|
|
174
162
|
end
|
|
175
163
|
|
|
164
|
+
# Custom attribute writer method with validation
|
|
165
|
+
# @param [Object] name Value to be assigned
|
|
166
|
+
def name=(name)
|
|
167
|
+
if !name.nil? && name.to_s.length < 1
|
|
168
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
@name = name
|
|
172
|
+
end
|
|
173
|
+
|
|
176
174
|
# Custom attribute writer method with validation
|
|
177
175
|
# @param [Object] description Value to be assigned
|
|
178
176
|
def description=(description)
|
|
@@ -188,11 +186,11 @@ module PulpContainerClient
|
|
|
188
186
|
def ==(o)
|
|
189
187
|
return true if self.equal?(o)
|
|
190
188
|
self.class == o.class &&
|
|
191
|
-
content_guard == o.content_guard &&
|
|
192
|
-
repository == o.repository &&
|
|
193
|
-
name == o.name &&
|
|
194
189
|
base_path == o.base_path &&
|
|
190
|
+
content_guard == o.content_guard &&
|
|
195
191
|
pulp_labels == o.pulp_labels &&
|
|
192
|
+
name == o.name &&
|
|
193
|
+
repository == o.repository &&
|
|
196
194
|
repository_version == o.repository_version &&
|
|
197
195
|
private == o.private &&
|
|
198
196
|
description == o.description
|
|
@@ -207,7 +205,7 @@ module PulpContainerClient
|
|
|
207
205
|
# Calculates hash code according to all attributes.
|
|
208
206
|
# @return [Integer] Hash code
|
|
209
207
|
def hash
|
|
210
|
-
[content_guard,
|
|
208
|
+
[base_path, content_guard, pulp_labels, name, repository, repository_version, private, description].hash
|
|
211
209
|
end
|
|
212
210
|
|
|
213
211
|
# Builds the object from hash
|
|
@@ -15,48 +15,48 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class PatchedcontainerContainerPushRepository
|
|
18
|
-
#
|
|
18
|
+
# A reference to an associated signing service.
|
|
19
|
+
attr_accessor :manifest_signing_service
|
|
20
|
+
|
|
21
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
|
19
22
|
attr_accessor :retain_repo_versions
|
|
20
23
|
|
|
24
|
+
attr_accessor :pulp_labels
|
|
25
|
+
|
|
21
26
|
# An optional description.
|
|
22
27
|
attr_accessor :description
|
|
23
28
|
|
|
24
29
|
# A unique name for this repository.
|
|
25
30
|
attr_accessor :name
|
|
26
31
|
|
|
27
|
-
attr_accessor :pulp_labels
|
|
28
|
-
|
|
29
|
-
# A reference to an associated signing service.
|
|
30
|
-
attr_accessor :manifest_signing_service
|
|
31
|
-
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
35
36
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
36
|
-
:'description' => :'description',
|
|
37
|
-
:'name' => :'name',
|
|
38
37
|
:'pulp_labels' => :'pulp_labels',
|
|
39
|
-
:'
|
|
38
|
+
:'description' => :'description',
|
|
39
|
+
:'name' => :'name'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
# Attribute type mapping.
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
|
+
:'manifest_signing_service' => :'String',
|
|
46
47
|
:'retain_repo_versions' => :'Integer',
|
|
48
|
+
:'pulp_labels' => :'Object',
|
|
47
49
|
:'description' => :'String',
|
|
48
|
-
:'name' => :'String'
|
|
49
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
50
|
-
:'manifest_signing_service' => :'String'
|
|
50
|
+
:'name' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# List of attributes with nullable: true
|
|
55
55
|
def self.openapi_nullable
|
|
56
56
|
Set.new([
|
|
57
|
+
:'manifest_signing_service',
|
|
57
58
|
:'retain_repo_versions',
|
|
58
59
|
:'description',
|
|
59
|
-
:'manifest_signing_service'
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -75,10 +75,18 @@ module PulpContainerClient
|
|
|
75
75
|
h[k.to_sym] = v
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
if attributes.key?(:'manifest_signing_service')
|
|
79
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
80
|
+
end
|
|
81
|
+
|
|
78
82
|
if attributes.key?(:'retain_repo_versions')
|
|
79
83
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
80
84
|
end
|
|
81
85
|
|
|
86
|
+
if attributes.key?(:'pulp_labels')
|
|
87
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
|
88
|
+
end
|
|
89
|
+
|
|
82
90
|
if attributes.key?(:'description')
|
|
83
91
|
self.description = attributes[:'description']
|
|
84
92
|
end
|
|
@@ -86,16 +94,6 @@ module PulpContainerClient
|
|
|
86
94
|
if attributes.key?(:'name')
|
|
87
95
|
self.name = attributes[:'name']
|
|
88
96
|
end
|
|
89
|
-
|
|
90
|
-
if attributes.key?(:'pulp_labels')
|
|
91
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
92
|
-
self.pulp_labels = value
|
|
93
|
-
end
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
if attributes.key?(:'manifest_signing_service')
|
|
97
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
98
|
-
end
|
|
99
97
|
end
|
|
100
98
|
|
|
101
99
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -161,11 +159,11 @@ module PulpContainerClient
|
|
|
161
159
|
def ==(o)
|
|
162
160
|
return true if self.equal?(o)
|
|
163
161
|
self.class == o.class &&
|
|
162
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
164
163
|
retain_repo_versions == o.retain_repo_versions &&
|
|
165
|
-
description == o.description &&
|
|
166
|
-
name == o.name &&
|
|
167
164
|
pulp_labels == o.pulp_labels &&
|
|
168
|
-
|
|
165
|
+
description == o.description &&
|
|
166
|
+
name == o.name
|
|
169
167
|
end
|
|
170
168
|
|
|
171
169
|
# @see the `==` method
|
|
@@ -177,7 +175,7 @@ module PulpContainerClient
|
|
|
177
175
|
# Calculates hash code according to all attributes.
|
|
178
176
|
# @return [Integer] Hash code
|
|
179
177
|
def hash
|
|
180
|
-
[
|
|
178
|
+
[manifest_signing_service, retain_repo_versions, pulp_labels, description, name].hash
|
|
181
179
|
end
|
|
182
180
|
|
|
183
181
|
# Builds the object from hash
|
|
@@ -56,7 +56,7 @@ module PulpContainerClient
|
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
57
57
|
attr_accessor :max_retries
|
|
58
58
|
|
|
59
|
-
# immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
|
|
59
|
+
# immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
|
|
60
60
|
attr_accessor :policy
|
|
61
61
|
|
|
62
62
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
@@ -134,7 +134,7 @@ module PulpContainerClient
|
|
|
134
134
|
:'proxy_password' => :'String',
|
|
135
135
|
:'username' => :'String',
|
|
136
136
|
:'password' => :'String',
|
|
137
|
-
:'pulp_labels' => :'
|
|
137
|
+
:'pulp_labels' => :'Object',
|
|
138
138
|
:'download_concurrency' => :'Integer',
|
|
139
139
|
:'max_retries' => :'Integer',
|
|
140
140
|
:'policy' => :'PolicyEnum',
|
|
@@ -234,9 +234,7 @@ module PulpContainerClient
|
|
|
234
234
|
end
|
|
235
235
|
|
|
236
236
|
if attributes.key?(:'pulp_labels')
|
|
237
|
-
|
|
238
|
-
self.pulp_labels = value
|
|
239
|
-
end
|
|
237
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
|
240
238
|
end
|
|
241
239
|
|
|
242
240
|
if attributes.key?(:'download_concurrency')
|
|
@@ -23,7 +23,7 @@ module PulpContainerClient
|
|
|
23
23
|
# An optional description.
|
|
24
24
|
attr_accessor :description
|
|
25
25
|
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
|
27
27
|
attr_accessor :retain_repo_versions
|
|
28
28
|
|
|
29
29
|
# An optional remote to use by default when syncing.
|
|
@@ -47,7 +47,7 @@ module PulpContainerClient
|
|
|
47
47
|
# Attribute type mapping.
|
|
48
48
|
def self.openapi_types
|
|
49
49
|
{
|
|
50
|
-
:'pulp_labels' => :'
|
|
50
|
+
:'pulp_labels' => :'Object',
|
|
51
51
|
:'name' => :'String',
|
|
52
52
|
:'description' => :'String',
|
|
53
53
|
:'retain_repo_versions' => :'Integer',
|
|
@@ -82,9 +82,7 @@ module PulpContainerClient
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
if attributes.key?(:'pulp_labels')
|
|
85
|
-
|
|
86
|
-
self.pulp_labels = value
|
|
87
|
-
end
|
|
85
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
|
88
86
|
end
|
|
89
87
|
|
|
90
88
|
if attributes.key?(:'name')
|
|
@@ -27,7 +27,6 @@ require 'pulp_container_client/models/container_container_push_repository'
|
|
|
27
27
|
require 'pulp_container_client/models/container_container_push_repository_response'
|
|
28
28
|
require 'pulp_container_client/models/container_container_remote'
|
|
29
29
|
require 'pulp_container_client/models/container_container_remote_response'
|
|
30
|
-
require 'pulp_container_client/models/container_container_remote_response_hidden_fields'
|
|
31
30
|
require 'pulp_container_client/models/container_container_repository'
|
|
32
31
|
require 'pulp_container_client/models/container_container_repository_response'
|
|
33
32
|
require 'pulp_container_client/models/container_manifest_response'
|
|
@@ -40,14 +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
|
|
44
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
45
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
43
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
46
44
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
47
45
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
48
46
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
49
|
-
# @option opts [
|
|
50
|
-
# @option opts [
|
|
47
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
48
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
51
49
|
# @return [PaginatedcontainerBlobResponseList]
|
|
52
50
|
describe 'list test' do
|
|
53
51
|
it 'should work' do
|
|
@@ -60,8 +58,8 @@ describe 'ContentBlobsApi' do
|
|
|
60
58
|
# ViewSet for Blobs.
|
|
61
59
|
# @param container_blob_href
|
|
62
60
|
# @param [Hash] opts the optional parameters
|
|
63
|
-
# @option opts [
|
|
64
|
-
# @option opts [
|
|
61
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
62
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
65
63
|
# @return [ContainerBlobResponse]
|
|
66
64
|
describe 'read test' do
|
|
67
65
|
it 'should work' do
|
|
@@ -39,16 +39,14 @@ describe 'ContentManifestsApi' do
|
|
|
39
39
|
# @option opts [String] :digest Filter results where digest matches value
|
|
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
|
-
# @option opts [Array<String>] :media_type
|
|
42
|
+
# @option opts [Array<String>] :media_type
|
|
43
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
44
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
45
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
46
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
44
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
47
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
48
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
49
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
50
|
-
# @option opts [
|
|
51
|
-
# @option opts [
|
|
48
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
49
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
52
50
|
# @return [PaginatedcontainerManifestResponseList]
|
|
53
51
|
describe 'list test' do
|
|
54
52
|
it 'should work' do
|
|
@@ -61,8 +59,8 @@ describe 'ContentManifestsApi' do
|
|
|
61
59
|
# ViewSet for Manifest.
|
|
62
60
|
# @param container_manifest_href
|
|
63
61
|
# @param [Hash] opts the optional parameters
|
|
64
|
-
# @option opts [
|
|
65
|
-
# @option opts [
|
|
62
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
63
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
66
64
|
# @return [ContainerManifestResponse]
|
|
67
65
|
describe 'read test' do
|
|
68
66
|
it 'should work' do
|
|
@@ -48,14 +48,12 @@ describe 'ContentSignaturesApi' do
|
|
|
48
48
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
49
49
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
50
50
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
51
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
52
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
53
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
51
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
54
52
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
55
53
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
56
54
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
57
|
-
# @option opts [
|
|
58
|
-
# @option opts [
|
|
55
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
56
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
59
57
|
# @return [PaginatedcontainerManifestSignatureResponseList]
|
|
60
58
|
describe 'list test' do
|
|
61
59
|
it 'should work' do
|
|
@@ -68,8 +66,8 @@ describe 'ContentSignaturesApi' do
|
|
|
68
66
|
# ViewSet for image signatures.
|
|
69
67
|
# @param container_manifest_signature_href
|
|
70
68
|
# @param [Hash] opts the optional parameters
|
|
71
|
-
# @option opts [
|
|
72
|
-
# @option opts [
|
|
69
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
70
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
73
71
|
# @return [ContainerManifestSignatureResponse]
|
|
74
72
|
describe 'read test' do
|
|
75
73
|
it 'should work' do
|
|
@@ -38,18 +38,16 @@ describe 'ContentTagsApi' do
|
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
41
|
-
# @option opts [Array<String>] :media_type
|
|
41
|
+
# @option opts [Array<String>] :media_type
|
|
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
|
|
46
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
47
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
45
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
48
46
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
49
47
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
50
48
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
51
|
-
# @option opts [
|
|
52
|
-
# @option opts [
|
|
49
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
50
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
53
51
|
# @return [PaginatedcontainerTagResponseList]
|
|
54
52
|
describe 'list test' do
|
|
55
53
|
it 'should work' do
|
|
@@ -62,8 +60,8 @@ describe 'ContentTagsApi' do
|
|
|
62
60
|
# ViewSet for Tag.
|
|
63
61
|
# @param container_tag_href
|
|
64
62
|
# @param [Hash] opts the optional parameters
|
|
65
|
-
# @option opts [
|
|
66
|
-
# @option opts [
|
|
63
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
64
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
67
65
|
# @return [ContainerTagResponse]
|
|
68
66
|
describe 'read test' do
|
|
69
67
|
it 'should work' do
|
|
@@ -72,27 +72,23 @@ describe 'DistributionsContainerApi' do
|
|
|
72
72
|
# List container distributions
|
|
73
73
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
|
-
# @option opts [String] :base_path
|
|
75
|
+
# @option opts [String] :base_path
|
|
76
76
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
77
77
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
78
78
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
|
79
79
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
80
|
-
# @option opts [String] :name
|
|
80
|
+
# @option opts [String] :name
|
|
81
81
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
82
82
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
83
83
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
84
84
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
85
85
|
# @option opts [String] :namespace__name
|
|
86
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
87
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
88
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
89
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
87
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
90
88
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
91
|
-
# @option opts [String] :repository Filter results where repository matches value
|
|
92
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
|
93
89
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
94
|
-
# @option opts [
|
|
95
|
-
# @option opts [
|
|
90
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
91
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
96
92
|
# @return [PaginatedcontainerContainerDistributionResponseList]
|
|
97
93
|
describe 'list test' do
|
|
98
94
|
it 'should work' do
|
|
@@ -104,8 +100,8 @@ describe 'DistributionsContainerApi' do
|
|
|
104
100
|
# List roles assigned to this object.
|
|
105
101
|
# @param container_container_distribution_href
|
|
106
102
|
# @param [Hash] opts the optional parameters
|
|
107
|
-
# @option opts [
|
|
108
|
-
# @option opts [
|
|
103
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
104
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
109
105
|
# @return [ObjectRolesResponse]
|
|
110
106
|
describe 'list_roles test' do
|
|
111
107
|
it 'should work' do
|
|
@@ -117,8 +113,8 @@ describe 'DistributionsContainerApi' do
|
|
|
117
113
|
# List permissions available to the current user on this object.
|
|
118
114
|
# @param container_container_distribution_href
|
|
119
115
|
# @param [Hash] opts the optional parameters
|
|
120
|
-
# @option opts [
|
|
121
|
-
# @option opts [
|
|
116
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
117
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
122
118
|
# @return [MyPermissionsResponse]
|
|
123
119
|
describe 'my_permissions test' do
|
|
124
120
|
it 'should work' do
|
|
@@ -144,8 +140,8 @@ describe 'DistributionsContainerApi' do
|
|
|
144
140
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
|
145
141
|
# @param container_container_distribution_href
|
|
146
142
|
# @param [Hash] opts the optional parameters
|
|
147
|
-
# @option opts [
|
|
148
|
-
# @option opts [
|
|
143
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
144
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
149
145
|
# @return [ContainerContainerDistributionResponse]
|
|
150
146
|
describe 'read test' do
|
|
151
147
|
it 'should work' do
|
|
@@ -79,11 +79,9 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
79
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
80
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
82
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
83
|
-
# @option opts [
|
|
84
|
-
# @option opts [
|
|
85
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
86
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
83
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
84
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
87
85
|
# @return [PaginatedcontainerContainerNamespaceResponseList]
|
|
88
86
|
describe 'list test' do
|
|
89
87
|
it 'should work' do
|
|
@@ -95,8 +93,8 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
95
93
|
# List roles assigned to this object.
|
|
96
94
|
# @param container_container_namespace_href
|
|
97
95
|
# @param [Hash] opts the optional parameters
|
|
98
|
-
# @option opts [
|
|
99
|
-
# @option opts [
|
|
96
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
97
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
100
98
|
# @return [ObjectRolesResponse]
|
|
101
99
|
describe 'list_roles test' do
|
|
102
100
|
it 'should work' do
|
|
@@ -108,8 +106,8 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
108
106
|
# List permissions available to the current user on this object.
|
|
109
107
|
# @param container_container_namespace_href
|
|
110
108
|
# @param [Hash] opts the optional parameters
|
|
111
|
-
# @option opts [
|
|
112
|
-
# @option opts [
|
|
109
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
110
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
113
111
|
# @return [MyPermissionsResponse]
|
|
114
112
|
describe 'my_permissions test' do
|
|
115
113
|
it 'should work' do
|
|
@@ -122,8 +120,8 @@ describe 'PulpContainerNamespacesApi' do
|
|
|
122
120
|
# ViewSet for ContainerNamespaces.
|
|
123
121
|
# @param container_container_namespace_href
|
|
124
122
|
# @param [Hash] opts the optional parameters
|
|
125
|
-
# @option opts [
|
|
126
|
-
# @option opts [
|
|
123
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
124
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
127
125
|
# @return [ContainerContainerNamespaceResponse]
|
|
128
126
|
describe 'read test' do
|
|
129
127
|
it 'should work' do
|