pulp_container_client 2.19.8 → 2.20.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 +9 -8
- data/docs/ContainerBlobResponse.md +0 -2
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +9 -11
- data/docs/ContainerContainerNamespaceResponse.md +0 -2
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -11
- data/docs/ContainerContainerPullThroughRemote.md +1 -1
- data/docs/ContainerContainerPullThroughRemoteResponse.md +3 -3
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -11
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +3 -3
- data/docs/ContainerContainerRepositoryResponse.md +0 -2
- data/docs/ContainerManifestResponse.md +2 -6
- data/docs/ContainerManifestSignatureResponse.md +0 -2
- data/docs/ContainerTagResponse.md +0 -2
- data/docs/ContentBlobsApi.md +1 -5
- data/docs/ContentManifestsApi.md +3 -7
- data/docs/ContentSignaturesApi.md +1 -5
- data/docs/ContentTagsApi.md +1 -5
- data/docs/DistributionsContainerApi.md +17 -57
- data/docs/DistributionsPullThroughApi.md +17 -57
- data/docs/IndexDynamicApi.md +50 -0
- data/docs/IndexStaticApi.md +50 -0
- data/docs/OCIBuildImage.md +1 -1
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedcontainerBlobResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
- data/docs/PaginatedcontainerTagResponseList.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughRemote.md +1 -1
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/{Policy692Enum.md → Policy762Enum.md} +2 -2
- data/docs/{Policy7e0Enum.md → Policy8e2Enum.md} +2 -2
- data/docs/PulpContainerNamespacesApi.md +9 -33
- data/docs/RemotesContainerApi.md +17 -57
- data/docs/RemotesPullThroughApi.md +17 -57
- data/docs/RepositoriesContainerApi.md +35 -109
- data/docs/RepositoriesContainerPushApi.md +19 -63
- data/docs/RepositoriesContainerPushVersionsApi.md +5 -17
- data/docs/RepositoriesContainerVersionsApi.md +5 -17
- data/docs/RepositoryVersionResponse.md +0 -2
- data/docs/TokenApi.md +4 -14
- data/lib/pulp_container_client/api/content_blobs_api.rb +0 -6
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -9
- data/lib/pulp_container_client/api/content_signatures_api.rb +0 -6
- data/lib/pulp_container_client/api/content_tags_api.rb +0 -6
- data/lib/pulp_container_client/api/distributions_container_api.rb +0 -36
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +0 -36
- data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
- data/lib/pulp_container_client/api/index_static_api.rb +74 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +0 -24
- data/lib/pulp_container_client/api/remotes_container_api.rb +0 -36
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +0 -36
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -65
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -39
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +0 -12
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +0 -12
- data/lib/pulp_container_client/api/token_api.rb +0 -9
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_blob_response.rb +1 -11
- data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -49
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -11
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +39 -49
- 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 +12 -12
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_container_client/models/container_container_push_repository.rb +48 -48
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +41 -51
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +12 -12
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -11
- data/lib/pulp_container_client/models/container_manifest_response.rb +3 -28
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +1 -11
- data/lib/pulp_container_client/models/container_tag_response.rb +1 -11
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +0 -10
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +21 -21
- 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 +48 -48
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/{policy692_enum.rb → policy762_enum.rb} +3 -3
- data/lib/pulp_container_client/models/{policy7e0_enum.rb → policy8e2_enum.rb} +3 -3
- data/lib/pulp_container_client/models/repository_version_response.rb +1 -11
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +4 -2
- data/spec/api/content_blobs_api_spec.rb +0 -2
- data/spec/api/content_manifests_api_spec.rb +1 -3
- data/spec/api/content_signatures_api_spec.rb +0 -2
- data/spec/api/content_tags_api_spec.rb +0 -2
- data/spec/api/distributions_container_api_spec.rb +0 -12
- data/spec/api/distributions_pull_through_api_spec.rb +0 -12
- data/spec/api/index_dynamic_api_spec.rb +45 -0
- data/spec/api/index_static_api_spec.rb +45 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +0 -8
- data/spec/api/remotes_container_api_spec.rb +0 -12
- data/spec/api/remotes_pull_through_api_spec.rb +0 -12
- data/spec/api/repositories_container_api_spec.rb +1 -22
- data/spec/api/repositories_container_push_api_spec.rb +0 -13
- data/spec/api/repositories_container_push_versions_api_spec.rb +0 -4
- data/spec/api/repositories_container_versions_api_spec.rb +0 -4
- data/spec/api/token_api_spec.rb +0 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_blob_response_spec.rb +0 -6
- data/spec/models/container_container_distribution_response_spec.rb +7 -13
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_namespace_response_spec.rb +0 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +7 -13
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +6 -12
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/container_container_remote_response_spec.rb +6 -6
- data/spec/models/container_container_repository_response_spec.rb +0 -6
- data/spec/models/container_manifest_response_spec.rb +0 -12
- data/spec/models/container_manifest_signature_response_spec.rb +0 -6
- data/spec/models/container_tag_response_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- data/spec/models/{policy692_enum_spec.rb → policy762_enum_spec.rb} +6 -6
- data/spec/models/{policy7e0_enum_spec.rb → policy8e2_enum_spec.rb} +6 -6
- data/spec/models/repository_version_response_spec.rb +0 -6
- metadata +88 -80
|
@@ -24,7 +24,6 @@ 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.
|
|
28
27
|
# @return [NestedRoleResponse]
|
|
29
28
|
def add_role(container_container_pull_through_distribution_href, nested_role, opts = {})
|
|
30
29
|
data, _status_code, _headers = add_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts)
|
|
@@ -36,7 +35,6 @@ module PulpContainerClient
|
|
|
36
35
|
# @param container_container_pull_through_distribution_href [String]
|
|
37
36
|
# @param nested_role [NestedRole]
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
38
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
41
39
|
def add_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts = {})
|
|
42
40
|
if @api_client.config.debugging
|
|
@@ -62,7 +60,6 @@ module PulpContainerClient
|
|
|
62
60
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
63
61
|
# HTTP header 'Content-Type'
|
|
64
62
|
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?
|
|
66
63
|
|
|
67
64
|
# form parameters
|
|
68
65
|
form_params = opts[:form_params] || {}
|
|
@@ -96,7 +93,6 @@ module PulpContainerClient
|
|
|
96
93
|
# Trigger an asynchronous create task
|
|
97
94
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
|
98
95
|
# @param [Hash] opts the optional parameters
|
|
99
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
96
|
# @return [AsyncOperationResponse]
|
|
101
97
|
def create(container_container_pull_through_distribution, opts = {})
|
|
102
98
|
data, _status_code, _headers = create_with_http_info(container_container_pull_through_distribution, opts)
|
|
@@ -107,7 +103,6 @@ module PulpContainerClient
|
|
|
107
103
|
# Trigger an asynchronous create task
|
|
108
104
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
|
109
105
|
# @param [Hash] opts the optional parameters
|
|
110
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
111
106
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
112
107
|
def create_with_http_info(container_container_pull_through_distribution, opts = {})
|
|
113
108
|
if @api_client.config.debugging
|
|
@@ -129,7 +124,6 @@ module PulpContainerClient
|
|
|
129
124
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
130
125
|
# HTTP header 'Content-Type'
|
|
131
126
|
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?
|
|
133
127
|
|
|
134
128
|
# form parameters
|
|
135
129
|
form_params = opts[:form_params] || {}
|
|
@@ -163,7 +157,6 @@ module PulpContainerClient
|
|
|
163
157
|
# Trigger an asynchronous delete task
|
|
164
158
|
# @param container_container_pull_through_distribution_href [String]
|
|
165
159
|
# @param [Hash] opts the optional parameters
|
|
166
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
167
160
|
# @return [AsyncOperationResponse]
|
|
168
161
|
def delete(container_container_pull_through_distribution_href, opts = {})
|
|
169
162
|
data, _status_code, _headers = delete_with_http_info(container_container_pull_through_distribution_href, opts)
|
|
@@ -174,7 +167,6 @@ module PulpContainerClient
|
|
|
174
167
|
# Trigger an asynchronous delete task
|
|
175
168
|
# @param container_container_pull_through_distribution_href [String]
|
|
176
169
|
# @param [Hash] opts the optional parameters
|
|
177
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
178
170
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
179
171
|
def delete_with_http_info(container_container_pull_through_distribution_href, opts = {})
|
|
180
172
|
if @api_client.config.debugging
|
|
@@ -194,7 +186,6 @@ module PulpContainerClient
|
|
|
194
186
|
header_params = opts[:header_params] || {}
|
|
195
187
|
# HTTP header 'Accept' (if needed)
|
|
196
188
|
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?
|
|
198
189
|
|
|
199
190
|
# form parameters
|
|
200
191
|
form_params = opts[:form_params] || {}
|
|
@@ -227,7 +218,6 @@ module PulpContainerClient
|
|
|
227
218
|
# List container pull through distributions
|
|
228
219
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
229
220
|
# @param [Hash] opts the optional parameters
|
|
230
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
231
221
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
232
222
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
233
223
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
@@ -262,7 +252,6 @@ module PulpContainerClient
|
|
|
262
252
|
# List container pull through distributions
|
|
263
253
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
264
254
|
# @param [Hash] opts the optional parameters
|
|
265
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
266
255
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
267
256
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
268
257
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
@@ -332,7 +321,6 @@ module PulpContainerClient
|
|
|
332
321
|
header_params = opts[:header_params] || {}
|
|
333
322
|
# HTTP header 'Accept' (if needed)
|
|
334
323
|
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?
|
|
336
324
|
|
|
337
325
|
# form parameters
|
|
338
326
|
form_params = opts[:form_params] || {}
|
|
@@ -366,7 +354,6 @@ module PulpContainerClient
|
|
|
366
354
|
# List roles assigned to this object.
|
|
367
355
|
# @param container_container_pull_through_distribution_href [String]
|
|
368
356
|
# @param [Hash] opts the optional parameters
|
|
369
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
370
357
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
371
358
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
372
359
|
# @return [ObjectRolesResponse]
|
|
@@ -379,7 +366,6 @@ module PulpContainerClient
|
|
|
379
366
|
# List roles assigned to this object.
|
|
380
367
|
# @param container_container_pull_through_distribution_href [String]
|
|
381
368
|
# @param [Hash] opts the optional parameters
|
|
382
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
383
369
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
384
370
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
385
371
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -403,7 +389,6 @@ module PulpContainerClient
|
|
|
403
389
|
header_params = opts[:header_params] || {}
|
|
404
390
|
# HTTP header 'Accept' (if needed)
|
|
405
391
|
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?
|
|
407
392
|
|
|
408
393
|
# form parameters
|
|
409
394
|
form_params = opts[:form_params] || {}
|
|
@@ -437,7 +422,6 @@ module PulpContainerClient
|
|
|
437
422
|
# List permissions available to the current user on this object.
|
|
438
423
|
# @param container_container_pull_through_distribution_href [String]
|
|
439
424
|
# @param [Hash] opts the optional parameters
|
|
440
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
441
425
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
442
426
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
443
427
|
# @return [MyPermissionsResponse]
|
|
@@ -450,7 +434,6 @@ module PulpContainerClient
|
|
|
450
434
|
# List permissions available to the current user on this object.
|
|
451
435
|
# @param container_container_pull_through_distribution_href [String]
|
|
452
436
|
# @param [Hash] opts the optional parameters
|
|
453
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
454
437
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
455
438
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
456
439
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -474,7 +457,6 @@ module PulpContainerClient
|
|
|
474
457
|
header_params = opts[:header_params] || {}
|
|
475
458
|
# HTTP header 'Accept' (if needed)
|
|
476
459
|
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?
|
|
478
460
|
|
|
479
461
|
# form parameters
|
|
480
462
|
form_params = opts[:form_params] || {}
|
|
@@ -509,7 +491,6 @@ module PulpContainerClient
|
|
|
509
491
|
# @param container_container_pull_through_distribution_href [String]
|
|
510
492
|
# @param patchedcontainer_container_pull_through_distribution [PatchedcontainerContainerPullThroughDistribution]
|
|
511
493
|
# @param [Hash] opts the optional parameters
|
|
512
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
513
494
|
# @return [AsyncOperationResponse]
|
|
514
495
|
def partial_update(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts = {})
|
|
515
496
|
data, _status_code, _headers = partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts)
|
|
@@ -521,7 +502,6 @@ module PulpContainerClient
|
|
|
521
502
|
# @param container_container_pull_through_distribution_href [String]
|
|
522
503
|
# @param patchedcontainer_container_pull_through_distribution [PatchedcontainerContainerPullThroughDistribution]
|
|
523
504
|
# @param [Hash] opts the optional parameters
|
|
524
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
525
505
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
526
506
|
def partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts = {})
|
|
527
507
|
if @api_client.config.debugging
|
|
@@ -547,7 +527,6 @@ module PulpContainerClient
|
|
|
547
527
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
548
528
|
# HTTP header 'Content-Type'
|
|
549
529
|
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?
|
|
551
530
|
|
|
552
531
|
# form parameters
|
|
553
532
|
form_params = opts[:form_params] || {}
|
|
@@ -581,7 +560,6 @@ module PulpContainerClient
|
|
|
581
560
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
582
561
|
# @param container_container_pull_through_distribution_href [String]
|
|
583
562
|
# @param [Hash] opts the optional parameters
|
|
584
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
585
563
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
586
564
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
587
565
|
# @return [ContainerContainerPullThroughDistributionResponse]
|
|
@@ -594,7 +572,6 @@ module PulpContainerClient
|
|
|
594
572
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
595
573
|
# @param container_container_pull_through_distribution_href [String]
|
|
596
574
|
# @param [Hash] opts the optional parameters
|
|
597
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
598
575
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
599
576
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
600
577
|
# @return [Array<(ContainerContainerPullThroughDistributionResponse, Integer, Hash)>] ContainerContainerPullThroughDistributionResponse data, response status code and response headers
|
|
@@ -618,7 +595,6 @@ module PulpContainerClient
|
|
|
618
595
|
header_params = opts[:header_params] || {}
|
|
619
596
|
# HTTP header 'Accept' (if needed)
|
|
620
597
|
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?
|
|
622
598
|
|
|
623
599
|
# form parameters
|
|
624
600
|
form_params = opts[:form_params] || {}
|
|
@@ -653,7 +629,6 @@ module PulpContainerClient
|
|
|
653
629
|
# @param container_container_pull_through_distribution_href [String]
|
|
654
630
|
# @param nested_role [NestedRole]
|
|
655
631
|
# @param [Hash] opts the optional parameters
|
|
656
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
657
632
|
# @return [NestedRoleResponse]
|
|
658
633
|
def remove_role(container_container_pull_through_distribution_href, nested_role, opts = {})
|
|
659
634
|
data, _status_code, _headers = remove_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts)
|
|
@@ -665,7 +640,6 @@ module PulpContainerClient
|
|
|
665
640
|
# @param container_container_pull_through_distribution_href [String]
|
|
666
641
|
# @param nested_role [NestedRole]
|
|
667
642
|
# @param [Hash] opts the optional parameters
|
|
668
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
669
643
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
670
644
|
def remove_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts = {})
|
|
671
645
|
if @api_client.config.debugging
|
|
@@ -691,7 +665,6 @@ module PulpContainerClient
|
|
|
691
665
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
692
666
|
# HTTP header 'Content-Type'
|
|
693
667
|
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?
|
|
695
668
|
|
|
696
669
|
# form parameters
|
|
697
670
|
form_params = opts[:form_params] || {}
|
|
@@ -726,7 +699,6 @@ module PulpContainerClient
|
|
|
726
699
|
# @param container_container_pull_through_distribution_href [String]
|
|
727
700
|
# @param set_label [SetLabel]
|
|
728
701
|
# @param [Hash] opts the optional parameters
|
|
729
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
730
702
|
# @return [SetLabelResponse]
|
|
731
703
|
def set_label(container_container_pull_through_distribution_href, set_label, opts = {})
|
|
732
704
|
data, _status_code, _headers = set_label_with_http_info(container_container_pull_through_distribution_href, set_label, opts)
|
|
@@ -738,7 +710,6 @@ module PulpContainerClient
|
|
|
738
710
|
# @param container_container_pull_through_distribution_href [String]
|
|
739
711
|
# @param set_label [SetLabel]
|
|
740
712
|
# @param [Hash] opts the optional parameters
|
|
741
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
742
713
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
|
743
714
|
def set_label_with_http_info(container_container_pull_through_distribution_href, set_label, opts = {})
|
|
744
715
|
if @api_client.config.debugging
|
|
@@ -764,7 +735,6 @@ module PulpContainerClient
|
|
|
764
735
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
765
736
|
# HTTP header 'Content-Type'
|
|
766
737
|
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?
|
|
768
738
|
|
|
769
739
|
# form parameters
|
|
770
740
|
form_params = opts[:form_params] || {}
|
|
@@ -799,7 +769,6 @@ module PulpContainerClient
|
|
|
799
769
|
# @param container_container_pull_through_distribution_href [String]
|
|
800
770
|
# @param unset_label [UnsetLabel]
|
|
801
771
|
# @param [Hash] opts the optional parameters
|
|
802
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
803
772
|
# @return [UnsetLabelResponse]
|
|
804
773
|
def unset_label(container_container_pull_through_distribution_href, unset_label, opts = {})
|
|
805
774
|
data, _status_code, _headers = unset_label_with_http_info(container_container_pull_through_distribution_href, unset_label, opts)
|
|
@@ -811,7 +780,6 @@ module PulpContainerClient
|
|
|
811
780
|
# @param container_container_pull_through_distribution_href [String]
|
|
812
781
|
# @param unset_label [UnsetLabel]
|
|
813
782
|
# @param [Hash] opts the optional parameters
|
|
814
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
815
783
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
|
816
784
|
def unset_label_with_http_info(container_container_pull_through_distribution_href, unset_label, opts = {})
|
|
817
785
|
if @api_client.config.debugging
|
|
@@ -837,7 +805,6 @@ module PulpContainerClient
|
|
|
837
805
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
838
806
|
# HTTP header 'Content-Type'
|
|
839
807
|
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?
|
|
841
808
|
|
|
842
809
|
# form parameters
|
|
843
810
|
form_params = opts[:form_params] || {}
|
|
@@ -872,7 +839,6 @@ module PulpContainerClient
|
|
|
872
839
|
# @param container_container_pull_through_distribution_href [String]
|
|
873
840
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
|
874
841
|
# @param [Hash] opts the optional parameters
|
|
875
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
876
842
|
# @return [AsyncOperationResponse]
|
|
877
843
|
def update(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts = {})
|
|
878
844
|
data, _status_code, _headers = update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts)
|
|
@@ -884,7 +850,6 @@ module PulpContainerClient
|
|
|
884
850
|
# @param container_container_pull_through_distribution_href [String]
|
|
885
851
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
|
886
852
|
# @param [Hash] opts the optional parameters
|
|
887
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
888
853
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
889
854
|
def update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts = {})
|
|
890
855
|
if @api_client.config.debugging
|
|
@@ -910,7 +875,6 @@ module PulpContainerClient
|
|
|
910
875
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
911
876
|
# HTTP header 'Content-Type'
|
|
912
877
|
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?
|
|
914
878
|
|
|
915
879
|
# form parameters
|
|
916
880
|
form_params = opts[:form_params] || {}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module PulpContainerClient
|
|
16
|
+
class IndexDynamicApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Handles requests to the /index/dynamic endpoint
|
|
23
|
+
# @param [Hash] opts the optional parameters
|
|
24
|
+
# @return [nil]
|
|
25
|
+
def get(opts = {})
|
|
26
|
+
get_with_http_info(opts)
|
|
27
|
+
nil
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Handles requests to the /index/dynamic endpoint
|
|
31
|
+
# @param [Hash] opts the optional parameters
|
|
32
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
33
|
+
def get_with_http_info(opts = {})
|
|
34
|
+
if @api_client.config.debugging
|
|
35
|
+
@api_client.config.logger.debug 'Calling API: IndexDynamicApi.get ...'
|
|
36
|
+
end
|
|
37
|
+
# resource path
|
|
38
|
+
local_var_path = '/index/dynamic'
|
|
39
|
+
|
|
40
|
+
# query parameters
|
|
41
|
+
query_params = opts[:query_params] || {}
|
|
42
|
+
|
|
43
|
+
# header parameters
|
|
44
|
+
header_params = opts[:header_params] || {}
|
|
45
|
+
|
|
46
|
+
# form parameters
|
|
47
|
+
form_params = opts[:form_params] || {}
|
|
48
|
+
|
|
49
|
+
# http body (model)
|
|
50
|
+
post_body = opts[:body]
|
|
51
|
+
|
|
52
|
+
# return_type
|
|
53
|
+
return_type = opts[:return_type]
|
|
54
|
+
|
|
55
|
+
# auth_names
|
|
56
|
+
auth_names = opts[:auth_names] || []
|
|
57
|
+
|
|
58
|
+
new_options = opts.merge(
|
|
59
|
+
:header_params => header_params,
|
|
60
|
+
:query_params => query_params,
|
|
61
|
+
:form_params => form_params,
|
|
62
|
+
:body => post_body,
|
|
63
|
+
:auth_names => auth_names,
|
|
64
|
+
:return_type => return_type
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
68
|
+
if @api_client.config.debugging
|
|
69
|
+
@api_client.config.logger.debug "API called: IndexDynamicApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
70
|
+
end
|
|
71
|
+
return data, status_code, headers
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module PulpContainerClient
|
|
16
|
+
class IndexStaticApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Handles requests to the /index/static endpoint
|
|
23
|
+
# @param [Hash] opts the optional parameters
|
|
24
|
+
# @return [nil]
|
|
25
|
+
def get(opts = {})
|
|
26
|
+
get_with_http_info(opts)
|
|
27
|
+
nil
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Handles requests to the /index/static endpoint
|
|
31
|
+
# @param [Hash] opts the optional parameters
|
|
32
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
33
|
+
def get_with_http_info(opts = {})
|
|
34
|
+
if @api_client.config.debugging
|
|
35
|
+
@api_client.config.logger.debug 'Calling API: IndexStaticApi.get ...'
|
|
36
|
+
end
|
|
37
|
+
# resource path
|
|
38
|
+
local_var_path = '/index/static'
|
|
39
|
+
|
|
40
|
+
# query parameters
|
|
41
|
+
query_params = opts[:query_params] || {}
|
|
42
|
+
|
|
43
|
+
# header parameters
|
|
44
|
+
header_params = opts[:header_params] || {}
|
|
45
|
+
|
|
46
|
+
# form parameters
|
|
47
|
+
form_params = opts[:form_params] || {}
|
|
48
|
+
|
|
49
|
+
# http body (model)
|
|
50
|
+
post_body = opts[:body]
|
|
51
|
+
|
|
52
|
+
# return_type
|
|
53
|
+
return_type = opts[:return_type]
|
|
54
|
+
|
|
55
|
+
# auth_names
|
|
56
|
+
auth_names = opts[:auth_names] || []
|
|
57
|
+
|
|
58
|
+
new_options = opts.merge(
|
|
59
|
+
:header_params => header_params,
|
|
60
|
+
:query_params => query_params,
|
|
61
|
+
:form_params => form_params,
|
|
62
|
+
:body => post_body,
|
|
63
|
+
:auth_names => auth_names,
|
|
64
|
+
:return_type => return_type
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
68
|
+
if @api_client.config.debugging
|
|
69
|
+
@api_client.config.logger.debug "API called: IndexStaticApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
70
|
+
end
|
|
71
|
+
return data, status_code, headers
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
@@ -24,7 +24,6 @@ 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.
|
|
28
27
|
# @return [NestedRoleResponse]
|
|
29
28
|
def add_role(container_container_namespace_href, nested_role, opts = {})
|
|
30
29
|
data, _status_code, _headers = add_role_with_http_info(container_container_namespace_href, nested_role, opts)
|
|
@@ -36,7 +35,6 @@ module PulpContainerClient
|
|
|
36
35
|
# @param container_container_namespace_href [String]
|
|
37
36
|
# @param nested_role [NestedRole]
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
38
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
41
39
|
def add_role_with_http_info(container_container_namespace_href, nested_role, opts = {})
|
|
42
40
|
if @api_client.config.debugging
|
|
@@ -62,7 +60,6 @@ module PulpContainerClient
|
|
|
62
60
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
63
61
|
# HTTP header 'Content-Type'
|
|
64
62
|
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?
|
|
66
63
|
|
|
67
64
|
# form parameters
|
|
68
65
|
form_params = opts[:form_params] || {}
|
|
@@ -96,7 +93,6 @@ module PulpContainerClient
|
|
|
96
93
|
# ViewSet for ContainerNamespaces.
|
|
97
94
|
# @param container_container_namespace [ContainerContainerNamespace]
|
|
98
95
|
# @param [Hash] opts the optional parameters
|
|
99
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
96
|
# @return [ContainerContainerNamespaceResponse]
|
|
101
97
|
def create(container_container_namespace, opts = {})
|
|
102
98
|
data, _status_code, _headers = create_with_http_info(container_container_namespace, opts)
|
|
@@ -107,7 +103,6 @@ module PulpContainerClient
|
|
|
107
103
|
# ViewSet for ContainerNamespaces.
|
|
108
104
|
# @param container_container_namespace [ContainerContainerNamespace]
|
|
109
105
|
# @param [Hash] opts the optional parameters
|
|
110
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
111
106
|
# @return [Array<(ContainerContainerNamespaceResponse, Integer, Hash)>] ContainerContainerNamespaceResponse data, response status code and response headers
|
|
112
107
|
def create_with_http_info(container_container_namespace, opts = {})
|
|
113
108
|
if @api_client.config.debugging
|
|
@@ -129,7 +124,6 @@ module PulpContainerClient
|
|
|
129
124
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
130
125
|
# HTTP header 'Content-Type'
|
|
131
126
|
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?
|
|
133
127
|
|
|
134
128
|
# form parameters
|
|
135
129
|
form_params = opts[:form_params] || {}
|
|
@@ -163,7 +157,6 @@ module PulpContainerClient
|
|
|
163
157
|
# Trigger an asynchronous delete task
|
|
164
158
|
# @param container_container_namespace_href [String]
|
|
165
159
|
# @param [Hash] opts the optional parameters
|
|
166
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
167
160
|
# @return [AsyncOperationResponse]
|
|
168
161
|
def delete(container_container_namespace_href, opts = {})
|
|
169
162
|
data, _status_code, _headers = delete_with_http_info(container_container_namespace_href, opts)
|
|
@@ -174,7 +167,6 @@ module PulpContainerClient
|
|
|
174
167
|
# Trigger an asynchronous delete task
|
|
175
168
|
# @param container_container_namespace_href [String]
|
|
176
169
|
# @param [Hash] opts the optional parameters
|
|
177
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
178
170
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
179
171
|
def delete_with_http_info(container_container_namespace_href, opts = {})
|
|
180
172
|
if @api_client.config.debugging
|
|
@@ -194,7 +186,6 @@ module PulpContainerClient
|
|
|
194
186
|
header_params = opts[:header_params] || {}
|
|
195
187
|
# HTTP header 'Accept' (if needed)
|
|
196
188
|
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?
|
|
198
189
|
|
|
199
190
|
# form parameters
|
|
200
191
|
form_params = opts[:form_params] || {}
|
|
@@ -227,7 +218,6 @@ module PulpContainerClient
|
|
|
227
218
|
# List container namespaces
|
|
228
219
|
# ViewSet for ContainerNamespaces.
|
|
229
220
|
# @param [Hash] opts the optional parameters
|
|
230
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
231
221
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
232
222
|
# @option opts [String] :name Filter results where name matches value
|
|
233
223
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -254,7 +244,6 @@ module PulpContainerClient
|
|
|
254
244
|
# List container namespaces
|
|
255
245
|
# ViewSet for ContainerNamespaces.
|
|
256
246
|
# @param [Hash] opts the optional parameters
|
|
257
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
258
247
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
259
248
|
# @option opts [String] :name Filter results where name matches value
|
|
260
249
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -308,7 +297,6 @@ module PulpContainerClient
|
|
|
308
297
|
header_params = opts[:header_params] || {}
|
|
309
298
|
# HTTP header 'Accept' (if needed)
|
|
310
299
|
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?
|
|
312
300
|
|
|
313
301
|
# form parameters
|
|
314
302
|
form_params = opts[:form_params] || {}
|
|
@@ -342,7 +330,6 @@ module PulpContainerClient
|
|
|
342
330
|
# List roles assigned to this object.
|
|
343
331
|
# @param container_container_namespace_href [String]
|
|
344
332
|
# @param [Hash] opts the optional parameters
|
|
345
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
346
333
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
347
334
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
348
335
|
# @return [ObjectRolesResponse]
|
|
@@ -355,7 +342,6 @@ module PulpContainerClient
|
|
|
355
342
|
# List roles assigned to this object.
|
|
356
343
|
# @param container_container_namespace_href [String]
|
|
357
344
|
# @param [Hash] opts the optional parameters
|
|
358
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
359
345
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
360
346
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
361
347
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -379,7 +365,6 @@ module PulpContainerClient
|
|
|
379
365
|
header_params = opts[:header_params] || {}
|
|
380
366
|
# HTTP header 'Accept' (if needed)
|
|
381
367
|
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?
|
|
383
368
|
|
|
384
369
|
# form parameters
|
|
385
370
|
form_params = opts[:form_params] || {}
|
|
@@ -413,7 +398,6 @@ module PulpContainerClient
|
|
|
413
398
|
# List permissions available to the current user on this object.
|
|
414
399
|
# @param container_container_namespace_href [String]
|
|
415
400
|
# @param [Hash] opts the optional parameters
|
|
416
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
417
401
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
418
402
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
419
403
|
# @return [MyPermissionsResponse]
|
|
@@ -426,7 +410,6 @@ module PulpContainerClient
|
|
|
426
410
|
# List permissions available to the current user on this object.
|
|
427
411
|
# @param container_container_namespace_href [String]
|
|
428
412
|
# @param [Hash] opts the optional parameters
|
|
429
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
430
413
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
431
414
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
432
415
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -450,7 +433,6 @@ module PulpContainerClient
|
|
|
450
433
|
header_params = opts[:header_params] || {}
|
|
451
434
|
# HTTP header 'Accept' (if needed)
|
|
452
435
|
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?
|
|
454
436
|
|
|
455
437
|
# form parameters
|
|
456
438
|
form_params = opts[:form_params] || {}
|
|
@@ -484,7 +466,6 @@ module PulpContainerClient
|
|
|
484
466
|
# ViewSet for ContainerNamespaces.
|
|
485
467
|
# @param container_container_namespace_href [String]
|
|
486
468
|
# @param [Hash] opts the optional parameters
|
|
487
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
488
469
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
489
470
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
490
471
|
# @return [ContainerContainerNamespaceResponse]
|
|
@@ -497,7 +478,6 @@ module PulpContainerClient
|
|
|
497
478
|
# ViewSet for ContainerNamespaces.
|
|
498
479
|
# @param container_container_namespace_href [String]
|
|
499
480
|
# @param [Hash] opts the optional parameters
|
|
500
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
501
481
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
502
482
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
503
483
|
# @return [Array<(ContainerContainerNamespaceResponse, Integer, Hash)>] ContainerContainerNamespaceResponse data, response status code and response headers
|
|
@@ -521,7 +501,6 @@ module PulpContainerClient
|
|
|
521
501
|
header_params = opts[:header_params] || {}
|
|
522
502
|
# HTTP header 'Accept' (if needed)
|
|
523
503
|
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?
|
|
525
504
|
|
|
526
505
|
# form parameters
|
|
527
506
|
form_params = opts[:form_params] || {}
|
|
@@ -556,7 +535,6 @@ module PulpContainerClient
|
|
|
556
535
|
# @param container_container_namespace_href [String]
|
|
557
536
|
# @param nested_role [NestedRole]
|
|
558
537
|
# @param [Hash] opts the optional parameters
|
|
559
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
560
538
|
# @return [NestedRoleResponse]
|
|
561
539
|
def remove_role(container_container_namespace_href, nested_role, opts = {})
|
|
562
540
|
data, _status_code, _headers = remove_role_with_http_info(container_container_namespace_href, nested_role, opts)
|
|
@@ -568,7 +546,6 @@ module PulpContainerClient
|
|
|
568
546
|
# @param container_container_namespace_href [String]
|
|
569
547
|
# @param nested_role [NestedRole]
|
|
570
548
|
# @param [Hash] opts the optional parameters
|
|
571
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
572
549
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
573
550
|
def remove_role_with_http_info(container_container_namespace_href, nested_role, opts = {})
|
|
574
551
|
if @api_client.config.debugging
|
|
@@ -594,7 +571,6 @@ module PulpContainerClient
|
|
|
594
571
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
595
572
|
# HTTP header 'Content-Type'
|
|
596
573
|
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?
|
|
598
574
|
|
|
599
575
|
# form parameters
|
|
600
576
|
form_params = opts[:form_params] || {}
|