pulp_container_client 2.25.0 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ContainerBlobResponse.md +2 -0
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +16 -16
- data/docs/ContainerContainerPullThroughDistribution.md +8 -8
- data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
- data/docs/ContainerContainerPullThroughRemoteResponse.md +1 -1
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerManifestResponse.md +2 -0
- data/docs/ContainerManifestSignatureResponse.md +2 -0
- data/docs/ContainerTagResponse.md +2 -0
- data/docs/ContentBlobsApi.md +20 -8
- data/docs/ContentManifestsApi.md +20 -8
- data/docs/ContentSignaturesApi.md +20 -8
- data/docs/ContentTagsApi.md +20 -8
- data/docs/DistributionsContainerApi.md +72 -32
- data/docs/DistributionsPullThroughApi.md +72 -32
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
- 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/RepositoryVersionResponse.md +3 -1
- data/docs/TokenApi.md +14 -5
- data/lib/pulp_container_client/api/content_blobs_api.rb +12 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +12 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +12 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +12 -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 +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_blob_response.rb +10 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +34 -34
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +71 -71
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +34 -34
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +71 -71
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +0 -15
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +0 -15
- data/lib/pulp_container_client/models/container_container_push_repository.rb +33 -48
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +66 -81
- data/lib/pulp_container_client/models/container_container_remote.rb +0 -15
- data/lib/pulp_container_client/models/container_container_remote_response.rb +0 -15
- data/lib/pulp_container_client/models/container_container_repository.rb +0 -15
- data/lib/pulp_container_client/models/container_container_repository_response.rb +0 -15
- data/lib/pulp_container_client/models/container_manifest_response.rb +10 -1
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +10 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +10 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +0 -2
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +32 -32
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +32 -32
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +0 -15
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +31 -46
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +0 -15
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +0 -15
- data/lib/pulp_container_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_container_client/version.rb +1 -1
- data/pulp_container_client.gemspec +0 -1
- data/spec/api/content_blobs_api_spec.rb +4 -0
- data/spec/api/content_manifests_api_spec.rb +4 -0
- data/spec/api/content_signatures_api_spec.rb +4 -0
- data/spec/api/content_tags_api_spec.rb +4 -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 +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_blob_response_spec.rb +6 -0
- data/spec/models/container_container_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +11 -11
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/container_manifest_response_spec.rb +6 -0
- data/spec/models/container_manifest_signature_response_spec.rb +6 -0
- data/spec/models/container_tag_response_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +62 -82
@@ -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
|
@@ -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] || {}
|
@@ -98,6 +101,7 @@ module PulpContainerClient
|
|
98
101
|
# @param container_container_repository_href [String]
|
99
102
|
# @param nested_role [NestedRole]
|
100
103
|
# @param [Hash] opts the optional parameters
|
104
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
101
105
|
# @return [NestedRoleResponse]
|
102
106
|
def add_role(container_container_repository_href, nested_role, opts = {})
|
103
107
|
data, _status_code, _headers = add_role_with_http_info(container_container_repository_href, nested_role, opts)
|
@@ -109,6 +113,7 @@ module PulpContainerClient
|
|
109
113
|
# @param container_container_repository_href [String]
|
110
114
|
# @param nested_role [NestedRole]
|
111
115
|
# @param [Hash] opts the optional parameters
|
116
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
112
117
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
113
118
|
def add_role_with_http_info(container_container_repository_href, nested_role, opts = {})
|
114
119
|
if @api_client.config.debugging
|
@@ -137,6 +142,7 @@ module PulpContainerClient
|
|
137
142
|
if !content_type.nil?
|
138
143
|
header_params['Content-Type'] = content_type
|
139
144
|
end
|
145
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
140
146
|
|
141
147
|
# form parameters
|
142
148
|
form_params = opts[:form_params] || {}
|
@@ -171,6 +177,7 @@ module PulpContainerClient
|
|
171
177
|
# 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.
|
172
178
|
# @param container_container_repository_href [String]
|
173
179
|
# @param [Hash] opts the optional parameters
|
180
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
174
181
|
# @option opts [String] :containerfile_name Name of the Containerfile, from build_context, that should be used to run podman-build.
|
175
182
|
# @option opts [File] :containerfile An uploaded Containerfile that should be used to run podman-build.
|
176
183
|
# @option opts [String] :tag A tag name for the new image being built. (default to 'latest')
|
@@ -185,6 +192,7 @@ module PulpContainerClient
|
|
185
192
|
# 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.
|
186
193
|
# @param container_container_repository_href [String]
|
187
194
|
# @param [Hash] opts the optional parameters
|
195
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
188
196
|
# @option opts [String] :containerfile_name Name of the Containerfile, from build_context, that should be used to run podman-build.
|
189
197
|
# @option opts [File] :containerfile An uploaded Containerfile that should be used to run podman-build.
|
190
198
|
# @option opts [String] :tag A tag name for the new image being built. (default to 'latest')
|
@@ -217,6 +225,7 @@ module PulpContainerClient
|
|
217
225
|
if !content_type.nil?
|
218
226
|
header_params['Content-Type'] = content_type
|
219
227
|
end
|
228
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
220
229
|
|
221
230
|
# form parameters
|
222
231
|
form_params = opts[:form_params] || {}
|
@@ -256,6 +265,7 @@ module PulpContainerClient
|
|
256
265
|
# @param container_container_repository_href [String]
|
257
266
|
# @param manifest_copy [ManifestCopy]
|
258
267
|
# @param [Hash] opts the optional parameters
|
268
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
259
269
|
# @return [AsyncOperationResponse]
|
260
270
|
def copy_manifests(container_container_repository_href, manifest_copy, opts = {})
|
261
271
|
data, _status_code, _headers = copy_manifests_with_http_info(container_container_repository_href, manifest_copy, opts)
|
@@ -267,6 +277,7 @@ module PulpContainerClient
|
|
267
277
|
# @param container_container_repository_href [String]
|
268
278
|
# @param manifest_copy [ManifestCopy]
|
269
279
|
# @param [Hash] opts the optional parameters
|
280
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
270
281
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
271
282
|
def copy_manifests_with_http_info(container_container_repository_href, manifest_copy, opts = {})
|
272
283
|
if @api_client.config.debugging
|
@@ -295,6 +306,7 @@ module PulpContainerClient
|
|
295
306
|
if !content_type.nil?
|
296
307
|
header_params['Content-Type'] = content_type
|
297
308
|
end
|
309
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
298
310
|
|
299
311
|
# form parameters
|
300
312
|
form_params = opts[:form_params] || {}
|
@@ -330,6 +342,7 @@ module PulpContainerClient
|
|
330
342
|
# @param container_container_repository_href [String]
|
331
343
|
# @param tag_copy [TagCopy]
|
332
344
|
# @param [Hash] opts the optional parameters
|
345
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
333
346
|
# @return [AsyncOperationResponse]
|
334
347
|
def copy_tags(container_container_repository_href, tag_copy, opts = {})
|
335
348
|
data, _status_code, _headers = copy_tags_with_http_info(container_container_repository_href, tag_copy, opts)
|
@@ -341,6 +354,7 @@ module PulpContainerClient
|
|
341
354
|
# @param container_container_repository_href [String]
|
342
355
|
# @param tag_copy [TagCopy]
|
343
356
|
# @param [Hash] opts the optional parameters
|
357
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
344
358
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
345
359
|
def copy_tags_with_http_info(container_container_repository_href, tag_copy, opts = {})
|
346
360
|
if @api_client.config.debugging
|
@@ -369,6 +383,7 @@ module PulpContainerClient
|
|
369
383
|
if !content_type.nil?
|
370
384
|
header_params['Content-Type'] = content_type
|
371
385
|
end
|
386
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
372
387
|
|
373
388
|
# form parameters
|
374
389
|
form_params = opts[:form_params] || {}
|
@@ -403,6 +418,7 @@ module PulpContainerClient
|
|
403
418
|
# ViewSet for container repo.
|
404
419
|
# @param container_container_repository [ContainerContainerRepository]
|
405
420
|
# @param [Hash] opts the optional parameters
|
421
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
406
422
|
# @return [ContainerContainerRepositoryResponse]
|
407
423
|
def create(container_container_repository, opts = {})
|
408
424
|
data, _status_code, _headers = create_with_http_info(container_container_repository, opts)
|
@@ -413,6 +429,7 @@ module PulpContainerClient
|
|
413
429
|
# ViewSet for container repo.
|
414
430
|
# @param container_container_repository [ContainerContainerRepository]
|
415
431
|
# @param [Hash] opts the optional parameters
|
432
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
416
433
|
# @return [Array<(ContainerContainerRepositoryResponse, Integer, Hash)>] ContainerContainerRepositoryResponse data, response status code and response headers
|
417
434
|
def create_with_http_info(container_container_repository, opts = {})
|
418
435
|
if @api_client.config.debugging
|
@@ -437,6 +454,7 @@ module PulpContainerClient
|
|
437
454
|
if !content_type.nil?
|
438
455
|
header_params['Content-Type'] = content_type
|
439
456
|
end
|
457
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
440
458
|
|
441
459
|
# form parameters
|
442
460
|
form_params = opts[:form_params] || {}
|
@@ -471,6 +489,7 @@ module PulpContainerClient
|
|
471
489
|
# Trigger an asynchronous delete task
|
472
490
|
# @param container_container_repository_href [String]
|
473
491
|
# @param [Hash] opts the optional parameters
|
492
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
474
493
|
# @return [AsyncOperationResponse]
|
475
494
|
def delete(container_container_repository_href, opts = {})
|
476
495
|
data, _status_code, _headers = delete_with_http_info(container_container_repository_href, opts)
|
@@ -481,6 +500,7 @@ module PulpContainerClient
|
|
481
500
|
# Trigger an asynchronous delete task
|
482
501
|
# @param container_container_repository_href [String]
|
483
502
|
# @param [Hash] opts the optional parameters
|
503
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
484
504
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
485
505
|
def delete_with_http_info(container_container_repository_href, opts = {})
|
486
506
|
if @api_client.config.debugging
|
@@ -500,6 +520,7 @@ module PulpContainerClient
|
|
500
520
|
header_params = opts[:header_params] || {}
|
501
521
|
# HTTP header 'Accept' (if needed)
|
502
522
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
523
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
503
524
|
|
504
525
|
# form parameters
|
505
526
|
form_params = opts[:form_params] || {}
|
@@ -533,6 +554,7 @@ module PulpContainerClient
|
|
533
554
|
# List container repositorys
|
534
555
|
# ViewSet for container repo.
|
535
556
|
# @param [Hash] opts the optional parameters
|
557
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
536
558
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
537
559
|
# @option opts [Integer] :limit Number of results to return per page.
|
538
560
|
# @option opts [String] :name Filter results where name matches value
|
@@ -572,6 +594,7 @@ module PulpContainerClient
|
|
572
594
|
# List container repositorys
|
573
595
|
# ViewSet for container repo.
|
574
596
|
# @param [Hash] opts the optional parameters
|
597
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
575
598
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
576
599
|
# @option opts [Integer] :limit Number of results to return per page.
|
577
600
|
# @option opts [String] :name Filter results where name matches value
|
@@ -651,6 +674,7 @@ module PulpContainerClient
|
|
651
674
|
header_params = opts[:header_params] || {}
|
652
675
|
# HTTP header 'Accept' (if needed)
|
653
676
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
677
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
654
678
|
|
655
679
|
# form parameters
|
656
680
|
form_params = opts[:form_params] || {}
|
@@ -685,6 +709,7 @@ module PulpContainerClient
|
|
685
709
|
# List roles assigned to this object.
|
686
710
|
# @param container_container_repository_href [String]
|
687
711
|
# @param [Hash] opts the optional parameters
|
712
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
688
713
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
689
714
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
690
715
|
# @return [ObjectRolesResponse]
|
@@ -697,6 +722,7 @@ module PulpContainerClient
|
|
697
722
|
# List roles assigned to this object.
|
698
723
|
# @param container_container_repository_href [String]
|
699
724
|
# @param [Hash] opts the optional parameters
|
725
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
700
726
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
701
727
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
702
728
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -720,6 +746,7 @@ module PulpContainerClient
|
|
720
746
|
header_params = opts[:header_params] || {}
|
721
747
|
# HTTP header 'Accept' (if needed)
|
722
748
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
749
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
723
750
|
|
724
751
|
# form parameters
|
725
752
|
form_params = opts[:form_params] || {}
|
@@ -754,6 +781,7 @@ module PulpContainerClient
|
|
754
781
|
# List permissions available to the current user on this object.
|
755
782
|
# @param container_container_repository_href [String]
|
756
783
|
# @param [Hash] opts the optional parameters
|
784
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
757
785
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
758
786
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
759
787
|
# @return [MyPermissionsResponse]
|
@@ -766,6 +794,7 @@ module PulpContainerClient
|
|
766
794
|
# List permissions available to the current user on this object.
|
767
795
|
# @param container_container_repository_href [String]
|
768
796
|
# @param [Hash] opts the optional parameters
|
797
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
769
798
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
770
799
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
771
800
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -789,6 +818,7 @@ module PulpContainerClient
|
|
789
818
|
header_params = opts[:header_params] || {}
|
790
819
|
# HTTP header 'Accept' (if needed)
|
791
820
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
821
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
792
822
|
|
793
823
|
# form parameters
|
794
824
|
form_params = opts[:form_params] || {}
|
@@ -824,6 +854,7 @@ module PulpContainerClient
|
|
824
854
|
# @param container_container_repository_href [String]
|
825
855
|
# @param patchedcontainer_container_repository [PatchedcontainerContainerRepository]
|
826
856
|
# @param [Hash] opts the optional parameters
|
857
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
827
858
|
# @return [AsyncOperationResponse]
|
828
859
|
def partial_update(container_container_repository_href, patchedcontainer_container_repository, opts = {})
|
829
860
|
data, _status_code, _headers = partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository, opts)
|
@@ -835,6 +866,7 @@ module PulpContainerClient
|
|
835
866
|
# @param container_container_repository_href [String]
|
836
867
|
# @param patchedcontainer_container_repository [PatchedcontainerContainerRepository]
|
837
868
|
# @param [Hash] opts the optional parameters
|
869
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
838
870
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
839
871
|
def partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository, opts = {})
|
840
872
|
if @api_client.config.debugging
|
@@ -863,6 +895,7 @@ module PulpContainerClient
|
|
863
895
|
if !content_type.nil?
|
864
896
|
header_params['Content-Type'] = content_type
|
865
897
|
end
|
898
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
866
899
|
|
867
900
|
# form parameters
|
868
901
|
form_params = opts[:form_params] || {}
|
@@ -897,6 +930,7 @@ module PulpContainerClient
|
|
897
930
|
# ViewSet for container repo.
|
898
931
|
# @param container_container_repository_href [String]
|
899
932
|
# @param [Hash] opts the optional parameters
|
933
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
900
934
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
901
935
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
902
936
|
# @return [ContainerContainerRepositoryResponse]
|
@@ -909,6 +943,7 @@ module PulpContainerClient
|
|
909
943
|
# ViewSet for container repo.
|
910
944
|
# @param container_container_repository_href [String]
|
911
945
|
# @param [Hash] opts the optional parameters
|
946
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
912
947
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
913
948
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
914
949
|
# @return [Array<(ContainerContainerRepositoryResponse, Integer, Hash)>] ContainerContainerRepositoryResponse data, response status code and response headers
|
@@ -932,6 +967,7 @@ module PulpContainerClient
|
|
932
967
|
header_params = opts[:header_params] || {}
|
933
968
|
# HTTP header 'Accept' (if needed)
|
934
969
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
970
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
935
971
|
|
936
972
|
# form parameters
|
937
973
|
form_params = opts[:form_params] || {}
|
@@ -967,6 +1003,7 @@ module PulpContainerClient
|
|
967
1003
|
# @param container_container_repository_href [String]
|
968
1004
|
# @param recursive_manage [RecursiveManage]
|
969
1005
|
# @param [Hash] opts the optional parameters
|
1006
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
970
1007
|
# @return [AsyncOperationResponse]
|
971
1008
|
def remove(container_container_repository_href, recursive_manage, opts = {})
|
972
1009
|
data, _status_code, _headers = remove_with_http_info(container_container_repository_href, recursive_manage, opts)
|
@@ -978,6 +1015,7 @@ module PulpContainerClient
|
|
978
1015
|
# @param container_container_repository_href [String]
|
979
1016
|
# @param recursive_manage [RecursiveManage]
|
980
1017
|
# @param [Hash] opts the optional parameters
|
1018
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
981
1019
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
982
1020
|
def remove_with_http_info(container_container_repository_href, recursive_manage, opts = {})
|
983
1021
|
if @api_client.config.debugging
|
@@ -1006,6 +1044,7 @@ module PulpContainerClient
|
|
1006
1044
|
if !content_type.nil?
|
1007
1045
|
header_params['Content-Type'] = content_type
|
1008
1046
|
end
|
1047
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1009
1048
|
|
1010
1049
|
# form parameters
|
1011
1050
|
form_params = opts[:form_params] || {}
|
@@ -1041,6 +1080,7 @@ module PulpContainerClient
|
|
1041
1080
|
# @param container_container_repository_href [String]
|
1042
1081
|
# @param nested_role [NestedRole]
|
1043
1082
|
# @param [Hash] opts the optional parameters
|
1083
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1044
1084
|
# @return [NestedRoleResponse]
|
1045
1085
|
def remove_role(container_container_repository_href, nested_role, opts = {})
|
1046
1086
|
data, _status_code, _headers = remove_role_with_http_info(container_container_repository_href, nested_role, opts)
|
@@ -1052,6 +1092,7 @@ module PulpContainerClient
|
|
1052
1092
|
# @param container_container_repository_href [String]
|
1053
1093
|
# @param nested_role [NestedRole]
|
1054
1094
|
# @param [Hash] opts the optional parameters
|
1095
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1055
1096
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
1056
1097
|
def remove_role_with_http_info(container_container_repository_href, nested_role, opts = {})
|
1057
1098
|
if @api_client.config.debugging
|
@@ -1080,6 +1121,7 @@ module PulpContainerClient
|
|
1080
1121
|
if !content_type.nil?
|
1081
1122
|
header_params['Content-Type'] = content_type
|
1082
1123
|
end
|
1124
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1083
1125
|
|
1084
1126
|
# form parameters
|
1085
1127
|
form_params = opts[:form_params] || {}
|
@@ -1115,6 +1157,7 @@ module PulpContainerClient
|
|
1115
1157
|
# @param container_container_repository_href [String]
|
1116
1158
|
# @param set_label [SetLabel]
|
1117
1159
|
# @param [Hash] opts the optional parameters
|
1160
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1118
1161
|
# @return [SetLabelResponse]
|
1119
1162
|
def set_label(container_container_repository_href, set_label, opts = {})
|
1120
1163
|
data, _status_code, _headers = set_label_with_http_info(container_container_repository_href, set_label, opts)
|
@@ -1126,6 +1169,7 @@ module PulpContainerClient
|
|
1126
1169
|
# @param container_container_repository_href [String]
|
1127
1170
|
# @param set_label [SetLabel]
|
1128
1171
|
# @param [Hash] opts the optional parameters
|
1172
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1129
1173
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
1130
1174
|
def set_label_with_http_info(container_container_repository_href, set_label, opts = {})
|
1131
1175
|
if @api_client.config.debugging
|
@@ -1154,6 +1198,7 @@ module PulpContainerClient
|
|
1154
1198
|
if !content_type.nil?
|
1155
1199
|
header_params['Content-Type'] = content_type
|
1156
1200
|
end
|
1201
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1157
1202
|
|
1158
1203
|
# form parameters
|
1159
1204
|
form_params = opts[:form_params] || {}
|
@@ -1189,6 +1234,7 @@ module PulpContainerClient
|
|
1189
1234
|
# @param container_container_repository_href [String]
|
1190
1235
|
# @param repository_sign [RepositorySign]
|
1191
1236
|
# @param [Hash] opts the optional parameters
|
1237
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1192
1238
|
# @return [AsyncOperationResponse]
|
1193
1239
|
def sign(container_container_repository_href, repository_sign, opts = {})
|
1194
1240
|
data, _status_code, _headers = sign_with_http_info(container_container_repository_href, repository_sign, opts)
|
@@ -1200,6 +1246,7 @@ module PulpContainerClient
|
|
1200
1246
|
# @param container_container_repository_href [String]
|
1201
1247
|
# @param repository_sign [RepositorySign]
|
1202
1248
|
# @param [Hash] opts the optional parameters
|
1249
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1203
1250
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1204
1251
|
def sign_with_http_info(container_container_repository_href, repository_sign, opts = {})
|
1205
1252
|
if @api_client.config.debugging
|
@@ -1228,6 +1275,7 @@ module PulpContainerClient
|
|
1228
1275
|
if !content_type.nil?
|
1229
1276
|
header_params['Content-Type'] = content_type
|
1230
1277
|
end
|
1278
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1231
1279
|
|
1232
1280
|
# form parameters
|
1233
1281
|
form_params = opts[:form_params] || {}
|
@@ -1263,6 +1311,7 @@ module PulpContainerClient
|
|
1263
1311
|
# @param container_container_repository_href [String]
|
1264
1312
|
# @param container_repository_sync_url [ContainerRepositorySyncURL]
|
1265
1313
|
# @param [Hash] opts the optional parameters
|
1314
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1266
1315
|
# @return [AsyncOperationResponse]
|
1267
1316
|
def sync(container_container_repository_href, container_repository_sync_url, opts = {})
|
1268
1317
|
data, _status_code, _headers = sync_with_http_info(container_container_repository_href, container_repository_sync_url, opts)
|
@@ -1274,6 +1323,7 @@ module PulpContainerClient
|
|
1274
1323
|
# @param container_container_repository_href [String]
|
1275
1324
|
# @param container_repository_sync_url [ContainerRepositorySyncURL]
|
1276
1325
|
# @param [Hash] opts the optional parameters
|
1326
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1277
1327
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1278
1328
|
def sync_with_http_info(container_container_repository_href, container_repository_sync_url, opts = {})
|
1279
1329
|
if @api_client.config.debugging
|
@@ -1302,6 +1352,7 @@ module PulpContainerClient
|
|
1302
1352
|
if !content_type.nil?
|
1303
1353
|
header_params['Content-Type'] = content_type
|
1304
1354
|
end
|
1355
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1305
1356
|
|
1306
1357
|
# form parameters
|
1307
1358
|
form_params = opts[:form_params] || {}
|
@@ -1337,6 +1388,7 @@ module PulpContainerClient
|
|
1337
1388
|
# @param container_container_repository_href [String]
|
1338
1389
|
# @param tag_image [TagImage]
|
1339
1390
|
# @param [Hash] opts the optional parameters
|
1391
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1340
1392
|
# @return [AsyncOperationResponse]
|
1341
1393
|
def tag(container_container_repository_href, tag_image, opts = {})
|
1342
1394
|
data, _status_code, _headers = tag_with_http_info(container_container_repository_href, tag_image, opts)
|
@@ -1348,6 +1400,7 @@ module PulpContainerClient
|
|
1348
1400
|
# @param container_container_repository_href [String]
|
1349
1401
|
# @param tag_image [TagImage]
|
1350
1402
|
# @param [Hash] opts the optional parameters
|
1403
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1351
1404
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1352
1405
|
def tag_with_http_info(container_container_repository_href, tag_image, opts = {})
|
1353
1406
|
if @api_client.config.debugging
|
@@ -1376,6 +1429,7 @@ module PulpContainerClient
|
|
1376
1429
|
if !content_type.nil?
|
1377
1430
|
header_params['Content-Type'] = content_type
|
1378
1431
|
end
|
1432
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1379
1433
|
|
1380
1434
|
# form parameters
|
1381
1435
|
form_params = opts[:form_params] || {}
|
@@ -1411,6 +1465,7 @@ module PulpContainerClient
|
|
1411
1465
|
# @param container_container_repository_href [String]
|
1412
1466
|
# @param unset_label [UnsetLabel]
|
1413
1467
|
# @param [Hash] opts the optional parameters
|
1468
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1414
1469
|
# @return [UnsetLabelResponse]
|
1415
1470
|
def unset_label(container_container_repository_href, unset_label, opts = {})
|
1416
1471
|
data, _status_code, _headers = unset_label_with_http_info(container_container_repository_href, unset_label, opts)
|
@@ -1422,6 +1477,7 @@ module PulpContainerClient
|
|
1422
1477
|
# @param container_container_repository_href [String]
|
1423
1478
|
# @param unset_label [UnsetLabel]
|
1424
1479
|
# @param [Hash] opts the optional parameters
|
1480
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1425
1481
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
1426
1482
|
def unset_label_with_http_info(container_container_repository_href, unset_label, opts = {})
|
1427
1483
|
if @api_client.config.debugging
|
@@ -1450,6 +1506,7 @@ module PulpContainerClient
|
|
1450
1506
|
if !content_type.nil?
|
1451
1507
|
header_params['Content-Type'] = content_type
|
1452
1508
|
end
|
1509
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1453
1510
|
|
1454
1511
|
# form parameters
|
1455
1512
|
form_params = opts[:form_params] || {}
|
@@ -1485,6 +1542,7 @@ module PulpContainerClient
|
|
1485
1542
|
# @param container_container_repository_href [String]
|
1486
1543
|
# @param un_tag_image [UnTagImage]
|
1487
1544
|
# @param [Hash] opts the optional parameters
|
1545
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1488
1546
|
# @return [AsyncOperationResponse]
|
1489
1547
|
def untag(container_container_repository_href, un_tag_image, opts = {})
|
1490
1548
|
data, _status_code, _headers = untag_with_http_info(container_container_repository_href, un_tag_image, opts)
|
@@ -1496,6 +1554,7 @@ module PulpContainerClient
|
|
1496
1554
|
# @param container_container_repository_href [String]
|
1497
1555
|
# @param un_tag_image [UnTagImage]
|
1498
1556
|
# @param [Hash] opts the optional parameters
|
1557
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1499
1558
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1500
1559
|
def untag_with_http_info(container_container_repository_href, un_tag_image, opts = {})
|
1501
1560
|
if @api_client.config.debugging
|
@@ -1524,6 +1583,7 @@ module PulpContainerClient
|
|
1524
1583
|
if !content_type.nil?
|
1525
1584
|
header_params['Content-Type'] = content_type
|
1526
1585
|
end
|
1586
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1527
1587
|
|
1528
1588
|
# form parameters
|
1529
1589
|
form_params = opts[:form_params] || {}
|
@@ -1559,6 +1619,7 @@ module PulpContainerClient
|
|
1559
1619
|
# @param container_container_repository_href [String]
|
1560
1620
|
# @param container_container_repository [ContainerContainerRepository]
|
1561
1621
|
# @param [Hash] opts the optional parameters
|
1622
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1562
1623
|
# @return [AsyncOperationResponse]
|
1563
1624
|
def update(container_container_repository_href, container_container_repository, opts = {})
|
1564
1625
|
data, _status_code, _headers = update_with_http_info(container_container_repository_href, container_container_repository, opts)
|
@@ -1570,6 +1631,7 @@ module PulpContainerClient
|
|
1570
1631
|
# @param container_container_repository_href [String]
|
1571
1632
|
# @param container_container_repository [ContainerContainerRepository]
|
1572
1633
|
# @param [Hash] opts the optional parameters
|
1634
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1573
1635
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1574
1636
|
def update_with_http_info(container_container_repository_href, container_container_repository, opts = {})
|
1575
1637
|
if @api_client.config.debugging
|
@@ -1598,6 +1660,7 @@ module PulpContainerClient
|
|
1598
1660
|
if !content_type.nil?
|
1599
1661
|
header_params['Content-Type'] = content_type
|
1600
1662
|
end
|
1663
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1601
1664
|
|
1602
1665
|
# form parameters
|
1603
1666
|
form_params = opts[:form_params] || {}
|