pulp_container_client 2.4.0.dev01613532120 → 2.4.0.dev01614136827
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 +19 -16
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +11 -11
- data/docs/ContentBlobsApi.md +12 -12
- data/docs/ContentManifestsApi.md +12 -12
- data/docs/ContentTagsApi.md +14 -14
- data/docs/{ContentGuardsContentRedirectApi.md → ContentguardsContentRedirectApi.md} +29 -29
- data/docs/DistributionsContainerApi.md +22 -22
- data/docs/ManifestCopy.md +1 -1
- data/docs/MediaTypesEnum.md +16 -0
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PulpContainerNamespacesApi.md +10 -10
- data/docs/RemotesContainerApi.md +24 -24
- data/docs/RemoveImage.md +17 -0
- data/docs/RepositoriesContainerApi.md +12 -12
- data/docs/RepositoriesContainerPushApi.md +68 -12
- data/docs/RepositoriesContainerVersionsApi.md +56 -56
- data/lib/pulp_container_client.rb +3 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +14 -14
- data/lib/pulp_container_client/api/content_manifests_api.rb +14 -14
- data/lib/pulp_container_client/api/content_tags_api.rb +17 -17
- data/lib/pulp_container_client/api/{content_guards_content_redirect_api.rb → contentguards_content_redirect_api.rb} +33 -33
- data/lib/pulp_container_client/api/distributions_container_api.rb +24 -24
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +11 -11
- data/lib/pulp_container_client/api/remotes_container_api.rb +26 -26
- data/lib/pulp_container_client/api/repositories_container_api.rb +13 -13
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +83 -13
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +100 -60
- data/lib/pulp_container_client/models/container_container_distribution.rb +27 -27
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +43 -43
- data/lib/pulp_container_client/models/manifest_copy.rb +1 -23
- data/lib/pulp_container_client/models/media_types_enum.rb +39 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +27 -27
- data/lib/pulp_container_client/models/remove_image.rb +213 -0
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +6 -6
- data/spec/api/content_manifests_api_spec.rb +6 -6
- data/spec/api/content_tags_api_spec.rb +7 -7
- data/spec/api/{content_guards_content_redirect_api_spec.rb → contentguards_content_redirect_api_spec.rb} +11 -11
- data/spec/api/distributions_container_api_spec.rb +11 -11
- data/spec/api/pulp_container_namespaces_api_spec.rb +5 -5
- data/spec/api/remotes_container_api_spec.rb +12 -12
- data/spec/api/repositories_container_api_spec.rb +6 -6
- data/spec/api/repositories_container_push_api_spec.rb +19 -6
- data/spec/api/repositories_container_versions_api_spec.rb +28 -28
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/manifest_copy_spec.rb +0 -4
- data/spec/models/media_types_enum_spec.rb +35 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/remove_image_spec.rb +41 -0
- metadata +14 -6
@@ -149,11 +149,11 @@ module PulpContainerClient
|
|
149
149
|
# ViewSet for ContainerNamespaces.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name name
|
153
|
-
# @option opts [String] :name__contains
|
154
|
-
# @option opts [String] :name__icontains
|
155
|
-
# @option opts [String] :name__in
|
156
|
-
# @option opts [String] :name__startswith
|
152
|
+
# @option opts [String] :name Filter results where name matches value
|
153
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
154
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
155
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
158
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
159
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -168,11 +168,11 @@ module PulpContainerClient
|
|
168
168
|
# ViewSet for ContainerNamespaces.
|
169
169
|
# @param [Hash] opts the optional parameters
|
170
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
|
-
# @option opts [String] :name name
|
172
|
-
# @option opts [String] :name__contains
|
173
|
-
# @option opts [String] :name__icontains
|
174
|
-
# @option opts [String] :name__in
|
175
|
-
# @option opts [String] :name__startswith
|
171
|
+
# @option opts [String] :name Filter results where name matches value
|
172
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
173
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
174
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
175
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
176
176
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
177
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
178
178
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -191,7 +191,7 @@ module PulpContainerClient
|
|
191
191
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
192
192
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
193
193
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
194
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
194
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
195
195
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
196
196
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
197
197
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -149,20 +149,20 @@ module PulpContainerClient
|
|
149
149
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name
|
153
|
-
# @option opts [String] :name__contains
|
154
|
-
# @option opts [String] :name__icontains
|
155
|
-
# @option opts [String] :name__in
|
156
|
-
# @option opts [String] :name__startswith
|
152
|
+
# @option opts [String] :name
|
153
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
154
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
155
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
158
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
159
|
-
# @option opts [String] :pulp_label_select
|
160
|
-
# @option opts [
|
161
|
-
# @option opts [
|
162
|
-
# @option opts [
|
163
|
-
# @option opts [
|
164
|
-
# @option opts [
|
165
|
-
# @option opts [
|
159
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
161
|
+
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
162
|
+
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
163
|
+
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
164
|
+
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
165
|
+
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
166
166
|
# @option opts [String] :fields A list of fields to include in the response.
|
167
167
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
168
168
|
# @return [PaginatedcontainerContainerRemoteResponseList]
|
@@ -175,20 +175,20 @@ module PulpContainerClient
|
|
175
175
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
176
176
|
# @param [Hash] opts the optional parameters
|
177
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
178
|
-
# @option opts [String] :name
|
179
|
-
# @option opts [String] :name__contains
|
180
|
-
# @option opts [String] :name__icontains
|
181
|
-
# @option opts [String] :name__in
|
182
|
-
# @option opts [String] :name__startswith
|
178
|
+
# @option opts [String] :name
|
179
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
180
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
181
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
182
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
183
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
184
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
185
|
-
# @option opts [String] :pulp_label_select
|
186
|
-
# @option opts [
|
187
|
-
# @option opts [
|
188
|
-
# @option opts [
|
189
|
-
# @option opts [
|
190
|
-
# @option opts [
|
191
|
-
# @option opts [
|
185
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
187
|
+
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
188
|
+
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
189
|
+
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
190
|
+
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
191
|
+
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
192
192
|
# @option opts [String] :fields A list of fields to include in the response.
|
193
193
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
194
194
|
# @return [Array<(PaginatedcontainerContainerRemoteResponseList, Integer, Hash)>] PaginatedcontainerContainerRemoteResponseList data, response status code and response headers
|
@@ -205,7 +205,7 @@ module PulpContainerClient
|
|
205
205
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
206
206
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
207
207
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
208
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
208
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
209
209
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
210
210
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
211
211
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -215,7 +215,7 @@ module PulpContainerClient
|
|
215
215
|
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
216
216
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
217
217
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
218
|
-
query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
|
218
|
+
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
219
219
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
220
220
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
221
221
|
|
@@ -435,14 +435,14 @@ module PulpContainerClient
|
|
435
435
|
# ViewSet for container repo.
|
436
436
|
# @param [Hash] opts the optional parameters
|
437
437
|
# @option opts [Integer] :limit Number of results to return per page.
|
438
|
-
# @option opts [String] :name
|
439
|
-
# @option opts [String] :name__contains
|
440
|
-
# @option opts [String] :name__icontains
|
441
|
-
# @option opts [String] :name__in
|
442
|
-
# @option opts [String] :name__startswith
|
438
|
+
# @option opts [String] :name
|
439
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
440
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
441
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
442
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
443
443
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
444
444
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
445
|
-
# @option opts [String] :pulp_label_select
|
445
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
446
446
|
# @option opts [String] :fields A list of fields to include in the response.
|
447
447
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
448
448
|
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
@@ -455,14 +455,14 @@ module PulpContainerClient
|
|
455
455
|
# ViewSet for container repo.
|
456
456
|
# @param [Hash] opts the optional parameters
|
457
457
|
# @option opts [Integer] :limit Number of results to return per page.
|
458
|
-
# @option opts [String] :name
|
459
|
-
# @option opts [String] :name__contains
|
460
|
-
# @option opts [String] :name__icontains
|
461
|
-
# @option opts [String] :name__in
|
462
|
-
# @option opts [String] :name__startswith
|
458
|
+
# @option opts [String] :name
|
459
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
460
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
461
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
462
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
463
463
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
464
464
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
465
|
-
# @option opts [String] :pulp_label_select
|
465
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
466
466
|
# @option opts [String] :fields A list of fields to include in the response.
|
467
467
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
468
468
|
# @return [Array<(PaginatedcontainerContainerRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerRepositoryResponseList data, response status code and response headers
|
@@ -479,7 +479,7 @@ module PulpContainerClient
|
|
479
479
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
480
480
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
481
481
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
482
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
482
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
483
483
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
484
484
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
485
485
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -23,14 +23,14 @@ module PulpContainerClient
|
|
23
23
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
|
-
# @option opts [String] :name
|
27
|
-
# @option opts [String] :name__contains
|
28
|
-
# @option opts [String] :name__icontains
|
29
|
-
# @option opts [String] :name__in
|
30
|
-
# @option opts [String] :name__startswith
|
26
|
+
# @option opts [String] :name
|
27
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
28
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
29
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
30
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
31
31
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
32
32
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
33
|
-
# @option opts [String] :pulp_label_select
|
33
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
34
34
|
# @option opts [String] :fields A list of fields to include in the response.
|
35
35
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
36
36
|
# @return [PaginatedcontainerContainerPushRepositoryResponseList]
|
@@ -43,14 +43,14 @@ module PulpContainerClient
|
|
43
43
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
44
44
|
# @param [Hash] opts the optional parameters
|
45
45
|
# @option opts [Integer] :limit Number of results to return per page.
|
46
|
-
# @option opts [String] :name
|
47
|
-
# @option opts [String] :name__contains
|
48
|
-
# @option opts [String] :name__icontains
|
49
|
-
# @option opts [String] :name__in
|
50
|
-
# @option opts [String] :name__startswith
|
46
|
+
# @option opts [String] :name
|
47
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
48
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
49
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
50
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
51
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
52
52
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
53
|
-
# @option opts [String] :pulp_label_select
|
53
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
54
54
|
# @option opts [String] :fields A list of fields to include in the response.
|
55
55
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
56
56
|
# @return [Array<(PaginatedcontainerContainerPushRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerPushRepositoryResponseList data, response status code and response headers
|
@@ -67,7 +67,7 @@ module PulpContainerClient
|
|
67
67
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
68
68
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
69
69
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
70
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
70
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
71
71
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
72
72
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
73
73
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -176,6 +176,76 @@ module PulpContainerClient
|
|
176
176
|
return data, status_code, headers
|
177
177
|
end
|
178
178
|
|
179
|
+
# Delete an image from a repository
|
180
|
+
# Trigger an asynchronous task to remove a manifest and all its associated data by a digest
|
181
|
+
# @param container_container_push_repository_href [String]
|
182
|
+
# @param remove_image [RemoveImage]
|
183
|
+
# @param [Hash] opts the optional parameters
|
184
|
+
# @return [AsyncOperationResponse]
|
185
|
+
def remove_image(container_container_push_repository_href, remove_image, opts = {})
|
186
|
+
data, _status_code, _headers = remove_image_with_http_info(container_container_push_repository_href, remove_image, opts)
|
187
|
+
data
|
188
|
+
end
|
189
|
+
|
190
|
+
# Delete an image from a repository
|
191
|
+
# Trigger an asynchronous task to remove a manifest and all its associated data by a digest
|
192
|
+
# @param container_container_push_repository_href [String]
|
193
|
+
# @param remove_image [RemoveImage]
|
194
|
+
# @param [Hash] opts the optional parameters
|
195
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
196
|
+
def remove_image_with_http_info(container_container_push_repository_href, remove_image, opts = {})
|
197
|
+
if @api_client.config.debugging
|
198
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.remove_image ...'
|
199
|
+
end
|
200
|
+
# verify the required parameter 'container_container_push_repository_href' is set
|
201
|
+
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
202
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.remove_image"
|
203
|
+
end
|
204
|
+
# verify the required parameter 'remove_image' is set
|
205
|
+
if @api_client.config.client_side_validation && remove_image.nil?
|
206
|
+
fail ArgumentError, "Missing the required parameter 'remove_image' when calling RepositoriesContainerPushApi.remove_image"
|
207
|
+
end
|
208
|
+
# resource path
|
209
|
+
local_var_path = '{container_container_push_repository_href}remove_image/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
210
|
+
|
211
|
+
# query parameters
|
212
|
+
query_params = opts[:query_params] || {}
|
213
|
+
|
214
|
+
# header parameters
|
215
|
+
header_params = opts[:header_params] || {}
|
216
|
+
# HTTP header 'Accept' (if needed)
|
217
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
218
|
+
# HTTP header 'Content-Type'
|
219
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
220
|
+
|
221
|
+
# form parameters
|
222
|
+
form_params = opts[:form_params] || {}
|
223
|
+
|
224
|
+
# http body (model)
|
225
|
+
post_body = opts[:body] || @api_client.object_to_http_body(remove_image)
|
226
|
+
|
227
|
+
# return_type
|
228
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
229
|
+
|
230
|
+
# auth_names
|
231
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
232
|
+
|
233
|
+
new_options = opts.merge(
|
234
|
+
:header_params => header_params,
|
235
|
+
:query_params => query_params,
|
236
|
+
:form_params => form_params,
|
237
|
+
:body => post_body,
|
238
|
+
:auth_names => auth_names,
|
239
|
+
:return_type => return_type
|
240
|
+
)
|
241
|
+
|
242
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
243
|
+
if @api_client.config.debugging
|
244
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushApi#remove_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
245
|
+
end
|
246
|
+
return data, status_code, headers
|
247
|
+
end
|
248
|
+
|
179
249
|
# Create a Tag
|
180
250
|
# Trigger an asynchronous task to tag an image in the repository
|
181
251
|
# @param container_container_push_repository_href [String]
|
@@ -147,23 +147,23 @@ module PulpContainerClient
|
|
147
147
|
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
148
148
|
# @param container_container_push_repository_href [String]
|
149
149
|
# @param [Hash] opts the optional parameters
|
150
|
-
# @option opts [String] :content
|
151
|
-
# @option opts [String] :content__in
|
150
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
151
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
152
152
|
# @option opts [Integer] :limit Number of results to return per page.
|
153
|
-
# @option opts [
|
154
|
-
# @option opts [
|
155
|
-
# @option opts [
|
156
|
-
# @option opts [
|
157
|
-
# @option opts [
|
158
|
-
# @option opts [
|
153
|
+
# @option opts [Integer] :number
|
154
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
155
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
156
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
157
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
158
|
+
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
159
159
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
160
160
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
161
|
-
# @option opts [
|
162
|
-
# @option opts [
|
163
|
-
# @option opts [
|
164
|
-
# @option opts [
|
165
|
-
# @option opts [
|
166
|
-
# @option opts [
|
161
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
162
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
163
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
164
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
165
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
166
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
167
167
|
# @option opts [String] :fields A list of fields to include in the response.
|
168
168
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
169
169
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -176,23 +176,23 @@ module PulpContainerClient
|
|
176
176
|
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
177
177
|
# @param container_container_push_repository_href [String]
|
178
178
|
# @param [Hash] opts the optional parameters
|
179
|
-
# @option opts [String] :content
|
180
|
-
# @option opts [String] :content__in
|
179
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
180
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
181
181
|
# @option opts [Integer] :limit Number of results to return per page.
|
182
|
-
# @option opts [
|
183
|
-
# @option opts [
|
184
|
-
# @option opts [
|
185
|
-
# @option opts [
|
186
|
-
# @option opts [
|
187
|
-
# @option opts [
|
182
|
+
# @option opts [Integer] :number
|
183
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
184
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
185
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
186
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
187
|
+
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
188
188
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
189
189
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
190
|
-
# @option opts [
|
191
|
-
# @option opts [
|
192
|
-
# @option opts [
|
193
|
-
# @option opts [
|
194
|
-
# @option opts [
|
195
|
-
# @option opts [
|
190
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
191
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
192
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
193
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
194
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
195
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
196
196
|
# @option opts [String] :fields A list of fields to include in the response.
|
197
197
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
198
198
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -204,6 +204,26 @@ module PulpContainerClient
|
|
204
204
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
205
205
|
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerVersionsApi.list"
|
206
206
|
end
|
207
|
+
if @api_client.config.client_side_validation && !opts[:'number'].nil? && opts[:'number'] > 2147483647
|
208
|
+
fail ArgumentError, 'invalid value for "opts[:"number"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
|
209
|
+
end
|
210
|
+
|
211
|
+
if @api_client.config.client_side_validation && !opts[:'number__gt'].nil? && opts[:'number__gt'] > 2147483647
|
212
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gt"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
|
213
|
+
end
|
214
|
+
|
215
|
+
if @api_client.config.client_side_validation && !opts[:'number__gte'].nil? && opts[:'number__gte'] > 2147483647
|
216
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gte"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
|
217
|
+
end
|
218
|
+
|
219
|
+
if @api_client.config.client_side_validation && !opts[:'number__lt'].nil? && opts[:'number__lt'] > 2147483647
|
220
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lt"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
|
221
|
+
end
|
222
|
+
|
223
|
+
if @api_client.config.client_side_validation && !opts[:'number__lte'].nil? && opts[:'number__lte'] > 2147483647
|
224
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lte"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
|
225
|
+
end
|
226
|
+
|
207
227
|
# resource path
|
208
228
|
local_var_path = '{container_container_push_repository_href}versions/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
209
229
|
|
@@ -217,7 +237,7 @@ module PulpContainerClient
|
|
217
237
|
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
218
238
|
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
219
239
|
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
220
|
-
query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
|
240
|
+
query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
|
221
241
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
222
242
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
223
243
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
@@ -225,7 +245,7 @@ module PulpContainerClient
|
|
225
245
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
226
246
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
227
247
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
228
|
-
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
248
|
+
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
229
249
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
230
250
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
231
251
|
|
@@ -266,23 +286,23 @@ module PulpContainerClient
|
|
266
286
|
# ContainerRepositoryVersion represents a single container repository version.
|
267
287
|
# @param container_container_repository_href [String]
|
268
288
|
# @param [Hash] opts the optional parameters
|
269
|
-
# @option opts [String] :content
|
270
|
-
# @option opts [String] :content__in
|
289
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
290
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
271
291
|
# @option opts [Integer] :limit Number of results to return per page.
|
272
|
-
# @option opts [
|
273
|
-
# @option opts [
|
274
|
-
# @option opts [
|
275
|
-
# @option opts [
|
276
|
-
# @option opts [
|
277
|
-
# @option opts [
|
292
|
+
# @option opts [Integer] :number
|
293
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
294
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
295
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
296
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
297
|
+
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
278
298
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
279
299
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
280
|
-
# @option opts [
|
281
|
-
# @option opts [
|
282
|
-
# @option opts [
|
283
|
-
# @option opts [
|
284
|
-
# @option opts [
|
285
|
-
# @option opts [
|
300
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
301
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
302
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
303
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
304
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
305
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
286
306
|
# @option opts [String] :fields A list of fields to include in the response.
|
287
307
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
288
308
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -295,23 +315,23 @@ module PulpContainerClient
|
|
295
315
|
# ContainerRepositoryVersion represents a single container repository version.
|
296
316
|
# @param container_container_repository_href [String]
|
297
317
|
# @param [Hash] opts the optional parameters
|
298
|
-
# @option opts [String] :content
|
299
|
-
# @option opts [String] :content__in
|
318
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
319
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
300
320
|
# @option opts [Integer] :limit Number of results to return per page.
|
301
|
-
# @option opts [
|
302
|
-
# @option opts [
|
303
|
-
# @option opts [
|
304
|
-
# @option opts [
|
305
|
-
# @option opts [
|
306
|
-
# @option opts [
|
321
|
+
# @option opts [Integer] :number
|
322
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
323
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
324
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
325
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
326
|
+
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
307
327
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
308
328
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
309
|
-
# @option opts [
|
310
|
-
# @option opts [
|
311
|
-
# @option opts [
|
312
|
-
# @option opts [
|
313
|
-
# @option opts [
|
314
|
-
# @option opts [
|
329
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
330
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
331
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
332
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
333
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
334
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
315
335
|
# @option opts [String] :fields A list of fields to include in the response.
|
316
336
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
317
337
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -323,6 +343,26 @@ module PulpContainerClient
|
|
323
343
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
324
344
|
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerVersionsApi.list_0"
|
325
345
|
end
|
346
|
+
if @api_client.config.client_side_validation && !opts[:'number'].nil? && opts[:'number'] > 2147483647
|
347
|
+
fail ArgumentError, 'invalid value for "opts[:"number"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
|
348
|
+
end
|
349
|
+
|
350
|
+
if @api_client.config.client_side_validation && !opts[:'number__gt'].nil? && opts[:'number__gt'] > 2147483647
|
351
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gt"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
|
352
|
+
end
|
353
|
+
|
354
|
+
if @api_client.config.client_side_validation && !opts[:'number__gte'].nil? && opts[:'number__gte'] > 2147483647
|
355
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gte"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
|
356
|
+
end
|
357
|
+
|
358
|
+
if @api_client.config.client_side_validation && !opts[:'number__lt'].nil? && opts[:'number__lt'] > 2147483647
|
359
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lt"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
|
360
|
+
end
|
361
|
+
|
362
|
+
if @api_client.config.client_side_validation && !opts[:'number__lte'].nil? && opts[:'number__lte'] > 2147483647
|
363
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lte"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
|
364
|
+
end
|
365
|
+
|
326
366
|
# resource path
|
327
367
|
local_var_path = '{container_container_repository_href}versions/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
328
368
|
|
@@ -336,7 +376,7 @@ module PulpContainerClient
|
|
336
376
|
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
337
377
|
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
338
378
|
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
339
|
-
query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
|
379
|
+
query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
|
340
380
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
341
381
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
342
382
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
@@ -344,7 +384,7 @@ module PulpContainerClient
|
|
344
384
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
345
385
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
346
386
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
347
|
-
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
387
|
+
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
348
388
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
349
389
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
350
390
|
|