pulp_container_client 2.20.6 → 2.20.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -6
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPullThroughDistribution.md +5 -5
- data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -9
- data/docs/ContainerContainerPullThroughRemote.md +1 -1
- data/docs/ContainerContainerPullThroughRemoteResponse.md +1 -1
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContentBlobsApi.md +4 -0
- data/docs/ContentManifestsApi.md +4 -0
- data/docs/ContentSignaturesApi.md +4 -0
- data/docs/ContentTagsApi.md +4 -0
- data/docs/DistributionsContainerApi.md +56 -16
- data/docs/DistributionsPullThroughApi.md +56 -16
- data/docs/OCIBuildImage.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPullThroughRemote.md +1 -1
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/{Policy762Enum.md → Policy692Enum.md} +2 -2
- data/docs/{Policy8e2Enum.md → Policy7e0Enum.md} +2 -2
- data/docs/PulpContainerNamespacesApi.md +32 -8
- data/docs/RemotesContainerApi.md +56 -16
- data/docs/RemotesPullThroughApi.md +56 -16
- data/docs/RepositoriesContainerApi.md +108 -34
- data/docs/RepositoriesContainerPushApi.md +62 -18
- data/docs/RepositoriesContainerPushVersionsApi.md +16 -4
- data/docs/RepositoriesContainerVersionsApi.md +16 -4
- data/docs/TokenApi.md +13 -3
- data/lib/pulp_container_client/api/content_blobs_api.rb +6 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +6 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +6 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +6 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +36 -0
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +65 -2
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +12 -0
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +12 -0
- data/lib/pulp_container_client/api/token_api.rb +9 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +42 -42
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +42 -42
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository.rb +44 -44
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -49
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +44 -44
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/{policy762_enum.rb → policy692_enum.rb} +3 -3
- data/lib/pulp_container_client/models/{policy8e2_enum.rb → policy7e0_enum.rb} +3 -3
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +2 -2
- data/spec/api/content_blobs_api_spec.rb +2 -0
- data/spec/api/content_manifests_api_spec.rb +2 -0
- data/spec/api/content_signatures_api_spec.rb +2 -0
- data/spec/api/content_tags_api_spec.rb +2 -0
- data/spec/api/distributions_container_api_spec.rb +12 -0
- data/spec/api/distributions_pull_through_api_spec.rb +12 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
- data/spec/api/remotes_container_api_spec.rb +12 -0
- data/spec/api/remotes_pull_through_api_spec.rb +12 -0
- data/spec/api/repositories_container_api_spec.rb +22 -1
- data/spec/api/repositories_container_push_api_spec.rb +13 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +4 -0
- data/spec/api/repositories_container_versions_api_spec.rb +4 -0
- data/spec/api/token_api_spec.rb +3 -0
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/{policy762_enum_spec.rb → policy692_enum_spec.rb} +6 -6
- data/spec/models/{policy8e2_enum_spec.rb → policy7e0_enum_spec.rb} +6 -6
- metadata +67 -67
|
@@ -24,6 +24,7 @@ module PulpContainerClient
|
|
|
24
24
|
# @param container_container_pull_through_distribution_href [String]
|
|
25
25
|
# @param nested_role [NestedRole]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
28
|
# @return [NestedRoleResponse]
|
|
28
29
|
def add_role(container_container_pull_through_distribution_href, nested_role, opts = {})
|
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts)
|
|
@@ -35,6 +36,7 @@ module PulpContainerClient
|
|
|
35
36
|
# @param container_container_pull_through_distribution_href [String]
|
|
36
37
|
# @param nested_role [NestedRole]
|
|
37
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
39
41
|
def add_role_with_http_info(container_container_pull_through_distribution_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] || {}
|
|
@@ -93,6 +96,7 @@ module PulpContainerClient
|
|
|
93
96
|
# Trigger an asynchronous create task
|
|
94
97
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
|
95
98
|
# @param [Hash] opts the optional parameters
|
|
99
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
96
100
|
# @return [AsyncOperationResponse]
|
|
97
101
|
def create(container_container_pull_through_distribution, opts = {})
|
|
98
102
|
data, _status_code, _headers = create_with_http_info(container_container_pull_through_distribution, opts)
|
|
@@ -103,6 +107,7 @@ module PulpContainerClient
|
|
|
103
107
|
# Trigger an asynchronous create task
|
|
104
108
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
|
105
109
|
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
106
111
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
107
112
|
def create_with_http_info(container_container_pull_through_distribution, opts = {})
|
|
108
113
|
if @api_client.config.debugging
|
|
@@ -124,6 +129,7 @@ module PulpContainerClient
|
|
|
124
129
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
125
130
|
# HTTP header 'Content-Type'
|
|
126
131
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
132
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
127
133
|
|
|
128
134
|
# form parameters
|
|
129
135
|
form_params = opts[:form_params] || {}
|
|
@@ -157,6 +163,7 @@ module PulpContainerClient
|
|
|
157
163
|
# Trigger an asynchronous delete task
|
|
158
164
|
# @param container_container_pull_through_distribution_href [String]
|
|
159
165
|
# @param [Hash] opts the optional parameters
|
|
166
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
160
167
|
# @return [AsyncOperationResponse]
|
|
161
168
|
def delete(container_container_pull_through_distribution_href, opts = {})
|
|
162
169
|
data, _status_code, _headers = delete_with_http_info(container_container_pull_through_distribution_href, opts)
|
|
@@ -167,6 +174,7 @@ module PulpContainerClient
|
|
|
167
174
|
# Trigger an asynchronous delete task
|
|
168
175
|
# @param container_container_pull_through_distribution_href [String]
|
|
169
176
|
# @param [Hash] opts the optional parameters
|
|
177
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
170
178
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
171
179
|
def delete_with_http_info(container_container_pull_through_distribution_href, opts = {})
|
|
172
180
|
if @api_client.config.debugging
|
|
@@ -186,6 +194,7 @@ module PulpContainerClient
|
|
|
186
194
|
header_params = opts[:header_params] || {}
|
|
187
195
|
# HTTP header 'Accept' (if needed)
|
|
188
196
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
197
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
189
198
|
|
|
190
199
|
# form parameters
|
|
191
200
|
form_params = opts[:form_params] || {}
|
|
@@ -218,6 +227,7 @@ module PulpContainerClient
|
|
|
218
227
|
# List container pull through distributions
|
|
219
228
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
220
229
|
# @param [Hash] opts the optional parameters
|
|
230
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
221
231
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
222
232
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
223
233
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
@@ -252,6 +262,7 @@ module PulpContainerClient
|
|
|
252
262
|
# List container pull through distributions
|
|
253
263
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
254
264
|
# @param [Hash] opts the optional parameters
|
|
265
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
255
266
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
256
267
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
257
268
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
@@ -321,6 +332,7 @@ module PulpContainerClient
|
|
|
321
332
|
header_params = opts[:header_params] || {}
|
|
322
333
|
# HTTP header 'Accept' (if needed)
|
|
323
334
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
335
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
324
336
|
|
|
325
337
|
# form parameters
|
|
326
338
|
form_params = opts[:form_params] || {}
|
|
@@ -354,6 +366,7 @@ module PulpContainerClient
|
|
|
354
366
|
# List roles assigned to this object.
|
|
355
367
|
# @param container_container_pull_through_distribution_href [String]
|
|
356
368
|
# @param [Hash] opts the optional parameters
|
|
369
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
357
370
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
358
371
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
359
372
|
# @return [ObjectRolesResponse]
|
|
@@ -366,6 +379,7 @@ module PulpContainerClient
|
|
|
366
379
|
# List roles assigned to this object.
|
|
367
380
|
# @param container_container_pull_through_distribution_href [String]
|
|
368
381
|
# @param [Hash] opts the optional parameters
|
|
382
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
369
383
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
370
384
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
371
385
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -389,6 +403,7 @@ module PulpContainerClient
|
|
|
389
403
|
header_params = opts[:header_params] || {}
|
|
390
404
|
# HTTP header 'Accept' (if needed)
|
|
391
405
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
406
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
392
407
|
|
|
393
408
|
# form parameters
|
|
394
409
|
form_params = opts[:form_params] || {}
|
|
@@ -422,6 +437,7 @@ module PulpContainerClient
|
|
|
422
437
|
# List permissions available to the current user on this object.
|
|
423
438
|
# @param container_container_pull_through_distribution_href [String]
|
|
424
439
|
# @param [Hash] opts the optional parameters
|
|
440
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
425
441
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
426
442
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
427
443
|
# @return [MyPermissionsResponse]
|
|
@@ -434,6 +450,7 @@ module PulpContainerClient
|
|
|
434
450
|
# List permissions available to the current user on this object.
|
|
435
451
|
# @param container_container_pull_through_distribution_href [String]
|
|
436
452
|
# @param [Hash] opts the optional parameters
|
|
453
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
437
454
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
438
455
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
439
456
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -457,6 +474,7 @@ module PulpContainerClient
|
|
|
457
474
|
header_params = opts[:header_params] || {}
|
|
458
475
|
# HTTP header 'Accept' (if needed)
|
|
459
476
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
477
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
460
478
|
|
|
461
479
|
# form parameters
|
|
462
480
|
form_params = opts[:form_params] || {}
|
|
@@ -491,6 +509,7 @@ module PulpContainerClient
|
|
|
491
509
|
# @param container_container_pull_through_distribution_href [String]
|
|
492
510
|
# @param patchedcontainer_container_pull_through_distribution [PatchedcontainerContainerPullThroughDistribution]
|
|
493
511
|
# @param [Hash] opts the optional parameters
|
|
512
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
494
513
|
# @return [AsyncOperationResponse]
|
|
495
514
|
def partial_update(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts = {})
|
|
496
515
|
data, _status_code, _headers = partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts)
|
|
@@ -502,6 +521,7 @@ module PulpContainerClient
|
|
|
502
521
|
# @param container_container_pull_through_distribution_href [String]
|
|
503
522
|
# @param patchedcontainer_container_pull_through_distribution [PatchedcontainerContainerPullThroughDistribution]
|
|
504
523
|
# @param [Hash] opts the optional parameters
|
|
524
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
505
525
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
506
526
|
def partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts = {})
|
|
507
527
|
if @api_client.config.debugging
|
|
@@ -527,6 +547,7 @@ module PulpContainerClient
|
|
|
527
547
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
528
548
|
# HTTP header 'Content-Type'
|
|
529
549
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
550
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
530
551
|
|
|
531
552
|
# form parameters
|
|
532
553
|
form_params = opts[:form_params] || {}
|
|
@@ -560,6 +581,7 @@ module PulpContainerClient
|
|
|
560
581
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
561
582
|
# @param container_container_pull_through_distribution_href [String]
|
|
562
583
|
# @param [Hash] opts the optional parameters
|
|
584
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
563
585
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
564
586
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
565
587
|
# @return [ContainerContainerPullThroughDistributionResponse]
|
|
@@ -572,6 +594,7 @@ module PulpContainerClient
|
|
|
572
594
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
573
595
|
# @param container_container_pull_through_distribution_href [String]
|
|
574
596
|
# @param [Hash] opts the optional parameters
|
|
597
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
575
598
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
576
599
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
577
600
|
# @return [Array<(ContainerContainerPullThroughDistributionResponse, Integer, Hash)>] ContainerContainerPullThroughDistributionResponse data, response status code and response headers
|
|
@@ -595,6 +618,7 @@ module PulpContainerClient
|
|
|
595
618
|
header_params = opts[:header_params] || {}
|
|
596
619
|
# HTTP header 'Accept' (if needed)
|
|
597
620
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
621
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
598
622
|
|
|
599
623
|
# form parameters
|
|
600
624
|
form_params = opts[:form_params] || {}
|
|
@@ -629,6 +653,7 @@ module PulpContainerClient
|
|
|
629
653
|
# @param container_container_pull_through_distribution_href [String]
|
|
630
654
|
# @param nested_role [NestedRole]
|
|
631
655
|
# @param [Hash] opts the optional parameters
|
|
656
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
632
657
|
# @return [NestedRoleResponse]
|
|
633
658
|
def remove_role(container_container_pull_through_distribution_href, nested_role, opts = {})
|
|
634
659
|
data, _status_code, _headers = remove_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts)
|
|
@@ -640,6 +665,7 @@ module PulpContainerClient
|
|
|
640
665
|
# @param container_container_pull_through_distribution_href [String]
|
|
641
666
|
# @param nested_role [NestedRole]
|
|
642
667
|
# @param [Hash] opts the optional parameters
|
|
668
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
643
669
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
644
670
|
def remove_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts = {})
|
|
645
671
|
if @api_client.config.debugging
|
|
@@ -665,6 +691,7 @@ module PulpContainerClient
|
|
|
665
691
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
666
692
|
# HTTP header 'Content-Type'
|
|
667
693
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
694
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
668
695
|
|
|
669
696
|
# form parameters
|
|
670
697
|
form_params = opts[:form_params] || {}
|
|
@@ -699,6 +726,7 @@ module PulpContainerClient
|
|
|
699
726
|
# @param container_container_pull_through_distribution_href [String]
|
|
700
727
|
# @param set_label [SetLabel]
|
|
701
728
|
# @param [Hash] opts the optional parameters
|
|
729
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
702
730
|
# @return [SetLabelResponse]
|
|
703
731
|
def set_label(container_container_pull_through_distribution_href, set_label, opts = {})
|
|
704
732
|
data, _status_code, _headers = set_label_with_http_info(container_container_pull_through_distribution_href, set_label, opts)
|
|
@@ -710,6 +738,7 @@ module PulpContainerClient
|
|
|
710
738
|
# @param container_container_pull_through_distribution_href [String]
|
|
711
739
|
# @param set_label [SetLabel]
|
|
712
740
|
# @param [Hash] opts the optional parameters
|
|
741
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
713
742
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
|
714
743
|
def set_label_with_http_info(container_container_pull_through_distribution_href, set_label, opts = {})
|
|
715
744
|
if @api_client.config.debugging
|
|
@@ -735,6 +764,7 @@ module PulpContainerClient
|
|
|
735
764
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
736
765
|
# HTTP header 'Content-Type'
|
|
737
766
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
767
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
738
768
|
|
|
739
769
|
# form parameters
|
|
740
770
|
form_params = opts[:form_params] || {}
|
|
@@ -769,6 +799,7 @@ module PulpContainerClient
|
|
|
769
799
|
# @param container_container_pull_through_distribution_href [String]
|
|
770
800
|
# @param unset_label [UnsetLabel]
|
|
771
801
|
# @param [Hash] opts the optional parameters
|
|
802
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
772
803
|
# @return [UnsetLabelResponse]
|
|
773
804
|
def unset_label(container_container_pull_through_distribution_href, unset_label, opts = {})
|
|
774
805
|
data, _status_code, _headers = unset_label_with_http_info(container_container_pull_through_distribution_href, unset_label, opts)
|
|
@@ -780,6 +811,7 @@ module PulpContainerClient
|
|
|
780
811
|
# @param container_container_pull_through_distribution_href [String]
|
|
781
812
|
# @param unset_label [UnsetLabel]
|
|
782
813
|
# @param [Hash] opts the optional parameters
|
|
814
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
783
815
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
|
784
816
|
def unset_label_with_http_info(container_container_pull_through_distribution_href, unset_label, opts = {})
|
|
785
817
|
if @api_client.config.debugging
|
|
@@ -805,6 +837,7 @@ module PulpContainerClient
|
|
|
805
837
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
806
838
|
# HTTP header 'Content-Type'
|
|
807
839
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
840
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
808
841
|
|
|
809
842
|
# form parameters
|
|
810
843
|
form_params = opts[:form_params] || {}
|
|
@@ -839,6 +872,7 @@ module PulpContainerClient
|
|
|
839
872
|
# @param container_container_pull_through_distribution_href [String]
|
|
840
873
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
|
841
874
|
# @param [Hash] opts the optional parameters
|
|
875
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
842
876
|
# @return [AsyncOperationResponse]
|
|
843
877
|
def update(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts = {})
|
|
844
878
|
data, _status_code, _headers = update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts)
|
|
@@ -850,6 +884,7 @@ module PulpContainerClient
|
|
|
850
884
|
# @param container_container_pull_through_distribution_href [String]
|
|
851
885
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
|
852
886
|
# @param [Hash] opts the optional parameters
|
|
887
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
853
888
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
854
889
|
def update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts = {})
|
|
855
890
|
if @api_client.config.debugging
|
|
@@ -875,6 +910,7 @@ module PulpContainerClient
|
|
|
875
910
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
876
911
|
# HTTP header 'Content-Type'
|
|
877
912
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
913
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
878
914
|
|
|
879
915
|
# form parameters
|
|
880
916
|
form_params = opts[:form_params] || {}
|
|
@@ -24,6 +24,7 @@ module PulpContainerClient
|
|
|
24
24
|
# @param container_container_namespace_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_namespace_href, nested_role, opts = {})
|
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(container_container_namespace_href, nested_role, opts)
|
|
@@ -35,6 +36,7 @@ module PulpContainerClient
|
|
|
35
36
|
# @param container_container_namespace_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_namespace_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] || {}
|
|
@@ -93,6 +96,7 @@ module PulpContainerClient
|
|
|
93
96
|
# ViewSet for ContainerNamespaces.
|
|
94
97
|
# @param container_container_namespace [ContainerContainerNamespace]
|
|
95
98
|
# @param [Hash] opts the optional parameters
|
|
99
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
96
100
|
# @return [ContainerContainerNamespaceResponse]
|
|
97
101
|
def create(container_container_namespace, opts = {})
|
|
98
102
|
data, _status_code, _headers = create_with_http_info(container_container_namespace, opts)
|
|
@@ -103,6 +107,7 @@ module PulpContainerClient
|
|
|
103
107
|
# ViewSet for ContainerNamespaces.
|
|
104
108
|
# @param container_container_namespace [ContainerContainerNamespace]
|
|
105
109
|
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
106
111
|
# @return [Array<(ContainerContainerNamespaceResponse, Integer, Hash)>] ContainerContainerNamespaceResponse data, response status code and response headers
|
|
107
112
|
def create_with_http_info(container_container_namespace, opts = {})
|
|
108
113
|
if @api_client.config.debugging
|
|
@@ -124,6 +129,7 @@ module PulpContainerClient
|
|
|
124
129
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
125
130
|
# HTTP header 'Content-Type'
|
|
126
131
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
132
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
127
133
|
|
|
128
134
|
# form parameters
|
|
129
135
|
form_params = opts[:form_params] || {}
|
|
@@ -157,6 +163,7 @@ module PulpContainerClient
|
|
|
157
163
|
# Trigger an asynchronous delete task
|
|
158
164
|
# @param container_container_namespace_href [String]
|
|
159
165
|
# @param [Hash] opts the optional parameters
|
|
166
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
160
167
|
# @return [AsyncOperationResponse]
|
|
161
168
|
def delete(container_container_namespace_href, opts = {})
|
|
162
169
|
data, _status_code, _headers = delete_with_http_info(container_container_namespace_href, opts)
|
|
@@ -167,6 +174,7 @@ module PulpContainerClient
|
|
|
167
174
|
# Trigger an asynchronous delete task
|
|
168
175
|
# @param container_container_namespace_href [String]
|
|
169
176
|
# @param [Hash] opts the optional parameters
|
|
177
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
170
178
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
171
179
|
def delete_with_http_info(container_container_namespace_href, opts = {})
|
|
172
180
|
if @api_client.config.debugging
|
|
@@ -186,6 +194,7 @@ module PulpContainerClient
|
|
|
186
194
|
header_params = opts[:header_params] || {}
|
|
187
195
|
# HTTP header 'Accept' (if needed)
|
|
188
196
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
197
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
189
198
|
|
|
190
199
|
# form parameters
|
|
191
200
|
form_params = opts[:form_params] || {}
|
|
@@ -218,6 +227,7 @@ module PulpContainerClient
|
|
|
218
227
|
# List container namespaces
|
|
219
228
|
# ViewSet for ContainerNamespaces.
|
|
220
229
|
# @param [Hash] opts the optional parameters
|
|
230
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
221
231
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
222
232
|
# @option opts [String] :name Filter results where name matches value
|
|
223
233
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -244,6 +254,7 @@ module PulpContainerClient
|
|
|
244
254
|
# List container namespaces
|
|
245
255
|
# ViewSet for ContainerNamespaces.
|
|
246
256
|
# @param [Hash] opts the optional parameters
|
|
257
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
247
258
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
248
259
|
# @option opts [String] :name Filter results where name matches value
|
|
249
260
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -297,6 +308,7 @@ module PulpContainerClient
|
|
|
297
308
|
header_params = opts[:header_params] || {}
|
|
298
309
|
# HTTP header 'Accept' (if needed)
|
|
299
310
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
311
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
300
312
|
|
|
301
313
|
# form parameters
|
|
302
314
|
form_params = opts[:form_params] || {}
|
|
@@ -330,6 +342,7 @@ module PulpContainerClient
|
|
|
330
342
|
# List roles assigned to this object.
|
|
331
343
|
# @param container_container_namespace_href [String]
|
|
332
344
|
# @param [Hash] opts the optional parameters
|
|
345
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
333
346
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
334
347
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
335
348
|
# @return [ObjectRolesResponse]
|
|
@@ -342,6 +355,7 @@ module PulpContainerClient
|
|
|
342
355
|
# List roles assigned to this object.
|
|
343
356
|
# @param container_container_namespace_href [String]
|
|
344
357
|
# @param [Hash] opts the optional parameters
|
|
358
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
345
359
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
346
360
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
347
361
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -365,6 +379,7 @@ module PulpContainerClient
|
|
|
365
379
|
header_params = opts[:header_params] || {}
|
|
366
380
|
# HTTP header 'Accept' (if needed)
|
|
367
381
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
382
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
368
383
|
|
|
369
384
|
# form parameters
|
|
370
385
|
form_params = opts[:form_params] || {}
|
|
@@ -398,6 +413,7 @@ module PulpContainerClient
|
|
|
398
413
|
# List permissions available to the current user on this object.
|
|
399
414
|
# @param container_container_namespace_href [String]
|
|
400
415
|
# @param [Hash] opts the optional parameters
|
|
416
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
401
417
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
402
418
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
403
419
|
# @return [MyPermissionsResponse]
|
|
@@ -410,6 +426,7 @@ module PulpContainerClient
|
|
|
410
426
|
# List permissions available to the current user on this object.
|
|
411
427
|
# @param container_container_namespace_href [String]
|
|
412
428
|
# @param [Hash] opts the optional parameters
|
|
429
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
413
430
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
414
431
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
415
432
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -433,6 +450,7 @@ module PulpContainerClient
|
|
|
433
450
|
header_params = opts[:header_params] || {}
|
|
434
451
|
# HTTP header 'Accept' (if needed)
|
|
435
452
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
453
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
436
454
|
|
|
437
455
|
# form parameters
|
|
438
456
|
form_params = opts[:form_params] || {}
|
|
@@ -466,6 +484,7 @@ module PulpContainerClient
|
|
|
466
484
|
# ViewSet for ContainerNamespaces.
|
|
467
485
|
# @param container_container_namespace_href [String]
|
|
468
486
|
# @param [Hash] opts the optional parameters
|
|
487
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
469
488
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
470
489
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
471
490
|
# @return [ContainerContainerNamespaceResponse]
|
|
@@ -478,6 +497,7 @@ module PulpContainerClient
|
|
|
478
497
|
# ViewSet for ContainerNamespaces.
|
|
479
498
|
# @param container_container_namespace_href [String]
|
|
480
499
|
# @param [Hash] opts the optional parameters
|
|
500
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
481
501
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
482
502
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
483
503
|
# @return [Array<(ContainerContainerNamespaceResponse, Integer, Hash)>] ContainerContainerNamespaceResponse data, response status code and response headers
|
|
@@ -501,6 +521,7 @@ module PulpContainerClient
|
|
|
501
521
|
header_params = opts[:header_params] || {}
|
|
502
522
|
# HTTP header 'Accept' (if needed)
|
|
503
523
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
524
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
504
525
|
|
|
505
526
|
# form parameters
|
|
506
527
|
form_params = opts[:form_params] || {}
|
|
@@ -535,6 +556,7 @@ module PulpContainerClient
|
|
|
535
556
|
# @param container_container_namespace_href [String]
|
|
536
557
|
# @param nested_role [NestedRole]
|
|
537
558
|
# @param [Hash] opts the optional parameters
|
|
559
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
538
560
|
# @return [NestedRoleResponse]
|
|
539
561
|
def remove_role(container_container_namespace_href, nested_role, opts = {})
|
|
540
562
|
data, _status_code, _headers = remove_role_with_http_info(container_container_namespace_href, nested_role, opts)
|
|
@@ -546,6 +568,7 @@ module PulpContainerClient
|
|
|
546
568
|
# @param container_container_namespace_href [String]
|
|
547
569
|
# @param nested_role [NestedRole]
|
|
548
570
|
# @param [Hash] opts the optional parameters
|
|
571
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
549
572
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
550
573
|
def remove_role_with_http_info(container_container_namespace_href, nested_role, opts = {})
|
|
551
574
|
if @api_client.config.debugging
|
|
@@ -571,6 +594,7 @@ module PulpContainerClient
|
|
|
571
594
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
572
595
|
# HTTP header 'Content-Type'
|
|
573
596
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
597
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
574
598
|
|
|
575
599
|
# form parameters
|
|
576
600
|
form_params = opts[:form_params] || {}
|