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_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
|
@@ -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] || {}
|
@@ -96,6 +99,7 @@ module PulpContainerClient
|
|
96
99
|
# List container push repositorys
|
97
100
|
# 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.
|
98
101
|
# @param [Hash] opts the optional parameters
|
102
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
99
103
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
100
104
|
# @option opts [Integer] :limit Number of results to return per page.
|
101
105
|
# @option opts [String] :name Filter results where name matches value
|
@@ -135,6 +139,7 @@ module PulpContainerClient
|
|
135
139
|
# List container push repositorys
|
136
140
|
# 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.
|
137
141
|
# @param [Hash] opts the optional parameters
|
142
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
138
143
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
139
144
|
# @option opts [Integer] :limit Number of results to return per page.
|
140
145
|
# @option opts [String] :name Filter results where name matches value
|
@@ -214,6 +219,7 @@ module PulpContainerClient
|
|
214
219
|
header_params = opts[:header_params] || {}
|
215
220
|
# HTTP header 'Accept' (if needed)
|
216
221
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
222
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
217
223
|
|
218
224
|
# form parameters
|
219
225
|
form_params = opts[:form_params] || {}
|
@@ -248,6 +254,7 @@ module PulpContainerClient
|
|
248
254
|
# List roles assigned to this object.
|
249
255
|
# @param container_container_push_repository_href [String]
|
250
256
|
# @param [Hash] opts the optional parameters
|
257
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
251
258
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
252
259
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
253
260
|
# @return [ObjectRolesResponse]
|
@@ -260,6 +267,7 @@ module PulpContainerClient
|
|
260
267
|
# List roles assigned to this object.
|
261
268
|
# @param container_container_push_repository_href [String]
|
262
269
|
# @param [Hash] opts the optional parameters
|
270
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
263
271
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
264
272
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
265
273
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -283,6 +291,7 @@ module PulpContainerClient
|
|
283
291
|
header_params = opts[:header_params] || {}
|
284
292
|
# HTTP header 'Accept' (if needed)
|
285
293
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
294
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
286
295
|
|
287
296
|
# form parameters
|
288
297
|
form_params = opts[:form_params] || {}
|
@@ -317,6 +326,7 @@ module PulpContainerClient
|
|
317
326
|
# List permissions available to the current user on this object.
|
318
327
|
# @param container_container_push_repository_href [String]
|
319
328
|
# @param [Hash] opts the optional parameters
|
329
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
320
330
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
321
331
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
322
332
|
# @return [MyPermissionsResponse]
|
@@ -329,6 +339,7 @@ module PulpContainerClient
|
|
329
339
|
# List permissions available to the current user on this object.
|
330
340
|
# @param container_container_push_repository_href [String]
|
331
341
|
# @param [Hash] opts the optional parameters
|
342
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
332
343
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
333
344
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
334
345
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -352,6 +363,7 @@ module PulpContainerClient
|
|
352
363
|
header_params = opts[:header_params] || {}
|
353
364
|
# HTTP header 'Accept' (if needed)
|
354
365
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
366
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
355
367
|
|
356
368
|
# form parameters
|
357
369
|
form_params = opts[:form_params] || {}
|
@@ -387,6 +399,7 @@ module PulpContainerClient
|
|
387
399
|
# @param container_container_push_repository_href [String]
|
388
400
|
# @param patchedcontainer_container_push_repository [PatchedcontainerContainerPushRepository]
|
389
401
|
# @param [Hash] opts the optional parameters
|
402
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
390
403
|
# @return [AsyncOperationResponse]
|
391
404
|
def partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository, opts = {})
|
392
405
|
data, _status_code, _headers = partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository, opts)
|
@@ -398,6 +411,7 @@ module PulpContainerClient
|
|
398
411
|
# @param container_container_push_repository_href [String]
|
399
412
|
# @param patchedcontainer_container_push_repository [PatchedcontainerContainerPushRepository]
|
400
413
|
# @param [Hash] opts the optional parameters
|
414
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
401
415
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
402
416
|
def partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository, opts = {})
|
403
417
|
if @api_client.config.debugging
|
@@ -426,6 +440,7 @@ module PulpContainerClient
|
|
426
440
|
if !content_type.nil?
|
427
441
|
header_params['Content-Type'] = content_type
|
428
442
|
end
|
443
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
429
444
|
|
430
445
|
# form parameters
|
431
446
|
form_params = opts[:form_params] || {}
|
@@ -460,6 +475,7 @@ module PulpContainerClient
|
|
460
475
|
# 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.
|
461
476
|
# @param container_container_push_repository_href [String]
|
462
477
|
# @param [Hash] opts the optional parameters
|
478
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
463
479
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
464
480
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
465
481
|
# @return [ContainerContainerPushRepositoryResponse]
|
@@ -472,6 +488,7 @@ module PulpContainerClient
|
|
472
488
|
# 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.
|
473
489
|
# @param container_container_push_repository_href [String]
|
474
490
|
# @param [Hash] opts the optional parameters
|
491
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
475
492
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
476
493
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
477
494
|
# @return [Array<(ContainerContainerPushRepositoryResponse, Integer, Hash)>] ContainerContainerPushRepositoryResponse data, response status code and response headers
|
@@ -495,6 +512,7 @@ module PulpContainerClient
|
|
495
512
|
header_params = opts[:header_params] || {}
|
496
513
|
# HTTP header 'Accept' (if needed)
|
497
514
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
515
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
498
516
|
|
499
517
|
# form parameters
|
500
518
|
form_params = opts[:form_params] || {}
|
@@ -530,6 +548,7 @@ module PulpContainerClient
|
|
530
548
|
# @param container_container_push_repository_href [String]
|
531
549
|
# @param remove_image [RemoveImage]
|
532
550
|
# @param [Hash] opts the optional parameters
|
551
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
533
552
|
# @return [AsyncOperationResponse]
|
534
553
|
def remove_image(container_container_push_repository_href, remove_image, opts = {})
|
535
554
|
data, _status_code, _headers = remove_image_with_http_info(container_container_push_repository_href, remove_image, opts)
|
@@ -541,6 +560,7 @@ module PulpContainerClient
|
|
541
560
|
# @param container_container_push_repository_href [String]
|
542
561
|
# @param remove_image [RemoveImage]
|
543
562
|
# @param [Hash] opts the optional parameters
|
563
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
544
564
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
545
565
|
def remove_image_with_http_info(container_container_push_repository_href, remove_image, opts = {})
|
546
566
|
if @api_client.config.debugging
|
@@ -569,6 +589,7 @@ module PulpContainerClient
|
|
569
589
|
if !content_type.nil?
|
570
590
|
header_params['Content-Type'] = content_type
|
571
591
|
end
|
592
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
572
593
|
|
573
594
|
# form parameters
|
574
595
|
form_params = opts[:form_params] || {}
|
@@ -604,6 +625,7 @@ module PulpContainerClient
|
|
604
625
|
# @param container_container_push_repository_href [String]
|
605
626
|
# @param nested_role [NestedRole]
|
606
627
|
# @param [Hash] opts the optional parameters
|
628
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
607
629
|
# @return [NestedRoleResponse]
|
608
630
|
def remove_role(container_container_push_repository_href, nested_role, opts = {})
|
609
631
|
data, _status_code, _headers = remove_role_with_http_info(container_container_push_repository_href, nested_role, opts)
|
@@ -615,6 +637,7 @@ module PulpContainerClient
|
|
615
637
|
# @param container_container_push_repository_href [String]
|
616
638
|
# @param nested_role [NestedRole]
|
617
639
|
# @param [Hash] opts the optional parameters
|
640
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
618
641
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
619
642
|
def remove_role_with_http_info(container_container_push_repository_href, nested_role, opts = {})
|
620
643
|
if @api_client.config.debugging
|
@@ -643,6 +666,7 @@ module PulpContainerClient
|
|
643
666
|
if !content_type.nil?
|
644
667
|
header_params['Content-Type'] = content_type
|
645
668
|
end
|
669
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
646
670
|
|
647
671
|
# form parameters
|
648
672
|
form_params = opts[:form_params] || {}
|
@@ -677,6 +701,7 @@ module PulpContainerClient
|
|
677
701
|
# @param container_container_push_repository_href [String]
|
678
702
|
# @param remove_signatures [RemoveSignatures]
|
679
703
|
# @param [Hash] opts the optional parameters
|
704
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
680
705
|
# @return [RemoveSignaturesResponse]
|
681
706
|
def remove_signatures(container_container_push_repository_href, remove_signatures, opts = {})
|
682
707
|
data, _status_code, _headers = remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures, opts)
|
@@ -687,6 +712,7 @@ module PulpContainerClient
|
|
687
712
|
# @param container_container_push_repository_href [String]
|
688
713
|
# @param remove_signatures [RemoveSignatures]
|
689
714
|
# @param [Hash] opts the optional parameters
|
715
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
690
716
|
# @return [Array<(RemoveSignaturesResponse, Integer, Hash)>] RemoveSignaturesResponse data, response status code and response headers
|
691
717
|
def remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures, opts = {})
|
692
718
|
if @api_client.config.debugging
|
@@ -715,6 +741,7 @@ module PulpContainerClient
|
|
715
741
|
if !content_type.nil?
|
716
742
|
header_params['Content-Type'] = content_type
|
717
743
|
end
|
744
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
718
745
|
|
719
746
|
# form parameters
|
720
747
|
form_params = opts[:form_params] || {}
|
@@ -750,6 +777,7 @@ module PulpContainerClient
|
|
750
777
|
# @param container_container_push_repository_href [String]
|
751
778
|
# @param repository_sign [RepositorySign]
|
752
779
|
# @param [Hash] opts the optional parameters
|
780
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
753
781
|
# @return [AsyncOperationResponse]
|
754
782
|
def sign(container_container_push_repository_href, repository_sign, opts = {})
|
755
783
|
data, _status_code, _headers = sign_with_http_info(container_container_push_repository_href, repository_sign, opts)
|
@@ -761,6 +789,7 @@ module PulpContainerClient
|
|
761
789
|
# @param container_container_push_repository_href [String]
|
762
790
|
# @param repository_sign [RepositorySign]
|
763
791
|
# @param [Hash] opts the optional parameters
|
792
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
764
793
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
765
794
|
def sign_with_http_info(container_container_push_repository_href, repository_sign, opts = {})
|
766
795
|
if @api_client.config.debugging
|
@@ -789,6 +818,7 @@ module PulpContainerClient
|
|
789
818
|
if !content_type.nil?
|
790
819
|
header_params['Content-Type'] = content_type
|
791
820
|
end
|
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_push_repository_href [String]
|
825
855
|
# @param tag_image [TagImage]
|
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 tag(container_container_push_repository_href, tag_image, opts = {})
|
829
860
|
data, _status_code, _headers = tag_with_http_info(container_container_push_repository_href, tag_image, opts)
|
@@ -835,6 +866,7 @@ module PulpContainerClient
|
|
835
866
|
# @param container_container_push_repository_href [String]
|
836
867
|
# @param tag_image [TagImage]
|
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 tag_with_http_info(container_container_push_repository_href, tag_image, 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] || {}
|
@@ -898,6 +931,7 @@ module PulpContainerClient
|
|
898
931
|
# @param container_container_push_repository_href [String]
|
899
932
|
# @param un_tag_image [UnTagImage]
|
900
933
|
# @param [Hash] opts the optional parameters
|
934
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
901
935
|
# @return [AsyncOperationResponse]
|
902
936
|
def untag(container_container_push_repository_href, un_tag_image, opts = {})
|
903
937
|
data, _status_code, _headers = untag_with_http_info(container_container_push_repository_href, un_tag_image, opts)
|
@@ -909,6 +943,7 @@ module PulpContainerClient
|
|
909
943
|
# @param container_container_push_repository_href [String]
|
910
944
|
# @param un_tag_image [UnTagImage]
|
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
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
913
948
|
def untag_with_http_info(container_container_push_repository_href, un_tag_image, opts = {})
|
914
949
|
if @api_client.config.debugging
|
@@ -937,6 +972,7 @@ module PulpContainerClient
|
|
937
972
|
if !content_type.nil?
|
938
973
|
header_params['Content-Type'] = content_type
|
939
974
|
end
|
975
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
940
976
|
|
941
977
|
# form parameters
|
942
978
|
form_params = opts[:form_params] || {}
|
@@ -972,6 +1008,7 @@ module PulpContainerClient
|
|
972
1008
|
# @param container_container_push_repository_href [String]
|
973
1009
|
# @param container_container_push_repository [ContainerContainerPushRepository]
|
974
1010
|
# @param [Hash] opts the optional parameters
|
1011
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
975
1012
|
# @return [AsyncOperationResponse]
|
976
1013
|
def update(container_container_push_repository_href, container_container_push_repository, opts = {})
|
977
1014
|
data, _status_code, _headers = update_with_http_info(container_container_push_repository_href, container_container_push_repository, opts)
|
@@ -983,6 +1020,7 @@ module PulpContainerClient
|
|
983
1020
|
# @param container_container_push_repository_href [String]
|
984
1021
|
# @param container_container_push_repository [ContainerContainerPushRepository]
|
985
1022
|
# @param [Hash] opts the optional parameters
|
1023
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
986
1024
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
987
1025
|
def update_with_http_info(container_container_push_repository_href, container_container_push_repository, opts = {})
|
988
1026
|
if @api_client.config.debugging
|
@@ -1011,6 +1049,7 @@ module PulpContainerClient
|
|
1011
1049
|
if !content_type.nil?
|
1012
1050
|
header_params['Content-Type'] = content_type
|
1013
1051
|
end
|
1052
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1014
1053
|
|
1015
1054
|
# form parameters
|
1016
1055
|
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']) unless header_params['Accept']
|
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] || {}
|
@@ -86,6 +89,7 @@ module PulpContainerClient
|
|
86
89
|
# 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.
|
87
90
|
# @param container_container_push_repository_href [String]
|
88
91
|
# @param [Hash] opts the optional parameters
|
92
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
89
93
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
90
94
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
91
95
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -96,7 +100,7 @@ module PulpContainerClient
|
|
96
100
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
97
101
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
98
102
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
99
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
103
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
100
104
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
101
105
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
102
106
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -119,6 +123,7 @@ module PulpContainerClient
|
|
119
123
|
# 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.
|
120
124
|
# @param container_container_push_repository_href [String]
|
121
125
|
# @param [Hash] opts the optional parameters
|
126
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
122
127
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
123
128
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
124
129
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -129,7 +134,7 @@ module PulpContainerClient
|
|
129
134
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
130
135
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
131
136
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
132
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
137
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
133
138
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
134
139
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
135
140
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -151,7 +156,7 @@ module PulpContainerClient
|
|
151
156
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
152
157
|
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushVersionsApi.list"
|
153
158
|
end
|
154
|
-
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
159
|
+
allowable_values = ["-complete", "-content_ids", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "content_ids", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
155
160
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
156
161
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
157
162
|
end
|
@@ -188,6 +193,7 @@ module PulpContainerClient
|
|
188
193
|
header_params = opts[:header_params] || {}
|
189
194
|
# HTTP header 'Accept' (if needed)
|
190
195
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
196
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
191
197
|
|
192
198
|
# form parameters
|
193
199
|
form_params = opts[:form_params] || {}
|
@@ -222,6 +228,7 @@ module PulpContainerClient
|
|
222
228
|
# 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.
|
223
229
|
# @param container_container_push_repository_version_href [String]
|
224
230
|
# @param [Hash] opts the optional parameters
|
231
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
225
232
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
226
233
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
227
234
|
# @return [RepositoryVersionResponse]
|
@@ -234,6 +241,7 @@ module PulpContainerClient
|
|
234
241
|
# 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.
|
235
242
|
# @param container_container_push_repository_version_href [String]
|
236
243
|
# @param [Hash] opts the optional parameters
|
244
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
237
245
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
238
246
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
239
247
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
@@ -257,6 +265,7 @@ module PulpContainerClient
|
|
257
265
|
header_params = opts[:header_params] || {}
|
258
266
|
# HTTP header 'Accept' (if needed)
|
259
267
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
268
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
260
269
|
|
261
270
|
# form parameters
|
262
271
|
form_params = opts[:form_params] || {}
|
@@ -291,6 +300,7 @@ module PulpContainerClient
|
|
291
300
|
# @param container_container_push_repository_version_href [String]
|
292
301
|
# @param repair [Repair]
|
293
302
|
# @param [Hash] opts the optional parameters
|
303
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
294
304
|
# @return [AsyncOperationResponse]
|
295
305
|
def repair(container_container_push_repository_version_href, repair, opts = {})
|
296
306
|
data, _status_code, _headers = repair_with_http_info(container_container_push_repository_version_href, repair, opts)
|
@@ -301,6 +311,7 @@ module PulpContainerClient
|
|
301
311
|
# @param container_container_push_repository_version_href [String]
|
302
312
|
# @param repair [Repair]
|
303
313
|
# @param [Hash] opts the optional parameters
|
314
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
304
315
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
305
316
|
def repair_with_http_info(container_container_push_repository_version_href, repair, opts = {})
|
306
317
|
if @api_client.config.debugging
|
@@ -329,6 +340,7 @@ module PulpContainerClient
|
|
329
340
|
if !content_type.nil?
|
330
341
|
header_params['Content-Type'] = content_type
|
331
342
|
end
|
343
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
332
344
|
|
333
345
|
# form parameters
|
334
346
|
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']) unless header_params['Accept']
|
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] || {}
|
@@ -86,6 +89,7 @@ module PulpContainerClient
|
|
86
89
|
# ContainerRepositoryVersion represents a single container repository version.
|
87
90
|
# @param container_container_repository_href [String]
|
88
91
|
# @param [Hash] opts the optional parameters
|
92
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
89
93
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
90
94
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
91
95
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -96,7 +100,7 @@ module PulpContainerClient
|
|
96
100
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
97
101
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
98
102
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
99
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
103
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
100
104
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
101
105
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
102
106
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -119,6 +123,7 @@ module PulpContainerClient
|
|
119
123
|
# ContainerRepositoryVersion represents a single container repository version.
|
120
124
|
# @param container_container_repository_href [String]
|
121
125
|
# @param [Hash] opts the optional parameters
|
126
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
122
127
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
123
128
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
124
129
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -129,7 +134,7 @@ module PulpContainerClient
|
|
129
134
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
130
135
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
131
136
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
132
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
137
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
133
138
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
134
139
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
135
140
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -151,7 +156,7 @@ module PulpContainerClient
|
|
151
156
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
152
157
|
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerVersionsApi.list"
|
153
158
|
end
|
154
|
-
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
159
|
+
allowable_values = ["-complete", "-content_ids", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "content_ids", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
155
160
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
156
161
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
157
162
|
end
|
@@ -188,6 +193,7 @@ module PulpContainerClient
|
|
188
193
|
header_params = opts[:header_params] || {}
|
189
194
|
# HTTP header 'Accept' (if needed)
|
190
195
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
196
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
191
197
|
|
192
198
|
# form parameters
|
193
199
|
form_params = opts[:form_params] || {}
|
@@ -222,6 +228,7 @@ module PulpContainerClient
|
|
222
228
|
# ContainerRepositoryVersion represents a single container repository version.
|
223
229
|
# @param container_container_repository_version_href [String]
|
224
230
|
# @param [Hash] opts the optional parameters
|
231
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
225
232
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
226
233
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
227
234
|
# @return [RepositoryVersionResponse]
|
@@ -234,6 +241,7 @@ module PulpContainerClient
|
|
234
241
|
# ContainerRepositoryVersion represents a single container repository version.
|
235
242
|
# @param container_container_repository_version_href [String]
|
236
243
|
# @param [Hash] opts the optional parameters
|
244
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
237
245
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
238
246
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
239
247
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
@@ -257,6 +265,7 @@ module PulpContainerClient
|
|
257
265
|
header_params = opts[:header_params] || {}
|
258
266
|
# HTTP header 'Accept' (if needed)
|
259
267
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
268
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
260
269
|
|
261
270
|
# form parameters
|
262
271
|
form_params = opts[:form_params] || {}
|
@@ -291,6 +300,7 @@ module PulpContainerClient
|
|
291
300
|
# @param container_container_repository_version_href [String]
|
292
301
|
# @param repair [Repair]
|
293
302
|
# @param [Hash] opts the optional parameters
|
303
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
294
304
|
# @return [AsyncOperationResponse]
|
295
305
|
def repair(container_container_repository_version_href, repair, opts = {})
|
296
306
|
data, _status_code, _headers = repair_with_http_info(container_container_repository_version_href, repair, opts)
|
@@ -301,6 +311,7 @@ module PulpContainerClient
|
|
301
311
|
# @param container_container_repository_version_href [String]
|
302
312
|
# @param repair [Repair]
|
303
313
|
# @param [Hash] opts the optional parameters
|
314
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
304
315
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
305
316
|
def repair_with_http_info(container_container_repository_version_href, repair, opts = {})
|
306
317
|
if @api_client.config.debugging
|
@@ -329,6 +340,7 @@ module PulpContainerClient
|
|
329
340
|
if !content_type.nil?
|
330
341
|
header_params['Content-Type'] = content_type
|
331
342
|
end
|
343
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
332
344
|
|
333
345
|
# form parameters
|
334
346
|
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] || {}
|
@@ -30,6 +30,8 @@ module PulpContainerClient
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
31
|
attr_accessor :pulp_labels
|
32
32
|
|
33
|
+
attr_accessor :vuln_report
|
34
|
+
|
33
35
|
# Artifact file representing the physical content
|
34
36
|
attr_accessor :artifact
|
35
37
|
|
@@ -44,6 +46,7 @@ module PulpContainerClient
|
|
44
46
|
:'pulp_created' => :'pulp_created',
|
45
47
|
:'pulp_last_updated' => :'pulp_last_updated',
|
46
48
|
:'pulp_labels' => :'pulp_labels',
|
49
|
+
:'vuln_report' => :'vuln_report',
|
47
50
|
:'artifact' => :'artifact',
|
48
51
|
:'digest' => :'digest'
|
49
52
|
}
|
@@ -62,6 +65,7 @@ module PulpContainerClient
|
|
62
65
|
:'pulp_created' => :'Time',
|
63
66
|
:'pulp_last_updated' => :'Time',
|
64
67
|
:'pulp_labels' => :'Hash<String, String>',
|
68
|
+
:'vuln_report' => :'String',
|
65
69
|
:'artifact' => :'String',
|
66
70
|
:'digest' => :'String'
|
67
71
|
}
|
@@ -111,6 +115,10 @@ module PulpContainerClient
|
|
111
115
|
end
|
112
116
|
end
|
113
117
|
|
118
|
+
if attributes.key?(:'vuln_report')
|
119
|
+
self.vuln_report = attributes[:'vuln_report']
|
120
|
+
end
|
121
|
+
|
114
122
|
if attributes.key?(:'artifact')
|
115
123
|
self.artifact = attributes[:'artifact']
|
116
124
|
else
|
@@ -154,6 +162,7 @@ module PulpContainerClient
|
|
154
162
|
pulp_created == o.pulp_created &&
|
155
163
|
pulp_last_updated == o.pulp_last_updated &&
|
156
164
|
pulp_labels == o.pulp_labels &&
|
165
|
+
vuln_report == o.vuln_report &&
|
157
166
|
artifact == o.artifact &&
|
158
167
|
digest == o.digest
|
159
168
|
end
|
@@ -167,7 +176,7 @@ module PulpContainerClient
|
|
167
176
|
# Calculates hash code according to all attributes.
|
168
177
|
# @return [Integer] Hash code
|
169
178
|
def hash
|
170
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, digest].hash
|
179
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, digest].hash
|
171
180
|
end
|
172
181
|
|
173
182
|
# Builds the object from hash
|