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/UpstreamPulpsApi.md
CHANGED
@@ -19,7 +19,7 @@ All URIs are relative to *http://localhost:24817*
|
|
19
19
|
|
20
20
|
## add_role
|
21
21
|
|
22
|
-
> <NestedRoleResponse> add_role(upstream_pulp_href, nested_role)
|
22
|
+
> <NestedRoleResponse> add_role(upstream_pulp_href, nested_role, opts)
|
23
23
|
|
24
24
|
Add a role
|
25
25
|
|
@@ -40,10 +40,13 @@ end
|
|
40
40
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
41
41
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
42
42
|
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
43
|
+
opts = {
|
44
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
45
|
+
}
|
43
46
|
|
44
47
|
begin
|
45
48
|
# Add a role
|
46
|
-
result = api_instance.add_role(upstream_pulp_href, nested_role)
|
49
|
+
result = api_instance.add_role(upstream_pulp_href, nested_role, opts)
|
47
50
|
p result
|
48
51
|
rescue PulpcoreClient::ApiError => e
|
49
52
|
puts "Error when calling UpstreamPulpsApi->add_role: #{e}"
|
@@ -54,12 +57,12 @@ end
|
|
54
57
|
|
55
58
|
This returns an Array which contains the response data, status code and headers.
|
56
59
|
|
57
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(upstream_pulp_href, nested_role)
|
60
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(upstream_pulp_href, nested_role, opts)
|
58
61
|
|
59
62
|
```ruby
|
60
63
|
begin
|
61
64
|
# Add a role
|
62
|
-
data, status_code, headers = api_instance.add_role_with_http_info(upstream_pulp_href, nested_role)
|
65
|
+
data, status_code, headers = api_instance.add_role_with_http_info(upstream_pulp_href, nested_role, opts)
|
63
66
|
p status_code # => 2xx
|
64
67
|
p headers # => { ... }
|
65
68
|
p data # => <NestedRoleResponse>
|
@@ -74,6 +77,7 @@ end
|
|
74
77
|
| ---- | ---- | ----------- | ----- |
|
75
78
|
| **upstream_pulp_href** | **String** | | |
|
76
79
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
80
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
77
81
|
|
78
82
|
### Return type
|
79
83
|
|
@@ -91,7 +95,7 @@ end
|
|
91
95
|
|
92
96
|
## create
|
93
97
|
|
94
|
-
> <UpstreamPulpResponse> create(upstream_pulp)
|
98
|
+
> <UpstreamPulpResponse> create(upstream_pulp, opts)
|
95
99
|
|
96
100
|
Create an upstream pulp
|
97
101
|
|
@@ -111,10 +115,13 @@ end
|
|
111
115
|
|
112
116
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
113
117
|
upstream_pulp = PulpcoreClient::UpstreamPulp.new({name: 'name_example', base_url: 'base_url_example', api_root: 'api_root_example'}) # UpstreamPulp |
|
118
|
+
opts = {
|
119
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
120
|
+
}
|
114
121
|
|
115
122
|
begin
|
116
123
|
# Create an upstream pulp
|
117
|
-
result = api_instance.create(upstream_pulp)
|
124
|
+
result = api_instance.create(upstream_pulp, opts)
|
118
125
|
p result
|
119
126
|
rescue PulpcoreClient::ApiError => e
|
120
127
|
puts "Error when calling UpstreamPulpsApi->create: #{e}"
|
@@ -125,12 +132,12 @@ end
|
|
125
132
|
|
126
133
|
This returns an Array which contains the response data, status code and headers.
|
127
134
|
|
128
|
-
> <Array(<UpstreamPulpResponse>, Integer, Hash)> create_with_http_info(upstream_pulp)
|
135
|
+
> <Array(<UpstreamPulpResponse>, Integer, Hash)> create_with_http_info(upstream_pulp, opts)
|
129
136
|
|
130
137
|
```ruby
|
131
138
|
begin
|
132
139
|
# Create an upstream pulp
|
133
|
-
data, status_code, headers = api_instance.create_with_http_info(upstream_pulp)
|
140
|
+
data, status_code, headers = api_instance.create_with_http_info(upstream_pulp, opts)
|
134
141
|
p status_code # => 2xx
|
135
142
|
p headers # => { ... }
|
136
143
|
p data # => <UpstreamPulpResponse>
|
@@ -144,6 +151,7 @@ end
|
|
144
151
|
| Name | Type | Description | Notes |
|
145
152
|
| ---- | ---- | ----------- | ----- |
|
146
153
|
| **upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md) | | |
|
154
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
147
155
|
|
148
156
|
### Return type
|
149
157
|
|
@@ -161,7 +169,7 @@ end
|
|
161
169
|
|
162
170
|
## delete
|
163
171
|
|
164
|
-
> delete(upstream_pulp_href)
|
172
|
+
> delete(upstream_pulp_href, opts)
|
165
173
|
|
166
174
|
Delete an upstream pulp
|
167
175
|
|
@@ -181,10 +189,13 @@ end
|
|
181
189
|
|
182
190
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
183
191
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
192
|
+
opts = {
|
193
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
194
|
+
}
|
184
195
|
|
185
196
|
begin
|
186
197
|
# Delete an upstream pulp
|
187
|
-
api_instance.delete(upstream_pulp_href)
|
198
|
+
api_instance.delete(upstream_pulp_href, opts)
|
188
199
|
rescue PulpcoreClient::ApiError => e
|
189
200
|
puts "Error when calling UpstreamPulpsApi->delete: #{e}"
|
190
201
|
end
|
@@ -194,12 +205,12 @@ end
|
|
194
205
|
|
195
206
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
196
207
|
|
197
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(upstream_pulp_href)
|
208
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(upstream_pulp_href, opts)
|
198
209
|
|
199
210
|
```ruby
|
200
211
|
begin
|
201
212
|
# Delete an upstream pulp
|
202
|
-
data, status_code, headers = api_instance.delete_with_http_info(upstream_pulp_href)
|
213
|
+
data, status_code, headers = api_instance.delete_with_http_info(upstream_pulp_href, opts)
|
203
214
|
p status_code # => 2xx
|
204
215
|
p headers # => { ... }
|
205
216
|
p data # => nil
|
@@ -213,6 +224,7 @@ end
|
|
213
224
|
| Name | Type | Description | Notes |
|
214
225
|
| ---- | ---- | ----------- | ----- |
|
215
226
|
| **upstream_pulp_href** | **String** | | |
|
227
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
216
228
|
|
217
229
|
### Return type
|
218
230
|
|
@@ -250,6 +262,7 @@ end
|
|
250
262
|
|
251
263
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
252
264
|
opts = {
|
265
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
253
266
|
base_url: 'base_url_example', # String | Filter results where base_url matches value
|
254
267
|
base_url__contains: 'base_url__contains_example', # String | Filter results where base_url contains value
|
255
268
|
base_url__icontains: 'base_url__icontains_example', # String | Filter results where base_url contains value
|
@@ -317,6 +330,7 @@ end
|
|
317
330
|
|
318
331
|
| Name | Type | Description | Notes |
|
319
332
|
| ---- | ---- | ----------- | ----- |
|
333
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
320
334
|
| **base_url** | **String** | Filter results where base_url matches value | [optional] |
|
321
335
|
| **base_url__contains** | **String** | Filter results where base_url contains value | [optional] |
|
322
336
|
| **base_url__icontains** | **String** | Filter results where base_url contains value | [optional] |
|
@@ -389,6 +403,7 @@ end
|
|
389
403
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
390
404
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
391
405
|
opts = {
|
406
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
392
407
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
393
408
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
394
409
|
}
|
@@ -425,6 +440,7 @@ end
|
|
425
440
|
| Name | Type | Description | Notes |
|
426
441
|
| ---- | ---- | ----------- | ----- |
|
427
442
|
| **upstream_pulp_href** | **String** | | |
|
443
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
428
444
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
429
445
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
430
446
|
|
@@ -465,6 +481,7 @@ end
|
|
465
481
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
466
482
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
467
483
|
opts = {
|
484
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
468
485
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
469
486
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
470
487
|
}
|
@@ -501,6 +518,7 @@ end
|
|
501
518
|
| Name | Type | Description | Notes |
|
502
519
|
| ---- | ---- | ----------- | ----- |
|
503
520
|
| **upstream_pulp_href** | **String** | | |
|
521
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
504
522
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
505
523
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
506
524
|
|
@@ -520,7 +538,7 @@ end
|
|
520
538
|
|
521
539
|
## partial_update
|
522
540
|
|
523
|
-
> <UpstreamPulpResponse> partial_update(upstream_pulp_href, patched_upstream_pulp)
|
541
|
+
> <UpstreamPulpResponse> partial_update(upstream_pulp_href, patched_upstream_pulp, opts)
|
524
542
|
|
525
543
|
Update an upstream pulp
|
526
544
|
|
@@ -541,10 +559,13 @@ end
|
|
541
559
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
542
560
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
543
561
|
patched_upstream_pulp = PulpcoreClient::PatchedUpstreamPulp.new # PatchedUpstreamPulp |
|
562
|
+
opts = {
|
563
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
564
|
+
}
|
544
565
|
|
545
566
|
begin
|
546
567
|
# Update an upstream pulp
|
547
|
-
result = api_instance.partial_update(upstream_pulp_href, patched_upstream_pulp)
|
568
|
+
result = api_instance.partial_update(upstream_pulp_href, patched_upstream_pulp, opts)
|
548
569
|
p result
|
549
570
|
rescue PulpcoreClient::ApiError => e
|
550
571
|
puts "Error when calling UpstreamPulpsApi->partial_update: #{e}"
|
@@ -555,12 +576,12 @@ end
|
|
555
576
|
|
556
577
|
This returns an Array which contains the response data, status code and headers.
|
557
578
|
|
558
|
-
> <Array(<UpstreamPulpResponse>, Integer, Hash)> partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp)
|
579
|
+
> <Array(<UpstreamPulpResponse>, Integer, Hash)> partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp, opts)
|
559
580
|
|
560
581
|
```ruby
|
561
582
|
begin
|
562
583
|
# Update an upstream pulp
|
563
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp)
|
584
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp, opts)
|
564
585
|
p status_code # => 2xx
|
565
586
|
p headers # => { ... }
|
566
587
|
p data # => <UpstreamPulpResponse>
|
@@ -575,6 +596,7 @@ end
|
|
575
596
|
| ---- | ---- | ----------- | ----- |
|
576
597
|
| **upstream_pulp_href** | **String** | | |
|
577
598
|
| **patched_upstream_pulp** | [**PatchedUpstreamPulp**](PatchedUpstreamPulp.md) | | |
|
599
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
578
600
|
|
579
601
|
### Return type
|
580
602
|
|
@@ -613,6 +635,7 @@ end
|
|
613
635
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
614
636
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
615
637
|
opts = {
|
638
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
616
639
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
617
640
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
618
641
|
}
|
@@ -649,6 +672,7 @@ end
|
|
649
672
|
| Name | Type | Description | Notes |
|
650
673
|
| ---- | ---- | ----------- | ----- |
|
651
674
|
| **upstream_pulp_href** | **String** | | |
|
675
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
652
676
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
653
677
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
654
678
|
|
@@ -668,7 +692,7 @@ end
|
|
668
692
|
|
669
693
|
## remove_role
|
670
694
|
|
671
|
-
> <NestedRoleResponse> remove_role(upstream_pulp_href, nested_role)
|
695
|
+
> <NestedRoleResponse> remove_role(upstream_pulp_href, nested_role, opts)
|
672
696
|
|
673
697
|
Remove a role
|
674
698
|
|
@@ -689,10 +713,13 @@ end
|
|
689
713
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
690
714
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
691
715
|
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
716
|
+
opts = {
|
717
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
718
|
+
}
|
692
719
|
|
693
720
|
begin
|
694
721
|
# Remove a role
|
695
|
-
result = api_instance.remove_role(upstream_pulp_href, nested_role)
|
722
|
+
result = api_instance.remove_role(upstream_pulp_href, nested_role, opts)
|
696
723
|
p result
|
697
724
|
rescue PulpcoreClient::ApiError => e
|
698
725
|
puts "Error when calling UpstreamPulpsApi->remove_role: #{e}"
|
@@ -703,12 +730,12 @@ end
|
|
703
730
|
|
704
731
|
This returns an Array which contains the response data, status code and headers.
|
705
732
|
|
706
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(upstream_pulp_href, nested_role)
|
733
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(upstream_pulp_href, nested_role, opts)
|
707
734
|
|
708
735
|
```ruby
|
709
736
|
begin
|
710
737
|
# Remove a role
|
711
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(upstream_pulp_href, nested_role)
|
738
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(upstream_pulp_href, nested_role, opts)
|
712
739
|
p status_code # => 2xx
|
713
740
|
p headers # => { ... }
|
714
741
|
p data # => <NestedRoleResponse>
|
@@ -723,6 +750,7 @@ end
|
|
723
750
|
| ---- | ---- | ----------- | ----- |
|
724
751
|
| **upstream_pulp_href** | **String** | | |
|
725
752
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
753
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
726
754
|
|
727
755
|
### Return type
|
728
756
|
|
@@ -740,7 +768,7 @@ end
|
|
740
768
|
|
741
769
|
## replicate
|
742
770
|
|
743
|
-
> <TaskGroupOperationResponse> replicate(upstream_pulp_href)
|
771
|
+
> <TaskGroupOperationResponse> replicate(upstream_pulp_href, opts)
|
744
772
|
|
745
773
|
Replicate
|
746
774
|
|
@@ -760,10 +788,13 @@ end
|
|
760
788
|
|
761
789
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
762
790
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
791
|
+
opts = {
|
792
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
793
|
+
}
|
763
794
|
|
764
795
|
begin
|
765
796
|
# Replicate
|
766
|
-
result = api_instance.replicate(upstream_pulp_href)
|
797
|
+
result = api_instance.replicate(upstream_pulp_href, opts)
|
767
798
|
p result
|
768
799
|
rescue PulpcoreClient::ApiError => e
|
769
800
|
puts "Error when calling UpstreamPulpsApi->replicate: #{e}"
|
@@ -774,12 +805,12 @@ end
|
|
774
805
|
|
775
806
|
This returns an Array which contains the response data, status code and headers.
|
776
807
|
|
777
|
-
> <Array(<TaskGroupOperationResponse>, Integer, Hash)> replicate_with_http_info(upstream_pulp_href)
|
808
|
+
> <Array(<TaskGroupOperationResponse>, Integer, Hash)> replicate_with_http_info(upstream_pulp_href, opts)
|
778
809
|
|
779
810
|
```ruby
|
780
811
|
begin
|
781
812
|
# Replicate
|
782
|
-
data, status_code, headers = api_instance.replicate_with_http_info(upstream_pulp_href)
|
813
|
+
data, status_code, headers = api_instance.replicate_with_http_info(upstream_pulp_href, opts)
|
783
814
|
p status_code # => 2xx
|
784
815
|
p headers # => { ... }
|
785
816
|
p data # => <TaskGroupOperationResponse>
|
@@ -793,6 +824,7 @@ end
|
|
793
824
|
| Name | Type | Description | Notes |
|
794
825
|
| ---- | ---- | ----------- | ----- |
|
795
826
|
| **upstream_pulp_href** | **String** | | |
|
827
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
796
828
|
|
797
829
|
### Return type
|
798
830
|
|
@@ -810,7 +842,7 @@ end
|
|
810
842
|
|
811
843
|
## update
|
812
844
|
|
813
|
-
> <UpstreamPulpResponse> update(upstream_pulp_href, upstream_pulp)
|
845
|
+
> <UpstreamPulpResponse> update(upstream_pulp_href, upstream_pulp, opts)
|
814
846
|
|
815
847
|
Update an upstream pulp
|
816
848
|
|
@@ -831,10 +863,13 @@ end
|
|
831
863
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
832
864
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
833
865
|
upstream_pulp = PulpcoreClient::UpstreamPulp.new({name: 'name_example', base_url: 'base_url_example', api_root: 'api_root_example'}) # UpstreamPulp |
|
866
|
+
opts = {
|
867
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
868
|
+
}
|
834
869
|
|
835
870
|
begin
|
836
871
|
# Update an upstream pulp
|
837
|
-
result = api_instance.update(upstream_pulp_href, upstream_pulp)
|
872
|
+
result = api_instance.update(upstream_pulp_href, upstream_pulp, opts)
|
838
873
|
p result
|
839
874
|
rescue PulpcoreClient::ApiError => e
|
840
875
|
puts "Error when calling UpstreamPulpsApi->update: #{e}"
|
@@ -845,12 +880,12 @@ end
|
|
845
880
|
|
846
881
|
This returns an Array which contains the response data, status code and headers.
|
847
882
|
|
848
|
-
> <Array(<UpstreamPulpResponse>, Integer, Hash)> update_with_http_info(upstream_pulp_href, upstream_pulp)
|
883
|
+
> <Array(<UpstreamPulpResponse>, Integer, Hash)> update_with_http_info(upstream_pulp_href, upstream_pulp, opts)
|
849
884
|
|
850
885
|
```ruby
|
851
886
|
begin
|
852
887
|
# Update an upstream pulp
|
853
|
-
data, status_code, headers = api_instance.update_with_http_info(upstream_pulp_href, upstream_pulp)
|
888
|
+
data, status_code, headers = api_instance.update_with_http_info(upstream_pulp_href, upstream_pulp, opts)
|
854
889
|
p status_code # => 2xx
|
855
890
|
p headers # => { ... }
|
856
891
|
p data # => <UpstreamPulpResponse>
|
@@ -865,6 +900,7 @@ end
|
|
865
900
|
| ---- | ---- | ----------- | ----- |
|
866
901
|
| **upstream_pulp_href** | **String** | | |
|
867
902
|
| **upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md) | | |
|
903
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
868
904
|
|
869
905
|
### Return type
|
870
906
|
|
data/docs/UsersApi.md
CHANGED
@@ -14,7 +14,7 @@ All URIs are relative to *http://localhost:24817*
|
|
14
14
|
|
15
15
|
## create
|
16
16
|
|
17
|
-
> <UserResponse> create(user)
|
17
|
+
> <UserResponse> create(user, opts)
|
18
18
|
|
19
19
|
Create an user
|
20
20
|
|
@@ -34,10 +34,13 @@ end
|
|
34
34
|
|
35
35
|
api_instance = PulpcoreClient::UsersApi.new
|
36
36
|
user = PulpcoreClient::User.new({username: 'username_example'}) # User |
|
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 an user
|
40
|
-
result = api_instance.create(user)
|
43
|
+
result = api_instance.create(user, opts)
|
41
44
|
p result
|
42
45
|
rescue PulpcoreClient::ApiError => e
|
43
46
|
puts "Error when calling UsersApi->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(<UserResponse>, Integer, Hash)> create_with_http_info(user)
|
54
|
+
> <Array(<UserResponse>, Integer, Hash)> create_with_http_info(user, opts)
|
52
55
|
|
53
56
|
```ruby
|
54
57
|
begin
|
55
58
|
# Create an user
|
56
|
-
data, status_code, headers = api_instance.create_with_http_info(user)
|
59
|
+
data, status_code, headers = api_instance.create_with_http_info(user, opts)
|
57
60
|
p status_code # => 2xx
|
58
61
|
p headers # => { ... }
|
59
62
|
p data # => <UserResponse>
|
@@ -67,6 +70,7 @@ end
|
|
67
70
|
| Name | Type | Description | Notes |
|
68
71
|
| ---- | ---- | ----------- | ----- |
|
69
72
|
| **user** | [**User**](User.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(auth_user_href)
|
91
|
+
> delete(auth_user_href, opts)
|
88
92
|
|
89
93
|
Delete an user
|
90
94
|
|
@@ -104,10 +108,13 @@ end
|
|
104
108
|
|
105
109
|
api_instance = PulpcoreClient::UsersApi.new
|
106
110
|
auth_user_href = 'auth_user_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 an user
|
110
|
-
api_instance.delete(auth_user_href)
|
117
|
+
api_instance.delete(auth_user_href, opts)
|
111
118
|
rescue PulpcoreClient::ApiError => e
|
112
119
|
puts "Error when calling UsersApi->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(auth_user_href)
|
127
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(auth_user_href, opts)
|
121
128
|
|
122
129
|
```ruby
|
123
130
|
begin
|
124
131
|
# Delete an user
|
125
|
-
data, status_code, headers = api_instance.delete_with_http_info(auth_user_href)
|
132
|
+
data, status_code, headers = api_instance.delete_with_http_info(auth_user_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
|
| **auth_user_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::UsersApi.new
|
175
183
|
opts = {
|
184
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
176
185
|
email: 'email_example', # String | Filter results where email matches value
|
177
186
|
email__contains: 'email__contains_example', # String | Filter results where email contains value
|
178
187
|
email__icontains: 'email__icontains_example', # String | Filter results where email contains value
|
@@ -237,6 +246,7 @@ end
|
|
237
246
|
|
238
247
|
| Name | Type | Description | Notes |
|
239
248
|
| ---- | ---- | ----------- | ----- |
|
249
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
240
250
|
| **email** | **String** | Filter results where email matches value | [optional] |
|
241
251
|
| **email__contains** | **String** | Filter results where email contains value | [optional] |
|
242
252
|
| **email__icontains** | **String** | Filter results where email contains value | [optional] |
|
@@ -285,7 +295,7 @@ end
|
|
285
295
|
|
286
296
|
## partial_update
|
287
297
|
|
288
|
-
> <UserResponse> partial_update(auth_user_href, patched_user)
|
298
|
+
> <UserResponse> partial_update(auth_user_href, patched_user, opts)
|
289
299
|
|
290
300
|
Update an user
|
291
301
|
|
@@ -306,10 +316,13 @@ end
|
|
306
316
|
api_instance = PulpcoreClient::UsersApi.new
|
307
317
|
auth_user_href = 'auth_user_href_example' # String |
|
308
318
|
patched_user = PulpcoreClient::PatchedUser.new # PatchedUser |
|
319
|
+
opts = {
|
320
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
321
|
+
}
|
309
322
|
|
310
323
|
begin
|
311
324
|
# Update an user
|
312
|
-
result = api_instance.partial_update(auth_user_href, patched_user)
|
325
|
+
result = api_instance.partial_update(auth_user_href, patched_user, opts)
|
313
326
|
p result
|
314
327
|
rescue PulpcoreClient::ApiError => e
|
315
328
|
puts "Error when calling UsersApi->partial_update: #{e}"
|
@@ -320,12 +333,12 @@ end
|
|
320
333
|
|
321
334
|
This returns an Array which contains the response data, status code and headers.
|
322
335
|
|
323
|
-
> <Array(<UserResponse>, Integer, Hash)> partial_update_with_http_info(auth_user_href, patched_user)
|
336
|
+
> <Array(<UserResponse>, Integer, Hash)> partial_update_with_http_info(auth_user_href, patched_user, opts)
|
324
337
|
|
325
338
|
```ruby
|
326
339
|
begin
|
327
340
|
# Update an user
|
328
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(auth_user_href, patched_user)
|
341
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(auth_user_href, patched_user, opts)
|
329
342
|
p status_code # => 2xx
|
330
343
|
p headers # => { ... }
|
331
344
|
p data # => <UserResponse>
|
@@ -340,6 +353,7 @@ end
|
|
340
353
|
| ---- | ---- | ----------- | ----- |
|
341
354
|
| **auth_user_href** | **String** | | |
|
342
355
|
| **patched_user** | [**PatchedUser**](PatchedUser.md) | | |
|
356
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
343
357
|
|
344
358
|
### Return type
|
345
359
|
|
@@ -378,6 +392,7 @@ end
|
|
378
392
|
api_instance = PulpcoreClient::UsersApi.new
|
379
393
|
auth_user_href = 'auth_user_href_example' # String |
|
380
394
|
opts = {
|
395
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
381
396
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
382
397
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
383
398
|
}
|
@@ -414,6 +429,7 @@ end
|
|
414
429
|
| Name | Type | Description | Notes |
|
415
430
|
| ---- | ---- | ----------- | ----- |
|
416
431
|
| **auth_user_href** | **String** | | |
|
432
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
417
433
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
418
434
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
419
435
|
|
@@ -433,7 +449,7 @@ end
|
|
433
449
|
|
434
450
|
## update
|
435
451
|
|
436
|
-
> <UserResponse> update(auth_user_href, user)
|
452
|
+
> <UserResponse> update(auth_user_href, user, opts)
|
437
453
|
|
438
454
|
Update an user
|
439
455
|
|
@@ -454,10 +470,13 @@ end
|
|
454
470
|
api_instance = PulpcoreClient::UsersApi.new
|
455
471
|
auth_user_href = 'auth_user_href_example' # String |
|
456
472
|
user = PulpcoreClient::User.new({username: 'username_example'}) # User |
|
473
|
+
opts = {
|
474
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
475
|
+
}
|
457
476
|
|
458
477
|
begin
|
459
478
|
# Update an user
|
460
|
-
result = api_instance.update(auth_user_href, user)
|
479
|
+
result = api_instance.update(auth_user_href, user, opts)
|
461
480
|
p result
|
462
481
|
rescue PulpcoreClient::ApiError => e
|
463
482
|
puts "Error when calling UsersApi->update: #{e}"
|
@@ -468,12 +487,12 @@ end
|
|
468
487
|
|
469
488
|
This returns an Array which contains the response data, status code and headers.
|
470
489
|
|
471
|
-
> <Array(<UserResponse>, Integer, Hash)> update_with_http_info(auth_user_href, user)
|
490
|
+
> <Array(<UserResponse>, Integer, Hash)> update_with_http_info(auth_user_href, user, opts)
|
472
491
|
|
473
492
|
```ruby
|
474
493
|
begin
|
475
494
|
# Update an user
|
476
|
-
data, status_code, headers = api_instance.update_with_http_info(auth_user_href, user)
|
495
|
+
data, status_code, headers = api_instance.update_with_http_info(auth_user_href, user, opts)
|
477
496
|
p status_code # => 2xx
|
478
497
|
p headers # => { ... }
|
479
498
|
p data # => <UserResponse>
|
@@ -488,6 +507,7 @@ end
|
|
488
507
|
| ---- | ---- | ----------- | ----- |
|
489
508
|
| **auth_user_href** | **String** | | |
|
490
509
|
| **user** | [**User**](User.md) | | |
|
510
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
491
511
|
|
492
512
|
### Return type
|
493
513
|
|