pulp_container_client 2.20.6 → 2.20.7
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 +7 -6
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPullThroughDistribution.md +5 -5
- data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -9
- data/docs/ContainerContainerPullThroughRemote.md +1 -1
- data/docs/ContainerContainerPullThroughRemoteResponse.md +1 -1
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContentBlobsApi.md +4 -0
- data/docs/ContentManifestsApi.md +4 -0
- data/docs/ContentSignaturesApi.md +4 -0
- data/docs/ContentTagsApi.md +4 -0
- data/docs/DistributionsContainerApi.md +56 -16
- data/docs/DistributionsPullThroughApi.md +56 -16
- data/docs/OCIBuildImage.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPullThroughRemote.md +1 -1
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/{Policy762Enum.md → Policy692Enum.md} +2 -2
- data/docs/{Policy8e2Enum.md → Policy7e0Enum.md} +2 -2
- data/docs/PulpContainerNamespacesApi.md +32 -8
- data/docs/RemotesContainerApi.md +56 -16
- data/docs/RemotesPullThroughApi.md +56 -16
- data/docs/RepositoriesContainerApi.md +108 -34
- data/docs/RepositoriesContainerPushApi.md +62 -18
- data/docs/RepositoriesContainerPushVersionsApi.md +16 -4
- data/docs/RepositoriesContainerVersionsApi.md +16 -4
- data/docs/TokenApi.md +13 -3
- data/lib/pulp_container_client/api/content_blobs_api.rb +6 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +6 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +6 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +6 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +36 -0
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +36 -0
- 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 +65 -2
- 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 +12 -0
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +12 -0
- 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 +42 -42
- 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 +42 -42
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository.rb +44 -44
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -49
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- 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_pull_through_remote.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +44 -44
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/{policy762_enum.rb → policy692_enum.rb} +3 -3
- data/lib/pulp_container_client/models/{policy8e2_enum.rb → policy7e0_enum.rb} +3 -3
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +2 -2
- data/spec/api/content_blobs_api_spec.rb +2 -0
- data/spec/api/content_manifests_api_spec.rb +2 -0
- data/spec/api/content_signatures_api_spec.rb +2 -0
- data/spec/api/content_tags_api_spec.rb +2 -0
- data/spec/api/distributions_container_api_spec.rb +12 -0
- data/spec/api/distributions_pull_through_api_spec.rb +12 -0
- 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 +22 -1
- data/spec/api/repositories_container_push_api_spec.rb +13 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +4 -0
- data/spec/api/repositories_container_versions_api_spec.rb +4 -0
- data/spec/api/token_api_spec.rb +3 -0
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/{policy762_enum_spec.rb → policy692_enum_spec.rb} +6 -6
- data/spec/models/{policy8e2_enum_spec.rb → policy7e0_enum_spec.rb} +6 -6
- metadata +67 -67
|
@@ -24,6 +24,7 @@ module PulpContainerClient
|
|
|
24
24
|
# @param container_container_repository_href [String]
|
|
25
25
|
# @param recursive_manage [RecursiveManage]
|
|
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 [AsyncOperationResponse]
|
|
28
29
|
def add(container_container_repository_href, recursive_manage, opts = {})
|
|
29
30
|
data, _status_code, _headers = add_with_http_info(container_container_repository_href, recursive_manage, opts)
|
|
@@ -35,6 +36,7 @@ module PulpContainerClient
|
|
|
35
36
|
# @param container_container_repository_href [String]
|
|
36
37
|
# @param recursive_manage [RecursiveManage]
|
|
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<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
39
41
|
def add_with_http_info(container_container_repository_href, recursive_manage, opts = {})
|
|
40
42
|
if @api_client.config.debugging
|
|
@@ -60,6 +62,7 @@ module PulpContainerClient
|
|
|
60
62
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
61
63
|
# HTTP header 'Content-Type'
|
|
62
64
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
65
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
63
66
|
|
|
64
67
|
# form parameters
|
|
65
68
|
form_params = opts[:form_params] || {}
|
|
@@ -94,6 +97,7 @@ module PulpContainerClient
|
|
|
94
97
|
# @param container_container_repository_href [String]
|
|
95
98
|
# @param nested_role [NestedRole]
|
|
96
99
|
# @param [Hash] opts the optional parameters
|
|
100
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
97
101
|
# @return [NestedRoleResponse]
|
|
98
102
|
def add_role(container_container_repository_href, nested_role, opts = {})
|
|
99
103
|
data, _status_code, _headers = add_role_with_http_info(container_container_repository_href, nested_role, opts)
|
|
@@ -105,6 +109,7 @@ module PulpContainerClient
|
|
|
105
109
|
# @param container_container_repository_href [String]
|
|
106
110
|
# @param nested_role [NestedRole]
|
|
107
111
|
# @param [Hash] opts the optional parameters
|
|
112
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
108
113
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
109
114
|
def add_role_with_http_info(container_container_repository_href, nested_role, opts = {})
|
|
110
115
|
if @api_client.config.debugging
|
|
@@ -130,6 +135,7 @@ module PulpContainerClient
|
|
|
130
135
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
131
136
|
# HTTP header 'Content-Type'
|
|
132
137
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
138
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
133
139
|
|
|
134
140
|
# form parameters
|
|
135
141
|
form_params = opts[:form_params] || {}
|
|
@@ -163,10 +169,11 @@ module PulpContainerClient
|
|
|
163
169
|
# Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
|
|
164
170
|
# @param container_container_repository_href [String]
|
|
165
171
|
# @param [Hash] opts the optional parameters
|
|
172
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
166
173
|
# @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.
|
|
167
174
|
# @option opts [File] :containerfile An uploaded Containerfile that should be used to run podman-build.
|
|
168
175
|
# @option opts [String] :tag A tag name for the new image being built. (default to 'latest')
|
|
169
|
-
# @option opts [
|
|
176
|
+
# @option opts [AnyType] :artifacts A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
|
|
170
177
|
# @return [AsyncOperationResponse]
|
|
171
178
|
def build_image(container_container_repository_href, opts = {})
|
|
172
179
|
data, _status_code, _headers = build_image_with_http_info(container_container_repository_href, opts)
|
|
@@ -177,10 +184,11 @@ module PulpContainerClient
|
|
|
177
184
|
# Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
|
|
178
185
|
# @param container_container_repository_href [String]
|
|
179
186
|
# @param [Hash] opts the optional parameters
|
|
187
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
180
188
|
# @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.
|
|
181
189
|
# @option opts [File] :containerfile An uploaded Containerfile that should be used to run podman-build.
|
|
182
190
|
# @option opts [String] :tag A tag name for the new image being built.
|
|
183
|
-
# @option opts [
|
|
191
|
+
# @option opts [AnyType] :artifacts A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
|
|
184
192
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
185
193
|
def build_image_with_http_info(container_container_repository_href, opts = {})
|
|
186
194
|
if @api_client.config.debugging
|
|
@@ -206,6 +214,7 @@ module PulpContainerClient
|
|
|
206
214
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
207
215
|
# HTTP header 'Content-Type'
|
|
208
216
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
|
217
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
209
218
|
|
|
210
219
|
# form parameters
|
|
211
220
|
form_params = opts[:form_params] || {}
|
|
@@ -244,6 +253,7 @@ module PulpContainerClient
|
|
|
244
253
|
# @param container_container_repository_href [String]
|
|
245
254
|
# @param manifest_copy [ManifestCopy]
|
|
246
255
|
# @param [Hash] opts the optional parameters
|
|
256
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
247
257
|
# @return [AsyncOperationResponse]
|
|
248
258
|
def copy_manifests(container_container_repository_href, manifest_copy, opts = {})
|
|
249
259
|
data, _status_code, _headers = copy_manifests_with_http_info(container_container_repository_href, manifest_copy, opts)
|
|
@@ -255,6 +265,7 @@ module PulpContainerClient
|
|
|
255
265
|
# @param container_container_repository_href [String]
|
|
256
266
|
# @param manifest_copy [ManifestCopy]
|
|
257
267
|
# @param [Hash] opts the optional parameters
|
|
268
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
258
269
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
259
270
|
def copy_manifests_with_http_info(container_container_repository_href, manifest_copy, opts = {})
|
|
260
271
|
if @api_client.config.debugging
|
|
@@ -280,6 +291,7 @@ module PulpContainerClient
|
|
|
280
291
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
281
292
|
# HTTP header 'Content-Type'
|
|
282
293
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
294
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
283
295
|
|
|
284
296
|
# form parameters
|
|
285
297
|
form_params = opts[:form_params] || {}
|
|
@@ -314,6 +326,7 @@ module PulpContainerClient
|
|
|
314
326
|
# @param container_container_repository_href [String]
|
|
315
327
|
# @param tag_copy [TagCopy]
|
|
316
328
|
# @param [Hash] opts the optional parameters
|
|
329
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
317
330
|
# @return [AsyncOperationResponse]
|
|
318
331
|
def copy_tags(container_container_repository_href, tag_copy, opts = {})
|
|
319
332
|
data, _status_code, _headers = copy_tags_with_http_info(container_container_repository_href, tag_copy, opts)
|
|
@@ -325,6 +338,7 @@ module PulpContainerClient
|
|
|
325
338
|
# @param container_container_repository_href [String]
|
|
326
339
|
# @param tag_copy [TagCopy]
|
|
327
340
|
# @param [Hash] opts the optional parameters
|
|
341
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
328
342
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
329
343
|
def copy_tags_with_http_info(container_container_repository_href, tag_copy, opts = {})
|
|
330
344
|
if @api_client.config.debugging
|
|
@@ -350,6 +364,7 @@ module PulpContainerClient
|
|
|
350
364
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
351
365
|
# HTTP header 'Content-Type'
|
|
352
366
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
367
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
353
368
|
|
|
354
369
|
# form parameters
|
|
355
370
|
form_params = opts[:form_params] || {}
|
|
@@ -383,6 +398,7 @@ module PulpContainerClient
|
|
|
383
398
|
# ViewSet for container repo.
|
|
384
399
|
# @param container_container_repository [ContainerContainerRepository]
|
|
385
400
|
# @param [Hash] opts the optional parameters
|
|
401
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
386
402
|
# @return [ContainerContainerRepositoryResponse]
|
|
387
403
|
def create(container_container_repository, opts = {})
|
|
388
404
|
data, _status_code, _headers = create_with_http_info(container_container_repository, opts)
|
|
@@ -393,6 +409,7 @@ module PulpContainerClient
|
|
|
393
409
|
# ViewSet for container repo.
|
|
394
410
|
# @param container_container_repository [ContainerContainerRepository]
|
|
395
411
|
# @param [Hash] opts the optional parameters
|
|
412
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
396
413
|
# @return [Array<(ContainerContainerRepositoryResponse, Integer, Hash)>] ContainerContainerRepositoryResponse data, response status code and response headers
|
|
397
414
|
def create_with_http_info(container_container_repository, opts = {})
|
|
398
415
|
if @api_client.config.debugging
|
|
@@ -414,6 +431,7 @@ module PulpContainerClient
|
|
|
414
431
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
415
432
|
# HTTP header 'Content-Type'
|
|
416
433
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
434
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
417
435
|
|
|
418
436
|
# form parameters
|
|
419
437
|
form_params = opts[:form_params] || {}
|
|
@@ -447,6 +465,7 @@ module PulpContainerClient
|
|
|
447
465
|
# Trigger an asynchronous delete task
|
|
448
466
|
# @param container_container_repository_href [String]
|
|
449
467
|
# @param [Hash] opts the optional parameters
|
|
468
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
450
469
|
# @return [AsyncOperationResponse]
|
|
451
470
|
def delete(container_container_repository_href, opts = {})
|
|
452
471
|
data, _status_code, _headers = delete_with_http_info(container_container_repository_href, opts)
|
|
@@ -457,6 +476,7 @@ module PulpContainerClient
|
|
|
457
476
|
# Trigger an asynchronous delete task
|
|
458
477
|
# @param container_container_repository_href [String]
|
|
459
478
|
# @param [Hash] opts the optional parameters
|
|
479
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
460
480
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
461
481
|
def delete_with_http_info(container_container_repository_href, opts = {})
|
|
462
482
|
if @api_client.config.debugging
|
|
@@ -476,6 +496,7 @@ module PulpContainerClient
|
|
|
476
496
|
header_params = opts[:header_params] || {}
|
|
477
497
|
# HTTP header 'Accept' (if needed)
|
|
478
498
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
499
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
479
500
|
|
|
480
501
|
# form parameters
|
|
481
502
|
form_params = opts[:form_params] || {}
|
|
@@ -508,6 +529,7 @@ module PulpContainerClient
|
|
|
508
529
|
# List container repositorys
|
|
509
530
|
# ViewSet for container repo.
|
|
510
531
|
# @param [Hash] opts the optional parameters
|
|
532
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
511
533
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
512
534
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
513
535
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -546,6 +568,7 @@ module PulpContainerClient
|
|
|
546
568
|
# List container repositorys
|
|
547
569
|
# ViewSet for container repo.
|
|
548
570
|
# @param [Hash] opts the optional parameters
|
|
571
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
549
572
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
550
573
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
551
574
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -623,6 +646,7 @@ module PulpContainerClient
|
|
|
623
646
|
header_params = opts[:header_params] || {}
|
|
624
647
|
# HTTP header 'Accept' (if needed)
|
|
625
648
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
649
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
626
650
|
|
|
627
651
|
# form parameters
|
|
628
652
|
form_params = opts[:form_params] || {}
|
|
@@ -656,6 +680,7 @@ module PulpContainerClient
|
|
|
656
680
|
# List roles assigned to this object.
|
|
657
681
|
# @param container_container_repository_href [String]
|
|
658
682
|
# @param [Hash] opts the optional parameters
|
|
683
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
659
684
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
660
685
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
661
686
|
# @return [ObjectRolesResponse]
|
|
@@ -668,6 +693,7 @@ module PulpContainerClient
|
|
|
668
693
|
# List roles assigned to this object.
|
|
669
694
|
# @param container_container_repository_href [String]
|
|
670
695
|
# @param [Hash] opts the optional parameters
|
|
696
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
671
697
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
672
698
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
673
699
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -691,6 +717,7 @@ module PulpContainerClient
|
|
|
691
717
|
header_params = opts[:header_params] || {}
|
|
692
718
|
# HTTP header 'Accept' (if needed)
|
|
693
719
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
720
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
694
721
|
|
|
695
722
|
# form parameters
|
|
696
723
|
form_params = opts[:form_params] || {}
|
|
@@ -724,6 +751,7 @@ module PulpContainerClient
|
|
|
724
751
|
# List permissions available to the current user on this object.
|
|
725
752
|
# @param container_container_repository_href [String]
|
|
726
753
|
# @param [Hash] opts the optional parameters
|
|
754
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
727
755
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
728
756
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
729
757
|
# @return [MyPermissionsResponse]
|
|
@@ -736,6 +764,7 @@ module PulpContainerClient
|
|
|
736
764
|
# List permissions available to the current user on this object.
|
|
737
765
|
# @param container_container_repository_href [String]
|
|
738
766
|
# @param [Hash] opts the optional parameters
|
|
767
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
739
768
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
740
769
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
741
770
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -759,6 +788,7 @@ module PulpContainerClient
|
|
|
759
788
|
header_params = opts[:header_params] || {}
|
|
760
789
|
# HTTP header 'Accept' (if needed)
|
|
761
790
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
791
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
762
792
|
|
|
763
793
|
# form parameters
|
|
764
794
|
form_params = opts[:form_params] || {}
|
|
@@ -793,6 +823,7 @@ module PulpContainerClient
|
|
|
793
823
|
# @param container_container_repository_href [String]
|
|
794
824
|
# @param patchedcontainer_container_repository [PatchedcontainerContainerRepository]
|
|
795
825
|
# @param [Hash] opts the optional parameters
|
|
826
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
796
827
|
# @return [AsyncOperationResponse]
|
|
797
828
|
def partial_update(container_container_repository_href, patchedcontainer_container_repository, opts = {})
|
|
798
829
|
data, _status_code, _headers = partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository, opts)
|
|
@@ -804,6 +835,7 @@ module PulpContainerClient
|
|
|
804
835
|
# @param container_container_repository_href [String]
|
|
805
836
|
# @param patchedcontainer_container_repository [PatchedcontainerContainerRepository]
|
|
806
837
|
# @param [Hash] opts the optional parameters
|
|
838
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
807
839
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
808
840
|
def partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository, opts = {})
|
|
809
841
|
if @api_client.config.debugging
|
|
@@ -829,6 +861,7 @@ module PulpContainerClient
|
|
|
829
861
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
830
862
|
# HTTP header 'Content-Type'
|
|
831
863
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
864
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
832
865
|
|
|
833
866
|
# form parameters
|
|
834
867
|
form_params = opts[:form_params] || {}
|
|
@@ -862,6 +895,7 @@ module PulpContainerClient
|
|
|
862
895
|
# ViewSet for container repo.
|
|
863
896
|
# @param container_container_repository_href [String]
|
|
864
897
|
# @param [Hash] opts the optional parameters
|
|
898
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
865
899
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
866
900
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
867
901
|
# @return [ContainerContainerRepositoryResponse]
|
|
@@ -874,6 +908,7 @@ module PulpContainerClient
|
|
|
874
908
|
# ViewSet for container repo.
|
|
875
909
|
# @param container_container_repository_href [String]
|
|
876
910
|
# @param [Hash] opts the optional parameters
|
|
911
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
877
912
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
878
913
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
879
914
|
# @return [Array<(ContainerContainerRepositoryResponse, Integer, Hash)>] ContainerContainerRepositoryResponse data, response status code and response headers
|
|
@@ -897,6 +932,7 @@ module PulpContainerClient
|
|
|
897
932
|
header_params = opts[:header_params] || {}
|
|
898
933
|
# HTTP header 'Accept' (if needed)
|
|
899
934
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
935
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
900
936
|
|
|
901
937
|
# form parameters
|
|
902
938
|
form_params = opts[:form_params] || {}
|
|
@@ -931,6 +967,7 @@ module PulpContainerClient
|
|
|
931
967
|
# @param container_container_repository_href [String]
|
|
932
968
|
# @param recursive_manage [RecursiveManage]
|
|
933
969
|
# @param [Hash] opts the optional parameters
|
|
970
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
934
971
|
# @return [AsyncOperationResponse]
|
|
935
972
|
def remove(container_container_repository_href, recursive_manage, opts = {})
|
|
936
973
|
data, _status_code, _headers = remove_with_http_info(container_container_repository_href, recursive_manage, opts)
|
|
@@ -942,6 +979,7 @@ module PulpContainerClient
|
|
|
942
979
|
# @param container_container_repository_href [String]
|
|
943
980
|
# @param recursive_manage [RecursiveManage]
|
|
944
981
|
# @param [Hash] opts the optional parameters
|
|
982
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
945
983
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
946
984
|
def remove_with_http_info(container_container_repository_href, recursive_manage, opts = {})
|
|
947
985
|
if @api_client.config.debugging
|
|
@@ -967,6 +1005,7 @@ module PulpContainerClient
|
|
|
967
1005
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
968
1006
|
# HTTP header 'Content-Type'
|
|
969
1007
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
1008
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
970
1009
|
|
|
971
1010
|
# form parameters
|
|
972
1011
|
form_params = opts[:form_params] || {}
|
|
@@ -1001,6 +1040,7 @@ module PulpContainerClient
|
|
|
1001
1040
|
# @param container_container_repository_href [String]
|
|
1002
1041
|
# @param nested_role [NestedRole]
|
|
1003
1042
|
# @param [Hash] opts the optional parameters
|
|
1043
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1004
1044
|
# @return [NestedRoleResponse]
|
|
1005
1045
|
def remove_role(container_container_repository_href, nested_role, opts = {})
|
|
1006
1046
|
data, _status_code, _headers = remove_role_with_http_info(container_container_repository_href, nested_role, opts)
|
|
@@ -1012,6 +1052,7 @@ module PulpContainerClient
|
|
|
1012
1052
|
# @param container_container_repository_href [String]
|
|
1013
1053
|
# @param nested_role [NestedRole]
|
|
1014
1054
|
# @param [Hash] opts the optional parameters
|
|
1055
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1015
1056
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
1016
1057
|
def remove_role_with_http_info(container_container_repository_href, nested_role, opts = {})
|
|
1017
1058
|
if @api_client.config.debugging
|
|
@@ -1037,6 +1078,7 @@ module PulpContainerClient
|
|
|
1037
1078
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1038
1079
|
# HTTP header 'Content-Type'
|
|
1039
1080
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
1081
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
1040
1082
|
|
|
1041
1083
|
# form parameters
|
|
1042
1084
|
form_params = opts[:form_params] || {}
|
|
@@ -1071,6 +1113,7 @@ module PulpContainerClient
|
|
|
1071
1113
|
# @param container_container_repository_href [String]
|
|
1072
1114
|
# @param set_label [SetLabel]
|
|
1073
1115
|
# @param [Hash] opts the optional parameters
|
|
1116
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1074
1117
|
# @return [SetLabelResponse]
|
|
1075
1118
|
def set_label(container_container_repository_href, set_label, opts = {})
|
|
1076
1119
|
data, _status_code, _headers = set_label_with_http_info(container_container_repository_href, set_label, opts)
|
|
@@ -1082,6 +1125,7 @@ module PulpContainerClient
|
|
|
1082
1125
|
# @param container_container_repository_href [String]
|
|
1083
1126
|
# @param set_label [SetLabel]
|
|
1084
1127
|
# @param [Hash] opts the optional parameters
|
|
1128
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1085
1129
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
|
1086
1130
|
def set_label_with_http_info(container_container_repository_href, set_label, opts = {})
|
|
1087
1131
|
if @api_client.config.debugging
|
|
@@ -1107,6 +1151,7 @@ module PulpContainerClient
|
|
|
1107
1151
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1108
1152
|
# HTTP header 'Content-Type'
|
|
1109
1153
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
1154
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
1110
1155
|
|
|
1111
1156
|
# form parameters
|
|
1112
1157
|
form_params = opts[:form_params] || {}
|
|
@@ -1141,6 +1186,7 @@ module PulpContainerClient
|
|
|
1141
1186
|
# @param container_container_repository_href [String]
|
|
1142
1187
|
# @param repository_sign [RepositorySign]
|
|
1143
1188
|
# @param [Hash] opts the optional parameters
|
|
1189
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1144
1190
|
# @return [AsyncOperationResponse]
|
|
1145
1191
|
def sign(container_container_repository_href, repository_sign, opts = {})
|
|
1146
1192
|
data, _status_code, _headers = sign_with_http_info(container_container_repository_href, repository_sign, opts)
|
|
@@ -1152,6 +1198,7 @@ module PulpContainerClient
|
|
|
1152
1198
|
# @param container_container_repository_href [String]
|
|
1153
1199
|
# @param repository_sign [RepositorySign]
|
|
1154
1200
|
# @param [Hash] opts the optional parameters
|
|
1201
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1155
1202
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
1156
1203
|
def sign_with_http_info(container_container_repository_href, repository_sign, opts = {})
|
|
1157
1204
|
if @api_client.config.debugging
|
|
@@ -1177,6 +1224,7 @@ module PulpContainerClient
|
|
|
1177
1224
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1178
1225
|
# HTTP header 'Content-Type'
|
|
1179
1226
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
1227
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
1180
1228
|
|
|
1181
1229
|
# form parameters
|
|
1182
1230
|
form_params = opts[:form_params] || {}
|
|
@@ -1211,6 +1259,7 @@ module PulpContainerClient
|
|
|
1211
1259
|
# @param container_container_repository_href [String]
|
|
1212
1260
|
# @param container_repository_sync_url [ContainerRepositorySyncURL]
|
|
1213
1261
|
# @param [Hash] opts the optional parameters
|
|
1262
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1214
1263
|
# @return [AsyncOperationResponse]
|
|
1215
1264
|
def sync(container_container_repository_href, container_repository_sync_url, opts = {})
|
|
1216
1265
|
data, _status_code, _headers = sync_with_http_info(container_container_repository_href, container_repository_sync_url, opts)
|
|
@@ -1222,6 +1271,7 @@ module PulpContainerClient
|
|
|
1222
1271
|
# @param container_container_repository_href [String]
|
|
1223
1272
|
# @param container_repository_sync_url [ContainerRepositorySyncURL]
|
|
1224
1273
|
# @param [Hash] opts the optional parameters
|
|
1274
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1225
1275
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
1226
1276
|
def sync_with_http_info(container_container_repository_href, container_repository_sync_url, opts = {})
|
|
1227
1277
|
if @api_client.config.debugging
|
|
@@ -1247,6 +1297,7 @@ module PulpContainerClient
|
|
|
1247
1297
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1248
1298
|
# HTTP header 'Content-Type'
|
|
1249
1299
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
1300
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
1250
1301
|
|
|
1251
1302
|
# form parameters
|
|
1252
1303
|
form_params = opts[:form_params] || {}
|
|
@@ -1281,6 +1332,7 @@ module PulpContainerClient
|
|
|
1281
1332
|
# @param container_container_repository_href [String]
|
|
1282
1333
|
# @param tag_image [TagImage]
|
|
1283
1334
|
# @param [Hash] opts the optional parameters
|
|
1335
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1284
1336
|
# @return [AsyncOperationResponse]
|
|
1285
1337
|
def tag(container_container_repository_href, tag_image, opts = {})
|
|
1286
1338
|
data, _status_code, _headers = tag_with_http_info(container_container_repository_href, tag_image, opts)
|
|
@@ -1292,6 +1344,7 @@ module PulpContainerClient
|
|
|
1292
1344
|
# @param container_container_repository_href [String]
|
|
1293
1345
|
# @param tag_image [TagImage]
|
|
1294
1346
|
# @param [Hash] opts the optional parameters
|
|
1347
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1295
1348
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
1296
1349
|
def tag_with_http_info(container_container_repository_href, tag_image, opts = {})
|
|
1297
1350
|
if @api_client.config.debugging
|
|
@@ -1317,6 +1370,7 @@ module PulpContainerClient
|
|
|
1317
1370
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1318
1371
|
# HTTP header 'Content-Type'
|
|
1319
1372
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
1373
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
1320
1374
|
|
|
1321
1375
|
# form parameters
|
|
1322
1376
|
form_params = opts[:form_params] || {}
|
|
@@ -1351,6 +1405,7 @@ module PulpContainerClient
|
|
|
1351
1405
|
# @param container_container_repository_href [String]
|
|
1352
1406
|
# @param unset_label [UnsetLabel]
|
|
1353
1407
|
# @param [Hash] opts the optional parameters
|
|
1408
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1354
1409
|
# @return [UnsetLabelResponse]
|
|
1355
1410
|
def unset_label(container_container_repository_href, unset_label, opts = {})
|
|
1356
1411
|
data, _status_code, _headers = unset_label_with_http_info(container_container_repository_href, unset_label, opts)
|
|
@@ -1362,6 +1417,7 @@ module PulpContainerClient
|
|
|
1362
1417
|
# @param container_container_repository_href [String]
|
|
1363
1418
|
# @param unset_label [UnsetLabel]
|
|
1364
1419
|
# @param [Hash] opts the optional parameters
|
|
1420
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1365
1421
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
|
1366
1422
|
def unset_label_with_http_info(container_container_repository_href, unset_label, opts = {})
|
|
1367
1423
|
if @api_client.config.debugging
|
|
@@ -1387,6 +1443,7 @@ module PulpContainerClient
|
|
|
1387
1443
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1388
1444
|
# HTTP header 'Content-Type'
|
|
1389
1445
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
1446
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
1390
1447
|
|
|
1391
1448
|
# form parameters
|
|
1392
1449
|
form_params = opts[:form_params] || {}
|
|
@@ -1421,6 +1478,7 @@ module PulpContainerClient
|
|
|
1421
1478
|
# @param container_container_repository_href [String]
|
|
1422
1479
|
# @param un_tag_image [UnTagImage]
|
|
1423
1480
|
# @param [Hash] opts the optional parameters
|
|
1481
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1424
1482
|
# @return [AsyncOperationResponse]
|
|
1425
1483
|
def untag(container_container_repository_href, un_tag_image, opts = {})
|
|
1426
1484
|
data, _status_code, _headers = untag_with_http_info(container_container_repository_href, un_tag_image, opts)
|
|
@@ -1432,6 +1490,7 @@ module PulpContainerClient
|
|
|
1432
1490
|
# @param container_container_repository_href [String]
|
|
1433
1491
|
# @param un_tag_image [UnTagImage]
|
|
1434
1492
|
# @param [Hash] opts the optional parameters
|
|
1493
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1435
1494
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
1436
1495
|
def untag_with_http_info(container_container_repository_href, un_tag_image, opts = {})
|
|
1437
1496
|
if @api_client.config.debugging
|
|
@@ -1457,6 +1516,7 @@ module PulpContainerClient
|
|
|
1457
1516
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1458
1517
|
# HTTP header 'Content-Type'
|
|
1459
1518
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
1519
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
1460
1520
|
|
|
1461
1521
|
# form parameters
|
|
1462
1522
|
form_params = opts[:form_params] || {}
|
|
@@ -1491,6 +1551,7 @@ module PulpContainerClient
|
|
|
1491
1551
|
# @param container_container_repository_href [String]
|
|
1492
1552
|
# @param container_container_repository [ContainerContainerRepository]
|
|
1493
1553
|
# @param [Hash] opts the optional parameters
|
|
1554
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1494
1555
|
# @return [AsyncOperationResponse]
|
|
1495
1556
|
def update(container_container_repository_href, container_container_repository, opts = {})
|
|
1496
1557
|
data, _status_code, _headers = update_with_http_info(container_container_repository_href, container_container_repository, opts)
|
|
@@ -1502,6 +1563,7 @@ module PulpContainerClient
|
|
|
1502
1563
|
# @param container_container_repository_href [String]
|
|
1503
1564
|
# @param container_container_repository [ContainerContainerRepository]
|
|
1504
1565
|
# @param [Hash] opts the optional parameters
|
|
1566
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1505
1567
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
1506
1568
|
def update_with_http_info(container_container_repository_href, container_container_repository, opts = {})
|
|
1507
1569
|
if @api_client.config.debugging
|
|
@@ -1527,6 +1589,7 @@ module PulpContainerClient
|
|
|
1527
1589
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1528
1590
|
# HTTP header 'Content-Type'
|
|
1529
1591
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
1592
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
1530
1593
|
|
|
1531
1594
|
# form parameters
|
|
1532
1595
|
form_params = opts[:form_params] || {}
|