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/GroupsRolesApi.md
CHANGED
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:24817*
|
|
12
12
|
|
13
13
|
## create
|
14
14
|
|
15
|
-
> <GroupRoleResponse> create(group_href, group_role)
|
15
|
+
> <GroupRoleResponse> create(group_href, group_role, opts)
|
16
16
|
|
17
17
|
Create a group role
|
18
18
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
api_instance = PulpcoreClient::GroupsRolesApi.new
|
34
34
|
group_href = 'group_href_example' # String |
|
35
35
|
group_role = PulpcoreClient::GroupRole.new({role: 'role_example'}) # GroupRole |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
36
39
|
|
37
40
|
begin
|
38
41
|
# Create a group role
|
39
|
-
result = api_instance.create(group_href, group_role)
|
42
|
+
result = api_instance.create(group_href, group_role, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpcoreClient::ApiError => e
|
42
45
|
puts "Error when calling GroupsRolesApi->create: #{e}"
|
@@ -47,12 +50,12 @@ end
|
|
47
50
|
|
48
51
|
This returns an Array which contains the response data, status code and headers.
|
49
52
|
|
50
|
-
> <Array(<GroupRoleResponse>, Integer, Hash)> create_with_http_info(group_href, group_role)
|
53
|
+
> <Array(<GroupRoleResponse>, Integer, Hash)> create_with_http_info(group_href, group_role, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a group role
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(group_href, group_role)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(group_href, group_role, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <GroupRoleResponse>
|
@@ -67,6 +70,7 @@ end
|
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **group_href** | **String** | | |
|
69
72
|
| **group_role** | [**GroupRole**](GroupRole.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(groups_group_role_href)
|
91
|
+
> delete(groups_group_role_href, opts)
|
88
92
|
|
89
93
|
Delete a group role
|
90
94
|
|
@@ -104,10 +108,13 @@ end
|
|
104
108
|
|
105
109
|
api_instance = PulpcoreClient::GroupsRolesApi.new
|
106
110
|
groups_group_role_href = 'groups_group_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 group role
|
110
|
-
api_instance.delete(groups_group_role_href)
|
117
|
+
api_instance.delete(groups_group_role_href, opts)
|
111
118
|
rescue PulpcoreClient::ApiError => e
|
112
119
|
puts "Error when calling GroupsRolesApi->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(groups_group_role_href)
|
127
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(groups_group_role_href, opts)
|
121
128
|
|
122
129
|
```ruby
|
123
130
|
begin
|
124
131
|
# Delete a group role
|
125
|
-
data, status_code, headers = api_instance.delete_with_http_info(groups_group_role_href)
|
132
|
+
data, status_code, headers = api_instance.delete_with_http_info(groups_group_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
|
| **groups_group_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
|
|
@@ -174,6 +182,7 @@ end
|
|
174
182
|
api_instance = PulpcoreClient::GroupsRolesApi.new
|
175
183
|
group_href = 'group_href_example' # String |
|
176
184
|
opts = {
|
185
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
177
186
|
content_object: 'content_object_example', # String | content_object
|
178
187
|
domain: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Foreign Key referenced by HREF
|
179
188
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -224,6 +233,7 @@ end
|
|
224
233
|
| Name | Type | Description | Notes |
|
225
234
|
| ---- | ---- | ----------- | ----- |
|
226
235
|
| **group_href** | **String** | | |
|
236
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
227
237
|
| **content_object** | **String** | content_object | [optional] |
|
228
238
|
| **domain** | **String** | Foreign Key referenced by HREF | [optional] |
|
229
239
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
@@ -278,6 +288,7 @@ end
|
|
278
288
|
api_instance = PulpcoreClient::GroupsRolesApi.new
|
279
289
|
groups_group_role_href = 'groups_group_role_href_example' # String |
|
280
290
|
opts = {
|
291
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
281
292
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
282
293
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
283
294
|
}
|
@@ -314,6 +325,7 @@ end
|
|
314
325
|
| Name | Type | Description | Notes |
|
315
326
|
| ---- | ---- | ----------- | ----- |
|
316
327
|
| **groups_group_role_href** | **String** | | |
|
328
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
317
329
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
318
330
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
319
331
|
|
data/docs/GroupsUsersApi.md
CHANGED
@@ -11,7 +11,7 @@ All URIs are relative to *http://localhost:24817*
|
|
11
11
|
|
12
12
|
## create
|
13
13
|
|
14
|
-
> <GroupUserResponse> create(group_href, group_user)
|
14
|
+
> <GroupUserResponse> create(group_href, group_user, opts)
|
15
15
|
|
16
16
|
Create an user
|
17
17
|
|
@@ -32,10 +32,13 @@ end
|
|
32
32
|
api_instance = PulpcoreClient::GroupsUsersApi.new
|
33
33
|
group_href = 'group_href_example' # String |
|
34
34
|
group_user = PulpcoreClient::GroupUser.new({username: 'username_example'}) # GroupUser |
|
35
|
+
opts = {
|
36
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
37
|
+
}
|
35
38
|
|
36
39
|
begin
|
37
40
|
# Create an user
|
38
|
-
result = api_instance.create(group_href, group_user)
|
41
|
+
result = api_instance.create(group_href, group_user, opts)
|
39
42
|
p result
|
40
43
|
rescue PulpcoreClient::ApiError => e
|
41
44
|
puts "Error when calling GroupsUsersApi->create: #{e}"
|
@@ -46,12 +49,12 @@ end
|
|
46
49
|
|
47
50
|
This returns an Array which contains the response data, status code and headers.
|
48
51
|
|
49
|
-
> <Array(<GroupUserResponse>, Integer, Hash)> create_with_http_info(group_href, group_user)
|
52
|
+
> <Array(<GroupUserResponse>, Integer, Hash)> create_with_http_info(group_href, group_user, opts)
|
50
53
|
|
51
54
|
```ruby
|
52
55
|
begin
|
53
56
|
# Create an user
|
54
|
-
data, status_code, headers = api_instance.create_with_http_info(group_href, group_user)
|
57
|
+
data, status_code, headers = api_instance.create_with_http_info(group_href, group_user, opts)
|
55
58
|
p status_code # => 2xx
|
56
59
|
p headers # => { ... }
|
57
60
|
p data # => <GroupUserResponse>
|
@@ -66,6 +69,7 @@ end
|
|
66
69
|
| ---- | ---- | ----------- | ----- |
|
67
70
|
| **group_href** | **String** | | |
|
68
71
|
| **group_user** | [**GroupUser**](GroupUser.md) | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
69
73
|
|
70
74
|
### Return type
|
71
75
|
|
@@ -83,7 +87,7 @@ end
|
|
83
87
|
|
84
88
|
## delete
|
85
89
|
|
86
|
-
> delete(groups_user_href)
|
90
|
+
> delete(groups_user_href, opts)
|
87
91
|
|
88
92
|
Delete an user
|
89
93
|
|
@@ -103,10 +107,13 @@ end
|
|
103
107
|
|
104
108
|
api_instance = PulpcoreClient::GroupsUsersApi.new
|
105
109
|
groups_user_href = 'groups_user_href_example' # String |
|
110
|
+
opts = {
|
111
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
112
|
+
}
|
106
113
|
|
107
114
|
begin
|
108
115
|
# Delete an user
|
109
|
-
api_instance.delete(groups_user_href)
|
116
|
+
api_instance.delete(groups_user_href, opts)
|
110
117
|
rescue PulpcoreClient::ApiError => e
|
111
118
|
puts "Error when calling GroupsUsersApi->delete: #{e}"
|
112
119
|
end
|
@@ -116,12 +123,12 @@ end
|
|
116
123
|
|
117
124
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
118
125
|
|
119
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(groups_user_href)
|
126
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(groups_user_href, opts)
|
120
127
|
|
121
128
|
```ruby
|
122
129
|
begin
|
123
130
|
# Delete an user
|
124
|
-
data, status_code, headers = api_instance.delete_with_http_info(groups_user_href)
|
131
|
+
data, status_code, headers = api_instance.delete_with_http_info(groups_user_href, opts)
|
125
132
|
p status_code # => 2xx
|
126
133
|
p headers # => { ... }
|
127
134
|
p data # => nil
|
@@ -135,6 +142,7 @@ end
|
|
135
142
|
| Name | Type | Description | Notes |
|
136
143
|
| ---- | ---- | ----------- | ----- |
|
137
144
|
| **groups_user_href** | **String** | | |
|
145
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
138
146
|
|
139
147
|
### Return type
|
140
148
|
|
@@ -173,6 +181,7 @@ end
|
|
173
181
|
api_instance = PulpcoreClient::GroupsUsersApi.new
|
174
182
|
group_href = 'group_href_example' # String |
|
175
183
|
opts = {
|
184
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
176
185
|
limit: 56, # Integer | Number of results to return per page.
|
177
186
|
offset: 56, # Integer | The initial index from which to return the results.
|
178
187
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
@@ -211,6 +220,7 @@ end
|
|
211
220
|
| Name | Type | Description | Notes |
|
212
221
|
| ---- | ---- | ----------- | ----- |
|
213
222
|
| **group_href** | **String** | | |
|
223
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
214
224
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
215
225
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
216
226
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
data/docs/ImportersPulpApi.md
CHANGED
@@ -14,7 +14,7 @@ All URIs are relative to *http://localhost:24817*
|
|
14
14
|
|
15
15
|
## create
|
16
16
|
|
17
|
-
> <PulpImporterResponse> create(pulp_importer)
|
17
|
+
> <PulpImporterResponse> create(pulp_importer, opts)
|
18
18
|
|
19
19
|
Create a pulp importer
|
20
20
|
|
@@ -34,10 +34,13 @@ end
|
|
34
34
|
|
35
35
|
api_instance = PulpcoreClient::ImportersPulpApi.new
|
36
36
|
pulp_importer = PulpcoreClient::PulpImporter.new({name: 'name_example'}) # PulpImporter |
|
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 pulp importer
|
40
|
-
result = api_instance.create(pulp_importer)
|
43
|
+
result = api_instance.create(pulp_importer, opts)
|
41
44
|
p result
|
42
45
|
rescue PulpcoreClient::ApiError => e
|
43
46
|
puts "Error when calling ImportersPulpApi->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(<PulpImporterResponse>, Integer, Hash)> create_with_http_info(pulp_importer)
|
54
|
+
> <Array(<PulpImporterResponse>, Integer, Hash)> create_with_http_info(pulp_importer, opts)
|
52
55
|
|
53
56
|
```ruby
|
54
57
|
begin
|
55
58
|
# Create a pulp importer
|
56
|
-
data, status_code, headers = api_instance.create_with_http_info(pulp_importer)
|
59
|
+
data, status_code, headers = api_instance.create_with_http_info(pulp_importer, opts)
|
57
60
|
p status_code # => 2xx
|
58
61
|
p headers # => { ... }
|
59
62
|
p data # => <PulpImporterResponse>
|
@@ -67,6 +70,7 @@ end
|
|
67
70
|
| Name | Type | Description | Notes |
|
68
71
|
| ---- | ---- | ----------- | ----- |
|
69
72
|
| **pulp_importer** | [**PulpImporter**](PulpImporter.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(pulp_importer_href)
|
91
|
+
> delete(pulp_importer_href, opts)
|
88
92
|
|
89
93
|
Delete a pulp importer
|
90
94
|
|
@@ -104,10 +108,13 @@ end
|
|
104
108
|
|
105
109
|
api_instance = PulpcoreClient::ImportersPulpApi.new
|
106
110
|
pulp_importer_href = 'pulp_importer_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 pulp importer
|
110
|
-
api_instance.delete(pulp_importer_href)
|
117
|
+
api_instance.delete(pulp_importer_href, opts)
|
111
118
|
rescue PulpcoreClient::ApiError => e
|
112
119
|
puts "Error when calling ImportersPulpApi->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(pulp_importer_href)
|
127
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(pulp_importer_href, opts)
|
121
128
|
|
122
129
|
```ruby
|
123
130
|
begin
|
124
131
|
# Delete a pulp importer
|
125
|
-
data, status_code, headers = api_instance.delete_with_http_info(pulp_importer_href)
|
132
|
+
data, status_code, headers = api_instance.delete_with_http_info(pulp_importer_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
|
| **pulp_importer_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::ImportersPulpApi.new
|
175
183
|
opts = {
|
184
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
176
185
|
limit: 56, # Integer | Number of results to return per page.
|
177
186
|
name: 'name_example', # String | Filter results where name matches value
|
178
187
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -224,6 +233,7 @@ end
|
|
224
233
|
|
225
234
|
| Name | Type | Description | Notes |
|
226
235
|
| ---- | ---- | ----------- | ----- |
|
236
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
227
237
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
228
238
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
229
239
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -259,7 +269,7 @@ end
|
|
259
269
|
|
260
270
|
## partial_update
|
261
271
|
|
262
|
-
> <PulpImporterResponse> partial_update(pulp_importer_href, patched_pulp_importer)
|
272
|
+
> <PulpImporterResponse> partial_update(pulp_importer_href, patched_pulp_importer, opts)
|
263
273
|
|
264
274
|
Update a pulp importer
|
265
275
|
|
@@ -280,10 +290,13 @@ end
|
|
280
290
|
api_instance = PulpcoreClient::ImportersPulpApi.new
|
281
291
|
pulp_importer_href = 'pulp_importer_href_example' # String |
|
282
292
|
patched_pulp_importer = PulpcoreClient::PatchedPulpImporter.new # PatchedPulpImporter |
|
293
|
+
opts = {
|
294
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
295
|
+
}
|
283
296
|
|
284
297
|
begin
|
285
298
|
# Update a pulp importer
|
286
|
-
result = api_instance.partial_update(pulp_importer_href, patched_pulp_importer)
|
299
|
+
result = api_instance.partial_update(pulp_importer_href, patched_pulp_importer, opts)
|
287
300
|
p result
|
288
301
|
rescue PulpcoreClient::ApiError => e
|
289
302
|
puts "Error when calling ImportersPulpApi->partial_update: #{e}"
|
@@ -294,12 +307,12 @@ end
|
|
294
307
|
|
295
308
|
This returns an Array which contains the response data, status code and headers.
|
296
309
|
|
297
|
-
> <Array(<PulpImporterResponse>, Integer, Hash)> partial_update_with_http_info(pulp_importer_href, patched_pulp_importer)
|
310
|
+
> <Array(<PulpImporterResponse>, Integer, Hash)> partial_update_with_http_info(pulp_importer_href, patched_pulp_importer, opts)
|
298
311
|
|
299
312
|
```ruby
|
300
313
|
begin
|
301
314
|
# Update a pulp importer
|
302
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(pulp_importer_href, patched_pulp_importer)
|
315
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(pulp_importer_href, patched_pulp_importer, opts)
|
303
316
|
p status_code # => 2xx
|
304
317
|
p headers # => { ... }
|
305
318
|
p data # => <PulpImporterResponse>
|
@@ -314,6 +327,7 @@ end
|
|
314
327
|
| ---- | ---- | ----------- | ----- |
|
315
328
|
| **pulp_importer_href** | **String** | | |
|
316
329
|
| **patched_pulp_importer** | [**PatchedPulpImporter**](PatchedPulpImporter.md) | | |
|
330
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
317
331
|
|
318
332
|
### Return type
|
319
333
|
|
@@ -352,6 +366,7 @@ end
|
|
352
366
|
api_instance = PulpcoreClient::ImportersPulpApi.new
|
353
367
|
pulp_importer_href = 'pulp_importer_href_example' # String |
|
354
368
|
opts = {
|
369
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
355
370
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
356
371
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
357
372
|
}
|
@@ -388,6 +403,7 @@ end
|
|
388
403
|
| Name | Type | Description | Notes |
|
389
404
|
| ---- | ---- | ----------- | ----- |
|
390
405
|
| **pulp_importer_href** | **String** | | |
|
406
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
391
407
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
392
408
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
393
409
|
|
@@ -407,7 +423,7 @@ end
|
|
407
423
|
|
408
424
|
## update
|
409
425
|
|
410
|
-
> <PulpImporterResponse> update(pulp_importer_href, pulp_importer)
|
426
|
+
> <PulpImporterResponse> update(pulp_importer_href, pulp_importer, opts)
|
411
427
|
|
412
428
|
Update a pulp importer
|
413
429
|
|
@@ -428,10 +444,13 @@ end
|
|
428
444
|
api_instance = PulpcoreClient::ImportersPulpApi.new
|
429
445
|
pulp_importer_href = 'pulp_importer_href_example' # String |
|
430
446
|
pulp_importer = PulpcoreClient::PulpImporter.new({name: 'name_example'}) # PulpImporter |
|
447
|
+
opts = {
|
448
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
449
|
+
}
|
431
450
|
|
432
451
|
begin
|
433
452
|
# Update a pulp importer
|
434
|
-
result = api_instance.update(pulp_importer_href, pulp_importer)
|
453
|
+
result = api_instance.update(pulp_importer_href, pulp_importer, opts)
|
435
454
|
p result
|
436
455
|
rescue PulpcoreClient::ApiError => e
|
437
456
|
puts "Error when calling ImportersPulpApi->update: #{e}"
|
@@ -442,12 +461,12 @@ end
|
|
442
461
|
|
443
462
|
This returns an Array which contains the response data, status code and headers.
|
444
463
|
|
445
|
-
> <Array(<PulpImporterResponse>, Integer, Hash)> update_with_http_info(pulp_importer_href, pulp_importer)
|
464
|
+
> <Array(<PulpImporterResponse>, Integer, Hash)> update_with_http_info(pulp_importer_href, pulp_importer, opts)
|
446
465
|
|
447
466
|
```ruby
|
448
467
|
begin
|
449
468
|
# Update a pulp importer
|
450
|
-
data, status_code, headers = api_instance.update_with_http_info(pulp_importer_href, pulp_importer)
|
469
|
+
data, status_code, headers = api_instance.update_with_http_info(pulp_importer_href, pulp_importer, opts)
|
451
470
|
p status_code # => 2xx
|
452
471
|
p headers # => { ... }
|
453
472
|
p data # => <PulpImporterResponse>
|
@@ -462,6 +481,7 @@ end
|
|
462
481
|
| ---- | ---- | ----------- | ----- |
|
463
482
|
| **pulp_importer_href** | **String** | | |
|
464
483
|
| **pulp_importer** | [**PulpImporter**](PulpImporter.md) | | |
|
484
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
465
485
|
|
466
486
|
### Return type
|
467
487
|
|
@@ -9,7 +9,7 @@ All URIs are relative to *http://localhost:24817*
|
|
9
9
|
|
10
10
|
## pulp_import_check_post
|
11
11
|
|
12
|
-
> <PulpImportCheckResponse> pulp_import_check_post(pulp_import_check)
|
12
|
+
> <PulpImportCheckResponse> pulp_import_check_post(pulp_import_check, opts)
|
13
13
|
|
14
14
|
Validate the parameters to be used for a PulpImport call
|
15
15
|
|
@@ -29,10 +29,13 @@ end
|
|
29
29
|
|
30
30
|
api_instance = PulpcoreClient::ImportersPulpImportCheckApi.new
|
31
31
|
pulp_import_check = PulpcoreClient::PulpImportCheck.new # PulpImportCheck |
|
32
|
+
opts = {
|
33
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
34
|
+
}
|
32
35
|
|
33
36
|
begin
|
34
37
|
# Validate the parameters to be used for a PulpImport call
|
35
|
-
result = api_instance.pulp_import_check_post(pulp_import_check)
|
38
|
+
result = api_instance.pulp_import_check_post(pulp_import_check, opts)
|
36
39
|
p result
|
37
40
|
rescue PulpcoreClient::ApiError => e
|
38
41
|
puts "Error when calling ImportersPulpImportCheckApi->pulp_import_check_post: #{e}"
|
@@ -43,12 +46,12 @@ end
|
|
43
46
|
|
44
47
|
This returns an Array which contains the response data, status code and headers.
|
45
48
|
|
46
|
-
> <Array(<PulpImportCheckResponse>, Integer, Hash)> pulp_import_check_post_with_http_info(pulp_import_check)
|
49
|
+
> <Array(<PulpImportCheckResponse>, Integer, Hash)> pulp_import_check_post_with_http_info(pulp_import_check, opts)
|
47
50
|
|
48
51
|
```ruby
|
49
52
|
begin
|
50
53
|
# Validate the parameters to be used for a PulpImport call
|
51
|
-
data, status_code, headers = api_instance.pulp_import_check_post_with_http_info(pulp_import_check)
|
54
|
+
data, status_code, headers = api_instance.pulp_import_check_post_with_http_info(pulp_import_check, opts)
|
52
55
|
p status_code # => 2xx
|
53
56
|
p headers # => { ... }
|
54
57
|
p data # => <PulpImportCheckResponse>
|
@@ -62,6 +65,7 @@ end
|
|
62
65
|
| Name | Type | Description | Notes |
|
63
66
|
| ---- | ---- | ----------- | ----- |
|
64
67
|
| **pulp_import_check** | [**PulpImportCheck**](PulpImportCheck.md) | | |
|
68
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
65
69
|
|
66
70
|
### Return type
|
67
71
|
|
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:24817*
|
|
12
12
|
|
13
13
|
## create
|
14
14
|
|
15
|
-
> <TaskGroupOperationResponse> create(pulp_importer_href, pulp_import)
|
15
|
+
> <TaskGroupOperationResponse> create(pulp_importer_href, pulp_import, opts)
|
16
16
|
|
17
17
|
Create a pulp import
|
18
18
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
api_instance = PulpcoreClient::ImportersPulpImportsApi.new
|
34
34
|
pulp_importer_href = 'pulp_importer_href_example' # String |
|
35
35
|
pulp_import = PulpcoreClient::PulpImport.new # PulpImport |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
36
39
|
|
37
40
|
begin
|
38
41
|
# Create a pulp import
|
39
|
-
result = api_instance.create(pulp_importer_href, pulp_import)
|
42
|
+
result = api_instance.create(pulp_importer_href, pulp_import, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpcoreClient::ApiError => e
|
42
45
|
puts "Error when calling ImportersPulpImportsApi->create: #{e}"
|
@@ -47,12 +50,12 @@ end
|
|
47
50
|
|
48
51
|
This returns an Array which contains the response data, status code and headers.
|
49
52
|
|
50
|
-
> <Array(<TaskGroupOperationResponse>, Integer, Hash)> create_with_http_info(pulp_importer_href, pulp_import)
|
53
|
+
> <Array(<TaskGroupOperationResponse>, Integer, Hash)> create_with_http_info(pulp_importer_href, pulp_import, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a pulp import
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(pulp_importer_href, pulp_import)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(pulp_importer_href, pulp_import, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <TaskGroupOperationResponse>
|
@@ -67,6 +70,7 @@ end
|
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **pulp_importer_href** | **String** | | |
|
69
72
|
| **pulp_import** | [**PulpImport**](PulpImport.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(pulp_pulp_import_href)
|
91
|
+
> delete(pulp_pulp_import_href, opts)
|
88
92
|
|
89
93
|
Delete a pulp import
|
90
94
|
|
@@ -104,10 +108,13 @@ end
|
|
104
108
|
|
105
109
|
api_instance = PulpcoreClient::ImportersPulpImportsApi.new
|
106
110
|
pulp_pulp_import_href = 'pulp_pulp_import_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 pulp import
|
110
|
-
api_instance.delete(pulp_pulp_import_href)
|
117
|
+
api_instance.delete(pulp_pulp_import_href, opts)
|
111
118
|
rescue PulpcoreClient::ApiError => e
|
112
119
|
puts "Error when calling ImportersPulpImportsApi->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(pulp_pulp_import_href)
|
127
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(pulp_pulp_import_href, opts)
|
121
128
|
|
122
129
|
```ruby
|
123
130
|
begin
|
124
131
|
# Delete a pulp import
|
125
|
-
data, status_code, headers = api_instance.delete_with_http_info(pulp_pulp_import_href)
|
132
|
+
data, status_code, headers = api_instance.delete_with_http_info(pulp_pulp_import_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
|
| **pulp_pulp_import_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
|
|
@@ -174,6 +182,7 @@ end
|
|
174
182
|
api_instance = PulpcoreClient::ImportersPulpImportsApi.new
|
175
183
|
pulp_importer_href = 'pulp_importer_href_example' # String |
|
176
184
|
opts = {
|
185
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
177
186
|
limit: 56, # Integer | Number of results to return per page.
|
178
187
|
offset: 56, # Integer | The initial index from which to return the results.
|
179
188
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
@@ -212,6 +221,7 @@ end
|
|
212
221
|
| Name | Type | Description | Notes |
|
213
222
|
| ---- | ---- | ----------- | ----- |
|
214
223
|
| **pulp_importer_href** | **String** | | |
|
224
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
215
225
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
216
226
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
217
227
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
@@ -254,6 +264,7 @@ end
|
|
254
264
|
api_instance = PulpcoreClient::ImportersPulpImportsApi.new
|
255
265
|
pulp_pulp_import_href = 'pulp_pulp_import_href_example' # String |
|
256
266
|
opts = {
|
267
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
257
268
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
258
269
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
259
270
|
}
|
@@ -290,6 +301,7 @@ end
|
|
290
301
|
| Name | Type | Description | Notes |
|
291
302
|
| ---- | ---- | ----------- | ----- |
|
292
303
|
| **pulp_pulp_import_href** | **String** | | |
|
304
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
293
305
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
294
306
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
295
307
|
|
data/docs/LivezApi.md
CHANGED
@@ -9,7 +9,7 @@ All URIs are relative to *http://localhost:24817*
|
|
9
9
|
|
10
10
|
## livez_read
|
11
11
|
|
12
|
-
> livez_read
|
12
|
+
> livez_read(opts)
|
13
13
|
|
14
14
|
Inspect liveness of Pulp's REST API.
|
15
15
|
|
@@ -22,10 +22,15 @@ require 'time'
|
|
22
22
|
require 'pulpcore_client'
|
23
23
|
|
24
24
|
api_instance = PulpcoreClient::LivezApi.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 liveness of Pulp's REST API.
|
28
|
-
api_instance.livez_read
|
33
|
+
api_instance.livez_read(opts)
|
29
34
|
rescue PulpcoreClient::ApiError => e
|
30
35
|
puts "Error when calling LivezApi->livez_read: #{e}"
|
31
36
|
end
|
@@ -35,12 +40,12 @@ end
|
|
35
40
|
|
36
41
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
37
42
|
|
38
|
-
> <Array(nil, Integer, Hash)> livez_read_with_http_info
|
43
|
+
> <Array(nil, Integer, Hash)> livez_read_with_http_info(opts)
|
39
44
|
|
40
45
|
```ruby
|
41
46
|
begin
|
42
47
|
# Inspect liveness of Pulp's REST API.
|
43
|
-
data, status_code, headers = api_instance.livez_read_with_http_info
|
48
|
+
data, status_code, headers = api_instance.livez_read_with_http_info(opts)
|
44
49
|
p status_code # => 2xx
|
45
50
|
p headers # => { ... }
|
46
51
|
p data # => nil
|
@@ -51,7 +56,11 @@ end
|
|
51
56
|
|
52
57
|
### Parameters
|
53
58
|
|
54
|
-
|
59
|
+
| Name | Type | Description | Notes |
|
60
|
+
| ---- | ---- | ----------- | ----- |
|
61
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
62
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
63
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
55
64
|
|
56
65
|
### Return type
|
57
66
|
|