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