pulpcore_client 3.49.53 → 3.49.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/AccessPoliciesApi.md +22 -6
- data/docs/ArtifactDistributionResponse.md +5 -5
- data/docs/ArtifactsApi.md +12 -2
- data/docs/ContentApi.md +2 -0
- data/docs/ContentguardsApi.md +2 -0
- data/docs/ContentguardsCompositeApi.md +44 -12
- data/docs/ContentguardsContentRedirectApi.md +44 -12
- data/docs/ContentguardsHeaderApi.md +44 -12
- data/docs/ContentguardsRbacApi.md +44 -12
- data/docs/DistributionsApi.md +2 -0
- data/docs/DistributionsArtifactsApi.md +4 -0
- data/docs/DomainsApi.md +28 -8
- data/docs/ExportersFilesystemApi.md +28 -8
- data/docs/ExportersFilesystemExportsApi.md +16 -4
- data/docs/ExportersPulpApi.md +28 -8
- data/docs/ExportersPulpExportsApi.md +16 -4
- data/docs/GroupsApi.md +44 -12
- data/docs/GroupsRolesApi.md +16 -4
- data/docs/GroupsUsersApi.md +14 -4
- data/docs/ImportersPulpApi.md +28 -8
- data/docs/ImportersPulpImportCheckApi.md +6 -2
- data/docs/ImportersPulpImportsApi.md +16 -4
- data/docs/OrphansApi.md +9 -3
- data/docs/OrphansCleanupApi.md +6 -2
- data/docs/PublicationsApi.md +2 -0
- data/docs/RemotesApi.md +2 -0
- data/docs/RepairApi.md +6 -2
- data/docs/RepositoriesApi.md +2 -0
- data/docs/RepositoriesReclaimSpaceApi.md +6 -2
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +28 -8
- data/docs/SigningServicesApi.md +4 -0
- data/docs/StatusApi.md +13 -3
- data/docs/TaskGroupsApi.md +4 -0
- data/docs/TaskSchedulesApi.md +20 -4
- data/docs/TasksApi.md +38 -10
- data/docs/UploadsApi.md +40 -10
- data/docs/UpstreamPulpsApi.md +50 -14
- data/docs/UsersApi.md +28 -8
- data/docs/UsersRolesApi.md +16 -4
- data/docs/WorkersApi.md +4 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +15 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +12 -0
- data/lib/pulpcore_client/api/content_api.rb +3 -0
- data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_header_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +30 -0
- data/lib/pulpcore_client/api/distributions_api.rb +3 -0
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
- data/lib/pulpcore_client/api/domains_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_api.rb +30 -0
- data/lib/pulpcore_client/api/groups_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +9 -0
- data/lib/pulpcore_client/api/importers_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +3 -0
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +12 -0
- data/lib/pulpcore_client/api/orphans_api.rb +3 -0
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +3 -0
- data/lib/pulpcore_client/api/publications_api.rb +3 -0
- data/lib/pulpcore_client/api/remotes_api.rb +3 -0
- data/lib/pulpcore_client/api/repair_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +3 -0
- data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
- data/lib/pulpcore_client/api/roles_api.rb +18 -0
- data/lib/pulpcore_client/api/signing_services_api.rb +6 -0
- data/lib/pulpcore_client/api/status_api.rb +9 -0
- data/lib/pulpcore_client/api/task_groups_api.rb +6 -0
- data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
- data/lib/pulpcore_client/api/tasks_api.rb +27 -0
- data/lib/pulpcore_client/api/uploads_api.rb +30 -0
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +33 -0
- data/lib/pulpcore_client/api/users_api.rb +18 -0
- data/lib/pulpcore_client/api/users_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/workers_api.rb +6 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +21 -21
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +5 -0
- data/spec/api/artifacts_api_spec.rb +4 -0
- data/spec/api/content_api_spec.rb +1 -0
- data/spec/api/contentguards_api_spec.rb +1 -0
- data/spec/api/contentguards_composite_api_spec.rb +10 -0
- data/spec/api/contentguards_content_redirect_api_spec.rb +10 -0
- data/spec/api/contentguards_header_api_spec.rb +10 -0
- data/spec/api/contentguards_rbac_api_spec.rb +10 -0
- data/spec/api/distributions_api_spec.rb +1 -0
- data/spec/api/distributions_artifacts_api_spec.rb +2 -0
- data/spec/api/domains_api_spec.rb +6 -0
- data/spec/api/exporters_filesystem_api_spec.rb +6 -0
- data/spec/api/exporters_filesystem_exports_api_spec.rb +4 -0
- data/spec/api/exporters_pulp_api_spec.rb +6 -0
- data/spec/api/exporters_pulp_exports_api_spec.rb +4 -0
- data/spec/api/groups_api_spec.rb +10 -0
- data/spec/api/groups_roles_api_spec.rb +4 -0
- data/spec/api/groups_users_api_spec.rb +3 -0
- data/spec/api/importers_pulp_api_spec.rb +6 -0
- data/spec/api/importers_pulp_import_check_api_spec.rb +1 -0
- data/spec/api/importers_pulp_imports_api_spec.rb +4 -0
- data/spec/api/orphans_api_spec.rb +1 -0
- data/spec/api/orphans_cleanup_api_spec.rb +1 -0
- data/spec/api/publications_api_spec.rb +1 -0
- data/spec/api/remotes_api_spec.rb +1 -0
- data/spec/api/repair_api_spec.rb +1 -0
- data/spec/api/repositories_api_spec.rb +1 -0
- data/spec/api/repositories_reclaim_space_api_spec.rb +1 -0
- data/spec/api/repository_versions_api_spec.rb +1 -0
- data/spec/api/roles_api_spec.rb +6 -0
- data/spec/api/signing_services_api_spec.rb +2 -0
- data/spec/api/status_api_spec.rb +3 -0
- data/spec/api/task_groups_api_spec.rb +2 -0
- data/spec/api/task_schedules_api_spec.rb +6 -0
- data/spec/api/tasks_api_spec.rb +9 -0
- data/spec/api/uploads_api_spec.rb +10 -0
- data/spec/api/upstream_pulps_api_spec.rb +11 -0
- data/spec/api/users_api_spec.rb +6 -0
- data/spec/api/users_roles_api_spec.rb +4 -0
- data/spec/api/workers_api_spec.rb +2 -0
- data/spec/models/artifact_distribution_response_spec.rb +3 -3
- metadata +2 -2
|
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
|
24
24
|
# @param group_href [String]
|
|
25
25
|
# @param group_user [GroupUser]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
28
|
# @return [GroupUserResponse]
|
|
28
29
|
def create(group_href, group_user, opts = {})
|
|
29
30
|
data, _status_code, _headers = create_with_http_info(group_href, group_user, opts)
|
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
|
35
36
|
# @param group_href [String]
|
|
36
37
|
# @param group_user [GroupUser]
|
|
37
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
40
|
# @return [Array<(GroupUserResponse, Integer, Hash)>] GroupUserResponse data, response status code and response headers
|
|
39
41
|
def create_with_http_info(group_href, group_user, opts = {})
|
|
40
42
|
if @api_client.config.debugging
|
|
@@ -60,6 +62,7 @@ module PulpcoreClient
|
|
|
60
62
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
61
63
|
# HTTP header 'Content-Type'
|
|
62
64
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
65
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
63
66
|
|
|
64
67
|
# form parameters
|
|
65
68
|
form_params = opts[:form_params] || {}
|
|
@@ -93,6 +96,7 @@ module PulpcoreClient
|
|
|
93
96
|
# Remove a user from a group.
|
|
94
97
|
# @param groups_user_href [String]
|
|
95
98
|
# @param [Hash] opts the optional parameters
|
|
99
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
96
100
|
# @return [nil]
|
|
97
101
|
def delete(groups_user_href, opts = {})
|
|
98
102
|
delete_with_http_info(groups_user_href, opts)
|
|
@@ -103,6 +107,7 @@ module PulpcoreClient
|
|
|
103
107
|
# Remove a user from a group.
|
|
104
108
|
# @param groups_user_href [String]
|
|
105
109
|
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
106
111
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
107
112
|
def delete_with_http_info(groups_user_href, opts = {})
|
|
108
113
|
if @api_client.config.debugging
|
|
@@ -120,6 +125,7 @@ module PulpcoreClient
|
|
|
120
125
|
|
|
121
126
|
# header parameters
|
|
122
127
|
header_params = opts[:header_params] || {}
|
|
128
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
123
129
|
|
|
124
130
|
# form parameters
|
|
125
131
|
form_params = opts[:form_params] || {}
|
|
@@ -153,6 +159,7 @@ module PulpcoreClient
|
|
|
153
159
|
# List group users.
|
|
154
160
|
# @param group_href [String]
|
|
155
161
|
# @param [Hash] opts the optional parameters
|
|
162
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
156
163
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
157
164
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
165
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -167,6 +174,7 @@ module PulpcoreClient
|
|
|
167
174
|
# List group users.
|
|
168
175
|
# @param group_href [String]
|
|
169
176
|
# @param [Hash] opts the optional parameters
|
|
177
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
170
178
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
171
179
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
172
180
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -194,6 +202,7 @@ module PulpcoreClient
|
|
|
194
202
|
header_params = opts[:header_params] || {}
|
|
195
203
|
# HTTP header 'Accept' (if needed)
|
|
196
204
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
205
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
197
206
|
|
|
198
207
|
# form parameters
|
|
199
208
|
form_params = opts[:form_params] || {}
|
|
@@ -23,6 +23,7 @@ module PulpcoreClient
|
|
|
23
23
|
# ViewSet for PulpImporters.
|
|
24
24
|
# @param pulp_importer [PulpImporter]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
27
|
# @return [PulpImporterResponse]
|
|
27
28
|
def create(pulp_importer, opts = {})
|
|
28
29
|
data, _status_code, _headers = create_with_http_info(pulp_importer, opts)
|
|
@@ -33,6 +34,7 @@ module PulpcoreClient
|
|
|
33
34
|
# ViewSet for PulpImporters.
|
|
34
35
|
# @param pulp_importer [PulpImporter]
|
|
35
36
|
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
38
|
# @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
|
|
37
39
|
def create_with_http_info(pulp_importer, opts = {})
|
|
38
40
|
if @api_client.config.debugging
|
|
@@ -54,6 +56,7 @@ module PulpcoreClient
|
|
|
54
56
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
55
57
|
# HTTP header 'Content-Type'
|
|
56
58
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
57
60
|
|
|
58
61
|
# form parameters
|
|
59
62
|
form_params = opts[:form_params] || {}
|
|
@@ -87,6 +90,7 @@ module PulpcoreClient
|
|
|
87
90
|
# ViewSet for PulpImporters.
|
|
88
91
|
# @param pulp_importer_href [String]
|
|
89
92
|
# @param [Hash] opts the optional parameters
|
|
93
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
90
94
|
# @return [nil]
|
|
91
95
|
def delete(pulp_importer_href, opts = {})
|
|
92
96
|
delete_with_http_info(pulp_importer_href, opts)
|
|
@@ -97,6 +101,7 @@ module PulpcoreClient
|
|
|
97
101
|
# ViewSet for PulpImporters.
|
|
98
102
|
# @param pulp_importer_href [String]
|
|
99
103
|
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
105
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
101
106
|
def delete_with_http_info(pulp_importer_href, opts = {})
|
|
102
107
|
if @api_client.config.debugging
|
|
@@ -114,6 +119,7 @@ module PulpcoreClient
|
|
|
114
119
|
|
|
115
120
|
# header parameters
|
|
116
121
|
header_params = opts[:header_params] || {}
|
|
122
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
117
123
|
|
|
118
124
|
# form parameters
|
|
119
125
|
form_params = opts[:form_params] || {}
|
|
@@ -146,6 +152,7 @@ module PulpcoreClient
|
|
|
146
152
|
# List pulp importers
|
|
147
153
|
# ViewSet for PulpImporters.
|
|
148
154
|
# @param [Hash] opts the optional parameters
|
|
155
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
149
156
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
150
157
|
# @option opts [String] :name Filter results where name matches value
|
|
151
158
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -172,6 +179,7 @@ module PulpcoreClient
|
|
|
172
179
|
# List pulp importers
|
|
173
180
|
# ViewSet for PulpImporters.
|
|
174
181
|
# @param [Hash] opts the optional parameters
|
|
182
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
175
183
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
176
184
|
# @option opts [String] :name Filter results where name matches value
|
|
177
185
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -225,6 +233,7 @@ module PulpcoreClient
|
|
|
225
233
|
header_params = opts[:header_params] || {}
|
|
226
234
|
# HTTP header 'Accept' (if needed)
|
|
227
235
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
236
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
228
237
|
|
|
229
238
|
# form parameters
|
|
230
239
|
form_params = opts[:form_params] || {}
|
|
@@ -259,6 +268,7 @@ module PulpcoreClient
|
|
|
259
268
|
# @param pulp_importer_href [String]
|
|
260
269
|
# @param patched_pulp_importer [PatchedPulpImporter]
|
|
261
270
|
# @param [Hash] opts the optional parameters
|
|
271
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
262
272
|
# @return [PulpImporterResponse]
|
|
263
273
|
def partial_update(pulp_importer_href, patched_pulp_importer, opts = {})
|
|
264
274
|
data, _status_code, _headers = partial_update_with_http_info(pulp_importer_href, patched_pulp_importer, opts)
|
|
@@ -270,6 +280,7 @@ module PulpcoreClient
|
|
|
270
280
|
# @param pulp_importer_href [String]
|
|
271
281
|
# @param patched_pulp_importer [PatchedPulpImporter]
|
|
272
282
|
# @param [Hash] opts the optional parameters
|
|
283
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
273
284
|
# @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
|
|
274
285
|
def partial_update_with_http_info(pulp_importer_href, patched_pulp_importer, opts = {})
|
|
275
286
|
if @api_client.config.debugging
|
|
@@ -295,6 +306,7 @@ module PulpcoreClient
|
|
|
295
306
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
296
307
|
# HTTP header 'Content-Type'
|
|
297
308
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
309
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
298
310
|
|
|
299
311
|
# form parameters
|
|
300
312
|
form_params = opts[:form_params] || {}
|
|
@@ -328,6 +340,7 @@ module PulpcoreClient
|
|
|
328
340
|
# ViewSet for PulpImporters.
|
|
329
341
|
# @param pulp_importer_href [String]
|
|
330
342
|
# @param [Hash] opts the optional parameters
|
|
343
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
331
344
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
332
345
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
333
346
|
# @return [PulpImporterResponse]
|
|
@@ -340,6 +353,7 @@ module PulpcoreClient
|
|
|
340
353
|
# ViewSet for PulpImporters.
|
|
341
354
|
# @param pulp_importer_href [String]
|
|
342
355
|
# @param [Hash] opts the optional parameters
|
|
356
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
343
357
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
344
358
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
345
359
|
# @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
|
|
@@ -363,6 +377,7 @@ module PulpcoreClient
|
|
|
363
377
|
header_params = opts[:header_params] || {}
|
|
364
378
|
# HTTP header 'Accept' (if needed)
|
|
365
379
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
380
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
366
381
|
|
|
367
382
|
# form parameters
|
|
368
383
|
form_params = opts[:form_params] || {}
|
|
@@ -397,6 +412,7 @@ module PulpcoreClient
|
|
|
397
412
|
# @param pulp_importer_href [String]
|
|
398
413
|
# @param pulp_importer [PulpImporter]
|
|
399
414
|
# @param [Hash] opts the optional parameters
|
|
415
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
400
416
|
# @return [PulpImporterResponse]
|
|
401
417
|
def update(pulp_importer_href, pulp_importer, opts = {})
|
|
402
418
|
data, _status_code, _headers = update_with_http_info(pulp_importer_href, pulp_importer, opts)
|
|
@@ -408,6 +424,7 @@ module PulpcoreClient
|
|
|
408
424
|
# @param pulp_importer_href [String]
|
|
409
425
|
# @param pulp_importer [PulpImporter]
|
|
410
426
|
# @param [Hash] opts the optional parameters
|
|
427
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
411
428
|
# @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
|
|
412
429
|
def update_with_http_info(pulp_importer_href, pulp_importer, opts = {})
|
|
413
430
|
if @api_client.config.debugging
|
|
@@ -433,6 +450,7 @@ module PulpcoreClient
|
|
|
433
450
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
434
451
|
# HTTP header 'Content-Type'
|
|
435
452
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
453
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
436
454
|
|
|
437
455
|
# form parameters
|
|
438
456
|
form_params = opts[:form_params] || {}
|
|
@@ -23,6 +23,7 @@ module PulpcoreClient
|
|
|
23
23
|
# Evaluates validity of proposed PulpImport parameters 'toc', 'path', and 'repo_mapping'. * Checks that toc, path are in ALLOWED_IMPORT_PATHS * if ALLOWED: * Checks that toc, path exist and are readable * If toc specified, checks that containing dir is writeable * Checks that repo_mapping is valid JSON
|
|
24
24
|
# @param pulp_import_check [PulpImportCheck]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
27
|
# @return [PulpImportCheckResponse]
|
|
27
28
|
def pulp_import_check_post(pulp_import_check, opts = {})
|
|
28
29
|
data, _status_code, _headers = pulp_import_check_post_with_http_info(pulp_import_check, opts)
|
|
@@ -33,6 +34,7 @@ module PulpcoreClient
|
|
|
33
34
|
# Evaluates validity of proposed PulpImport parameters 'toc', 'path', and 'repo_mapping'. * Checks that toc, path are in ALLOWED_IMPORT_PATHS * if ALLOWED: * Checks that toc, path exist and are readable * If toc specified, checks that containing dir is writeable * Checks that repo_mapping is valid JSON
|
|
34
35
|
# @param pulp_import_check [PulpImportCheck]
|
|
35
36
|
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
38
|
# @return [Array<(PulpImportCheckResponse, Integer, Hash)>] PulpImportCheckResponse data, response status code and response headers
|
|
37
39
|
def pulp_import_check_post_with_http_info(pulp_import_check, opts = {})
|
|
38
40
|
if @api_client.config.debugging
|
|
@@ -54,6 +56,7 @@ module PulpcoreClient
|
|
|
54
56
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
55
57
|
# HTTP header 'Content-Type'
|
|
56
58
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
57
60
|
|
|
58
61
|
# form parameters
|
|
59
62
|
form_params = opts[:form_params] || {}
|
|
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
|
24
24
|
# @param pulp_importer_href [String]
|
|
25
25
|
# @param pulp_import [PulpImport]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
28
|
# @return [TaskGroupOperationResponse]
|
|
28
29
|
def create(pulp_importer_href, pulp_import, opts = {})
|
|
29
30
|
data, _status_code, _headers = create_with_http_info(pulp_importer_href, pulp_import, opts)
|
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
|
35
36
|
# @param pulp_importer_href [String]
|
|
36
37
|
# @param pulp_import [PulpImport]
|
|
37
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
40
|
# @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
|
|
39
41
|
def create_with_http_info(pulp_importer_href, pulp_import, opts = {})
|
|
40
42
|
if @api_client.config.debugging
|
|
@@ -60,6 +62,7 @@ module PulpcoreClient
|
|
|
60
62
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
61
63
|
# HTTP header 'Content-Type'
|
|
62
64
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
65
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
63
66
|
|
|
64
67
|
# form parameters
|
|
65
68
|
form_params = opts[:form_params] || {}
|
|
@@ -93,6 +96,7 @@ module PulpcoreClient
|
|
|
93
96
|
# ViewSet for PulpImports.
|
|
94
97
|
# @param pulp_pulp_import_href [String]
|
|
95
98
|
# @param [Hash] opts the optional parameters
|
|
99
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
96
100
|
# @return [nil]
|
|
97
101
|
def delete(pulp_pulp_import_href, opts = {})
|
|
98
102
|
delete_with_http_info(pulp_pulp_import_href, opts)
|
|
@@ -103,6 +107,7 @@ module PulpcoreClient
|
|
|
103
107
|
# ViewSet for PulpImports.
|
|
104
108
|
# @param pulp_pulp_import_href [String]
|
|
105
109
|
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
106
111
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
107
112
|
def delete_with_http_info(pulp_pulp_import_href, opts = {})
|
|
108
113
|
if @api_client.config.debugging
|
|
@@ -120,6 +125,7 @@ module PulpcoreClient
|
|
|
120
125
|
|
|
121
126
|
# header parameters
|
|
122
127
|
header_params = opts[:header_params] || {}
|
|
128
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
123
129
|
|
|
124
130
|
# form parameters
|
|
125
131
|
form_params = opts[:form_params] || {}
|
|
@@ -153,6 +159,7 @@ module PulpcoreClient
|
|
|
153
159
|
# ViewSet for PulpImports.
|
|
154
160
|
# @param pulp_importer_href [String]
|
|
155
161
|
# @param [Hash] opts the optional parameters
|
|
162
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
156
163
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
157
164
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
165
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -167,6 +174,7 @@ module PulpcoreClient
|
|
|
167
174
|
# ViewSet for PulpImports.
|
|
168
175
|
# @param pulp_importer_href [String]
|
|
169
176
|
# @param [Hash] opts the optional parameters
|
|
177
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
170
178
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
171
179
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
172
180
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -194,6 +202,7 @@ module PulpcoreClient
|
|
|
194
202
|
header_params = opts[:header_params] || {}
|
|
195
203
|
# HTTP header 'Accept' (if needed)
|
|
196
204
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
205
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
197
206
|
|
|
198
207
|
# form parameters
|
|
199
208
|
form_params = opts[:form_params] || {}
|
|
@@ -227,6 +236,7 @@ module PulpcoreClient
|
|
|
227
236
|
# ViewSet for PulpImports.
|
|
228
237
|
# @param pulp_pulp_import_href [String]
|
|
229
238
|
# @param [Hash] opts the optional parameters
|
|
239
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
230
240
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
231
241
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
232
242
|
# @return [ImportResponse]
|
|
@@ -239,6 +249,7 @@ module PulpcoreClient
|
|
|
239
249
|
# ViewSet for PulpImports.
|
|
240
250
|
# @param pulp_pulp_import_href [String]
|
|
241
251
|
# @param [Hash] opts the optional parameters
|
|
252
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
242
253
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
243
254
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
244
255
|
# @return [Array<(ImportResponse, Integer, Hash)>] ImportResponse data, response status code and response headers
|
|
@@ -262,6 +273,7 @@ module PulpcoreClient
|
|
|
262
273
|
header_params = opts[:header_params] || {}
|
|
263
274
|
# HTTP header 'Accept' (if needed)
|
|
264
275
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
276
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
265
277
|
|
|
266
278
|
# form parameters
|
|
267
279
|
form_params = opts[:form_params] || {}
|
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
|
22
22
|
# Delete orphans
|
|
23
23
|
# DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
26
|
# @return [AsyncOperationResponse]
|
|
26
27
|
def delete(opts = {})
|
|
27
28
|
data, _status_code, _headers = delete_with_http_info(opts)
|
|
@@ -31,6 +32,7 @@ module PulpcoreClient
|
|
|
31
32
|
# Delete orphans
|
|
32
33
|
# DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
|
|
33
34
|
# @param [Hash] opts the optional parameters
|
|
35
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
34
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
35
37
|
def delete_with_http_info(opts = {})
|
|
36
38
|
if @api_client.config.debugging
|
|
@@ -46,6 +48,7 @@ module PulpcoreClient
|
|
|
46
48
|
header_params = opts[:header_params] || {}
|
|
47
49
|
# HTTP header 'Accept' (if needed)
|
|
48
50
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
51
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
49
52
|
|
|
50
53
|
# form parameters
|
|
51
54
|
form_params = opts[:form_params] || {}
|
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
|
22
22
|
# Trigger an asynchronous orphan cleanup operation.
|
|
23
23
|
# @param orphans_cleanup [OrphansCleanup]
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
26
|
# @return [AsyncOperationResponse]
|
|
26
27
|
def cleanup(orphans_cleanup, opts = {})
|
|
27
28
|
data, _status_code, _headers = cleanup_with_http_info(orphans_cleanup, opts)
|
|
@@ -31,6 +32,7 @@ module PulpcoreClient
|
|
|
31
32
|
# Trigger an asynchronous orphan cleanup operation.
|
|
32
33
|
# @param orphans_cleanup [OrphansCleanup]
|
|
33
34
|
# @param [Hash] opts the optional parameters
|
|
35
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
34
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
35
37
|
def cleanup_with_http_info(orphans_cleanup, opts = {})
|
|
36
38
|
if @api_client.config.debugging
|
|
@@ -52,6 +54,7 @@ module PulpcoreClient
|
|
|
52
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
53
55
|
# HTTP header 'Content-Type'
|
|
54
56
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
57
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
55
58
|
|
|
56
59
|
# form parameters
|
|
57
60
|
form_params = opts[:form_params] || {}
|
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
|
22
22
|
# List publications
|
|
23
23
|
# A base class for any publication viewset.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
26
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
26
27
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
27
28
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -51,6 +52,7 @@ module PulpcoreClient
|
|
|
51
52
|
# List publications
|
|
52
53
|
# A base class for any publication viewset.
|
|
53
54
|
# @param [Hash] opts the optional parameters
|
|
55
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
54
56
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
55
57
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
56
58
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -118,6 +120,7 @@ module PulpcoreClient
|
|
|
118
120
|
header_params = opts[:header_params] || {}
|
|
119
121
|
# HTTP header 'Accept' (if needed)
|
|
120
122
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
123
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
121
124
|
|
|
122
125
|
# form parameters
|
|
123
126
|
form_params = opts[:form_params] || {}
|
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
|
22
22
|
# List remotes
|
|
23
23
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
26
27
|
# @option opts [String] :name Filter results where name matches value
|
|
27
28
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -57,6 +58,7 @@ module PulpcoreClient
|
|
|
57
58
|
# List remotes
|
|
58
59
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
59
60
|
# @param [Hash] opts the optional parameters
|
|
61
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
60
62
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
61
63
|
# @option opts [String] :name Filter results where name matches value
|
|
62
64
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -136,6 +138,7 @@ module PulpcoreClient
|
|
|
136
138
|
header_params = opts[:header_params] || {}
|
|
137
139
|
# HTTP header 'Accept' (if needed)
|
|
138
140
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
141
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
139
142
|
|
|
140
143
|
# form parameters
|
|
141
144
|
form_params = opts[:form_params] || {}
|
|
@@ -23,6 +23,7 @@ module PulpcoreClient
|
|
|
23
23
|
# Trigger an asynchronous task that checks for missing or corrupted artifacts, and attempts to redownload them.
|
|
24
24
|
# @param repair [Repair]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
27
|
# @return [AsyncOperationResponse]
|
|
27
28
|
def post(repair, opts = {})
|
|
28
29
|
data, _status_code, _headers = post_with_http_info(repair, opts)
|
|
@@ -33,6 +34,7 @@ module PulpcoreClient
|
|
|
33
34
|
# Trigger an asynchronous task that checks for missing or corrupted artifacts, and attempts to redownload them.
|
|
34
35
|
# @param repair [Repair]
|
|
35
36
|
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
37
39
|
def post_with_http_info(repair, opts = {})
|
|
38
40
|
if @api_client.config.debugging
|
|
@@ -54,6 +56,7 @@ module PulpcoreClient
|
|
|
54
56
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
55
57
|
# HTTP header 'Content-Type'
|
|
56
58
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
57
60
|
|
|
58
61
|
# form parameters
|
|
59
62
|
form_params = opts[:form_params] || {}
|
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
|
22
22
|
# List repositories
|
|
23
23
|
# Endpoint to list all repositories.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
26
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
26
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
27
28
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -62,6 +63,7 @@ module PulpcoreClient
|
|
|
62
63
|
# List repositories
|
|
63
64
|
# Endpoint to list all repositories.
|
|
64
65
|
# @param [Hash] opts the optional parameters
|
|
66
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
65
67
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
66
68
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
67
69
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -151,6 +153,7 @@ module PulpcoreClient
|
|
|
151
153
|
header_params = opts[:header_params] || {}
|
|
152
154
|
# HTTP header 'Accept' (if needed)
|
|
153
155
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
156
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
154
157
|
|
|
155
158
|
# form parameters
|
|
156
159
|
form_params = opts[:form_params] || {}
|
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
|
22
22
|
# Trigger an asynchronous space reclaim operation.
|
|
23
23
|
# @param reclaim_space [ReclaimSpace]
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
26
|
# @return [AsyncOperationResponse]
|
|
26
27
|
def reclaim(reclaim_space, opts = {})
|
|
27
28
|
data, _status_code, _headers = reclaim_with_http_info(reclaim_space, opts)
|
|
@@ -31,6 +32,7 @@ module PulpcoreClient
|
|
|
31
32
|
# Trigger an asynchronous space reclaim operation.
|
|
32
33
|
# @param reclaim_space [ReclaimSpace]
|
|
33
34
|
# @param [Hash] opts the optional parameters
|
|
35
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
34
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
35
37
|
def reclaim_with_http_info(reclaim_space, opts = {})
|
|
36
38
|
if @api_client.config.debugging
|
|
@@ -52,6 +54,7 @@ module PulpcoreClient
|
|
|
52
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
53
55
|
# HTTP header 'Content-Type'
|
|
54
56
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
57
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
55
58
|
|
|
56
59
|
# form parameters
|
|
57
60
|
form_params = opts[:form_params] || {}
|
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
|
22
22
|
# List repository versions
|
|
23
23
|
# A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
26
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
26
27
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
27
28
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -52,6 +53,7 @@ module PulpcoreClient
|
|
|
52
53
|
# List repository versions
|
|
53
54
|
# A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
|
54
55
|
# @param [Hash] opts the optional parameters
|
|
56
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
55
57
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
56
58
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
57
59
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -113,6 +115,7 @@ module PulpcoreClient
|
|
|
113
115
|
header_params = opts[:header_params] || {}
|
|
114
116
|
# HTTP header 'Accept' (if needed)
|
|
115
117
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
118
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
116
119
|
|
|
117
120
|
# form parameters
|
|
118
121
|
form_params = opts[:form_params] || {}
|