pulp_container_client 2.24.1 → 2.24.3
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 +13 -4
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
- data/docs/ContentBlobsApi.md +158 -0
- data/docs/ContentManifestsApi.md +158 -0
- data/docs/ContentSignaturesApi.md +158 -0
- data/docs/ContentTagsApi.md +158 -0
- data/docs/DistributionsContainerApi.md +76 -34
- data/docs/DistributionsPullThroughApi.md +76 -34
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PulpContainerNamespacesApi.md +40 -16
- data/docs/RemotesContainerApi.md +72 -32
- data/docs/RemotesPullThroughApi.md +72 -32
- data/docs/RepositoriesContainerApi.md +138 -64
- data/docs/RepositoriesContainerPushApi.md +80 -36
- data/docs/RepositoriesContainerPushVersionsApi.md +22 -10
- data/docs/RepositoriesContainerVersionsApi.md +22 -10
- data/docs/TokenApi.md +14 -5
- data/lib/pulp_container_client/api/content_blobs_api.rb +160 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +160 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +160 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +160 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +42 -3
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +42 -3
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +63 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +15 -3
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +15 -3
- data/lib/pulp_container_client/api/token_api.rb +9 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +49 -49
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +49 -49
- data/lib/pulp_container_client/models/container_container_push_repository.rb +46 -46
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +69 -69
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +46 -46
- 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/pulp_container_client.gemspec +0 -1
- data/spec/api/content_blobs_api_spec.rb +30 -0
- data/spec/api/content_manifests_api_spec.rb +30 -0
- data/spec/api/content_signatures_api_spec.rb +30 -0
- data/spec/api/content_tags_api_spec.rb +30 -0
- data/spec/api/distributions_container_api_spec.rb +14 -1
- data/spec/api/distributions_pull_through_api_spec.rb +14 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
- data/spec/api/remotes_container_api_spec.rb +12 -0
- data/spec/api/remotes_pull_through_api_spec.rb +12 -0
- data/spec/api/repositories_container_api_spec.rb +21 -0
- data/spec/api/repositories_container_push_api_spec.rb +13 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +5 -1
- data/spec/api/repositories_container_versions_api_spec.rb +5 -1
- data/spec/api/token_api_spec.rb +3 -0
- data/spec/models/container_container_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +11 -11
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +60 -80
|
@@ -24,6 +24,7 @@ module PulpContainerClient
|
|
|
24
24
|
# @param container_container_distribution_href [String]
|
|
25
25
|
# @param nested_role [NestedRole]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
28
|
# @return [NestedRoleResponse]
|
|
28
29
|
def add_role(container_container_distribution_href, nested_role, opts = {})
|
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
|
@@ -35,6 +36,7 @@ module PulpContainerClient
|
|
|
35
36
|
# @param container_container_distribution_href [String]
|
|
36
37
|
# @param nested_role [NestedRole]
|
|
37
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
39
41
|
def add_role_with_http_info(container_container_distribution_href, nested_role, opts = {})
|
|
40
42
|
if @api_client.config.debugging
|
|
@@ -63,6 +65,7 @@ module PulpContainerClient
|
|
|
63
65
|
if !content_type.nil?
|
|
64
66
|
header_params['Content-Type'] = content_type
|
|
65
67
|
end
|
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
66
69
|
|
|
67
70
|
# form parameters
|
|
68
71
|
form_params = opts[:form_params] || {}
|
|
@@ -97,6 +100,7 @@ module PulpContainerClient
|
|
|
97
100
|
# Trigger an asynchronous create task
|
|
98
101
|
# @param container_container_distribution [ContainerContainerDistribution]
|
|
99
102
|
# @param [Hash] opts the optional parameters
|
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
104
|
# @return [AsyncOperationResponse]
|
|
101
105
|
def create(container_container_distribution, opts = {})
|
|
102
106
|
data, _status_code, _headers = create_with_http_info(container_container_distribution, opts)
|
|
@@ -107,6 +111,7 @@ module PulpContainerClient
|
|
|
107
111
|
# Trigger an asynchronous create task
|
|
108
112
|
# @param container_container_distribution [ContainerContainerDistribution]
|
|
109
113
|
# @param [Hash] opts the optional parameters
|
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
110
115
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
111
116
|
def create_with_http_info(container_container_distribution, opts = {})
|
|
112
117
|
if @api_client.config.debugging
|
|
@@ -131,6 +136,7 @@ module PulpContainerClient
|
|
|
131
136
|
if !content_type.nil?
|
|
132
137
|
header_params['Content-Type'] = content_type
|
|
133
138
|
end
|
|
139
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
134
140
|
|
|
135
141
|
# form parameters
|
|
136
142
|
form_params = opts[:form_params] || {}
|
|
@@ -165,6 +171,7 @@ module PulpContainerClient
|
|
|
165
171
|
# Trigger an asynchronous delete task
|
|
166
172
|
# @param container_container_distribution_href [String]
|
|
167
173
|
# @param [Hash] opts the optional parameters
|
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
168
175
|
# @return [AsyncOperationResponse]
|
|
169
176
|
def delete(container_container_distribution_href, opts = {})
|
|
170
177
|
data, _status_code, _headers = delete_with_http_info(container_container_distribution_href, opts)
|
|
@@ -175,6 +182,7 @@ module PulpContainerClient
|
|
|
175
182
|
# Trigger an asynchronous delete task
|
|
176
183
|
# @param container_container_distribution_href [String]
|
|
177
184
|
# @param [Hash] opts the optional parameters
|
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
178
186
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
179
187
|
def delete_with_http_info(container_container_distribution_href, opts = {})
|
|
180
188
|
if @api_client.config.debugging
|
|
@@ -194,6 +202,7 @@ module PulpContainerClient
|
|
|
194
202
|
header_params = opts[:header_params] || {}
|
|
195
203
|
# HTTP header 'Accept' (if needed)
|
|
196
204
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
205
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
197
206
|
|
|
198
207
|
# form parameters
|
|
199
208
|
form_params = opts[:form_params] || {}
|
|
@@ -227,10 +236,12 @@ module PulpContainerClient
|
|
|
227
236
|
# List container distributions
|
|
228
237
|
# 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.
|
|
229
238
|
# @param [Hash] opts the optional parameters
|
|
239
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
230
240
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
231
241
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
232
242
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
233
243
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
|
244
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
234
245
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
235
246
|
# @option opts [String] :name Filter results where name matches value
|
|
236
247
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -243,7 +254,7 @@ module PulpContainerClient
|
|
|
243
254
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
244
255
|
# @option opts [String] :namespace__name
|
|
245
256
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
246
|
-
# @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)
|
|
257
|
+
# @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)
|
|
247
258
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
248
259
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
249
260
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -263,10 +274,12 @@ module PulpContainerClient
|
|
|
263
274
|
# List container distributions
|
|
264
275
|
# 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.
|
|
265
276
|
# @param [Hash] opts the optional parameters
|
|
277
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
266
278
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
267
279
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
268
280
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
269
281
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
|
282
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
270
283
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
271
284
|
# @option opts [String] :name Filter results where name matches value
|
|
272
285
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -279,7 +292,7 @@ module PulpContainerClient
|
|
|
279
292
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
280
293
|
# @option opts [String] :namespace__name
|
|
281
294
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
282
|
-
# @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)
|
|
295
|
+
# @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)
|
|
283
296
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
284
297
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
285
298
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -295,7 +308,7 @@ module PulpContainerClient
|
|
|
295
308
|
if @api_client.config.debugging
|
|
296
309
|
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.list ...'
|
|
297
310
|
end
|
|
298
|
-
allowable_values = ["-base_path", "-description", "-hidden", "-name", "-pk", "-private", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "description", "hidden", "name", "pk", "private", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
|
311
|
+
allowable_values = ["-base_path", "-checkpoint", "-description", "-hidden", "-name", "-pk", "-private", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "checkpoint", "description", "hidden", "name", "pk", "private", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
|
299
312
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
300
313
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
301
314
|
end
|
|
@@ -308,6 +321,7 @@ module PulpContainerClient
|
|
|
308
321
|
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
|
309
322
|
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
|
310
323
|
query_params[:'base_path__in'] = @api_client.build_collection_param(opts[:'base_path__in'], :csv) if !opts[:'base_path__in'].nil?
|
|
324
|
+
query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
|
|
311
325
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
312
326
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
313
327
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
|
@@ -336,6 +350,7 @@ module PulpContainerClient
|
|
|
336
350
|
header_params = opts[:header_params] || {}
|
|
337
351
|
# HTTP header 'Accept' (if needed)
|
|
338
352
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
353
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
339
354
|
|
|
340
355
|
# form parameters
|
|
341
356
|
form_params = opts[:form_params] || {}
|
|
@@ -370,6 +385,7 @@ module PulpContainerClient
|
|
|
370
385
|
# List roles assigned to this object.
|
|
371
386
|
# @param container_container_distribution_href [String]
|
|
372
387
|
# @param [Hash] opts the optional parameters
|
|
388
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
373
389
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
374
390
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
375
391
|
# @return [ObjectRolesResponse]
|
|
@@ -382,6 +398,7 @@ module PulpContainerClient
|
|
|
382
398
|
# List roles assigned to this object.
|
|
383
399
|
# @param container_container_distribution_href [String]
|
|
384
400
|
# @param [Hash] opts the optional parameters
|
|
401
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
385
402
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
386
403
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
387
404
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -405,6 +422,7 @@ module PulpContainerClient
|
|
|
405
422
|
header_params = opts[:header_params] || {}
|
|
406
423
|
# HTTP header 'Accept' (if needed)
|
|
407
424
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
425
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
408
426
|
|
|
409
427
|
# form parameters
|
|
410
428
|
form_params = opts[:form_params] || {}
|
|
@@ -439,6 +457,7 @@ module PulpContainerClient
|
|
|
439
457
|
# List permissions available to the current user on this object.
|
|
440
458
|
# @param container_container_distribution_href [String]
|
|
441
459
|
# @param [Hash] opts the optional parameters
|
|
460
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
442
461
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
443
462
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
444
463
|
# @return [MyPermissionsResponse]
|
|
@@ -451,6 +470,7 @@ module PulpContainerClient
|
|
|
451
470
|
# List permissions available to the current user on this object.
|
|
452
471
|
# @param container_container_distribution_href [String]
|
|
453
472
|
# @param [Hash] opts the optional parameters
|
|
473
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
454
474
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
455
475
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
456
476
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -474,6 +494,7 @@ module PulpContainerClient
|
|
|
474
494
|
header_params = opts[:header_params] || {}
|
|
475
495
|
# HTTP header 'Accept' (if needed)
|
|
476
496
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
497
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
477
498
|
|
|
478
499
|
# form parameters
|
|
479
500
|
form_params = opts[:form_params] || {}
|
|
@@ -509,6 +530,7 @@ module PulpContainerClient
|
|
|
509
530
|
# @param container_container_distribution_href [String]
|
|
510
531
|
# @param patchedcontainer_container_distribution [PatchedcontainerContainerDistribution]
|
|
511
532
|
# @param [Hash] opts the optional parameters
|
|
533
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
512
534
|
# @return [AsyncOperationResponse]
|
|
513
535
|
def partial_update(container_container_distribution_href, patchedcontainer_container_distribution, opts = {})
|
|
514
536
|
data, _status_code, _headers = partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
|
@@ -520,6 +542,7 @@ module PulpContainerClient
|
|
|
520
542
|
# @param container_container_distribution_href [String]
|
|
521
543
|
# @param patchedcontainer_container_distribution [PatchedcontainerContainerDistribution]
|
|
522
544
|
# @param [Hash] opts the optional parameters
|
|
545
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
523
546
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
524
547
|
def partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts = {})
|
|
525
548
|
if @api_client.config.debugging
|
|
@@ -548,6 +571,7 @@ module PulpContainerClient
|
|
|
548
571
|
if !content_type.nil?
|
|
549
572
|
header_params['Content-Type'] = content_type
|
|
550
573
|
end
|
|
574
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
551
575
|
|
|
552
576
|
# form parameters
|
|
553
577
|
form_params = opts[:form_params] || {}
|
|
@@ -582,6 +606,7 @@ module PulpContainerClient
|
|
|
582
606
|
# 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.
|
|
583
607
|
# @param container_container_distribution_href [String]
|
|
584
608
|
# @param [Hash] opts the optional parameters
|
|
609
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
585
610
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
586
611
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
587
612
|
# @return [ContainerContainerDistributionResponse]
|
|
@@ -594,6 +619,7 @@ module PulpContainerClient
|
|
|
594
619
|
# 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.
|
|
595
620
|
# @param container_container_distribution_href [String]
|
|
596
621
|
# @param [Hash] opts the optional parameters
|
|
622
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
597
623
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
598
624
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
599
625
|
# @return [Array<(ContainerContainerDistributionResponse, Integer, Hash)>] ContainerContainerDistributionResponse data, response status code and response headers
|
|
@@ -617,6 +643,7 @@ module PulpContainerClient
|
|
|
617
643
|
header_params = opts[:header_params] || {}
|
|
618
644
|
# HTTP header 'Accept' (if needed)
|
|
619
645
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
646
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
620
647
|
|
|
621
648
|
# form parameters
|
|
622
649
|
form_params = opts[:form_params] || {}
|
|
@@ -652,6 +679,7 @@ module PulpContainerClient
|
|
|
652
679
|
# @param container_container_distribution_href [String]
|
|
653
680
|
# @param nested_role [NestedRole]
|
|
654
681
|
# @param [Hash] opts the optional parameters
|
|
682
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
655
683
|
# @return [NestedRoleResponse]
|
|
656
684
|
def remove_role(container_container_distribution_href, nested_role, opts = {})
|
|
657
685
|
data, _status_code, _headers = remove_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
|
@@ -663,6 +691,7 @@ module PulpContainerClient
|
|
|
663
691
|
# @param container_container_distribution_href [String]
|
|
664
692
|
# @param nested_role [NestedRole]
|
|
665
693
|
# @param [Hash] opts the optional parameters
|
|
694
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
666
695
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
667
696
|
def remove_role_with_http_info(container_container_distribution_href, nested_role, opts = {})
|
|
668
697
|
if @api_client.config.debugging
|
|
@@ -691,6 +720,7 @@ module PulpContainerClient
|
|
|
691
720
|
if !content_type.nil?
|
|
692
721
|
header_params['Content-Type'] = content_type
|
|
693
722
|
end
|
|
723
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
694
724
|
|
|
695
725
|
# form parameters
|
|
696
726
|
form_params = opts[:form_params] || {}
|
|
@@ -726,6 +756,7 @@ module PulpContainerClient
|
|
|
726
756
|
# @param container_container_distribution_href [String]
|
|
727
757
|
# @param set_label [SetLabel]
|
|
728
758
|
# @param [Hash] opts the optional parameters
|
|
759
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
729
760
|
# @return [SetLabelResponse]
|
|
730
761
|
def set_label(container_container_distribution_href, set_label, opts = {})
|
|
731
762
|
data, _status_code, _headers = set_label_with_http_info(container_container_distribution_href, set_label, opts)
|
|
@@ -737,6 +768,7 @@ module PulpContainerClient
|
|
|
737
768
|
# @param container_container_distribution_href [String]
|
|
738
769
|
# @param set_label [SetLabel]
|
|
739
770
|
# @param [Hash] opts the optional parameters
|
|
771
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
740
772
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
|
741
773
|
def set_label_with_http_info(container_container_distribution_href, set_label, opts = {})
|
|
742
774
|
if @api_client.config.debugging
|
|
@@ -765,6 +797,7 @@ module PulpContainerClient
|
|
|
765
797
|
if !content_type.nil?
|
|
766
798
|
header_params['Content-Type'] = content_type
|
|
767
799
|
end
|
|
800
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
768
801
|
|
|
769
802
|
# form parameters
|
|
770
803
|
form_params = opts[:form_params] || {}
|
|
@@ -800,6 +833,7 @@ module PulpContainerClient
|
|
|
800
833
|
# @param container_container_distribution_href [String]
|
|
801
834
|
# @param unset_label [UnsetLabel]
|
|
802
835
|
# @param [Hash] opts the optional parameters
|
|
836
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
803
837
|
# @return [UnsetLabelResponse]
|
|
804
838
|
def unset_label(container_container_distribution_href, unset_label, opts = {})
|
|
805
839
|
data, _status_code, _headers = unset_label_with_http_info(container_container_distribution_href, unset_label, opts)
|
|
@@ -811,6 +845,7 @@ module PulpContainerClient
|
|
|
811
845
|
# @param container_container_distribution_href [String]
|
|
812
846
|
# @param unset_label [UnsetLabel]
|
|
813
847
|
# @param [Hash] opts the optional parameters
|
|
848
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
814
849
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
|
815
850
|
def unset_label_with_http_info(container_container_distribution_href, unset_label, opts = {})
|
|
816
851
|
if @api_client.config.debugging
|
|
@@ -839,6 +874,7 @@ module PulpContainerClient
|
|
|
839
874
|
if !content_type.nil?
|
|
840
875
|
header_params['Content-Type'] = content_type
|
|
841
876
|
end
|
|
877
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
842
878
|
|
|
843
879
|
# form parameters
|
|
844
880
|
form_params = opts[:form_params] || {}
|
|
@@ -874,6 +910,7 @@ module PulpContainerClient
|
|
|
874
910
|
# @param container_container_distribution_href [String]
|
|
875
911
|
# @param container_container_distribution [ContainerContainerDistribution]
|
|
876
912
|
# @param [Hash] opts the optional parameters
|
|
913
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
877
914
|
# @return [AsyncOperationResponse]
|
|
878
915
|
def update(container_container_distribution_href, container_container_distribution, opts = {})
|
|
879
916
|
data, _status_code, _headers = update_with_http_info(container_container_distribution_href, container_container_distribution, opts)
|
|
@@ -885,6 +922,7 @@ module PulpContainerClient
|
|
|
885
922
|
# @param container_container_distribution_href [String]
|
|
886
923
|
# @param container_container_distribution [ContainerContainerDistribution]
|
|
887
924
|
# @param [Hash] opts the optional parameters
|
|
925
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
888
926
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
889
927
|
def update_with_http_info(container_container_distribution_href, container_container_distribution, opts = {})
|
|
890
928
|
if @api_client.config.debugging
|
|
@@ -913,6 +951,7 @@ module PulpContainerClient
|
|
|
913
951
|
if !content_type.nil?
|
|
914
952
|
header_params['Content-Type'] = content_type
|
|
915
953
|
end
|
|
954
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
916
955
|
|
|
917
956
|
# form parameters
|
|
918
957
|
form_params = opts[:form_params] || {}
|