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
|
@@ -23,7 +23,6 @@ module PulpcoreClient
|
|
|
23
23
|
# ViewSet for Role.
|
|
24
24
|
# @param role [Role]
|
|
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 [RoleResponse]
|
|
28
27
|
def create(role, opts = {})
|
|
29
28
|
data, _status_code, _headers = create_with_http_info(role, opts)
|
|
@@ -34,7 +33,6 @@ module PulpcoreClient
|
|
|
34
33
|
# ViewSet for Role.
|
|
35
34
|
# @param role [Role]
|
|
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<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
|
39
37
|
def create_with_http_info(role, 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 Role.
|
|
91
88
|
# @param role_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(role_href, opts = {})
|
|
96
92
|
delete_with_http_info(role_href, opts)
|
|
@@ -101,7 +97,6 @@ module PulpcoreClient
|
|
|
101
97
|
# ViewSet for Role.
|
|
102
98
|
# @param role_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(role_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 roles
|
|
153
147
|
# ViewSet for Role.
|
|
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 [Array<String>] :contains_permission Filter roles that have any of the permissions in the list.
|
|
157
150
|
# @option opts [String] :description Filter results where description matches value
|
|
158
151
|
# @option opts [String] :description__contains Filter results where description contains value
|
|
@@ -186,7 +179,6 @@ module PulpcoreClient
|
|
|
186
179
|
# List roles
|
|
187
180
|
# ViewSet for Role.
|
|
188
181
|
# @param [Hash] opts the optional parameters
|
|
189
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
190
182
|
# @option opts [Array<String>] :contains_permission Filter roles that have any of the permissions in the list.
|
|
191
183
|
# @option opts [String] :description Filter results where description matches value
|
|
192
184
|
# @option opts [String] :description__contains Filter results where description contains value
|
|
@@ -254,7 +246,6 @@ module PulpcoreClient
|
|
|
254
246
|
header_params = opts[:header_params] || {}
|
|
255
247
|
# HTTP header 'Accept' (if needed)
|
|
256
248
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
257
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
258
249
|
|
|
259
250
|
# form parameters
|
|
260
251
|
form_params = opts[:form_params] || {}
|
|
@@ -289,7 +280,6 @@ module PulpcoreClient
|
|
|
289
280
|
# @param role_href [String]
|
|
290
281
|
# @param patched_role [PatchedRole]
|
|
291
282
|
# @param [Hash] opts the optional parameters
|
|
292
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
293
283
|
# @return [RoleResponse]
|
|
294
284
|
def partial_update(role_href, patched_role, opts = {})
|
|
295
285
|
data, _status_code, _headers = partial_update_with_http_info(role_href, patched_role, opts)
|
|
@@ -301,7 +291,6 @@ module PulpcoreClient
|
|
|
301
291
|
# @param role_href [String]
|
|
302
292
|
# @param patched_role [PatchedRole]
|
|
303
293
|
# @param [Hash] opts the optional parameters
|
|
304
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
305
294
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
|
306
295
|
def partial_update_with_http_info(role_href, patched_role, opts = {})
|
|
307
296
|
if @api_client.config.debugging
|
|
@@ -327,7 +316,6 @@ module PulpcoreClient
|
|
|
327
316
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
328
317
|
# HTTP header 'Content-Type'
|
|
329
318
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
330
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
331
319
|
|
|
332
320
|
# form parameters
|
|
333
321
|
form_params = opts[:form_params] || {}
|
|
@@ -361,7 +349,6 @@ module PulpcoreClient
|
|
|
361
349
|
# ViewSet for Role.
|
|
362
350
|
# @param role_href [String]
|
|
363
351
|
# @param [Hash] opts the optional parameters
|
|
364
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
365
352
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
366
353
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
367
354
|
# @return [RoleResponse]
|
|
@@ -374,7 +361,6 @@ module PulpcoreClient
|
|
|
374
361
|
# ViewSet for Role.
|
|
375
362
|
# @param role_href [String]
|
|
376
363
|
# @param [Hash] opts the optional parameters
|
|
377
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
378
364
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
379
365
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
380
366
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
|
@@ -398,7 +384,6 @@ module PulpcoreClient
|
|
|
398
384
|
header_params = opts[:header_params] || {}
|
|
399
385
|
# HTTP header 'Accept' (if needed)
|
|
400
386
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
401
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
402
387
|
|
|
403
388
|
# form parameters
|
|
404
389
|
form_params = opts[:form_params] || {}
|
|
@@ -433,7 +418,6 @@ module PulpcoreClient
|
|
|
433
418
|
# @param role_href [String]
|
|
434
419
|
# @param role [Role]
|
|
435
420
|
# @param [Hash] opts the optional parameters
|
|
436
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
437
421
|
# @return [RoleResponse]
|
|
438
422
|
def update(role_href, role, opts = {})
|
|
439
423
|
data, _status_code, _headers = update_with_http_info(role_href, role, opts)
|
|
@@ -445,7 +429,6 @@ module PulpcoreClient
|
|
|
445
429
|
# @param role_href [String]
|
|
446
430
|
# @param role [Role]
|
|
447
431
|
# @param [Hash] opts the optional parameters
|
|
448
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
449
432
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
|
450
433
|
def update_with_http_info(role_href, role, opts = {})
|
|
451
434
|
if @api_client.config.debugging
|
|
@@ -471,7 +454,6 @@ module PulpcoreClient
|
|
|
471
454
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
472
455
|
# HTTP header 'Content-Type'
|
|
473
456
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
474
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
475
457
|
|
|
476
458
|
# form parameters
|
|
477
459
|
form_params = opts[:form_params] || {}
|
|
@@ -22,7 +22,6 @@ module PulpcoreClient
|
|
|
22
22
|
# List signing services
|
|
23
23
|
# A ViewSet that supports browsing of existing signing services.
|
|
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 [Integer] :offset The initial index from which to return the results.
|
|
@@ -41,7 +40,6 @@ module PulpcoreClient
|
|
|
41
40
|
# List signing services
|
|
42
41
|
# A ViewSet that supports browsing of existing signing services.
|
|
43
42
|
# @param [Hash] opts the optional parameters
|
|
44
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
45
43
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
46
44
|
# @option opts [String] :name Filter results where name matches value
|
|
47
45
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -79,7 +77,6 @@ module PulpcoreClient
|
|
|
79
77
|
header_params = opts[:header_params] || {}
|
|
80
78
|
# HTTP header 'Accept' (if needed)
|
|
81
79
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
82
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
83
80
|
|
|
84
81
|
# form parameters
|
|
85
82
|
form_params = opts[:form_params] || {}
|
|
@@ -113,7 +110,6 @@ module PulpcoreClient
|
|
|
113
110
|
# A ViewSet that supports browsing of existing signing services.
|
|
114
111
|
# @param signing_service_href [String]
|
|
115
112
|
# @param [Hash] opts the optional parameters
|
|
116
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
117
113
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
118
114
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
119
115
|
# @return [SigningServiceResponse]
|
|
@@ -126,7 +122,6 @@ module PulpcoreClient
|
|
|
126
122
|
# A ViewSet that supports browsing of existing signing services.
|
|
127
123
|
# @param signing_service_href [String]
|
|
128
124
|
# @param [Hash] opts the optional parameters
|
|
129
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
130
125
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
131
126
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
132
127
|
# @return [Array<(SigningServiceResponse, Integer, Hash)>] SigningServiceResponse data, response status code and response headers
|
|
@@ -150,7 +145,6 @@ module PulpcoreClient
|
|
|
150
145
|
header_params = opts[:header_params] || {}
|
|
151
146
|
# HTTP header 'Accept' (if needed)
|
|
152
147
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
153
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
154
148
|
|
|
155
149
|
# form parameters
|
|
156
150
|
form_params = opts[:form_params] || {}
|
|
@@ -22,9 +22,6 @@ module PulpcoreClient
|
|
|
22
22
|
# Inspect status of Pulp
|
|
23
23
|
# Returns status and app information about Pulp. Information includes: * version of pulpcore and loaded pulp plugins * known workers * known content apps * database connection status * redis connection status * disk usage information
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
27
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
28
25
|
# @return [StatusResponse]
|
|
29
26
|
def status_read(opts = {})
|
|
30
27
|
data, _status_code, _headers = status_read_with_http_info(opts)
|
|
@@ -34,9 +31,6 @@ module PulpcoreClient
|
|
|
34
31
|
# Inspect status of Pulp
|
|
35
32
|
# Returns status and app information about Pulp. Information includes: * version of pulpcore and loaded pulp plugins * known workers * known content apps * database connection status * redis connection status * disk usage information
|
|
36
33
|
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
39
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
40
34
|
# @return [Array<(StatusResponse, Integer, Hash)>] StatusResponse data, response status code and response headers
|
|
41
35
|
def status_read_with_http_info(opts = {})
|
|
42
36
|
if @api_client.config.debugging
|
|
@@ -47,14 +41,11 @@ module PulpcoreClient
|
|
|
47
41
|
|
|
48
42
|
# query parameters
|
|
49
43
|
query_params = opts[:query_params] || {}
|
|
50
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
51
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
52
44
|
|
|
53
45
|
# header parameters
|
|
54
46
|
header_params = opts[:header_params] || {}
|
|
55
47
|
# HTTP header 'Accept' (if needed)
|
|
56
48
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
57
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
58
49
|
|
|
59
50
|
# form parameters
|
|
60
51
|
form_params = opts[:form_params] || {}
|
|
@@ -22,7 +22,6 @@ module PulpcoreClient
|
|
|
22
22
|
# List task groups
|
|
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 [Integer] :offset The initial index from which to return the results.
|
|
28
27
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -36,7 +35,6 @@ module PulpcoreClient
|
|
|
36
35
|
# List task groups
|
|
37
36
|
# 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.
|
|
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
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
41
39
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
42
40
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -60,7 +58,6 @@ module PulpcoreClient
|
|
|
60
58
|
header_params = opts[:header_params] || {}
|
|
61
59
|
# HTTP header 'Accept' (if needed)
|
|
62
60
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
63
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
64
61
|
|
|
65
62
|
# form parameters
|
|
66
63
|
form_params = opts[:form_params] || {}
|
|
@@ -94,7 +91,6 @@ module PulpcoreClient
|
|
|
94
91
|
# 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.
|
|
95
92
|
# @param task_group_href [String]
|
|
96
93
|
# @param [Hash] opts the optional parameters
|
|
97
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
98
94
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
99
95
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
100
96
|
# @return [TaskGroupResponse]
|
|
@@ -107,7 +103,6 @@ module PulpcoreClient
|
|
|
107
103
|
# 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.
|
|
108
104
|
# @param task_group_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
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
112
107
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
113
108
|
# @return [Array<(TaskGroupResponse, Integer, Hash)>] TaskGroupResponse data, response status code and response headers
|
|
@@ -131,7 +126,6 @@ module PulpcoreClient
|
|
|
131
126
|
header_params = opts[:header_params] || {}
|
|
132
127
|
# HTTP header 'Accept' (if needed)
|
|
133
128
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
134
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
135
129
|
|
|
136
130
|
# form parameters
|
|
137
131
|
form_params = opts[:form_params] || {}
|
|
@@ -24,7 +24,6 @@ module PulpcoreClient
|
|
|
24
24
|
# @param task_schedule_href [String]
|
|
25
25
|
# @param nested_role [NestedRole]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
28
27
|
# @return [NestedRoleResponse]
|
|
29
28
|
def add_role(task_schedule_href, nested_role, opts = {})
|
|
30
29
|
data, _status_code, _headers = add_role_with_http_info(task_schedule_href, nested_role, opts)
|
|
@@ -36,7 +35,6 @@ module PulpcoreClient
|
|
|
36
35
|
# @param task_schedule_href [String]
|
|
37
36
|
# @param nested_role [NestedRole]
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
38
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
41
39
|
def add_role_with_http_info(task_schedule_href, nested_role, 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] || {}
|
|
@@ -95,7 +92,6 @@ module PulpcoreClient
|
|
|
95
92
|
# List task schedules
|
|
96
93
|
# ViewSet to monitor task schedules.
|
|
97
94
|
# @param [Hash] opts the optional parameters
|
|
98
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
99
95
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
100
96
|
# @option opts [String] :name Filter results where name matches value
|
|
101
97
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -117,7 +113,6 @@ module PulpcoreClient
|
|
|
117
113
|
# List task schedules
|
|
118
114
|
# ViewSet to monitor task schedules.
|
|
119
115
|
# @param [Hash] opts the optional parameters
|
|
120
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
121
116
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
122
117
|
# @option opts [String] :name Filter results where name matches value
|
|
123
118
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -161,7 +156,6 @@ module PulpcoreClient
|
|
|
161
156
|
header_params = opts[:header_params] || {}
|
|
162
157
|
# HTTP header 'Accept' (if needed)
|
|
163
158
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
164
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
165
159
|
|
|
166
160
|
# form parameters
|
|
167
161
|
form_params = opts[:form_params] || {}
|
|
@@ -195,7 +189,6 @@ module PulpcoreClient
|
|
|
195
189
|
# List roles assigned to this object.
|
|
196
190
|
# @param task_schedule_href [String]
|
|
197
191
|
# @param [Hash] opts the optional parameters
|
|
198
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
199
192
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
200
193
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
201
194
|
# @return [ObjectRolesResponse]
|
|
@@ -208,7 +201,6 @@ module PulpcoreClient
|
|
|
208
201
|
# List roles assigned to this object.
|
|
209
202
|
# @param task_schedule_href [String]
|
|
210
203
|
# @param [Hash] opts the optional parameters
|
|
211
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
212
204
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
213
205
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
214
206
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -232,7 +224,6 @@ module PulpcoreClient
|
|
|
232
224
|
header_params = opts[:header_params] || {}
|
|
233
225
|
# HTTP header 'Accept' (if needed)
|
|
234
226
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
235
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
236
227
|
|
|
237
228
|
# form parameters
|
|
238
229
|
form_params = opts[:form_params] || {}
|
|
@@ -266,7 +257,6 @@ module PulpcoreClient
|
|
|
266
257
|
# List permissions available to the current user on this object.
|
|
267
258
|
# @param task_schedule_href [String]
|
|
268
259
|
# @param [Hash] opts the optional parameters
|
|
269
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
270
260
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
271
261
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
272
262
|
# @return [MyPermissionsResponse]
|
|
@@ -279,7 +269,6 @@ module PulpcoreClient
|
|
|
279
269
|
# List permissions available to the current user on this object.
|
|
280
270
|
# @param task_schedule_href [String]
|
|
281
271
|
# @param [Hash] opts the optional parameters
|
|
282
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
283
272
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
284
273
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
285
274
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -303,7 +292,6 @@ module PulpcoreClient
|
|
|
303
292
|
header_params = opts[:header_params] || {}
|
|
304
293
|
# HTTP header 'Accept' (if needed)
|
|
305
294
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
306
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
307
295
|
|
|
308
296
|
# form parameters
|
|
309
297
|
form_params = opts[:form_params] || {}
|
|
@@ -337,7 +325,6 @@ module PulpcoreClient
|
|
|
337
325
|
# ViewSet to monitor task schedules.
|
|
338
326
|
# @param task_schedule_href [String]
|
|
339
327
|
# @param [Hash] opts the optional parameters
|
|
340
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
341
328
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
342
329
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
343
330
|
# @return [TaskScheduleResponse]
|
|
@@ -350,7 +337,6 @@ module PulpcoreClient
|
|
|
350
337
|
# ViewSet to monitor task schedules.
|
|
351
338
|
# @param task_schedule_href [String]
|
|
352
339
|
# @param [Hash] opts the optional parameters
|
|
353
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
354
340
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
355
341
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
356
342
|
# @return [Array<(TaskScheduleResponse, Integer, Hash)>] TaskScheduleResponse data, response status code and response headers
|
|
@@ -374,7 +360,6 @@ module PulpcoreClient
|
|
|
374
360
|
header_params = opts[:header_params] || {}
|
|
375
361
|
# HTTP header 'Accept' (if needed)
|
|
376
362
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
377
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
378
363
|
|
|
379
364
|
# form parameters
|
|
380
365
|
form_params = opts[:form_params] || {}
|
|
@@ -409,7 +394,6 @@ module PulpcoreClient
|
|
|
409
394
|
# @param task_schedule_href [String]
|
|
410
395
|
# @param nested_role [NestedRole]
|
|
411
396
|
# @param [Hash] opts the optional parameters
|
|
412
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
413
397
|
# @return [NestedRoleResponse]
|
|
414
398
|
def remove_role(task_schedule_href, nested_role, opts = {})
|
|
415
399
|
data, _status_code, _headers = remove_role_with_http_info(task_schedule_href, nested_role, opts)
|
|
@@ -421,7 +405,6 @@ module PulpcoreClient
|
|
|
421
405
|
# @param task_schedule_href [String]
|
|
422
406
|
# @param nested_role [NestedRole]
|
|
423
407
|
# @param [Hash] opts the optional parameters
|
|
424
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
425
408
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
426
409
|
def remove_role_with_http_info(task_schedule_href, nested_role, opts = {})
|
|
427
410
|
if @api_client.config.debugging
|
|
@@ -447,7 +430,6 @@ module PulpcoreClient
|
|
|
447
430
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
448
431
|
# HTTP header 'Content-Type'
|
|
449
432
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
450
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
451
433
|
|
|
452
434
|
# form parameters
|
|
453
435
|
form_params = opts[:form_params] || {}
|