pulpcore_client 3.80.2 → 3.82.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 -4
- data/docs/AccessPoliciesApi.md +28 -12
- data/docs/ArtifactDistributionResponse.md +13 -13
- data/docs/ArtifactsApi.md +14 -4
- data/docs/ContentApi.md +2 -0
- data/docs/ContentOpenpgpPublickeyApi.md +22 -8
- data/docs/ContentOpenpgpPublicsubkeyApi.md +20 -8
- data/docs/ContentOpenpgpSignatureApi.md +20 -8
- data/docs/ContentOpenpgpUserattributeApi.md +20 -8
- data/docs/ContentOpenpgpUseridApi.md +20 -8
- data/docs/ContentguardsApi.md +2 -0
- data/docs/ContentguardsCompositeApi.md +56 -24
- data/docs/ContentguardsContentRedirectApi.md +56 -24
- data/docs/ContentguardsHeaderApi.md +56 -24
- data/docs/ContentguardsRbacApi.md +56 -24
- data/docs/DistributionsApi.md +2 -0
- data/docs/DistributionsArtifactsApi.md +4 -0
- data/docs/DistributionsOpenpgpApi.md +52 -24
- data/docs/DomainsApi.md +60 -28
- data/docs/ExportersFilesystemApi.md +36 -16
- data/docs/ExportersFilesystemExportsApi.md +20 -8
- data/docs/ExportersPulpApi.md +36 -16
- data/docs/ExportersPulpExportsApi.md +20 -8
- data/docs/GroupsApi.md +56 -24
- data/docs/GroupsRolesApi.md +20 -8
- data/docs/GroupsUsersApi.md +18 -8
- data/docs/ImportersPulpApi.md +36 -16
- data/docs/ImportersPulpImportCheckApi.md +8 -4
- data/docs/ImportersPulpImportsApi.md +20 -8
- data/docs/LivezApi.md +14 -5
- data/docs/LoginApi.md +34 -15
- data/docs/OrphansApi.md +10 -5
- data/docs/OrphansCleanupApi.md +8 -4
- data/docs/PublicationsApi.md +2 -0
- data/docs/RemotesApi.md +2 -0
- data/docs/RepairApi.md +8 -4
- data/docs/RepositoriesApi.md +2 -0
- data/docs/RepositoriesOpenpgpKeyringApi.md +80 -36
- data/docs/RepositoriesReclaimSpaceApi.md +8 -4
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +36 -16
- data/docs/SigningServicesApi.md +4 -0
- data/docs/StatusApi.md +14 -5
- data/docs/TaskGroupsApi.md +12 -4
- data/docs/TaskSchedulesApi.md +24 -8
- data/docs/TasksApi.md +52 -22
- data/docs/UploadsApi.md +50 -20
- data/docs/UpstreamPulpsApi.md +64 -28
- data/docs/UsersApi.md +36 -16
- data/docs/UsersRolesApi.md +20 -8
- 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/content_openpgp_publickey_api.rb +15 -0
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +12 -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/distributions_openpgp_api.rb +24 -0
- data/lib/pulpcore_client/api/domains_api.rb +27 -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/livez_api.rb +9 -0
- data/lib/pulpcore_client/api/login_api.rb +15 -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_openpgp_keyring_api.rb +39 -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 +9 -0
- data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
- data/lib/pulpcore_client/api/tasks_api.rb +33 -3
- 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 +61 -61
- data/lib/pulpcore_client/models/composite_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/composite_content_guard_response.rb +1 -1
- data/lib/pulpcore_client/models/content_guard_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_composite_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/rbac_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +1 -1
- 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/content_openpgp_publickey_api_spec.rb +5 -0
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +4 -0
- data/spec/api/content_openpgp_signature_api_spec.rb +4 -0
- data/spec/api/content_openpgp_userattribute_api_spec.rb +4 -0
- data/spec/api/content_openpgp_userid_api_spec.rb +4 -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/distributions_openpgp_api_spec.rb +8 -0
- data/spec/api/domains_api_spec.rb +9 -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/livez_api_spec.rb +3 -0
- data/spec/api/login_api_spec.rb +5 -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_openpgp_keyring_api_spec.rb +13 -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 +3 -0
- data/spec/api/task_schedules_api_spec.rb +6 -0
- data/spec/api/tasks_api_spec.rb +11 -1
- 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 +11 -11
- metadata +190 -190
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
24
24
|
# @param upstream_pulp_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.
|
27
28
|
# @return [NestedRoleResponse]
|
28
29
|
def add_role(upstream_pulp_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(upstream_pulp_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
35
36
|
# @param upstream_pulp_href [String]
|
36
37
|
# @param nested_role [NestedRole]
|
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<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
39
41
|
def add_role_with_http_info(upstream_pulp_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpcoreClient
|
|
63
65
|
if !content_type.nil?
|
64
66
|
header_params['Content-Type'] = content_type
|
65
67
|
end
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
66
69
|
|
67
70
|
# form parameters
|
68
71
|
form_params = opts[:form_params] || {}
|
@@ -97,6 +100,7 @@ module PulpcoreClient
|
|
97
100
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
98
101
|
# @param upstream_pulp [UpstreamPulp]
|
99
102
|
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
104
|
# @return [UpstreamPulpResponse]
|
101
105
|
def create(upstream_pulp, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(upstream_pulp, opts)
|
@@ -107,6 +111,7 @@ module PulpcoreClient
|
|
107
111
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
108
112
|
# @param upstream_pulp [UpstreamPulp]
|
109
113
|
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
110
115
|
# @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(upstream_pulp, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpcoreClient
|
|
131
136
|
if !content_type.nil?
|
132
137
|
header_params['Content-Type'] = content_type
|
133
138
|
end
|
139
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
134
140
|
|
135
141
|
# form parameters
|
136
142
|
form_params = opts[:form_params] || {}
|
@@ -165,6 +171,7 @@ module PulpcoreClient
|
|
165
171
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
166
172
|
# @param upstream_pulp_href [String]
|
167
173
|
# @param [Hash] opts the optional parameters
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
175
|
# @return [nil]
|
169
176
|
def delete(upstream_pulp_href, opts = {})
|
170
177
|
delete_with_http_info(upstream_pulp_href, opts)
|
@@ -175,6 +182,7 @@ module PulpcoreClient
|
|
175
182
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
176
183
|
# @param upstream_pulp_href [String]
|
177
184
|
# @param [Hash] opts the optional parameters
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
178
186
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
179
187
|
def delete_with_http_info(upstream_pulp_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -192,6 +200,7 @@ module PulpcoreClient
|
|
192
200
|
|
193
201
|
# header parameters
|
194
202
|
header_params = opts[:header_params] || {}
|
203
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
195
204
|
|
196
205
|
# form parameters
|
197
206
|
form_params = opts[:form_params] || {}
|
@@ -225,6 +234,7 @@ module PulpcoreClient
|
|
225
234
|
# List upstream pulps
|
226
235
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
227
236
|
# @param [Hash] opts the optional parameters
|
237
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
228
238
|
# @option opts [String] :base_url Filter results where base_url matches value
|
229
239
|
# @option opts [String] :base_url__contains Filter results where base_url contains value
|
230
240
|
# @option opts [String] :base_url__icontains Filter results where base_url contains value
|
@@ -268,6 +278,7 @@ module PulpcoreClient
|
|
268
278
|
# List upstream pulps
|
269
279
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
270
280
|
# @param [Hash] opts the optional parameters
|
281
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
271
282
|
# @option opts [String] :base_url Filter results where base_url matches value
|
272
283
|
# @option opts [String] :base_url__contains Filter results where base_url contains value
|
273
284
|
# @option opts [String] :base_url__icontains Filter results where base_url contains value
|
@@ -355,6 +366,7 @@ module PulpcoreClient
|
|
355
366
|
header_params = opts[:header_params] || {}
|
356
367
|
# HTTP header 'Accept' (if needed)
|
357
368
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
369
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
358
370
|
|
359
371
|
# form parameters
|
360
372
|
form_params = opts[:form_params] || {}
|
@@ -389,6 +401,7 @@ module PulpcoreClient
|
|
389
401
|
# List roles assigned to this object.
|
390
402
|
# @param upstream_pulp_href [String]
|
391
403
|
# @param [Hash] opts the optional parameters
|
404
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
392
405
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
393
406
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
394
407
|
# @return [ObjectRolesResponse]
|
@@ -401,6 +414,7 @@ module PulpcoreClient
|
|
401
414
|
# List roles assigned to this object.
|
402
415
|
# @param upstream_pulp_href [String]
|
403
416
|
# @param [Hash] opts the optional parameters
|
417
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
404
418
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
405
419
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
406
420
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -424,6 +438,7 @@ module PulpcoreClient
|
|
424
438
|
header_params = opts[:header_params] || {}
|
425
439
|
# HTTP header 'Accept' (if needed)
|
426
440
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
441
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
427
442
|
|
428
443
|
# form parameters
|
429
444
|
form_params = opts[:form_params] || {}
|
@@ -458,6 +473,7 @@ module PulpcoreClient
|
|
458
473
|
# List permissions available to the current user on this object.
|
459
474
|
# @param upstream_pulp_href [String]
|
460
475
|
# @param [Hash] opts the optional parameters
|
476
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
461
477
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
462
478
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
463
479
|
# @return [MyPermissionsResponse]
|
@@ -470,6 +486,7 @@ module PulpcoreClient
|
|
470
486
|
# List permissions available to the current user on this object.
|
471
487
|
# @param upstream_pulp_href [String]
|
472
488
|
# @param [Hash] opts the optional parameters
|
489
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
473
490
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
474
491
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
475
492
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -493,6 +510,7 @@ module PulpcoreClient
|
|
493
510
|
header_params = opts[:header_params] || {}
|
494
511
|
# HTTP header 'Accept' (if needed)
|
495
512
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
513
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
496
514
|
|
497
515
|
# form parameters
|
498
516
|
form_params = opts[:form_params] || {}
|
@@ -528,6 +546,7 @@ module PulpcoreClient
|
|
528
546
|
# @param upstream_pulp_href [String]
|
529
547
|
# @param patched_upstream_pulp [PatchedUpstreamPulp]
|
530
548
|
# @param [Hash] opts the optional parameters
|
549
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
531
550
|
# @return [UpstreamPulpResponse]
|
532
551
|
def partial_update(upstream_pulp_href, patched_upstream_pulp, opts = {})
|
533
552
|
data, _status_code, _headers = partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp, opts)
|
@@ -539,6 +558,7 @@ module PulpcoreClient
|
|
539
558
|
# @param upstream_pulp_href [String]
|
540
559
|
# @param patched_upstream_pulp [PatchedUpstreamPulp]
|
541
560
|
# @param [Hash] opts the optional parameters
|
561
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
542
562
|
# @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
|
543
563
|
def partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp, opts = {})
|
544
564
|
if @api_client.config.debugging
|
@@ -567,6 +587,7 @@ module PulpcoreClient
|
|
567
587
|
if !content_type.nil?
|
568
588
|
header_params['Content-Type'] = content_type
|
569
589
|
end
|
590
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
570
591
|
|
571
592
|
# form parameters
|
572
593
|
form_params = opts[:form_params] || {}
|
@@ -601,6 +622,7 @@ module PulpcoreClient
|
|
601
622
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
602
623
|
# @param upstream_pulp_href [String]
|
603
624
|
# @param [Hash] opts the optional parameters
|
625
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
604
626
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
605
627
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
606
628
|
# @return [UpstreamPulpResponse]
|
@@ -613,6 +635,7 @@ module PulpcoreClient
|
|
613
635
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
614
636
|
# @param upstream_pulp_href [String]
|
615
637
|
# @param [Hash] opts the optional parameters
|
638
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
616
639
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
617
640
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
618
641
|
# @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
|
@@ -636,6 +659,7 @@ module PulpcoreClient
|
|
636
659
|
header_params = opts[:header_params] || {}
|
637
660
|
# HTTP header 'Accept' (if needed)
|
638
661
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
662
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
639
663
|
|
640
664
|
# form parameters
|
641
665
|
form_params = opts[:form_params] || {}
|
@@ -671,6 +695,7 @@ module PulpcoreClient
|
|
671
695
|
# @param upstream_pulp_href [String]
|
672
696
|
# @param nested_role [NestedRole]
|
673
697
|
# @param [Hash] opts the optional parameters
|
698
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
674
699
|
# @return [NestedRoleResponse]
|
675
700
|
def remove_role(upstream_pulp_href, nested_role, opts = {})
|
676
701
|
data, _status_code, _headers = remove_role_with_http_info(upstream_pulp_href, nested_role, opts)
|
@@ -682,6 +707,7 @@ module PulpcoreClient
|
|
682
707
|
# @param upstream_pulp_href [String]
|
683
708
|
# @param nested_role [NestedRole]
|
684
709
|
# @param [Hash] opts the optional parameters
|
710
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
685
711
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
686
712
|
def remove_role_with_http_info(upstream_pulp_href, nested_role, opts = {})
|
687
713
|
if @api_client.config.debugging
|
@@ -710,6 +736,7 @@ module PulpcoreClient
|
|
710
736
|
if !content_type.nil?
|
711
737
|
header_params['Content-Type'] = content_type
|
712
738
|
end
|
739
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
713
740
|
|
714
741
|
# form parameters
|
715
742
|
form_params = opts[:form_params] || {}
|
@@ -744,6 +771,7 @@ module PulpcoreClient
|
|
744
771
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
745
772
|
# @param upstream_pulp_href [String]
|
746
773
|
# @param [Hash] opts the optional parameters
|
774
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
747
775
|
# @return [TaskGroupOperationResponse]
|
748
776
|
def replicate(upstream_pulp_href, opts = {})
|
749
777
|
data, _status_code, _headers = replicate_with_http_info(upstream_pulp_href, opts)
|
@@ -754,6 +782,7 @@ module PulpcoreClient
|
|
754
782
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
755
783
|
# @param upstream_pulp_href [String]
|
756
784
|
# @param [Hash] opts the optional parameters
|
785
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
757
786
|
# @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
|
758
787
|
def replicate_with_http_info(upstream_pulp_href, opts = {})
|
759
788
|
if @api_client.config.debugging
|
@@ -773,6 +802,7 @@ module PulpcoreClient
|
|
773
802
|
header_params = opts[:header_params] || {}
|
774
803
|
# HTTP header 'Accept' (if needed)
|
775
804
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
805
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
776
806
|
|
777
807
|
# form parameters
|
778
808
|
form_params = opts[:form_params] || {}
|
@@ -808,6 +838,7 @@ module PulpcoreClient
|
|
808
838
|
# @param upstream_pulp_href [String]
|
809
839
|
# @param upstream_pulp [UpstreamPulp]
|
810
840
|
# @param [Hash] opts the optional parameters
|
841
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
811
842
|
# @return [UpstreamPulpResponse]
|
812
843
|
def update(upstream_pulp_href, upstream_pulp, opts = {})
|
813
844
|
data, _status_code, _headers = update_with_http_info(upstream_pulp_href, upstream_pulp, opts)
|
@@ -819,6 +850,7 @@ module PulpcoreClient
|
|
819
850
|
# @param upstream_pulp_href [String]
|
820
851
|
# @param upstream_pulp [UpstreamPulp]
|
821
852
|
# @param [Hash] opts the optional parameters
|
853
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
822
854
|
# @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
|
823
855
|
def update_with_http_info(upstream_pulp_href, upstream_pulp, opts = {})
|
824
856
|
if @api_client.config.debugging
|
@@ -847,6 +879,7 @@ module PulpcoreClient
|
|
847
879
|
if !content_type.nil?
|
848
880
|
header_params['Content-Type'] = content_type
|
849
881
|
end
|
882
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
850
883
|
|
851
884
|
# form parameters
|
852
885
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpcoreClient
|
|
23
23
|
# ViewSet for User.
|
24
24
|
# @param user [User]
|
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 [UserResponse]
|
27
28
|
def create(user, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(user, opts)
|
@@ -33,6 +34,7 @@ module PulpcoreClient
|
|
33
34
|
# ViewSet for User.
|
34
35
|
# @param user [User]
|
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<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(user, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpcoreClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -91,6 +94,7 @@ module PulpcoreClient
|
|
91
94
|
# ViewSet for User.
|
92
95
|
# @param auth_user_href [String]
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [nil]
|
95
99
|
def delete(auth_user_href, opts = {})
|
96
100
|
delete_with_http_info(auth_user_href, opts)
|
@@ -101,6 +105,7 @@ module PulpcoreClient
|
|
101
105
|
# ViewSet for User.
|
102
106
|
# @param auth_user_href [String]
|
103
107
|
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
104
109
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
105
110
|
def delete_with_http_info(auth_user_href, opts = {})
|
106
111
|
if @api_client.config.debugging
|
@@ -118,6 +123,7 @@ module PulpcoreClient
|
|
118
123
|
|
119
124
|
# header parameters
|
120
125
|
header_params = opts[:header_params] || {}
|
126
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
121
127
|
|
122
128
|
# form parameters
|
123
129
|
form_params = opts[:form_params] || {}
|
@@ -151,6 +157,7 @@ module PulpcoreClient
|
|
151
157
|
# List users
|
152
158
|
# ViewSet for User.
|
153
159
|
# @param [Hash] opts the optional parameters
|
160
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
154
161
|
# @option opts [String] :email Filter results where email matches value
|
155
162
|
# @option opts [String] :email__contains Filter results where email contains value
|
156
163
|
# @option opts [String] :email__icontains Filter results where email contains value
|
@@ -191,6 +198,7 @@ module PulpcoreClient
|
|
191
198
|
# List users
|
192
199
|
# ViewSet for User.
|
193
200
|
# @param [Hash] opts the optional parameters
|
201
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
194
202
|
# @option opts [String] :email Filter results where email matches value
|
195
203
|
# @option opts [String] :email__contains Filter results where email contains value
|
196
204
|
# @option opts [String] :email__icontains Filter results where email contains value
|
@@ -272,6 +280,7 @@ module PulpcoreClient
|
|
272
280
|
header_params = opts[:header_params] || {}
|
273
281
|
# HTTP header 'Accept' (if needed)
|
274
282
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
283
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
275
284
|
|
276
285
|
# form parameters
|
277
286
|
form_params = opts[:form_params] || {}
|
@@ -307,6 +316,7 @@ module PulpcoreClient
|
|
307
316
|
# @param auth_user_href [String]
|
308
317
|
# @param patched_user [PatchedUser]
|
309
318
|
# @param [Hash] opts the optional parameters
|
319
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
310
320
|
# @return [UserResponse]
|
311
321
|
def partial_update(auth_user_href, patched_user, opts = {})
|
312
322
|
data, _status_code, _headers = partial_update_with_http_info(auth_user_href, patched_user, opts)
|
@@ -318,6 +328,7 @@ module PulpcoreClient
|
|
318
328
|
# @param auth_user_href [String]
|
319
329
|
# @param patched_user [PatchedUser]
|
320
330
|
# @param [Hash] opts the optional parameters
|
331
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
321
332
|
# @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
|
322
333
|
def partial_update_with_http_info(auth_user_href, patched_user, opts = {})
|
323
334
|
if @api_client.config.debugging
|
@@ -346,6 +357,7 @@ module PulpcoreClient
|
|
346
357
|
if !content_type.nil?
|
347
358
|
header_params['Content-Type'] = content_type
|
348
359
|
end
|
360
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
349
361
|
|
350
362
|
# form parameters
|
351
363
|
form_params = opts[:form_params] || {}
|
@@ -380,6 +392,7 @@ module PulpcoreClient
|
|
380
392
|
# ViewSet for User.
|
381
393
|
# @param auth_user_href [String]
|
382
394
|
# @param [Hash] opts the optional parameters
|
395
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
383
396
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
384
397
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
385
398
|
# @return [UserResponse]
|
@@ -392,6 +405,7 @@ module PulpcoreClient
|
|
392
405
|
# ViewSet for User.
|
393
406
|
# @param auth_user_href [String]
|
394
407
|
# @param [Hash] opts the optional parameters
|
408
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
395
409
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
396
410
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
397
411
|
# @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
|
@@ -415,6 +429,7 @@ module PulpcoreClient
|
|
415
429
|
header_params = opts[:header_params] || {}
|
416
430
|
# HTTP header 'Accept' (if needed)
|
417
431
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
432
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
418
433
|
|
419
434
|
# form parameters
|
420
435
|
form_params = opts[:form_params] || {}
|
@@ -450,6 +465,7 @@ module PulpcoreClient
|
|
450
465
|
# @param auth_user_href [String]
|
451
466
|
# @param user [User]
|
452
467
|
# @param [Hash] opts the optional parameters
|
468
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
453
469
|
# @return [UserResponse]
|
454
470
|
def update(auth_user_href, user, opts = {})
|
455
471
|
data, _status_code, _headers = update_with_http_info(auth_user_href, user, opts)
|
@@ -461,6 +477,7 @@ module PulpcoreClient
|
|
461
477
|
# @param auth_user_href [String]
|
462
478
|
# @param user [User]
|
463
479
|
# @param [Hash] opts the optional parameters
|
480
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
464
481
|
# @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
|
465
482
|
def update_with_http_info(auth_user_href, user, opts = {})
|
466
483
|
if @api_client.config.debugging
|
@@ -489,6 +506,7 @@ module PulpcoreClient
|
|
489
506
|
if !content_type.nil?
|
490
507
|
header_params['Content-Type'] = content_type
|
491
508
|
end
|
509
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
492
510
|
|
493
511
|
# form parameters
|
494
512
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
24
24
|
# @param auth_user_href [String]
|
25
25
|
# @param user_role [UserRole]
|
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 [UserRoleResponse]
|
28
29
|
def create(auth_user_href, user_role, opts = {})
|
29
30
|
data, _status_code, _headers = create_with_http_info(auth_user_href, user_role, opts)
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
35
36
|
# @param auth_user_href [String]
|
36
37
|
# @param user_role [UserRole]
|
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<(UserRoleResponse, Integer, Hash)>] UserRoleResponse data, response status code and response headers
|
39
41
|
def create_with_http_info(auth_user_href, user_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpcoreClient
|
|
63
65
|
if !content_type.nil?
|
64
66
|
header_params['Content-Type'] = content_type
|
65
67
|
end
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
66
69
|
|
67
70
|
# form parameters
|
68
71
|
form_params = opts[:form_params] || {}
|
@@ -97,6 +100,7 @@ module PulpcoreClient
|
|
97
100
|
# ViewSet for UserRole.
|
98
101
|
# @param auth_users_user_role_href [String]
|
99
102
|
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
104
|
# @return [nil]
|
101
105
|
def delete(auth_users_user_role_href, opts = {})
|
102
106
|
delete_with_http_info(auth_users_user_role_href, opts)
|
@@ -107,6 +111,7 @@ module PulpcoreClient
|
|
107
111
|
# ViewSet for UserRole.
|
108
112
|
# @param auth_users_user_role_href [String]
|
109
113
|
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
110
115
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
111
116
|
def delete_with_http_info(auth_users_user_role_href, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -124,6 +129,7 @@ module PulpcoreClient
|
|
124
129
|
|
125
130
|
# header parameters
|
126
131
|
header_params = opts[:header_params] || {}
|
132
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
127
133
|
|
128
134
|
# form parameters
|
129
135
|
form_params = opts[:form_params] || {}
|
@@ -158,6 +164,7 @@ module PulpcoreClient
|
|
158
164
|
# ViewSet for UserRole.
|
159
165
|
# @param auth_user_href [String]
|
160
166
|
# @param [Hash] opts the optional parameters
|
167
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
161
168
|
# @option opts [String] :content_object content_object
|
162
169
|
# @option opts [String] :domain Foreign Key referenced by HREF
|
163
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -184,6 +191,7 @@ module PulpcoreClient
|
|
184
191
|
# ViewSet for UserRole.
|
185
192
|
# @param auth_user_href [String]
|
186
193
|
# @param [Hash] opts the optional parameters
|
194
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
187
195
|
# @option opts [String] :content_object content_object
|
188
196
|
# @option opts [String] :domain Foreign Key referenced by HREF
|
189
197
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -239,6 +247,7 @@ module PulpcoreClient
|
|
239
247
|
header_params = opts[:header_params] || {}
|
240
248
|
# HTTP header 'Accept' (if needed)
|
241
249
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
250
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
242
251
|
|
243
252
|
# form parameters
|
244
253
|
form_params = opts[:form_params] || {}
|
@@ -273,6 +282,7 @@ module PulpcoreClient
|
|
273
282
|
# ViewSet for UserRole.
|
274
283
|
# @param auth_users_user_role_href [String]
|
275
284
|
# @param [Hash] opts the optional parameters
|
285
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
276
286
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
277
287
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
278
288
|
# @return [UserRoleResponse]
|
@@ -285,6 +295,7 @@ module PulpcoreClient
|
|
285
295
|
# ViewSet for UserRole.
|
286
296
|
# @param auth_users_user_role_href [String]
|
287
297
|
# @param [Hash] opts the optional parameters
|
298
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
288
299
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
289
300
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
290
301
|
# @return [Array<(UserRoleResponse, Integer, Hash)>] UserRoleResponse data, response status code and response headers
|
@@ -308,6 +319,7 @@ module PulpcoreClient
|
|
308
319
|
header_params = opts[:header_params] || {}
|
309
320
|
# HTTP header 'Accept' (if needed)
|
310
321
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
322
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
311
323
|
|
312
324
|
# form parameters
|
313
325
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
22
22
|
# List workers
|
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 [Time] :last_heartbeat Filter results where last_heartbeat matches value
|
26
27
|
# @option opts [Time] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
|
27
28
|
# @option opts [Time] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
|
@@ -58,6 +59,7 @@ module PulpcoreClient
|
|
58
59
|
# List workers
|
59
60
|
# 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
61
|
# @param [Hash] opts the optional parameters
|
62
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
61
63
|
# @option opts [Time] :last_heartbeat Filter results where last_heartbeat matches value
|
62
64
|
# @option opts [Time] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
|
63
65
|
# @option opts [Time] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
|
@@ -131,6 +133,7 @@ module PulpcoreClient
|
|
131
133
|
header_params = opts[:header_params] || {}
|
132
134
|
# HTTP header 'Accept' (if needed)
|
133
135
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
136
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
134
137
|
|
135
138
|
# form parameters
|
136
139
|
form_params = opts[:form_params] || {}
|
@@ -165,6 +168,7 @@ module PulpcoreClient
|
|
165
168
|
# 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.
|
166
169
|
# @param worker_href [String]
|
167
170
|
# @param [Hash] opts the optional parameters
|
171
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
172
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
169
173
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
170
174
|
# @return [WorkerResponse]
|
@@ -177,6 +181,7 @@ module PulpcoreClient
|
|
177
181
|
# 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.
|
178
182
|
# @param worker_href [String]
|
179
183
|
# @param [Hash] opts the optional parameters
|
184
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
180
185
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
181
186
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
182
187
|
# @return [Array<(WorkerResponse, Integer, Hash)>] WorkerResponse data, response status code and response headers
|
@@ -200,6 +205,7 @@ module PulpcoreClient
|
|
200
205
|
header_params = opts[:header_params] || {}
|
201
206
|
# HTTP header 'Accept' (if needed)
|
202
207
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
208
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
203
209
|
|
204
210
|
# form parameters
|
205
211
|
form_params = opts[:form_params] || {}
|