pulp_container_client 2.22.2 → 2.23.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 +17 -14
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContainerBlobResponse.md +18 -17
- data/docs/ContainerContainerDistribution.md +24 -23
- data/docs/ContainerContainerDistributionResponse.md +40 -39
- data/docs/ContainerContainerNamespace.md +8 -7
- data/docs/ContainerContainerNamespaceResponse.md +16 -15
- data/docs/ContainerContainerPullThroughDistribution.md +26 -25
- data/docs/ContainerContainerPullThroughDistributionResponse.md +38 -37
- data/docs/ContainerContainerPullThroughRemote.md +52 -51
- data/docs/ContainerContainerPullThroughRemoteResponse.md +52 -51
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/ContainerContainerPushRepository.md +16 -15
- data/docs/ContainerContainerPushRepositoryResponse.md +28 -27
- data/docs/ContainerContainerRemote.md +56 -55
- data/docs/ContainerContainerRemoteResponse.md +56 -55
- data/docs/ContainerContainerRepository.md +18 -17
- data/docs/ContainerContainerRepositoryResponse.md +30 -29
- data/docs/ContainerManifestResponse.md +42 -41
- data/docs/ContainerManifestSignatureResponse.md +28 -27
- data/docs/ContainerRepositorySyncURL.md +12 -11
- data/docs/ContainerTagResponse.md +18 -17
- data/docs/ContentBlobsApi.md +82 -49
- data/docs/ContentManifestsApi.md +86 -53
- data/docs/ContentSignaturesApi.md +97 -64
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/ContentTagsApi.md +86 -53
- data/docs/DistributionsContainerApi.md +386 -183
- data/docs/DistributionsPullThroughApi.md +385 -182
- data/docs/ManifestCopy.md +14 -13
- data/docs/MediaTypesEnum.md +4 -5
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedcontainerBlobResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerDistributionResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerNamespaceResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerRemoteResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerRepositoryResponseList.md +14 -13
- data/docs/PaginatedcontainerManifestResponseList.md +14 -13
- data/docs/PaginatedcontainerManifestSignatureResponseList.md +14 -13
- data/docs/PaginatedcontainerTagResponseList.md +14 -13
- data/docs/PatchedcontainerContainerDistribution.md +24 -23
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +26 -25
- data/docs/PatchedcontainerContainerPullThroughRemote.md +52 -51
- data/docs/PatchedcontainerContainerPushRepository.md +16 -15
- data/docs/PatchedcontainerContainerRemote.md +56 -55
- data/docs/PatchedcontainerContainerRepository.md +18 -17
- data/docs/Policy692Enum.md +4 -5
- data/docs/Policy7e0Enum.md +4 -5
- data/docs/PulpContainerNamespacesApi.md +259 -124
- data/docs/RecursiveManage.md +8 -7
- data/docs/RemotesContainerApi.md +389 -184
- data/docs/RemotesPullThroughApi.md +389 -184
- data/docs/RemoveImage.md +8 -7
- data/docs/RemoveSignatures.md +8 -7
- data/docs/RemoveSignaturesResponse.md +8 -7
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesContainerApi.md +647 -291
- data/docs/RepositoriesContainerPushApi.md +419 -198
- data/docs/RepositoriesContainerPushVersionsApi.md +152 -82
- data/docs/RepositoriesContainerVersionsApi.md +152 -82
- data/docs/RepositorySign.md +12 -11
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/TagCopy.md +12 -11
- data/docs/TagImage.md +10 -9
- data/docs/TokenApi.md +25 -7
- data/docs/UnTagImage.md +8 -7
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_container_client/api/content_blobs_api.rb +11 -9
- data/lib/pulp_container_client/api/content_manifests_api.rb +11 -9
- data/lib/pulp_container_client/api/content_signatures_api.rb +11 -9
- data/lib/pulp_container_client/api/content_tags_api.rb +11 -9
- data/lib/pulp_container_client/api/distributions_container_api.rb +89 -56
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +89 -56
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +53 -36
- data/lib/pulp_container_client/api/remotes_container_api.rb +104 -68
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +104 -68
- data/lib/pulp_container_client/api/repositories_container_api.rb +171 -102
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +102 -62
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +40 -30
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +40 -30
- data/lib/pulp_container_client/api/token_api.rb +5 -4
- data/lib/pulp_container_client/api_client.rb +137 -102
- data/lib/pulp_container_client/api_error.rb +2 -1
- data/lib/pulp_container_client/configuration.rb +162 -21
- data/lib/pulp_container_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_container_client/models/container_blob_response.rb +37 -29
- data/lib/pulp_container_client/models/container_container_distribution.rb +66 -54
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +95 -83
- data/lib/pulp_container_client/models/container_container_namespace.rb +32 -22
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +34 -24
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +68 -54
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +97 -83
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +56 -22
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +59 -25
- data/lib/pulp_container_client/models/{container_container_pull_through_remote_response_hidden_fields.rb → container_container_pull_through_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_container_client/models/container_container_push_repository.rb +73 -63
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +88 -78
- data/lib/pulp_container_client/models/container_container_remote.rb +63 -23
- data/lib/pulp_container_client/models/container_container_remote_response.rb +61 -25
- data/lib/pulp_container_client/models/container_container_repository.rb +32 -22
- data/lib/pulp_container_client/models/container_container_repository_response.rb +34 -24
- data/lib/pulp_container_client/models/container_manifest_response.rb +42 -24
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +46 -24
- data/lib/pulp_container_client/models/container_repository_sync_url.rb +30 -22
- data/lib/pulp_container_client/models/container_tag_response.rb +36 -24
- data/lib/pulp_container_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_container_client/models/manifest_copy.rb +31 -23
- data/lib/pulp_container_client/models/media_types_enum.rb +8 -4
- data/lib/pulp_container_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_container_client/models/nested_role.rb +32 -22
- data/lib/pulp_container_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_container_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +34 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +72 -56
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +72 -56
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +62 -24
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +76 -64
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +72 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +35 -23
- data/lib/pulp_container_client/models/policy692_enum.rb +8 -4
- data/lib/pulp_container_client/models/policy7e0_enum.rb +8 -4
- data/lib/pulp_container_client/models/recursive_manage.rb +31 -23
- data/lib/pulp_container_client/models/remove_image.rb +32 -22
- data/lib/pulp_container_client/models/remove_signatures.rb +32 -22
- data/lib/pulp_container_client/models/remove_signatures_response.rb +32 -22
- data/lib/pulp_container_client/models/repair.rb +30 -22
- data/lib/pulp_container_client/models/repository_sign.rb +36 -24
- data/lib/pulp_container_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_container_client/models/set_label.rb +34 -22
- data/lib/pulp_container_client/models/set_label_response.rb +34 -22
- data/lib/pulp_container_client/models/tag_copy.rb +31 -23
- data/lib/pulp_container_client/models/tag_image.rb +34 -22
- data/lib/pulp_container_client/models/un_tag_image.rb +32 -22
- data/lib/pulp_container_client/models/unset_label.rb +32 -22
- data/lib/pulp_container_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_container_client/version.rb +2 -2
- data/lib/pulp_container_client.rb +2 -3
- data/pulp_container_client.gemspec +9 -6
- data/spec/api/content_blobs_api_spec.rb +3 -3
- data/spec/api/content_manifests_api_spec.rb +3 -3
- data/spec/api/content_signatures_api_spec.rb +3 -3
- data/spec/api/content_tags_api_spec.rb +3 -3
- data/spec/api/distributions_container_api_spec.rb +13 -13
- data/spec/api/distributions_pull_through_api_spec.rb +13 -13
- data/spec/api/pulp_container_namespaces_api_spec.rb +9 -9
- data/spec/api/remotes_container_api_spec.rb +20 -19
- data/spec/api/remotes_pull_through_api_spec.rb +20 -19
- data/spec/api/repositories_container_api_spec.rb +22 -22
- data/spec/api/repositories_container_push_api_spec.rb +14 -14
- data/spec/api/repositories_container_push_versions_api_spec.rb +12 -11
- data/spec/api/repositories_container_versions_api_spec.rb +12 -11
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/container_blob_response_spec.rb +12 -17
- data/spec/models/container_container_distribution_response_spec.rb +34 -39
- data/spec/models/container_container_distribution_spec.rb +20 -25
- data/spec/models/container_container_namespace_response_spec.rb +11 -16
- data/spec/models/container_container_namespace_spec.rb +7 -12
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +33 -38
- data/spec/models/container_container_pull_through_distribution_spec.rb +21 -26
- data/spec/models/{container_container_pull_through_remote_response_hidden_fields_spec.rb → container_container_pull_through_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/container_container_pull_through_remote_response_spec.rb +29 -34
- data/spec/models/container_container_pull_through_remote_spec.rb +29 -34
- data/spec/models/container_container_push_repository_response_spec.rb +27 -32
- data/spec/models/container_container_push_repository_spec.rb +16 -21
- data/spec/models/container_container_remote_response_spec.rb +31 -36
- data/spec/models/container_container_remote_spec.rb +31 -36
- data/spec/models/container_container_repository_response_spec.rb +18 -23
- data/spec/models/container_container_repository_spec.rb +12 -17
- data/spec/models/container_manifest_response_spec.rb +24 -29
- data/spec/models/container_manifest_signature_response_spec.rb +17 -22
- data/spec/models/container_repository_sync_url_spec.rb +9 -14
- data/spec/models/container_tag_response_spec.rb +12 -17
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/manifest_copy_spec.rb +10 -15
- data/spec/models/media_types_enum_spec.rb +6 -11
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_blob_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_namespace_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_pull_through_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_pull_through_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_repository_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_manifest_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_manifest_signature_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_tag_response_list_spec.rb +10 -15
- data/spec/models/patchedcontainer_container_distribution_spec.rb +20 -25
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +21 -26
- data/spec/models/patchedcontainer_container_pull_through_remote_spec.rb +29 -34
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +16 -21
- data/spec/models/patchedcontainer_container_remote_spec.rb +31 -36
- data/spec/models/patchedcontainer_container_repository_spec.rb +12 -17
- data/spec/models/policy692_enum_spec.rb +6 -11
- data/spec/models/policy7e0_enum_spec.rb +6 -11
- data/spec/models/recursive_manage_spec.rb +7 -12
- data/spec/models/remove_image_spec.rb +7 -12
- data/spec/models/remove_signatures_response_spec.rb +7 -12
- data/spec/models/remove_signatures_spec.rb +7 -12
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_sign_spec.rb +9 -14
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/tag_copy_spec.rb +9 -14
- data/spec/models/tag_image_spec.rb +8 -13
- data/spec/models/un_tag_image_spec.rb +7 -12
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +105 -85
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +0 -19
- data/docs/OCIBuildImage.md +0 -23
- data/lib/pulp_container_client/models/oci_build_image.rb +0 -256
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/oci_build_image_spec.rb +0 -59
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -57,23 +57,27 @@ module PulpContainerClient
|
|
57
57
|
# header parameters
|
58
58
|
header_params = opts[:header_params] || {}
|
59
59
|
# HTTP header 'Accept' (if needed)
|
60
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
60
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
61
61
|
# HTTP header 'Content-Type'
|
62
|
-
|
62
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
63
|
+
if !content_type.nil?
|
64
|
+
header_params['Content-Type'] = content_type
|
65
|
+
end
|
63
66
|
|
64
67
|
# form parameters
|
65
68
|
form_params = opts[:form_params] || {}
|
66
69
|
|
67
70
|
# http body (model)
|
68
|
-
post_body = opts[:
|
71
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
|
69
72
|
|
70
73
|
# return_type
|
71
|
-
return_type = opts[:
|
74
|
+
return_type = opts[:debug_return_type] || 'NestedRoleResponse'
|
72
75
|
|
73
76
|
# auth_names
|
74
|
-
auth_names = opts[:
|
77
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
75
78
|
|
76
79
|
new_options = opts.merge(
|
80
|
+
:operation => :"DistributionsPullThroughApi.add_role",
|
77
81
|
:header_params => header_params,
|
78
82
|
:query_params => query_params,
|
79
83
|
:form_params => form_params,
|
@@ -121,23 +125,27 @@ module PulpContainerClient
|
|
121
125
|
# header parameters
|
122
126
|
header_params = opts[:header_params] || {}
|
123
127
|
# HTTP header 'Accept' (if needed)
|
124
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
128
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
125
129
|
# HTTP header 'Content-Type'
|
126
|
-
|
130
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
131
|
+
if !content_type.nil?
|
132
|
+
header_params['Content-Type'] = content_type
|
133
|
+
end
|
127
134
|
|
128
135
|
# form parameters
|
129
136
|
form_params = opts[:form_params] || {}
|
130
137
|
|
131
138
|
# http body (model)
|
132
|
-
post_body = opts[:
|
139
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(container_container_pull_through_distribution)
|
133
140
|
|
134
141
|
# return_type
|
135
|
-
return_type = opts[:
|
142
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
136
143
|
|
137
144
|
# auth_names
|
138
|
-
auth_names = opts[:
|
145
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
139
146
|
|
140
147
|
new_options = opts.merge(
|
148
|
+
:operation => :"DistributionsPullThroughApi.create",
|
141
149
|
:header_params => header_params,
|
142
150
|
:query_params => query_params,
|
143
151
|
:form_params => form_params,
|
@@ -185,21 +193,22 @@ module PulpContainerClient
|
|
185
193
|
# header parameters
|
186
194
|
header_params = opts[:header_params] || {}
|
187
195
|
# HTTP header 'Accept' (if needed)
|
188
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
196
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
189
197
|
|
190
198
|
# form parameters
|
191
199
|
form_params = opts[:form_params] || {}
|
192
200
|
|
193
201
|
# http body (model)
|
194
|
-
post_body = opts[:
|
202
|
+
post_body = opts[:debug_body]
|
195
203
|
|
196
204
|
# return_type
|
197
|
-
return_type = opts[:
|
205
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
198
206
|
|
199
207
|
# auth_names
|
200
|
-
auth_names = opts[:
|
208
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
201
209
|
|
202
210
|
new_options = opts.merge(
|
211
|
+
:operation => :"DistributionsPullThroughApi.delete",
|
203
212
|
:header_params => header_params,
|
204
213
|
:query_params => query_params,
|
205
214
|
:form_params => form_params,
|
@@ -323,21 +332,22 @@ module PulpContainerClient
|
|
323
332
|
# header parameters
|
324
333
|
header_params = opts[:header_params] || {}
|
325
334
|
# HTTP header 'Accept' (if needed)
|
326
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
335
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
327
336
|
|
328
337
|
# form parameters
|
329
338
|
form_params = opts[:form_params] || {}
|
330
339
|
|
331
340
|
# http body (model)
|
332
|
-
post_body = opts[:
|
341
|
+
post_body = opts[:debug_body]
|
333
342
|
|
334
343
|
# return_type
|
335
|
-
return_type = opts[:
|
344
|
+
return_type = opts[:debug_return_type] || 'PaginatedcontainerContainerPullThroughDistributionResponseList'
|
336
345
|
|
337
346
|
# auth_names
|
338
|
-
auth_names = opts[:
|
347
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
339
348
|
|
340
349
|
new_options = opts.merge(
|
350
|
+
:operation => :"DistributionsPullThroughApi.list",
|
341
351
|
:header_params => header_params,
|
342
352
|
:query_params => query_params,
|
343
353
|
:form_params => form_params,
|
@@ -391,21 +401,22 @@ module PulpContainerClient
|
|
391
401
|
# header parameters
|
392
402
|
header_params = opts[:header_params] || {}
|
393
403
|
# HTTP header 'Accept' (if needed)
|
394
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
404
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
395
405
|
|
396
406
|
# form parameters
|
397
407
|
form_params = opts[:form_params] || {}
|
398
408
|
|
399
409
|
# http body (model)
|
400
|
-
post_body = opts[:
|
410
|
+
post_body = opts[:debug_body]
|
401
411
|
|
402
412
|
# return_type
|
403
|
-
return_type = opts[:
|
413
|
+
return_type = opts[:debug_return_type] || 'ObjectRolesResponse'
|
404
414
|
|
405
415
|
# auth_names
|
406
|
-
auth_names = opts[:
|
416
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
407
417
|
|
408
418
|
new_options = opts.merge(
|
419
|
+
:operation => :"DistributionsPullThroughApi.list_roles",
|
409
420
|
:header_params => header_params,
|
410
421
|
:query_params => query_params,
|
411
422
|
:form_params => form_params,
|
@@ -459,21 +470,22 @@ module PulpContainerClient
|
|
459
470
|
# header parameters
|
460
471
|
header_params = opts[:header_params] || {}
|
461
472
|
# HTTP header 'Accept' (if needed)
|
462
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
473
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
463
474
|
|
464
475
|
# form parameters
|
465
476
|
form_params = opts[:form_params] || {}
|
466
477
|
|
467
478
|
# http body (model)
|
468
|
-
post_body = opts[:
|
479
|
+
post_body = opts[:debug_body]
|
469
480
|
|
470
481
|
# return_type
|
471
|
-
return_type = opts[:
|
482
|
+
return_type = opts[:debug_return_type] || 'MyPermissionsResponse'
|
472
483
|
|
473
484
|
# auth_names
|
474
|
-
auth_names = opts[:
|
485
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
475
486
|
|
476
487
|
new_options = opts.merge(
|
488
|
+
:operation => :"DistributionsPullThroughApi.my_permissions",
|
477
489
|
:header_params => header_params,
|
478
490
|
:query_params => query_params,
|
479
491
|
:form_params => form_params,
|
@@ -527,23 +539,27 @@ module PulpContainerClient
|
|
527
539
|
# header parameters
|
528
540
|
header_params = opts[:header_params] || {}
|
529
541
|
# HTTP header 'Accept' (if needed)
|
530
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
542
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
531
543
|
# HTTP header 'Content-Type'
|
532
|
-
|
544
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
545
|
+
if !content_type.nil?
|
546
|
+
header_params['Content-Type'] = content_type
|
547
|
+
end
|
533
548
|
|
534
549
|
# form parameters
|
535
550
|
form_params = opts[:form_params] || {}
|
536
551
|
|
537
552
|
# http body (model)
|
538
|
-
post_body = opts[:
|
553
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedcontainer_container_pull_through_distribution)
|
539
554
|
|
540
555
|
# return_type
|
541
|
-
return_type = opts[:
|
556
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
542
557
|
|
543
558
|
# auth_names
|
544
|
-
auth_names = opts[:
|
559
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
545
560
|
|
546
561
|
new_options = opts.merge(
|
562
|
+
:operation => :"DistributionsPullThroughApi.partial_update",
|
547
563
|
:header_params => header_params,
|
548
564
|
:query_params => query_params,
|
549
565
|
:form_params => form_params,
|
@@ -597,21 +613,22 @@ module PulpContainerClient
|
|
597
613
|
# header parameters
|
598
614
|
header_params = opts[:header_params] || {}
|
599
615
|
# HTTP header 'Accept' (if needed)
|
600
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
616
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
601
617
|
|
602
618
|
# form parameters
|
603
619
|
form_params = opts[:form_params] || {}
|
604
620
|
|
605
621
|
# http body (model)
|
606
|
-
post_body = opts[:
|
622
|
+
post_body = opts[:debug_body]
|
607
623
|
|
608
624
|
# return_type
|
609
|
-
return_type = opts[:
|
625
|
+
return_type = opts[:debug_return_type] || 'ContainerContainerPullThroughDistributionResponse'
|
610
626
|
|
611
627
|
# auth_names
|
612
|
-
auth_names = opts[:
|
628
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
613
629
|
|
614
630
|
new_options = opts.merge(
|
631
|
+
:operation => :"DistributionsPullThroughApi.read",
|
615
632
|
:header_params => header_params,
|
616
633
|
:query_params => query_params,
|
617
634
|
:form_params => form_params,
|
@@ -665,23 +682,27 @@ module PulpContainerClient
|
|
665
682
|
# header parameters
|
666
683
|
header_params = opts[:header_params] || {}
|
667
684
|
# HTTP header 'Accept' (if needed)
|
668
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
685
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
669
686
|
# HTTP header 'Content-Type'
|
670
|
-
|
687
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
688
|
+
if !content_type.nil?
|
689
|
+
header_params['Content-Type'] = content_type
|
690
|
+
end
|
671
691
|
|
672
692
|
# form parameters
|
673
693
|
form_params = opts[:form_params] || {}
|
674
694
|
|
675
695
|
# http body (model)
|
676
|
-
post_body = opts[:
|
696
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
|
677
697
|
|
678
698
|
# return_type
|
679
|
-
return_type = opts[:
|
699
|
+
return_type = opts[:debug_return_type] || 'NestedRoleResponse'
|
680
700
|
|
681
701
|
# auth_names
|
682
|
-
auth_names = opts[:
|
702
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
683
703
|
|
684
704
|
new_options = opts.merge(
|
705
|
+
:operation => :"DistributionsPullThroughApi.remove_role",
|
685
706
|
:header_params => header_params,
|
686
707
|
:query_params => query_params,
|
687
708
|
:form_params => form_params,
|
@@ -735,23 +756,27 @@ module PulpContainerClient
|
|
735
756
|
# header parameters
|
736
757
|
header_params = opts[:header_params] || {}
|
737
758
|
# HTTP header 'Accept' (if needed)
|
738
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
759
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
739
760
|
# HTTP header 'Content-Type'
|
740
|
-
|
761
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
762
|
+
if !content_type.nil?
|
763
|
+
header_params['Content-Type'] = content_type
|
764
|
+
end
|
741
765
|
|
742
766
|
# form parameters
|
743
767
|
form_params = opts[:form_params] || {}
|
744
768
|
|
745
769
|
# http body (model)
|
746
|
-
post_body = opts[:
|
770
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
747
771
|
|
748
772
|
# return_type
|
749
|
-
return_type = opts[:
|
773
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
750
774
|
|
751
775
|
# auth_names
|
752
|
-
auth_names = opts[:
|
776
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
753
777
|
|
754
778
|
new_options = opts.merge(
|
779
|
+
:operation => :"DistributionsPullThroughApi.set_label",
|
755
780
|
:header_params => header_params,
|
756
781
|
:query_params => query_params,
|
757
782
|
:form_params => form_params,
|
@@ -805,23 +830,27 @@ module PulpContainerClient
|
|
805
830
|
# header parameters
|
806
831
|
header_params = opts[:header_params] || {}
|
807
832
|
# HTTP header 'Accept' (if needed)
|
808
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
833
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
809
834
|
# HTTP header 'Content-Type'
|
810
|
-
|
835
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
836
|
+
if !content_type.nil?
|
837
|
+
header_params['Content-Type'] = content_type
|
838
|
+
end
|
811
839
|
|
812
840
|
# form parameters
|
813
841
|
form_params = opts[:form_params] || {}
|
814
842
|
|
815
843
|
# http body (model)
|
816
|
-
post_body = opts[:
|
844
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
817
845
|
|
818
846
|
# return_type
|
819
|
-
return_type = opts[:
|
847
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
820
848
|
|
821
849
|
# auth_names
|
822
|
-
auth_names = opts[:
|
850
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
823
851
|
|
824
852
|
new_options = opts.merge(
|
853
|
+
:operation => :"DistributionsPullThroughApi.unset_label",
|
825
854
|
:header_params => header_params,
|
826
855
|
:query_params => query_params,
|
827
856
|
:form_params => form_params,
|
@@ -875,23 +904,27 @@ module PulpContainerClient
|
|
875
904
|
# header parameters
|
876
905
|
header_params = opts[:header_params] || {}
|
877
906
|
# HTTP header 'Accept' (if needed)
|
878
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
907
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
879
908
|
# HTTP header 'Content-Type'
|
880
|
-
|
909
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
910
|
+
if !content_type.nil?
|
911
|
+
header_params['Content-Type'] = content_type
|
912
|
+
end
|
881
913
|
|
882
914
|
# form parameters
|
883
915
|
form_params = opts[:form_params] || {}
|
884
916
|
|
885
917
|
# http body (model)
|
886
|
-
post_body = opts[:
|
918
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(container_container_pull_through_distribution)
|
887
919
|
|
888
920
|
# return_type
|
889
|
-
return_type = opts[:
|
921
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
890
922
|
|
891
923
|
# auth_names
|
892
|
-
auth_names = opts[:
|
924
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
893
925
|
|
894
926
|
new_options = opts.merge(
|
927
|
+
:operation => :"DistributionsPullThroughApi.update",
|
895
928
|
:header_params => header_params,
|
896
929
|
:query_params => query_params,
|
897
930
|
:form_params => form_params,
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -57,23 +57,27 @@ module PulpContainerClient
|
|
57
57
|
# header parameters
|
58
58
|
header_params = opts[:header_params] || {}
|
59
59
|
# HTTP header 'Accept' (if needed)
|
60
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
60
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
61
61
|
# HTTP header 'Content-Type'
|
62
|
-
|
62
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
63
|
+
if !content_type.nil?
|
64
|
+
header_params['Content-Type'] = content_type
|
65
|
+
end
|
63
66
|
|
64
67
|
# form parameters
|
65
68
|
form_params = opts[:form_params] || {}
|
66
69
|
|
67
70
|
# http body (model)
|
68
|
-
post_body = opts[:
|
71
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
|
69
72
|
|
70
73
|
# return_type
|
71
|
-
return_type = opts[:
|
74
|
+
return_type = opts[:debug_return_type] || 'NestedRoleResponse'
|
72
75
|
|
73
76
|
# auth_names
|
74
|
-
auth_names = opts[:
|
77
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
75
78
|
|
76
79
|
new_options = opts.merge(
|
80
|
+
:operation => :"PulpContainerNamespacesApi.add_role",
|
77
81
|
:header_params => header_params,
|
78
82
|
:query_params => query_params,
|
79
83
|
:form_params => form_params,
|
@@ -121,23 +125,27 @@ module PulpContainerClient
|
|
121
125
|
# header parameters
|
122
126
|
header_params = opts[:header_params] || {}
|
123
127
|
# HTTP header 'Accept' (if needed)
|
124
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
128
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
125
129
|
# HTTP header 'Content-Type'
|
126
|
-
|
130
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
131
|
+
if !content_type.nil?
|
132
|
+
header_params['Content-Type'] = content_type
|
133
|
+
end
|
127
134
|
|
128
135
|
# form parameters
|
129
136
|
form_params = opts[:form_params] || {}
|
130
137
|
|
131
138
|
# http body (model)
|
132
|
-
post_body = opts[:
|
139
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(container_container_namespace)
|
133
140
|
|
134
141
|
# return_type
|
135
|
-
return_type = opts[:
|
142
|
+
return_type = opts[:debug_return_type] || 'ContainerContainerNamespaceResponse'
|
136
143
|
|
137
144
|
# auth_names
|
138
|
-
auth_names = opts[:
|
145
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
139
146
|
|
140
147
|
new_options = opts.merge(
|
148
|
+
:operation => :"PulpContainerNamespacesApi.create",
|
141
149
|
:header_params => header_params,
|
142
150
|
:query_params => query_params,
|
143
151
|
:form_params => form_params,
|
@@ -185,21 +193,22 @@ module PulpContainerClient
|
|
185
193
|
# header parameters
|
186
194
|
header_params = opts[:header_params] || {}
|
187
195
|
# HTTP header 'Accept' (if needed)
|
188
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
196
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
189
197
|
|
190
198
|
# form parameters
|
191
199
|
form_params = opts[:form_params] || {}
|
192
200
|
|
193
201
|
# http body (model)
|
194
|
-
post_body = opts[:
|
202
|
+
post_body = opts[:debug_body]
|
195
203
|
|
196
204
|
# return_type
|
197
|
-
return_type = opts[:
|
205
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
198
206
|
|
199
207
|
# auth_names
|
200
|
-
auth_names = opts[:
|
208
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
201
209
|
|
202
210
|
new_options = opts.merge(
|
211
|
+
:operation => :"PulpContainerNamespacesApi.delete",
|
203
212
|
:header_params => header_params,
|
204
213
|
:query_params => query_params,
|
205
214
|
:form_params => form_params,
|
@@ -299,21 +308,22 @@ module PulpContainerClient
|
|
299
308
|
# header parameters
|
300
309
|
header_params = opts[:header_params] || {}
|
301
310
|
# HTTP header 'Accept' (if needed)
|
302
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
311
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
303
312
|
|
304
313
|
# form parameters
|
305
314
|
form_params = opts[:form_params] || {}
|
306
315
|
|
307
316
|
# http body (model)
|
308
|
-
post_body = opts[:
|
317
|
+
post_body = opts[:debug_body]
|
309
318
|
|
310
319
|
# return_type
|
311
|
-
return_type = opts[:
|
320
|
+
return_type = opts[:debug_return_type] || 'PaginatedcontainerContainerNamespaceResponseList'
|
312
321
|
|
313
322
|
# auth_names
|
314
|
-
auth_names = opts[:
|
323
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
315
324
|
|
316
325
|
new_options = opts.merge(
|
326
|
+
:operation => :"PulpContainerNamespacesApi.list",
|
317
327
|
:header_params => header_params,
|
318
328
|
:query_params => query_params,
|
319
329
|
:form_params => form_params,
|
@@ -367,21 +377,22 @@ module PulpContainerClient
|
|
367
377
|
# header parameters
|
368
378
|
header_params = opts[:header_params] || {}
|
369
379
|
# HTTP header 'Accept' (if needed)
|
370
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
380
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
371
381
|
|
372
382
|
# form parameters
|
373
383
|
form_params = opts[:form_params] || {}
|
374
384
|
|
375
385
|
# http body (model)
|
376
|
-
post_body = opts[:
|
386
|
+
post_body = opts[:debug_body]
|
377
387
|
|
378
388
|
# return_type
|
379
|
-
return_type = opts[:
|
389
|
+
return_type = opts[:debug_return_type] || 'ObjectRolesResponse'
|
380
390
|
|
381
391
|
# auth_names
|
382
|
-
auth_names = opts[:
|
392
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
383
393
|
|
384
394
|
new_options = opts.merge(
|
395
|
+
:operation => :"PulpContainerNamespacesApi.list_roles",
|
385
396
|
:header_params => header_params,
|
386
397
|
:query_params => query_params,
|
387
398
|
:form_params => form_params,
|
@@ -435,21 +446,22 @@ module PulpContainerClient
|
|
435
446
|
# header parameters
|
436
447
|
header_params = opts[:header_params] || {}
|
437
448
|
# HTTP header 'Accept' (if needed)
|
438
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
449
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
439
450
|
|
440
451
|
# form parameters
|
441
452
|
form_params = opts[:form_params] || {}
|
442
453
|
|
443
454
|
# http body (model)
|
444
|
-
post_body = opts[:
|
455
|
+
post_body = opts[:debug_body]
|
445
456
|
|
446
457
|
# return_type
|
447
|
-
return_type = opts[:
|
458
|
+
return_type = opts[:debug_return_type] || 'MyPermissionsResponse'
|
448
459
|
|
449
460
|
# auth_names
|
450
|
-
auth_names = opts[:
|
461
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
451
462
|
|
452
463
|
new_options = opts.merge(
|
464
|
+
:operation => :"PulpContainerNamespacesApi.my_permissions",
|
453
465
|
:header_params => header_params,
|
454
466
|
:query_params => query_params,
|
455
467
|
:form_params => form_params,
|
@@ -503,21 +515,22 @@ module PulpContainerClient
|
|
503
515
|
# header parameters
|
504
516
|
header_params = opts[:header_params] || {}
|
505
517
|
# HTTP header 'Accept' (if needed)
|
506
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
518
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
507
519
|
|
508
520
|
# form parameters
|
509
521
|
form_params = opts[:form_params] || {}
|
510
522
|
|
511
523
|
# http body (model)
|
512
|
-
post_body = opts[:
|
524
|
+
post_body = opts[:debug_body]
|
513
525
|
|
514
526
|
# return_type
|
515
|
-
return_type = opts[:
|
527
|
+
return_type = opts[:debug_return_type] || 'ContainerContainerNamespaceResponse'
|
516
528
|
|
517
529
|
# auth_names
|
518
|
-
auth_names = opts[:
|
530
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
519
531
|
|
520
532
|
new_options = opts.merge(
|
533
|
+
:operation => :"PulpContainerNamespacesApi.read",
|
521
534
|
:header_params => header_params,
|
522
535
|
:query_params => query_params,
|
523
536
|
:form_params => form_params,
|
@@ -571,23 +584,27 @@ module PulpContainerClient
|
|
571
584
|
# header parameters
|
572
585
|
header_params = opts[:header_params] || {}
|
573
586
|
# HTTP header 'Accept' (if needed)
|
574
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
587
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
575
588
|
# HTTP header 'Content-Type'
|
576
|
-
|
589
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
590
|
+
if !content_type.nil?
|
591
|
+
header_params['Content-Type'] = content_type
|
592
|
+
end
|
577
593
|
|
578
594
|
# form parameters
|
579
595
|
form_params = opts[:form_params] || {}
|
580
596
|
|
581
597
|
# http body (model)
|
582
|
-
post_body = opts[:
|
598
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
|
583
599
|
|
584
600
|
# return_type
|
585
|
-
return_type = opts[:
|
601
|
+
return_type = opts[:debug_return_type] || 'NestedRoleResponse'
|
586
602
|
|
587
603
|
# auth_names
|
588
|
-
auth_names = opts[:
|
604
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
589
605
|
|
590
606
|
new_options = opts.merge(
|
607
|
+
:operation => :"PulpContainerNamespacesApi.remove_role",
|
591
608
|
:header_params => header_params,
|
592
609
|
:query_params => query_params,
|
593
610
|
:form_params => form_params,
|