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
data/docs/RolesApi.md
CHANGED
@@ -14,7 +14,7 @@ All URIs are relative to *http://localhost:24817*
|
|
14
14
|
|
15
15
|
## create
|
16
16
|
|
17
|
-
> <RoleResponse> create(role)
|
17
|
+
> <RoleResponse> create(role, opts)
|
18
18
|
|
19
19
|
Create a role
|
20
20
|
|
@@ -34,10 +34,13 @@ end
|
|
34
34
|
|
35
35
|
api_instance = PulpcoreClient::RolesApi.new
|
36
36
|
role = PulpcoreClient::Role.new({name: 'name_example', permissions: ['permissions_example']}) # Role |
|
37
|
+
opts = {
|
38
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
39
|
+
}
|
37
40
|
|
38
41
|
begin
|
39
42
|
# Create a role
|
40
|
-
result = api_instance.create(role)
|
43
|
+
result = api_instance.create(role, opts)
|
41
44
|
p result
|
42
45
|
rescue PulpcoreClient::ApiError => e
|
43
46
|
puts "Error when calling RolesApi->create: #{e}"
|
@@ -48,12 +51,12 @@ end
|
|
48
51
|
|
49
52
|
This returns an Array which contains the response data, status code and headers.
|
50
53
|
|
51
|
-
> <Array(<RoleResponse>, Integer, Hash)> create_with_http_info(role)
|
54
|
+
> <Array(<RoleResponse>, Integer, Hash)> create_with_http_info(role, opts)
|
52
55
|
|
53
56
|
```ruby
|
54
57
|
begin
|
55
58
|
# Create a role
|
56
|
-
data, status_code, headers = api_instance.create_with_http_info(role)
|
59
|
+
data, status_code, headers = api_instance.create_with_http_info(role, opts)
|
57
60
|
p status_code # => 2xx
|
58
61
|
p headers # => { ... }
|
59
62
|
p data # => <RoleResponse>
|
@@ -67,6 +70,7 @@ end
|
|
67
70
|
| Name | Type | Description | Notes |
|
68
71
|
| ---- | ---- | ----------- | ----- |
|
69
72
|
| **role** | [**Role**](Role.md) | | |
|
73
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
70
74
|
|
71
75
|
### Return type
|
72
76
|
|
@@ -84,7 +88,7 @@ end
|
|
84
88
|
|
85
89
|
## delete
|
86
90
|
|
87
|
-
> delete(role_href)
|
91
|
+
> delete(role_href, opts)
|
88
92
|
|
89
93
|
Delete a role
|
90
94
|
|
@@ -104,10 +108,13 @@ end
|
|
104
108
|
|
105
109
|
api_instance = PulpcoreClient::RolesApi.new
|
106
110
|
role_href = 'role_href_example' # String |
|
111
|
+
opts = {
|
112
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
113
|
+
}
|
107
114
|
|
108
115
|
begin
|
109
116
|
# Delete a role
|
110
|
-
api_instance.delete(role_href)
|
117
|
+
api_instance.delete(role_href, opts)
|
111
118
|
rescue PulpcoreClient::ApiError => e
|
112
119
|
puts "Error when calling RolesApi->delete: #{e}"
|
113
120
|
end
|
@@ -117,12 +124,12 @@ end
|
|
117
124
|
|
118
125
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
119
126
|
|
120
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(role_href)
|
127
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(role_href, opts)
|
121
128
|
|
122
129
|
```ruby
|
123
130
|
begin
|
124
131
|
# Delete a role
|
125
|
-
data, status_code, headers = api_instance.delete_with_http_info(role_href)
|
132
|
+
data, status_code, headers = api_instance.delete_with_http_info(role_href, opts)
|
126
133
|
p status_code # => 2xx
|
127
134
|
p headers # => { ... }
|
128
135
|
p data # => nil
|
@@ -136,6 +143,7 @@ end
|
|
136
143
|
| Name | Type | Description | Notes |
|
137
144
|
| ---- | ---- | ----------- | ----- |
|
138
145
|
| **role_href** | **String** | | |
|
146
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
139
147
|
|
140
148
|
### Return type
|
141
149
|
|
@@ -173,6 +181,7 @@ end
|
|
173
181
|
|
174
182
|
api_instance = PulpcoreClient::RolesApi.new
|
175
183
|
opts = {
|
184
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
176
185
|
contains_permission: ['inner_example'], # Array<String> | Filter roles that have any of the permissions in the list.
|
177
186
|
description: 'description_example', # String | Filter results where description matches value
|
178
187
|
description__contains: 'description__contains_example', # String | Filter results where description contains value
|
@@ -231,6 +240,7 @@ end
|
|
231
240
|
|
232
241
|
| Name | Type | Description | Notes |
|
233
242
|
| ---- | ---- | ----------- | ----- |
|
243
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
234
244
|
| **contains_permission** | [**Array<String>**](String.md) | Filter roles that have any of the permissions in the list. | [optional] |
|
235
245
|
| **description** | **String** | Filter results where description matches value | [optional] |
|
236
246
|
| **description__contains** | **String** | Filter results where description contains value | [optional] |
|
@@ -273,7 +283,7 @@ end
|
|
273
283
|
|
274
284
|
## partial_update
|
275
285
|
|
276
|
-
> <RoleResponse> partial_update(role_href, patched_role)
|
286
|
+
> <RoleResponse> partial_update(role_href, patched_role, opts)
|
277
287
|
|
278
288
|
Update a role
|
279
289
|
|
@@ -294,10 +304,13 @@ end
|
|
294
304
|
api_instance = PulpcoreClient::RolesApi.new
|
295
305
|
role_href = 'role_href_example' # String |
|
296
306
|
patched_role = PulpcoreClient::PatchedRole.new # PatchedRole |
|
307
|
+
opts = {
|
308
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
309
|
+
}
|
297
310
|
|
298
311
|
begin
|
299
312
|
# Update a role
|
300
|
-
result = api_instance.partial_update(role_href, patched_role)
|
313
|
+
result = api_instance.partial_update(role_href, patched_role, opts)
|
301
314
|
p result
|
302
315
|
rescue PulpcoreClient::ApiError => e
|
303
316
|
puts "Error when calling RolesApi->partial_update: #{e}"
|
@@ -308,12 +321,12 @@ end
|
|
308
321
|
|
309
322
|
This returns an Array which contains the response data, status code and headers.
|
310
323
|
|
311
|
-
> <Array(<RoleResponse>, Integer, Hash)> partial_update_with_http_info(role_href, patched_role)
|
324
|
+
> <Array(<RoleResponse>, Integer, Hash)> partial_update_with_http_info(role_href, patched_role, opts)
|
312
325
|
|
313
326
|
```ruby
|
314
327
|
begin
|
315
328
|
# Update a role
|
316
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(role_href, patched_role)
|
329
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(role_href, patched_role, opts)
|
317
330
|
p status_code # => 2xx
|
318
331
|
p headers # => { ... }
|
319
332
|
p data # => <RoleResponse>
|
@@ -328,6 +341,7 @@ end
|
|
328
341
|
| ---- | ---- | ----------- | ----- |
|
329
342
|
| **role_href** | **String** | | |
|
330
343
|
| **patched_role** | [**PatchedRole**](PatchedRole.md) | | |
|
344
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
331
345
|
|
332
346
|
### Return type
|
333
347
|
|
@@ -366,6 +380,7 @@ end
|
|
366
380
|
api_instance = PulpcoreClient::RolesApi.new
|
367
381
|
role_href = 'role_href_example' # String |
|
368
382
|
opts = {
|
383
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
369
384
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
370
385
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
371
386
|
}
|
@@ -402,6 +417,7 @@ end
|
|
402
417
|
| Name | Type | Description | Notes |
|
403
418
|
| ---- | ---- | ----------- | ----- |
|
404
419
|
| **role_href** | **String** | | |
|
420
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
405
421
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
406
422
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
407
423
|
|
@@ -421,7 +437,7 @@ end
|
|
421
437
|
|
422
438
|
## update
|
423
439
|
|
424
|
-
> <RoleResponse> update(role_href, role)
|
440
|
+
> <RoleResponse> update(role_href, role, opts)
|
425
441
|
|
426
442
|
Update a role
|
427
443
|
|
@@ -442,10 +458,13 @@ end
|
|
442
458
|
api_instance = PulpcoreClient::RolesApi.new
|
443
459
|
role_href = 'role_href_example' # String |
|
444
460
|
role = PulpcoreClient::Role.new({name: 'name_example', permissions: ['permissions_example']}) # Role |
|
461
|
+
opts = {
|
462
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
463
|
+
}
|
445
464
|
|
446
465
|
begin
|
447
466
|
# Update a role
|
448
|
-
result = api_instance.update(role_href, role)
|
467
|
+
result = api_instance.update(role_href, role, opts)
|
449
468
|
p result
|
450
469
|
rescue PulpcoreClient::ApiError => e
|
451
470
|
puts "Error when calling RolesApi->update: #{e}"
|
@@ -456,12 +475,12 @@ end
|
|
456
475
|
|
457
476
|
This returns an Array which contains the response data, status code and headers.
|
458
477
|
|
459
|
-
> <Array(<RoleResponse>, Integer, Hash)> update_with_http_info(role_href, role)
|
478
|
+
> <Array(<RoleResponse>, Integer, Hash)> update_with_http_info(role_href, role, opts)
|
460
479
|
|
461
480
|
```ruby
|
462
481
|
begin
|
463
482
|
# Update a role
|
464
|
-
data, status_code, headers = api_instance.update_with_http_info(role_href, role)
|
483
|
+
data, status_code, headers = api_instance.update_with_http_info(role_href, role, opts)
|
465
484
|
p status_code # => 2xx
|
466
485
|
p headers # => { ... }
|
467
486
|
p data # => <RoleResponse>
|
@@ -476,6 +495,7 @@ end
|
|
476
495
|
| ---- | ---- | ----------- | ----- |
|
477
496
|
| **role_href** | **String** | | |
|
478
497
|
| **role** | [**Role**](Role.md) | | |
|
498
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
479
499
|
|
480
500
|
### Return type
|
481
501
|
|
data/docs/SigningServicesApi.md
CHANGED
@@ -30,6 +30,7 @@ end
|
|
30
30
|
|
31
31
|
api_instance = PulpcoreClient::SigningServicesApi.new
|
32
32
|
opts = {
|
33
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
33
34
|
limit: 56, # Integer | Number of results to return per page.
|
34
35
|
name: 'name_example', # String | Filter results where name matches value
|
35
36
|
offset: 56, # Integer | The initial index from which to return the results.
|
@@ -73,6 +74,7 @@ end
|
|
73
74
|
|
74
75
|
| Name | Type | Description | Notes |
|
75
76
|
| ---- | ---- | ----------- | ----- |
|
77
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
76
78
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
77
79
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
78
80
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
@@ -121,6 +123,7 @@ end
|
|
121
123
|
api_instance = PulpcoreClient::SigningServicesApi.new
|
122
124
|
signing_service_href = 'signing_service_href_example' # String |
|
123
125
|
opts = {
|
126
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
124
127
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
125
128
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
126
129
|
}
|
@@ -157,6 +160,7 @@ end
|
|
157
160
|
| Name | Type | Description | Notes |
|
158
161
|
| ---- | ---- | ----------- | ----- |
|
159
162
|
| **signing_service_href** | **String** | | |
|
163
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
160
164
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
161
165
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
162
166
|
|
data/docs/StatusApi.md
CHANGED
@@ -9,7 +9,7 @@ All URIs are relative to *http://localhost:24817*
|
|
9
9
|
|
10
10
|
## status_read
|
11
11
|
|
12
|
-
> <StatusResponse> status_read
|
12
|
+
> <StatusResponse> status_read(opts)
|
13
13
|
|
14
14
|
Inspect status of Pulp
|
15
15
|
|
@@ -22,10 +22,15 @@ require 'time'
|
|
22
22
|
require 'pulpcore_client'
|
23
23
|
|
24
24
|
api_instance = PulpcoreClient::StatusApi.new
|
25
|
+
opts = {
|
26
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
27
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
28
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
29
|
+
}
|
25
30
|
|
26
31
|
begin
|
27
32
|
# Inspect status of Pulp
|
28
|
-
result = api_instance.status_read
|
33
|
+
result = api_instance.status_read(opts)
|
29
34
|
p result
|
30
35
|
rescue PulpcoreClient::ApiError => e
|
31
36
|
puts "Error when calling StatusApi->status_read: #{e}"
|
@@ -36,12 +41,12 @@ end
|
|
36
41
|
|
37
42
|
This returns an Array which contains the response data, status code and headers.
|
38
43
|
|
39
|
-
> <Array(<StatusResponse>, Integer, Hash)> status_read_with_http_info
|
44
|
+
> <Array(<StatusResponse>, Integer, Hash)> status_read_with_http_info(opts)
|
40
45
|
|
41
46
|
```ruby
|
42
47
|
begin
|
43
48
|
# Inspect status of Pulp
|
44
|
-
data, status_code, headers = api_instance.status_read_with_http_info
|
49
|
+
data, status_code, headers = api_instance.status_read_with_http_info(opts)
|
45
50
|
p status_code # => 2xx
|
46
51
|
p headers # => { ... }
|
47
52
|
p data # => <StatusResponse>
|
@@ -52,7 +57,11 @@ end
|
|
52
57
|
|
53
58
|
### Parameters
|
54
59
|
|
55
|
-
|
60
|
+
| Name | Type | Description | Notes |
|
61
|
+
| ---- | ---- | ----------- | ----- |
|
62
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
63
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
64
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
56
65
|
|
57
66
|
### Return type
|
58
67
|
|
data/docs/TaskGroupsApi.md
CHANGED
@@ -29,6 +29,7 @@ end
|
|
29
29
|
|
30
30
|
api_instance = PulpcoreClient::TaskGroupsApi.new
|
31
31
|
opts = {
|
32
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
32
33
|
limit: 56, # Integer | Number of results to return per page.
|
33
34
|
offset: 56, # Integer | The initial index from which to return the results.
|
34
35
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
@@ -66,6 +67,7 @@ end
|
|
66
67
|
|
67
68
|
| Name | Type | Description | Notes |
|
68
69
|
| ---- | ---- | ----------- | ----- |
|
70
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
69
71
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
70
72
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
71
73
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
@@ -106,6 +108,7 @@ end
|
|
106
108
|
api_instance = PulpcoreClient::TaskGroupsApi.new
|
107
109
|
task_group_href = 'task_group_href_example' # String |
|
108
110
|
opts = {
|
111
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
109
112
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
110
113
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
111
114
|
}
|
@@ -142,6 +145,7 @@ end
|
|
142
145
|
| Name | Type | Description | Notes |
|
143
146
|
| ---- | ---- | ----------- | ----- |
|
144
147
|
| **task_group_href** | **String** | | |
|
148
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
145
149
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
146
150
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
147
151
|
|
@@ -161,7 +165,7 @@ end
|
|
161
165
|
|
162
166
|
## task_groups_cancel
|
163
167
|
|
164
|
-
> <TaskGroupResponse> task_groups_cancel(task_group_href, patched_task_cancel)
|
168
|
+
> <TaskGroupResponse> task_groups_cancel(task_group_href, patched_task_cancel, opts)
|
165
169
|
|
166
170
|
Cancel a task group
|
167
171
|
|
@@ -182,10 +186,13 @@ end
|
|
182
186
|
api_instance = PulpcoreClient::TaskGroupsApi.new
|
183
187
|
task_group_href = 'task_group_href_example' # String |
|
184
188
|
patched_task_cancel = PulpcoreClient::PatchedTaskCancel.new # PatchedTaskCancel |
|
189
|
+
opts = {
|
190
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
191
|
+
}
|
185
192
|
|
186
193
|
begin
|
187
194
|
# Cancel a task group
|
188
|
-
result = api_instance.task_groups_cancel(task_group_href, patched_task_cancel)
|
195
|
+
result = api_instance.task_groups_cancel(task_group_href, patched_task_cancel, opts)
|
189
196
|
p result
|
190
197
|
rescue PulpcoreClient::ApiError => e
|
191
198
|
puts "Error when calling TaskGroupsApi->task_groups_cancel: #{e}"
|
@@ -196,12 +203,12 @@ end
|
|
196
203
|
|
197
204
|
This returns an Array which contains the response data, status code and headers.
|
198
205
|
|
199
|
-
> <Array(<TaskGroupResponse>, Integer, Hash)> task_groups_cancel_with_http_info(task_group_href, patched_task_cancel)
|
206
|
+
> <Array(<TaskGroupResponse>, Integer, Hash)> task_groups_cancel_with_http_info(task_group_href, patched_task_cancel, opts)
|
200
207
|
|
201
208
|
```ruby
|
202
209
|
begin
|
203
210
|
# Cancel a task group
|
204
|
-
data, status_code, headers = api_instance.task_groups_cancel_with_http_info(task_group_href, patched_task_cancel)
|
211
|
+
data, status_code, headers = api_instance.task_groups_cancel_with_http_info(task_group_href, patched_task_cancel, opts)
|
205
212
|
p status_code # => 2xx
|
206
213
|
p headers # => { ... }
|
207
214
|
p data # => <TaskGroupResponse>
|
@@ -216,6 +223,7 @@ end
|
|
216
223
|
| ---- | ---- | ----------- | ----- |
|
217
224
|
| **task_group_href** | **String** | | |
|
218
225
|
| **patched_task_cancel** | [**PatchedTaskCancel**](PatchedTaskCancel.md) | | |
|
226
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
219
227
|
|
220
228
|
### Return type
|
221
229
|
|
data/docs/TaskSchedulesApi.md
CHANGED
@@ -14,7 +14,7 @@ All URIs are relative to *http://localhost:24817*
|
|
14
14
|
|
15
15
|
## add_role
|
16
16
|
|
17
|
-
> <NestedRoleResponse> add_role(task_schedule_href, nested_role)
|
17
|
+
> <NestedRoleResponse> add_role(task_schedule_href, nested_role, opts)
|
18
18
|
|
19
19
|
Add a role
|
20
20
|
|
@@ -35,10 +35,13 @@ end
|
|
35
35
|
api_instance = PulpcoreClient::TaskSchedulesApi.new
|
36
36
|
task_schedule_href = 'task_schedule_href_example' # String |
|
37
37
|
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
38
|
+
opts = {
|
39
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
40
|
+
}
|
38
41
|
|
39
42
|
begin
|
40
43
|
# Add a role
|
41
|
-
result = api_instance.add_role(task_schedule_href, nested_role)
|
44
|
+
result = api_instance.add_role(task_schedule_href, nested_role, opts)
|
42
45
|
p result
|
43
46
|
rescue PulpcoreClient::ApiError => e
|
44
47
|
puts "Error when calling TaskSchedulesApi->add_role: #{e}"
|
@@ -49,12 +52,12 @@ end
|
|
49
52
|
|
50
53
|
This returns an Array which contains the response data, status code and headers.
|
51
54
|
|
52
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(task_schedule_href, nested_role)
|
55
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(task_schedule_href, nested_role, opts)
|
53
56
|
|
54
57
|
```ruby
|
55
58
|
begin
|
56
59
|
# Add a role
|
57
|
-
data, status_code, headers = api_instance.add_role_with_http_info(task_schedule_href, nested_role)
|
60
|
+
data, status_code, headers = api_instance.add_role_with_http_info(task_schedule_href, nested_role, opts)
|
58
61
|
p status_code # => 2xx
|
59
62
|
p headers # => { ... }
|
60
63
|
p data # => <NestedRoleResponse>
|
@@ -69,6 +72,7 @@ end
|
|
69
72
|
| ---- | ---- | ----------- | ----- |
|
70
73
|
| **task_schedule_href** | **String** | | |
|
71
74
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
75
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
72
76
|
|
73
77
|
### Return type
|
74
78
|
|
@@ -106,6 +110,7 @@ end
|
|
106
110
|
|
107
111
|
api_instance = PulpcoreClient::TaskSchedulesApi.new
|
108
112
|
opts = {
|
113
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
109
114
|
limit: 56, # Integer | Number of results to return per page.
|
110
115
|
name: 'name_example', # String | Filter results where name matches value
|
111
116
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -152,6 +157,7 @@ end
|
|
152
157
|
|
153
158
|
| Name | Type | Description | Notes |
|
154
159
|
| ---- | ---- | ----------- | ----- |
|
160
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
155
161
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
156
162
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
157
163
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -203,6 +209,7 @@ end
|
|
203
209
|
api_instance = PulpcoreClient::TaskSchedulesApi.new
|
204
210
|
task_schedule_href = 'task_schedule_href_example' # String |
|
205
211
|
opts = {
|
212
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
206
213
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
207
214
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
208
215
|
}
|
@@ -239,6 +246,7 @@ end
|
|
239
246
|
| Name | Type | Description | Notes |
|
240
247
|
| ---- | ---- | ----------- | ----- |
|
241
248
|
| **task_schedule_href** | **String** | | |
|
249
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
242
250
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
243
251
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
244
252
|
|
@@ -279,6 +287,7 @@ end
|
|
279
287
|
api_instance = PulpcoreClient::TaskSchedulesApi.new
|
280
288
|
task_schedule_href = 'task_schedule_href_example' # String |
|
281
289
|
opts = {
|
290
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
282
291
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
283
292
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
284
293
|
}
|
@@ -315,6 +324,7 @@ end
|
|
315
324
|
| Name | Type | Description | Notes |
|
316
325
|
| ---- | ---- | ----------- | ----- |
|
317
326
|
| **task_schedule_href** | **String** | | |
|
327
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
318
328
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
319
329
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
320
330
|
|
@@ -355,6 +365,7 @@ end
|
|
355
365
|
api_instance = PulpcoreClient::TaskSchedulesApi.new
|
356
366
|
task_schedule_href = 'task_schedule_href_example' # String |
|
357
367
|
opts = {
|
368
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
358
369
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
359
370
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
360
371
|
}
|
@@ -391,6 +402,7 @@ end
|
|
391
402
|
| Name | Type | Description | Notes |
|
392
403
|
| ---- | ---- | ----------- | ----- |
|
393
404
|
| **task_schedule_href** | **String** | | |
|
405
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
394
406
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
395
407
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
396
408
|
|
@@ -410,7 +422,7 @@ end
|
|
410
422
|
|
411
423
|
## remove_role
|
412
424
|
|
413
|
-
> <NestedRoleResponse> remove_role(task_schedule_href, nested_role)
|
425
|
+
> <NestedRoleResponse> remove_role(task_schedule_href, nested_role, opts)
|
414
426
|
|
415
427
|
Remove a role
|
416
428
|
|
@@ -431,10 +443,13 @@ end
|
|
431
443
|
api_instance = PulpcoreClient::TaskSchedulesApi.new
|
432
444
|
task_schedule_href = 'task_schedule_href_example' # String |
|
433
445
|
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
446
|
+
opts = {
|
447
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
448
|
+
}
|
434
449
|
|
435
450
|
begin
|
436
451
|
# Remove a role
|
437
|
-
result = api_instance.remove_role(task_schedule_href, nested_role)
|
452
|
+
result = api_instance.remove_role(task_schedule_href, nested_role, opts)
|
438
453
|
p result
|
439
454
|
rescue PulpcoreClient::ApiError => e
|
440
455
|
puts "Error when calling TaskSchedulesApi->remove_role: #{e}"
|
@@ -445,12 +460,12 @@ end
|
|
445
460
|
|
446
461
|
This returns an Array which contains the response data, status code and headers.
|
447
462
|
|
448
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(task_schedule_href, nested_role)
|
463
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(task_schedule_href, nested_role, opts)
|
449
464
|
|
450
465
|
```ruby
|
451
466
|
begin
|
452
467
|
# Remove a role
|
453
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(task_schedule_href, nested_role)
|
468
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(task_schedule_href, nested_role, opts)
|
454
469
|
p status_code # => 2xx
|
455
470
|
p headers # => { ... }
|
456
471
|
p data # => <NestedRoleResponse>
|
@@ -465,6 +480,7 @@ end
|
|
465
480
|
| ---- | ---- | ----------- | ----- |
|
466
481
|
| **task_schedule_href** | **String** | | |
|
467
482
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
483
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
468
484
|
|
469
485
|
### Return type
|
470
486
|
|