pulp_container_client 2.19.7 → 2.19.8
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 +7 -7
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPullThroughDistribution.md +7 -7
- data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -9
- data/docs/ContainerContainerPullThroughRemote.md +1 -1
- data/docs/ContainerContainerPullThroughRemoteResponse.md +1 -1
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerManifestResponse.md +2 -2
- 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 +7 -7
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPullThroughRemote.md +1 -1
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- 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 +29 -29
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +38 -38
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +29 -29
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +38 -38
- 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 +38 -38
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +46 -46
- 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/container_manifest_response.rb +2 -2
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +29 -29
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +29 -29
- 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 +38 -38
- 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 +8 -8
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- 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 +5 -5
- 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_push_repository_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_push_repository_href, nested_role, opts = {})
|
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(container_container_push_repository_href, nested_role, opts)
|
|
@@ -35,6 +36,7 @@ module PulpContainerClient
|
|
|
35
36
|
# @param container_container_push_repository_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_push_repository_href, nested_role, 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] || {}
|
|
@@ -92,6 +95,7 @@ module PulpContainerClient
|
|
|
92
95
|
# List container push repositorys
|
|
93
96
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
|
94
97
|
# @param [Hash] opts the optional parameters
|
|
98
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
95
99
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
96
100
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
97
101
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -130,6 +134,7 @@ module PulpContainerClient
|
|
|
130
134
|
# List container push repositorys
|
|
131
135
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
|
132
136
|
# @param [Hash] opts the optional parameters
|
|
137
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
133
138
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
134
139
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
135
140
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -207,6 +212,7 @@ module PulpContainerClient
|
|
|
207
212
|
header_params = opts[:header_params] || {}
|
|
208
213
|
# HTTP header 'Accept' (if needed)
|
|
209
214
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
215
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
210
216
|
|
|
211
217
|
# form parameters
|
|
212
218
|
form_params = opts[:form_params] || {}
|
|
@@ -240,6 +246,7 @@ module PulpContainerClient
|
|
|
240
246
|
# List roles assigned to this object.
|
|
241
247
|
# @param container_container_push_repository_href [String]
|
|
242
248
|
# @param [Hash] opts the optional parameters
|
|
249
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
243
250
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
244
251
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
245
252
|
# @return [ObjectRolesResponse]
|
|
@@ -252,6 +259,7 @@ module PulpContainerClient
|
|
|
252
259
|
# List roles assigned to this object.
|
|
253
260
|
# @param container_container_push_repository_href [String]
|
|
254
261
|
# @param [Hash] opts the optional parameters
|
|
262
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
255
263
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
256
264
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
257
265
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -275,6 +283,7 @@ module PulpContainerClient
|
|
|
275
283
|
header_params = opts[:header_params] || {}
|
|
276
284
|
# HTTP header 'Accept' (if needed)
|
|
277
285
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
286
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
278
287
|
|
|
279
288
|
# form parameters
|
|
280
289
|
form_params = opts[:form_params] || {}
|
|
@@ -308,6 +317,7 @@ module PulpContainerClient
|
|
|
308
317
|
# List permissions available to the current user on this object.
|
|
309
318
|
# @param container_container_push_repository_href [String]
|
|
310
319
|
# @param [Hash] opts the optional parameters
|
|
320
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
311
321
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
312
322
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
313
323
|
# @return [MyPermissionsResponse]
|
|
@@ -320,6 +330,7 @@ module PulpContainerClient
|
|
|
320
330
|
# List permissions available to the current user on this object.
|
|
321
331
|
# @param container_container_push_repository_href [String]
|
|
322
332
|
# @param [Hash] opts the optional parameters
|
|
333
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
323
334
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
324
335
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
325
336
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -343,6 +354,7 @@ module PulpContainerClient
|
|
|
343
354
|
header_params = opts[:header_params] || {}
|
|
344
355
|
# HTTP header 'Accept' (if needed)
|
|
345
356
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
357
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
346
358
|
|
|
347
359
|
# form parameters
|
|
348
360
|
form_params = opts[:form_params] || {}
|
|
@@ -377,6 +389,7 @@ module PulpContainerClient
|
|
|
377
389
|
# @param container_container_push_repository_href [String]
|
|
378
390
|
# @param patchedcontainer_container_push_repository [PatchedcontainerContainerPushRepository]
|
|
379
391
|
# @param [Hash] opts the optional parameters
|
|
392
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
380
393
|
# @return [AsyncOperationResponse]
|
|
381
394
|
def partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository, opts = {})
|
|
382
395
|
data, _status_code, _headers = partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository, opts)
|
|
@@ -388,6 +401,7 @@ module PulpContainerClient
|
|
|
388
401
|
# @param container_container_push_repository_href [String]
|
|
389
402
|
# @param patchedcontainer_container_push_repository [PatchedcontainerContainerPushRepository]
|
|
390
403
|
# @param [Hash] opts the optional parameters
|
|
404
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
391
405
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
392
406
|
def partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository, opts = {})
|
|
393
407
|
if @api_client.config.debugging
|
|
@@ -413,6 +427,7 @@ module PulpContainerClient
|
|
|
413
427
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
414
428
|
# HTTP header 'Content-Type'
|
|
415
429
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
430
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
416
431
|
|
|
417
432
|
# form parameters
|
|
418
433
|
form_params = opts[:form_params] || {}
|
|
@@ -446,6 +461,7 @@ module PulpContainerClient
|
|
|
446
461
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
|
447
462
|
# @param container_container_push_repository_href [String]
|
|
448
463
|
# @param [Hash] opts the optional parameters
|
|
464
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
449
465
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
450
466
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
451
467
|
# @return [ContainerContainerPushRepositoryResponse]
|
|
@@ -458,6 +474,7 @@ module PulpContainerClient
|
|
|
458
474
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
|
459
475
|
# @param container_container_push_repository_href [String]
|
|
460
476
|
# @param [Hash] opts the optional parameters
|
|
477
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
461
478
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
462
479
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
463
480
|
# @return [Array<(ContainerContainerPushRepositoryResponse, Integer, Hash)>] ContainerContainerPushRepositoryResponse data, response status code and response headers
|
|
@@ -481,6 +498,7 @@ module PulpContainerClient
|
|
|
481
498
|
header_params = opts[:header_params] || {}
|
|
482
499
|
# HTTP header 'Accept' (if needed)
|
|
483
500
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
501
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
484
502
|
|
|
485
503
|
# form parameters
|
|
486
504
|
form_params = opts[:form_params] || {}
|
|
@@ -515,6 +533,7 @@ module PulpContainerClient
|
|
|
515
533
|
# @param container_container_push_repository_href [String]
|
|
516
534
|
# @param remove_image [RemoveImage]
|
|
517
535
|
# @param [Hash] opts the optional parameters
|
|
536
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
518
537
|
# @return [AsyncOperationResponse]
|
|
519
538
|
def remove_image(container_container_push_repository_href, remove_image, opts = {})
|
|
520
539
|
data, _status_code, _headers = remove_image_with_http_info(container_container_push_repository_href, remove_image, opts)
|
|
@@ -526,6 +545,7 @@ module PulpContainerClient
|
|
|
526
545
|
# @param container_container_push_repository_href [String]
|
|
527
546
|
# @param remove_image [RemoveImage]
|
|
528
547
|
# @param [Hash] opts the optional parameters
|
|
548
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
529
549
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
530
550
|
def remove_image_with_http_info(container_container_push_repository_href, remove_image, opts = {})
|
|
531
551
|
if @api_client.config.debugging
|
|
@@ -551,6 +571,7 @@ module PulpContainerClient
|
|
|
551
571
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
552
572
|
# HTTP header 'Content-Type'
|
|
553
573
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
574
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
554
575
|
|
|
555
576
|
# form parameters
|
|
556
577
|
form_params = opts[:form_params] || {}
|
|
@@ -585,6 +606,7 @@ module PulpContainerClient
|
|
|
585
606
|
# @param container_container_push_repository_href [String]
|
|
586
607
|
# @param nested_role [NestedRole]
|
|
587
608
|
# @param [Hash] opts the optional parameters
|
|
609
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
588
610
|
# @return [NestedRoleResponse]
|
|
589
611
|
def remove_role(container_container_push_repository_href, nested_role, opts = {})
|
|
590
612
|
data, _status_code, _headers = remove_role_with_http_info(container_container_push_repository_href, nested_role, opts)
|
|
@@ -596,6 +618,7 @@ module PulpContainerClient
|
|
|
596
618
|
# @param container_container_push_repository_href [String]
|
|
597
619
|
# @param nested_role [NestedRole]
|
|
598
620
|
# @param [Hash] opts the optional parameters
|
|
621
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
599
622
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
600
623
|
def remove_role_with_http_info(container_container_push_repository_href, nested_role, opts = {})
|
|
601
624
|
if @api_client.config.debugging
|
|
@@ -621,6 +644,7 @@ module PulpContainerClient
|
|
|
621
644
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
622
645
|
# HTTP header 'Content-Type'
|
|
623
646
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
647
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
624
648
|
|
|
625
649
|
# form parameters
|
|
626
650
|
form_params = opts[:form_params] || {}
|
|
@@ -654,6 +678,7 @@ module PulpContainerClient
|
|
|
654
678
|
# @param container_container_push_repository_href [String]
|
|
655
679
|
# @param remove_signatures [RemoveSignatures]
|
|
656
680
|
# @param [Hash] opts the optional parameters
|
|
681
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
657
682
|
# @return [RemoveSignaturesResponse]
|
|
658
683
|
def remove_signatures(container_container_push_repository_href, remove_signatures, opts = {})
|
|
659
684
|
data, _status_code, _headers = remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures, opts)
|
|
@@ -664,6 +689,7 @@ module PulpContainerClient
|
|
|
664
689
|
# @param container_container_push_repository_href [String]
|
|
665
690
|
# @param remove_signatures [RemoveSignatures]
|
|
666
691
|
# @param [Hash] opts the optional parameters
|
|
692
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
667
693
|
# @return [Array<(RemoveSignaturesResponse, Integer, Hash)>] RemoveSignaturesResponse data, response status code and response headers
|
|
668
694
|
def remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures, opts = {})
|
|
669
695
|
if @api_client.config.debugging
|
|
@@ -689,6 +715,7 @@ module PulpContainerClient
|
|
|
689
715
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
690
716
|
# HTTP header 'Content-Type'
|
|
691
717
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
718
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
692
719
|
|
|
693
720
|
# form parameters
|
|
694
721
|
form_params = opts[:form_params] || {}
|
|
@@ -723,6 +750,7 @@ module PulpContainerClient
|
|
|
723
750
|
# @param container_container_push_repository_href [String]
|
|
724
751
|
# @param repository_sign [RepositorySign]
|
|
725
752
|
# @param [Hash] opts the optional parameters
|
|
753
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
726
754
|
# @return [AsyncOperationResponse]
|
|
727
755
|
def sign(container_container_push_repository_href, repository_sign, opts = {})
|
|
728
756
|
data, _status_code, _headers = sign_with_http_info(container_container_push_repository_href, repository_sign, opts)
|
|
@@ -734,6 +762,7 @@ module PulpContainerClient
|
|
|
734
762
|
# @param container_container_push_repository_href [String]
|
|
735
763
|
# @param repository_sign [RepositorySign]
|
|
736
764
|
# @param [Hash] opts the optional parameters
|
|
765
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
737
766
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
738
767
|
def sign_with_http_info(container_container_push_repository_href, repository_sign, opts = {})
|
|
739
768
|
if @api_client.config.debugging
|
|
@@ -759,6 +788,7 @@ module PulpContainerClient
|
|
|
759
788
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
760
789
|
# HTTP header 'Content-Type'
|
|
761
790
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
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_push_repository_href [String]
|
|
794
824
|
# @param tag_image [TagImage]
|
|
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 tag(container_container_push_repository_href, tag_image, opts = {})
|
|
798
829
|
data, _status_code, _headers = tag_with_http_info(container_container_push_repository_href, tag_image, opts)
|
|
@@ -804,6 +835,7 @@ module PulpContainerClient
|
|
|
804
835
|
# @param container_container_push_repository_href [String]
|
|
805
836
|
# @param tag_image [TagImage]
|
|
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 tag_with_http_info(container_container_push_repository_href, tag_image, 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] || {}
|
|
@@ -863,6 +896,7 @@ module PulpContainerClient
|
|
|
863
896
|
# @param container_container_push_repository_href [String]
|
|
864
897
|
# @param un_tag_image [UnTagImage]
|
|
865
898
|
# @param [Hash] opts the optional parameters
|
|
899
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
866
900
|
# @return [AsyncOperationResponse]
|
|
867
901
|
def untag(container_container_push_repository_href, un_tag_image, opts = {})
|
|
868
902
|
data, _status_code, _headers = untag_with_http_info(container_container_push_repository_href, un_tag_image, opts)
|
|
@@ -874,6 +908,7 @@ module PulpContainerClient
|
|
|
874
908
|
# @param container_container_push_repository_href [String]
|
|
875
909
|
# @param un_tag_image [UnTagImage]
|
|
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
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
878
913
|
def untag_with_http_info(container_container_push_repository_href, un_tag_image, opts = {})
|
|
879
914
|
if @api_client.config.debugging
|
|
@@ -899,6 +934,7 @@ module PulpContainerClient
|
|
|
899
934
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
900
935
|
# HTTP header 'Content-Type'
|
|
901
936
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
937
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
902
938
|
|
|
903
939
|
# form parameters
|
|
904
940
|
form_params = opts[:form_params] || {}
|
|
@@ -933,6 +969,7 @@ module PulpContainerClient
|
|
|
933
969
|
# @param container_container_push_repository_href [String]
|
|
934
970
|
# @param container_container_push_repository [ContainerContainerPushRepository]
|
|
935
971
|
# @param [Hash] opts the optional parameters
|
|
972
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
936
973
|
# @return [AsyncOperationResponse]
|
|
937
974
|
def update(container_container_push_repository_href, container_container_push_repository, opts = {})
|
|
938
975
|
data, _status_code, _headers = update_with_http_info(container_container_push_repository_href, container_container_push_repository, opts)
|
|
@@ -944,6 +981,7 @@ module PulpContainerClient
|
|
|
944
981
|
# @param container_container_push_repository_href [String]
|
|
945
982
|
# @param container_container_push_repository [ContainerContainerPushRepository]
|
|
946
983
|
# @param [Hash] opts the optional parameters
|
|
984
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
947
985
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
948
986
|
def update_with_http_info(container_container_push_repository_href, container_container_push_repository, opts = {})
|
|
949
987
|
if @api_client.config.debugging
|
|
@@ -969,6 +1007,7 @@ module PulpContainerClient
|
|
|
969
1007
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
970
1008
|
# HTTP header 'Content-Type'
|
|
971
1009
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
1010
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
972
1011
|
|
|
973
1012
|
# form parameters
|
|
974
1013
|
form_params = opts[:form_params] || {}
|
|
@@ -23,6 +23,7 @@ module PulpContainerClient
|
|
|
23
23
|
# Trigger an asynchronous task to delete a repository version.
|
|
24
24
|
# @param container_container_push_repository_version_href [String]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
27
|
# @return [AsyncOperationResponse]
|
|
27
28
|
def delete(container_container_push_repository_version_href, opts = {})
|
|
28
29
|
data, _status_code, _headers = delete_with_http_info(container_container_push_repository_version_href, opts)
|
|
@@ -33,6 +34,7 @@ module PulpContainerClient
|
|
|
33
34
|
# Trigger an asynchronous task to delete a repository version.
|
|
34
35
|
# @param container_container_push_repository_version_href [String]
|
|
35
36
|
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
37
39
|
def delete_with_http_info(container_container_push_repository_version_href, opts = {})
|
|
38
40
|
if @api_client.config.debugging
|
|
@@ -52,6 +54,7 @@ module PulpContainerClient
|
|
|
52
54
|
header_params = opts[:header_params] || {}
|
|
53
55
|
# HTTP header 'Accept' (if needed)
|
|
54
56
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
57
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
55
58
|
|
|
56
59
|
# form parameters
|
|
57
60
|
form_params = opts[:form_params] || {}
|
|
@@ -85,6 +88,7 @@ module PulpContainerClient
|
|
|
85
88
|
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
|
86
89
|
# @param container_container_push_repository_href [String]
|
|
87
90
|
# @param [Hash] opts the optional parameters
|
|
91
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
88
92
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
89
93
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
90
94
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -116,6 +120,7 @@ module PulpContainerClient
|
|
|
116
120
|
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
|
117
121
|
# @param container_container_push_repository_href [String]
|
|
118
122
|
# @param [Hash] opts the optional parameters
|
|
123
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
119
124
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
120
125
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
121
126
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -181,6 +186,7 @@ module PulpContainerClient
|
|
|
181
186
|
header_params = opts[:header_params] || {}
|
|
182
187
|
# HTTP header 'Accept' (if needed)
|
|
183
188
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
189
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
184
190
|
|
|
185
191
|
# form parameters
|
|
186
192
|
form_params = opts[:form_params] || {}
|
|
@@ -214,6 +220,7 @@ module PulpContainerClient
|
|
|
214
220
|
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
|
215
221
|
# @param container_container_push_repository_version_href [String]
|
|
216
222
|
# @param [Hash] opts the optional parameters
|
|
223
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
217
224
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
218
225
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
219
226
|
# @return [RepositoryVersionResponse]
|
|
@@ -226,6 +233,7 @@ module PulpContainerClient
|
|
|
226
233
|
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
|
227
234
|
# @param container_container_push_repository_version_href [String]
|
|
228
235
|
# @param [Hash] opts the optional parameters
|
|
236
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
229
237
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
230
238
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
231
239
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
|
@@ -249,6 +257,7 @@ module PulpContainerClient
|
|
|
249
257
|
header_params = opts[:header_params] || {}
|
|
250
258
|
# HTTP header 'Accept' (if needed)
|
|
251
259
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
260
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
252
261
|
|
|
253
262
|
# form parameters
|
|
254
263
|
form_params = opts[:form_params] || {}
|
|
@@ -282,6 +291,7 @@ module PulpContainerClient
|
|
|
282
291
|
# @param container_container_push_repository_version_href [String]
|
|
283
292
|
# @param repair [Repair]
|
|
284
293
|
# @param [Hash] opts the optional parameters
|
|
294
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
285
295
|
# @return [AsyncOperationResponse]
|
|
286
296
|
def repair(container_container_push_repository_version_href, repair, opts = {})
|
|
287
297
|
data, _status_code, _headers = repair_with_http_info(container_container_push_repository_version_href, repair, opts)
|
|
@@ -292,6 +302,7 @@ module PulpContainerClient
|
|
|
292
302
|
# @param container_container_push_repository_version_href [String]
|
|
293
303
|
# @param repair [Repair]
|
|
294
304
|
# @param [Hash] opts the optional parameters
|
|
305
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
295
306
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
296
307
|
def repair_with_http_info(container_container_push_repository_version_href, repair, opts = {})
|
|
297
308
|
if @api_client.config.debugging
|
|
@@ -317,6 +328,7 @@ module PulpContainerClient
|
|
|
317
328
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
318
329
|
# HTTP header 'Content-Type'
|
|
319
330
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
331
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
320
332
|
|
|
321
333
|
# form parameters
|
|
322
334
|
form_params = opts[:form_params] || {}
|
|
@@ -23,6 +23,7 @@ module PulpContainerClient
|
|
|
23
23
|
# Trigger an asynchronous task to delete a repository version.
|
|
24
24
|
# @param container_container_repository_version_href [String]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
27
|
# @return [AsyncOperationResponse]
|
|
27
28
|
def delete(container_container_repository_version_href, opts = {})
|
|
28
29
|
data, _status_code, _headers = delete_with_http_info(container_container_repository_version_href, opts)
|
|
@@ -33,6 +34,7 @@ module PulpContainerClient
|
|
|
33
34
|
# Trigger an asynchronous task to delete a repository version.
|
|
34
35
|
# @param container_container_repository_version_href [String]
|
|
35
36
|
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
37
39
|
def delete_with_http_info(container_container_repository_version_href, opts = {})
|
|
38
40
|
if @api_client.config.debugging
|
|
@@ -52,6 +54,7 @@ module PulpContainerClient
|
|
|
52
54
|
header_params = opts[:header_params] || {}
|
|
53
55
|
# HTTP header 'Accept' (if needed)
|
|
54
56
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
57
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
55
58
|
|
|
56
59
|
# form parameters
|
|
57
60
|
form_params = opts[:form_params] || {}
|
|
@@ -85,6 +88,7 @@ module PulpContainerClient
|
|
|
85
88
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
86
89
|
# @param container_container_repository_href [String]
|
|
87
90
|
# @param [Hash] opts the optional parameters
|
|
91
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
88
92
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
89
93
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
90
94
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -116,6 +120,7 @@ module PulpContainerClient
|
|
|
116
120
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
117
121
|
# @param container_container_repository_href [String]
|
|
118
122
|
# @param [Hash] opts the optional parameters
|
|
123
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
119
124
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
120
125
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
121
126
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -181,6 +186,7 @@ module PulpContainerClient
|
|
|
181
186
|
header_params = opts[:header_params] || {}
|
|
182
187
|
# HTTP header 'Accept' (if needed)
|
|
183
188
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
189
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
184
190
|
|
|
185
191
|
# form parameters
|
|
186
192
|
form_params = opts[:form_params] || {}
|
|
@@ -214,6 +220,7 @@ module PulpContainerClient
|
|
|
214
220
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
215
221
|
# @param container_container_repository_version_href [String]
|
|
216
222
|
# @param [Hash] opts the optional parameters
|
|
223
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
217
224
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
218
225
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
219
226
|
# @return [RepositoryVersionResponse]
|
|
@@ -226,6 +233,7 @@ module PulpContainerClient
|
|
|
226
233
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
227
234
|
# @param container_container_repository_version_href [String]
|
|
228
235
|
# @param [Hash] opts the optional parameters
|
|
236
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
229
237
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
230
238
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
231
239
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
|
@@ -249,6 +257,7 @@ module PulpContainerClient
|
|
|
249
257
|
header_params = opts[:header_params] || {}
|
|
250
258
|
# HTTP header 'Accept' (if needed)
|
|
251
259
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
260
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
252
261
|
|
|
253
262
|
# form parameters
|
|
254
263
|
form_params = opts[:form_params] || {}
|
|
@@ -282,6 +291,7 @@ module PulpContainerClient
|
|
|
282
291
|
# @param container_container_repository_version_href [String]
|
|
283
292
|
# @param repair [Repair]
|
|
284
293
|
# @param [Hash] opts the optional parameters
|
|
294
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
285
295
|
# @return [AsyncOperationResponse]
|
|
286
296
|
def repair(container_container_repository_version_href, repair, opts = {})
|
|
287
297
|
data, _status_code, _headers = repair_with_http_info(container_container_repository_version_href, repair, opts)
|
|
@@ -292,6 +302,7 @@ module PulpContainerClient
|
|
|
292
302
|
# @param container_container_repository_version_href [String]
|
|
293
303
|
# @param repair [Repair]
|
|
294
304
|
# @param [Hash] opts the optional parameters
|
|
305
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
295
306
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
296
307
|
def repair_with_http_info(container_container_repository_version_href, repair, opts = {})
|
|
297
308
|
if @api_client.config.debugging
|
|
@@ -317,6 +328,7 @@ module PulpContainerClient
|
|
|
317
328
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
318
329
|
# HTTP header 'Content-Type'
|
|
319
330
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
331
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
320
332
|
|
|
321
333
|
# form parameters
|
|
322
334
|
form_params = opts[:form_params] || {}
|
|
@@ -21,6 +21,9 @@ module PulpContainerClient
|
|
|
21
21
|
end
|
|
22
22
|
# Handles GET requests for the /token/ endpoint.
|
|
23
23
|
# @param [Hash] opts the optional parameters
|
|
24
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
26
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
24
27
|
# @return [nil]
|
|
25
28
|
def get(opts = {})
|
|
26
29
|
get_with_http_info(opts)
|
|
@@ -29,6 +32,9 @@ module PulpContainerClient
|
|
|
29
32
|
|
|
30
33
|
# Handles GET requests for the /token/ endpoint.
|
|
31
34
|
# @param [Hash] opts the optional parameters
|
|
35
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
37
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
32
38
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
33
39
|
def get_with_http_info(opts = {})
|
|
34
40
|
if @api_client.config.debugging
|
|
@@ -39,9 +45,12 @@ module PulpContainerClient
|
|
|
39
45
|
|
|
40
46
|
# query parameters
|
|
41
47
|
query_params = opts[:query_params] || {}
|
|
48
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
49
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
42
50
|
|
|
43
51
|
# header parameters
|
|
44
52
|
header_params = opts[:header_params] || {}
|
|
53
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
45
54
|
|
|
46
55
|
# form parameters
|
|
47
56
|
form_params = opts[:form_params] || {}
|
|
@@ -15,22 +15,22 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistribution
|
|
18
|
-
attr_accessor :pulp_labels
|
|
19
|
-
|
|
20
18
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
21
19
|
attr_accessor :content_guard
|
|
22
20
|
|
|
23
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
24
|
-
attr_accessor :repository
|
|
25
|
-
|
|
26
21
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
27
22
|
attr_accessor :base_path
|
|
28
23
|
|
|
24
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
|
+
attr_accessor :name
|
|
26
|
+
|
|
29
27
|
# Whether this distribution should be shown in the content app.
|
|
30
28
|
attr_accessor :hidden
|
|
31
29
|
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
attr_accessor :pulp_labels
|
|
31
|
+
|
|
32
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
33
|
+
attr_accessor :repository
|
|
34
34
|
|
|
35
35
|
# RepositoryVersion to be served
|
|
36
36
|
attr_accessor :repository_version
|
|
@@ -44,12 +44,12 @@ module PulpContainerClient
|
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
45
|
def self.attribute_map
|
|
46
46
|
{
|
|
47
|
-
:'pulp_labels' => :'pulp_labels',
|
|
48
47
|
:'content_guard' => :'content_guard',
|
|
49
|
-
:'repository' => :'repository',
|
|
50
48
|
:'base_path' => :'base_path',
|
|
51
|
-
:'hidden' => :'hidden',
|
|
52
49
|
:'name' => :'name',
|
|
50
|
+
:'hidden' => :'hidden',
|
|
51
|
+
:'pulp_labels' => :'pulp_labels',
|
|
52
|
+
:'repository' => :'repository',
|
|
53
53
|
:'repository_version' => :'repository_version',
|
|
54
54
|
:'private' => :'private',
|
|
55
55
|
:'description' => :'description'
|
|
@@ -59,12 +59,12 @@ module PulpContainerClient
|
|
|
59
59
|
# Attribute type mapping.
|
|
60
60
|
def self.openapi_types
|
|
61
61
|
{
|
|
62
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
63
62
|
:'content_guard' => :'String',
|
|
64
|
-
:'repository' => :'String',
|
|
65
63
|
:'base_path' => :'String',
|
|
66
|
-
:'hidden' => :'Boolean',
|
|
67
64
|
:'name' => :'String',
|
|
65
|
+
:'hidden' => :'Boolean',
|
|
66
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
67
|
+
:'repository' => :'String',
|
|
68
68
|
:'repository_version' => :'String',
|
|
69
69
|
:'private' => :'Boolean',
|
|
70
70
|
:'description' => :'String'
|
|
@@ -95,32 +95,32 @@ module PulpContainerClient
|
|
|
95
95
|
h[k.to_sym] = v
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
if attributes.key?(:'pulp_labels')
|
|
99
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
100
|
-
self.pulp_labels = value
|
|
101
|
-
end
|
|
102
|
-
end
|
|
103
|
-
|
|
104
98
|
if attributes.key?(:'content_guard')
|
|
105
99
|
self.content_guard = attributes[:'content_guard']
|
|
106
100
|
end
|
|
107
101
|
|
|
108
|
-
if attributes.key?(:'repository')
|
|
109
|
-
self.repository = attributes[:'repository']
|
|
110
|
-
end
|
|
111
|
-
|
|
112
102
|
if attributes.key?(:'base_path')
|
|
113
103
|
self.base_path = attributes[:'base_path']
|
|
114
104
|
end
|
|
115
105
|
|
|
106
|
+
if attributes.key?(:'name')
|
|
107
|
+
self.name = attributes[:'name']
|
|
108
|
+
end
|
|
109
|
+
|
|
116
110
|
if attributes.key?(:'hidden')
|
|
117
111
|
self.hidden = attributes[:'hidden']
|
|
118
112
|
else
|
|
119
113
|
self.hidden = false
|
|
120
114
|
end
|
|
121
115
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
|
|
116
|
+
if attributes.key?(:'pulp_labels')
|
|
117
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
118
|
+
self.pulp_labels = value
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
if attributes.key?(:'repository')
|
|
123
|
+
self.repository = attributes[:'repository']
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
if attributes.key?(:'repository_version')
|
|
@@ -217,12 +217,12 @@ module PulpContainerClient
|
|
|
217
217
|
def ==(o)
|
|
218
218
|
return true if self.equal?(o)
|
|
219
219
|
self.class == o.class &&
|
|
220
|
-
pulp_labels == o.pulp_labels &&
|
|
221
220
|
content_guard == o.content_guard &&
|
|
222
|
-
repository == o.repository &&
|
|
223
221
|
base_path == o.base_path &&
|
|
224
|
-
hidden == o.hidden &&
|
|
225
222
|
name == o.name &&
|
|
223
|
+
hidden == o.hidden &&
|
|
224
|
+
pulp_labels == o.pulp_labels &&
|
|
225
|
+
repository == o.repository &&
|
|
226
226
|
repository_version == o.repository_version &&
|
|
227
227
|
private == o.private &&
|
|
228
228
|
description == o.description
|
|
@@ -237,7 +237,7 @@ module PulpContainerClient
|
|
|
237
237
|
# Calculates hash code according to all attributes.
|
|
238
238
|
# @return [Integer] Hash code
|
|
239
239
|
def hash
|
|
240
|
-
[
|
|
240
|
+
[content_guard, base_path, name, hidden, pulp_labels, repository, repository_version, private, description].hash
|
|
241
241
|
end
|
|
242
242
|
|
|
243
243
|
# Builds the object from hash
|