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_push_repository_href [String]
|
|
25
25
|
# @param nested_role [NestedRole]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
28
27
|
# @return [NestedRoleResponse]
|
|
29
28
|
def add_role(container_container_push_repository_href, nested_role, opts = {})
|
|
30
29
|
data, _status_code, _headers = add_role_with_http_info(container_container_push_repository_href, nested_role, opts)
|
|
@@ -36,7 +35,6 @@ module PulpContainerClient
|
|
|
36
35
|
# @param container_container_push_repository_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_push_repository_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] || {}
|
|
@@ -95,7 +92,6 @@ module PulpContainerClient
|
|
|
95
92
|
# List container push repositorys
|
|
96
93
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
|
97
94
|
# @param [Hash] opts the optional parameters
|
|
98
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
99
95
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
100
96
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
101
97
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -134,7 +130,6 @@ module PulpContainerClient
|
|
|
134
130
|
# List container push repositorys
|
|
135
131
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
|
136
132
|
# @param [Hash] opts the optional parameters
|
|
137
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
138
133
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
139
134
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
140
135
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -212,7 +207,6 @@ module PulpContainerClient
|
|
|
212
207
|
header_params = opts[:header_params] || {}
|
|
213
208
|
# HTTP header 'Accept' (if needed)
|
|
214
209
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
215
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
216
210
|
|
|
217
211
|
# form parameters
|
|
218
212
|
form_params = opts[:form_params] || {}
|
|
@@ -246,7 +240,6 @@ module PulpContainerClient
|
|
|
246
240
|
# List roles assigned to this object.
|
|
247
241
|
# @param container_container_push_repository_href [String]
|
|
248
242
|
# @param [Hash] opts the optional parameters
|
|
249
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
250
243
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
251
244
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
252
245
|
# @return [ObjectRolesResponse]
|
|
@@ -259,7 +252,6 @@ module PulpContainerClient
|
|
|
259
252
|
# List roles assigned to this object.
|
|
260
253
|
# @param container_container_push_repository_href [String]
|
|
261
254
|
# @param [Hash] opts the optional parameters
|
|
262
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
263
255
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
264
256
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
265
257
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -283,7 +275,6 @@ module PulpContainerClient
|
|
|
283
275
|
header_params = opts[:header_params] || {}
|
|
284
276
|
# HTTP header 'Accept' (if needed)
|
|
285
277
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
286
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
287
278
|
|
|
288
279
|
# form parameters
|
|
289
280
|
form_params = opts[:form_params] || {}
|
|
@@ -317,7 +308,6 @@ module PulpContainerClient
|
|
|
317
308
|
# List permissions available to the current user on this object.
|
|
318
309
|
# @param container_container_push_repository_href [String]
|
|
319
310
|
# @param [Hash] opts the optional parameters
|
|
320
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
321
311
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
322
312
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
323
313
|
# @return [MyPermissionsResponse]
|
|
@@ -330,7 +320,6 @@ module PulpContainerClient
|
|
|
330
320
|
# List permissions available to the current user on this object.
|
|
331
321
|
# @param container_container_push_repository_href [String]
|
|
332
322
|
# @param [Hash] opts the optional parameters
|
|
333
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
334
323
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
335
324
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
336
325
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -354,7 +343,6 @@ module PulpContainerClient
|
|
|
354
343
|
header_params = opts[:header_params] || {}
|
|
355
344
|
# HTTP header 'Accept' (if needed)
|
|
356
345
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
357
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
358
346
|
|
|
359
347
|
# form parameters
|
|
360
348
|
form_params = opts[:form_params] || {}
|
|
@@ -389,7 +377,6 @@ module PulpContainerClient
|
|
|
389
377
|
# @param container_container_push_repository_href [String]
|
|
390
378
|
# @param patchedcontainer_container_push_repository [PatchedcontainerContainerPushRepository]
|
|
391
379
|
# @param [Hash] opts the optional parameters
|
|
392
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
393
380
|
# @return [AsyncOperationResponse]
|
|
394
381
|
def partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository, opts = {})
|
|
395
382
|
data, _status_code, _headers = partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository, opts)
|
|
@@ -401,7 +388,6 @@ module PulpContainerClient
|
|
|
401
388
|
# @param container_container_push_repository_href [String]
|
|
402
389
|
# @param patchedcontainer_container_push_repository [PatchedcontainerContainerPushRepository]
|
|
403
390
|
# @param [Hash] opts the optional parameters
|
|
404
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
405
391
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
406
392
|
def partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository, opts = {})
|
|
407
393
|
if @api_client.config.debugging
|
|
@@ -427,7 +413,6 @@ module PulpContainerClient
|
|
|
427
413
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
428
414
|
# HTTP header 'Content-Type'
|
|
429
415
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
430
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
431
416
|
|
|
432
417
|
# form parameters
|
|
433
418
|
form_params = opts[:form_params] || {}
|
|
@@ -461,7 +446,6 @@ module PulpContainerClient
|
|
|
461
446
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
|
462
447
|
# @param container_container_push_repository_href [String]
|
|
463
448
|
# @param [Hash] opts the optional parameters
|
|
464
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
465
449
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
466
450
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
467
451
|
# @return [ContainerContainerPushRepositoryResponse]
|
|
@@ -474,7 +458,6 @@ module PulpContainerClient
|
|
|
474
458
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
|
475
459
|
# @param container_container_push_repository_href [String]
|
|
476
460
|
# @param [Hash] opts the optional parameters
|
|
477
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
478
461
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
479
462
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
480
463
|
# @return [Array<(ContainerContainerPushRepositoryResponse, Integer, Hash)>] ContainerContainerPushRepositoryResponse data, response status code and response headers
|
|
@@ -498,7 +481,6 @@ module PulpContainerClient
|
|
|
498
481
|
header_params = opts[:header_params] || {}
|
|
499
482
|
# HTTP header 'Accept' (if needed)
|
|
500
483
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
501
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
502
484
|
|
|
503
485
|
# form parameters
|
|
504
486
|
form_params = opts[:form_params] || {}
|
|
@@ -533,7 +515,6 @@ module PulpContainerClient
|
|
|
533
515
|
# @param container_container_push_repository_href [String]
|
|
534
516
|
# @param remove_image [RemoveImage]
|
|
535
517
|
# @param [Hash] opts the optional parameters
|
|
536
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
537
518
|
# @return [AsyncOperationResponse]
|
|
538
519
|
def remove_image(container_container_push_repository_href, remove_image, opts = {})
|
|
539
520
|
data, _status_code, _headers = remove_image_with_http_info(container_container_push_repository_href, remove_image, opts)
|
|
@@ -545,7 +526,6 @@ module PulpContainerClient
|
|
|
545
526
|
# @param container_container_push_repository_href [String]
|
|
546
527
|
# @param remove_image [RemoveImage]
|
|
547
528
|
# @param [Hash] opts the optional parameters
|
|
548
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
549
529
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
550
530
|
def remove_image_with_http_info(container_container_push_repository_href, remove_image, opts = {})
|
|
551
531
|
if @api_client.config.debugging
|
|
@@ -571,7 +551,6 @@ module PulpContainerClient
|
|
|
571
551
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
572
552
|
# HTTP header 'Content-Type'
|
|
573
553
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
574
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
575
554
|
|
|
576
555
|
# form parameters
|
|
577
556
|
form_params = opts[:form_params] || {}
|
|
@@ -606,7 +585,6 @@ module PulpContainerClient
|
|
|
606
585
|
# @param container_container_push_repository_href [String]
|
|
607
586
|
# @param nested_role [NestedRole]
|
|
608
587
|
# @param [Hash] opts the optional parameters
|
|
609
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
610
588
|
# @return [NestedRoleResponse]
|
|
611
589
|
def remove_role(container_container_push_repository_href, nested_role, opts = {})
|
|
612
590
|
data, _status_code, _headers = remove_role_with_http_info(container_container_push_repository_href, nested_role, opts)
|
|
@@ -618,7 +596,6 @@ module PulpContainerClient
|
|
|
618
596
|
# @param container_container_push_repository_href [String]
|
|
619
597
|
# @param nested_role [NestedRole]
|
|
620
598
|
# @param [Hash] opts the optional parameters
|
|
621
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
622
599
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
623
600
|
def remove_role_with_http_info(container_container_push_repository_href, nested_role, opts = {})
|
|
624
601
|
if @api_client.config.debugging
|
|
@@ -644,7 +621,6 @@ module PulpContainerClient
|
|
|
644
621
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
645
622
|
# HTTP header 'Content-Type'
|
|
646
623
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
647
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
648
624
|
|
|
649
625
|
# form parameters
|
|
650
626
|
form_params = opts[:form_params] || {}
|
|
@@ -678,7 +654,6 @@ module PulpContainerClient
|
|
|
678
654
|
# @param container_container_push_repository_href [String]
|
|
679
655
|
# @param remove_signatures [RemoveSignatures]
|
|
680
656
|
# @param [Hash] opts the optional parameters
|
|
681
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
682
657
|
# @return [RemoveSignaturesResponse]
|
|
683
658
|
def remove_signatures(container_container_push_repository_href, remove_signatures, opts = {})
|
|
684
659
|
data, _status_code, _headers = remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures, opts)
|
|
@@ -689,7 +664,6 @@ module PulpContainerClient
|
|
|
689
664
|
# @param container_container_push_repository_href [String]
|
|
690
665
|
# @param remove_signatures [RemoveSignatures]
|
|
691
666
|
# @param [Hash] opts the optional parameters
|
|
692
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
693
667
|
# @return [Array<(RemoveSignaturesResponse, Integer, Hash)>] RemoveSignaturesResponse data, response status code and response headers
|
|
694
668
|
def remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures, opts = {})
|
|
695
669
|
if @api_client.config.debugging
|
|
@@ -715,7 +689,6 @@ module PulpContainerClient
|
|
|
715
689
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
716
690
|
# HTTP header 'Content-Type'
|
|
717
691
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
718
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
719
692
|
|
|
720
693
|
# form parameters
|
|
721
694
|
form_params = opts[:form_params] || {}
|
|
@@ -750,7 +723,6 @@ module PulpContainerClient
|
|
|
750
723
|
# @param container_container_push_repository_href [String]
|
|
751
724
|
# @param repository_sign [RepositorySign]
|
|
752
725
|
# @param [Hash] opts the optional parameters
|
|
753
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
754
726
|
# @return [AsyncOperationResponse]
|
|
755
727
|
def sign(container_container_push_repository_href, repository_sign, opts = {})
|
|
756
728
|
data, _status_code, _headers = sign_with_http_info(container_container_push_repository_href, repository_sign, opts)
|
|
@@ -762,7 +734,6 @@ module PulpContainerClient
|
|
|
762
734
|
# @param container_container_push_repository_href [String]
|
|
763
735
|
# @param repository_sign [RepositorySign]
|
|
764
736
|
# @param [Hash] opts the optional parameters
|
|
765
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
766
737
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
767
738
|
def sign_with_http_info(container_container_push_repository_href, repository_sign, opts = {})
|
|
768
739
|
if @api_client.config.debugging
|
|
@@ -788,7 +759,6 @@ module PulpContainerClient
|
|
|
788
759
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
789
760
|
# HTTP header 'Content-Type'
|
|
790
761
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
791
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
792
762
|
|
|
793
763
|
# form parameters
|
|
794
764
|
form_params = opts[:form_params] || {}
|
|
@@ -823,7 +793,6 @@ module PulpContainerClient
|
|
|
823
793
|
# @param container_container_push_repository_href [String]
|
|
824
794
|
# @param tag_image [TagImage]
|
|
825
795
|
# @param [Hash] opts the optional parameters
|
|
826
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
827
796
|
# @return [AsyncOperationResponse]
|
|
828
797
|
def tag(container_container_push_repository_href, tag_image, opts = {})
|
|
829
798
|
data, _status_code, _headers = tag_with_http_info(container_container_push_repository_href, tag_image, opts)
|
|
@@ -835,7 +804,6 @@ module PulpContainerClient
|
|
|
835
804
|
# @param container_container_push_repository_href [String]
|
|
836
805
|
# @param tag_image [TagImage]
|
|
837
806
|
# @param [Hash] opts the optional parameters
|
|
838
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
839
807
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
840
808
|
def tag_with_http_info(container_container_push_repository_href, tag_image, opts = {})
|
|
841
809
|
if @api_client.config.debugging
|
|
@@ -861,7 +829,6 @@ module PulpContainerClient
|
|
|
861
829
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
862
830
|
# HTTP header 'Content-Type'
|
|
863
831
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
864
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
865
832
|
|
|
866
833
|
# form parameters
|
|
867
834
|
form_params = opts[:form_params] || {}
|
|
@@ -896,7 +863,6 @@ module PulpContainerClient
|
|
|
896
863
|
# @param container_container_push_repository_href [String]
|
|
897
864
|
# @param un_tag_image [UnTagImage]
|
|
898
865
|
# @param [Hash] opts the optional parameters
|
|
899
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
900
866
|
# @return [AsyncOperationResponse]
|
|
901
867
|
def untag(container_container_push_repository_href, un_tag_image, opts = {})
|
|
902
868
|
data, _status_code, _headers = untag_with_http_info(container_container_push_repository_href, un_tag_image, opts)
|
|
@@ -908,7 +874,6 @@ module PulpContainerClient
|
|
|
908
874
|
# @param container_container_push_repository_href [String]
|
|
909
875
|
# @param un_tag_image [UnTagImage]
|
|
910
876
|
# @param [Hash] opts the optional parameters
|
|
911
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
912
877
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
913
878
|
def untag_with_http_info(container_container_push_repository_href, un_tag_image, opts = {})
|
|
914
879
|
if @api_client.config.debugging
|
|
@@ -934,7 +899,6 @@ module PulpContainerClient
|
|
|
934
899
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
935
900
|
# HTTP header 'Content-Type'
|
|
936
901
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
937
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
938
902
|
|
|
939
903
|
# form parameters
|
|
940
904
|
form_params = opts[:form_params] || {}
|
|
@@ -969,7 +933,6 @@ module PulpContainerClient
|
|
|
969
933
|
# @param container_container_push_repository_href [String]
|
|
970
934
|
# @param container_container_push_repository [ContainerContainerPushRepository]
|
|
971
935
|
# @param [Hash] opts the optional parameters
|
|
972
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
973
936
|
# @return [AsyncOperationResponse]
|
|
974
937
|
def update(container_container_push_repository_href, container_container_push_repository, opts = {})
|
|
975
938
|
data, _status_code, _headers = update_with_http_info(container_container_push_repository_href, container_container_push_repository, opts)
|
|
@@ -981,7 +944,6 @@ module PulpContainerClient
|
|
|
981
944
|
# @param container_container_push_repository_href [String]
|
|
982
945
|
# @param container_container_push_repository [ContainerContainerPushRepository]
|
|
983
946
|
# @param [Hash] opts the optional parameters
|
|
984
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
985
947
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
986
948
|
def update_with_http_info(container_container_push_repository_href, container_container_push_repository, opts = {})
|
|
987
949
|
if @api_client.config.debugging
|
|
@@ -1007,7 +969,6 @@ module PulpContainerClient
|
|
|
1007
969
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1008
970
|
# HTTP header 'Content-Type'
|
|
1009
971
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
1010
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
1011
972
|
|
|
1012
973
|
# form parameters
|
|
1013
974
|
form_params = opts[:form_params] || {}
|
|
@@ -23,7 +23,6 @@ module PulpContainerClient
|
|
|
23
23
|
# Trigger an asynchronous task to delete a repository version.
|
|
24
24
|
# @param container_container_push_repository_version_href [String]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
26
|
# @return [AsyncOperationResponse]
|
|
28
27
|
def delete(container_container_push_repository_version_href, opts = {})
|
|
29
28
|
data, _status_code, _headers = delete_with_http_info(container_container_push_repository_version_href, opts)
|
|
@@ -34,7 +33,6 @@ module PulpContainerClient
|
|
|
34
33
|
# Trigger an asynchronous task to delete a repository version.
|
|
35
34
|
# @param container_container_push_repository_version_href [String]
|
|
36
35
|
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
39
37
|
def delete_with_http_info(container_container_push_repository_version_href, opts = {})
|
|
40
38
|
if @api_client.config.debugging
|
|
@@ -54,7 +52,6 @@ module PulpContainerClient
|
|
|
54
52
|
header_params = opts[:header_params] || {}
|
|
55
53
|
# HTTP header 'Accept' (if needed)
|
|
56
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
57
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
58
55
|
|
|
59
56
|
# form parameters
|
|
60
57
|
form_params = opts[:form_params] || {}
|
|
@@ -88,7 +85,6 @@ module PulpContainerClient
|
|
|
88
85
|
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
|
89
86
|
# @param container_container_push_repository_href [String]
|
|
90
87
|
# @param [Hash] opts the optional parameters
|
|
91
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
92
88
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
93
89
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
94
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -120,7 +116,6 @@ module PulpContainerClient
|
|
|
120
116
|
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
|
121
117
|
# @param container_container_push_repository_href [String]
|
|
122
118
|
# @param [Hash] opts the optional parameters
|
|
123
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
124
119
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
125
120
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
126
121
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -186,7 +181,6 @@ module PulpContainerClient
|
|
|
186
181
|
header_params = opts[:header_params] || {}
|
|
187
182
|
# HTTP header 'Accept' (if needed)
|
|
188
183
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
189
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
190
184
|
|
|
191
185
|
# form parameters
|
|
192
186
|
form_params = opts[:form_params] || {}
|
|
@@ -220,7 +214,6 @@ module PulpContainerClient
|
|
|
220
214
|
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
|
221
215
|
# @param container_container_push_repository_version_href [String]
|
|
222
216
|
# @param [Hash] opts the optional parameters
|
|
223
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
224
217
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
225
218
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
226
219
|
# @return [RepositoryVersionResponse]
|
|
@@ -233,7 +226,6 @@ module PulpContainerClient
|
|
|
233
226
|
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
|
234
227
|
# @param container_container_push_repository_version_href [String]
|
|
235
228
|
# @param [Hash] opts the optional parameters
|
|
236
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
237
229
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
238
230
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
239
231
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
|
@@ -257,7 +249,6 @@ module PulpContainerClient
|
|
|
257
249
|
header_params = opts[:header_params] || {}
|
|
258
250
|
# HTTP header 'Accept' (if needed)
|
|
259
251
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
260
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
261
252
|
|
|
262
253
|
# form parameters
|
|
263
254
|
form_params = opts[:form_params] || {}
|
|
@@ -291,7 +282,6 @@ module PulpContainerClient
|
|
|
291
282
|
# @param container_container_push_repository_version_href [String]
|
|
292
283
|
# @param repair [Repair]
|
|
293
284
|
# @param [Hash] opts the optional parameters
|
|
294
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
295
285
|
# @return [AsyncOperationResponse]
|
|
296
286
|
def repair(container_container_push_repository_version_href, repair, opts = {})
|
|
297
287
|
data, _status_code, _headers = repair_with_http_info(container_container_push_repository_version_href, repair, opts)
|
|
@@ -302,7 +292,6 @@ module PulpContainerClient
|
|
|
302
292
|
# @param container_container_push_repository_version_href [String]
|
|
303
293
|
# @param repair [Repair]
|
|
304
294
|
# @param [Hash] opts the optional parameters
|
|
305
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
306
295
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
307
296
|
def repair_with_http_info(container_container_push_repository_version_href, repair, opts = {})
|
|
308
297
|
if @api_client.config.debugging
|
|
@@ -328,7 +317,6 @@ module PulpContainerClient
|
|
|
328
317
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
329
318
|
# HTTP header 'Content-Type'
|
|
330
319
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
331
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
332
320
|
|
|
333
321
|
# form parameters
|
|
334
322
|
form_params = opts[:form_params] || {}
|
|
@@ -23,7 +23,6 @@ module PulpContainerClient
|
|
|
23
23
|
# Trigger an asynchronous task to delete a repository version.
|
|
24
24
|
# @param container_container_repository_version_href [String]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
26
|
# @return [AsyncOperationResponse]
|
|
28
27
|
def delete(container_container_repository_version_href, opts = {})
|
|
29
28
|
data, _status_code, _headers = delete_with_http_info(container_container_repository_version_href, opts)
|
|
@@ -34,7 +33,6 @@ module PulpContainerClient
|
|
|
34
33
|
# Trigger an asynchronous task to delete a repository version.
|
|
35
34
|
# @param container_container_repository_version_href [String]
|
|
36
35
|
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
39
37
|
def delete_with_http_info(container_container_repository_version_href, opts = {})
|
|
40
38
|
if @api_client.config.debugging
|
|
@@ -54,7 +52,6 @@ module PulpContainerClient
|
|
|
54
52
|
header_params = opts[:header_params] || {}
|
|
55
53
|
# HTTP header 'Accept' (if needed)
|
|
56
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
57
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
58
55
|
|
|
59
56
|
# form parameters
|
|
60
57
|
form_params = opts[:form_params] || {}
|
|
@@ -88,7 +85,6 @@ module PulpContainerClient
|
|
|
88
85
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
89
86
|
# @param container_container_repository_href [String]
|
|
90
87
|
# @param [Hash] opts the optional parameters
|
|
91
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
92
88
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
93
89
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
94
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -120,7 +116,6 @@ module PulpContainerClient
|
|
|
120
116
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
121
117
|
# @param container_container_repository_href [String]
|
|
122
118
|
# @param [Hash] opts the optional parameters
|
|
123
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
124
119
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
125
120
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
126
121
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -186,7 +181,6 @@ module PulpContainerClient
|
|
|
186
181
|
header_params = opts[:header_params] || {}
|
|
187
182
|
# HTTP header 'Accept' (if needed)
|
|
188
183
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
189
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
190
184
|
|
|
191
185
|
# form parameters
|
|
192
186
|
form_params = opts[:form_params] || {}
|
|
@@ -220,7 +214,6 @@ module PulpContainerClient
|
|
|
220
214
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
221
215
|
# @param container_container_repository_version_href [String]
|
|
222
216
|
# @param [Hash] opts the optional parameters
|
|
223
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
224
217
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
225
218
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
226
219
|
# @return [RepositoryVersionResponse]
|
|
@@ -233,7 +226,6 @@ module PulpContainerClient
|
|
|
233
226
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
234
227
|
# @param container_container_repository_version_href [String]
|
|
235
228
|
# @param [Hash] opts the optional parameters
|
|
236
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
237
229
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
238
230
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
239
231
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
|
@@ -257,7 +249,6 @@ module PulpContainerClient
|
|
|
257
249
|
header_params = opts[:header_params] || {}
|
|
258
250
|
# HTTP header 'Accept' (if needed)
|
|
259
251
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
260
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
261
252
|
|
|
262
253
|
# form parameters
|
|
263
254
|
form_params = opts[:form_params] || {}
|
|
@@ -291,7 +282,6 @@ module PulpContainerClient
|
|
|
291
282
|
# @param container_container_repository_version_href [String]
|
|
292
283
|
# @param repair [Repair]
|
|
293
284
|
# @param [Hash] opts the optional parameters
|
|
294
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
295
285
|
# @return [AsyncOperationResponse]
|
|
296
286
|
def repair(container_container_repository_version_href, repair, opts = {})
|
|
297
287
|
data, _status_code, _headers = repair_with_http_info(container_container_repository_version_href, repair, opts)
|
|
@@ -302,7 +292,6 @@ module PulpContainerClient
|
|
|
302
292
|
# @param container_container_repository_version_href [String]
|
|
303
293
|
# @param repair [Repair]
|
|
304
294
|
# @param [Hash] opts the optional parameters
|
|
305
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
306
295
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
307
296
|
def repair_with_http_info(container_container_repository_version_href, repair, opts = {})
|
|
308
297
|
if @api_client.config.debugging
|
|
@@ -328,7 +317,6 @@ module PulpContainerClient
|
|
|
328
317
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
329
318
|
# HTTP header 'Content-Type'
|
|
330
319
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
331
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
332
320
|
|
|
333
321
|
# form parameters
|
|
334
322
|
form_params = opts[:form_params] || {}
|
|
@@ -21,9 +21,6 @@ module PulpContainerClient
|
|
|
21
21
|
end
|
|
22
22
|
# Handles GET requests for the /token/ endpoint.
|
|
23
23
|
# @param [Hash] opts the optional parameters
|
|
24
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
26
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
27
24
|
# @return [nil]
|
|
28
25
|
def get(opts = {})
|
|
29
26
|
get_with_http_info(opts)
|
|
@@ -32,9 +29,6 @@ module PulpContainerClient
|
|
|
32
29
|
|
|
33
30
|
# Handles GET requests for the /token/ endpoint.
|
|
34
31
|
# @param [Hash] opts the optional parameters
|
|
35
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
37
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
38
32
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
39
33
|
def get_with_http_info(opts = {})
|
|
40
34
|
if @api_client.config.debugging
|
|
@@ -45,12 +39,9 @@ module PulpContainerClient
|
|
|
45
39
|
|
|
46
40
|
# query parameters
|
|
47
41
|
query_params = opts[:query_params] || {}
|
|
48
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
49
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
50
42
|
|
|
51
43
|
# header parameters
|
|
52
44
|
header_params = opts[:header_params] || {}
|
|
53
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
54
45
|
|
|
55
46
|
# form parameters
|
|
56
47
|
form_params = opts[:form_params] || {}
|
|
@@ -128,7 +128,7 @@ module PulpContainerClient
|
|
|
128
128
|
|
|
129
129
|
def initialize
|
|
130
130
|
@scheme = 'http'
|
|
131
|
-
@host = '
|
|
131
|
+
@host = 'pulp'
|
|
132
132
|
@base_path = ''
|
|
133
133
|
@api_key = {}
|
|
134
134
|
@api_key_prefix = {}
|
|
@@ -210,7 +210,7 @@ module PulpContainerClient
|
|
|
210
210
|
def server_settings
|
|
211
211
|
[
|
|
212
212
|
{
|
|
213
|
-
url: "http://
|
|
213
|
+
url: "http://pulp/",
|
|
214
214
|
description: "No description provided",
|
|
215
215
|
}
|
|
216
216
|
]
|
|
@@ -20,9 +20,6 @@ module PulpContainerClient
|
|
|
20
20
|
# Timestamp of creation.
|
|
21
21
|
attr_accessor :pulp_created
|
|
22
22
|
|
|
23
|
-
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
24
|
-
attr_accessor :pulp_last_updated
|
|
25
|
-
|
|
26
23
|
# Artifact file representing the physical content
|
|
27
24
|
attr_accessor :artifact
|
|
28
25
|
|
|
@@ -34,7 +31,6 @@ module PulpContainerClient
|
|
|
34
31
|
{
|
|
35
32
|
:'pulp_href' => :'pulp_href',
|
|
36
33
|
:'pulp_created' => :'pulp_created',
|
|
37
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
38
34
|
:'artifact' => :'artifact',
|
|
39
35
|
:'digest' => :'digest'
|
|
40
36
|
}
|
|
@@ -45,7 +41,6 @@ module PulpContainerClient
|
|
|
45
41
|
{
|
|
46
42
|
:'pulp_href' => :'String',
|
|
47
43
|
:'pulp_created' => :'DateTime',
|
|
48
|
-
:'pulp_last_updated' => :'DateTime',
|
|
49
44
|
:'artifact' => :'String',
|
|
50
45
|
:'digest' => :'String'
|
|
51
46
|
}
|
|
@@ -80,10 +75,6 @@ module PulpContainerClient
|
|
|
80
75
|
self.pulp_created = attributes[:'pulp_created']
|
|
81
76
|
end
|
|
82
77
|
|
|
83
|
-
if attributes.key?(:'pulp_last_updated')
|
|
84
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
85
|
-
end
|
|
86
|
-
|
|
87
78
|
if attributes.key?(:'artifact')
|
|
88
79
|
self.artifact = attributes[:'artifact']
|
|
89
80
|
end
|
|
@@ -123,7 +114,6 @@ module PulpContainerClient
|
|
|
123
114
|
self.class == o.class &&
|
|
124
115
|
pulp_href == o.pulp_href &&
|
|
125
116
|
pulp_created == o.pulp_created &&
|
|
126
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
127
117
|
artifact == o.artifact &&
|
|
128
118
|
digest == o.digest
|
|
129
119
|
end
|
|
@@ -137,7 +127,7 @@ module PulpContainerClient
|
|
|
137
127
|
# Calculates hash code according to all attributes.
|
|
138
128
|
# @return [Integer] Hash code
|
|
139
129
|
def hash
|
|
140
|
-
[pulp_href, pulp_created,
|
|
130
|
+
[pulp_href, pulp_created, artifact, digest].hash
|
|
141
131
|
end
|
|
142
132
|
|
|
143
133
|
# Builds the object from hash
|