pulp_container_client 2.14.14 → 2.14.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +222 -246
- data/docs/AccessPoliciesApi.md +28 -32
- data/docs/ArtifactDistributionResponse.md +7 -7
- data/docs/ArtifactsApi.md +23 -27
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentApi.md +8 -14
- data/docs/ContentBlobsApi.md +13 -17
- data/docs/ContentManifestsApi.md +15 -19
- data/docs/ContentSignaturesApi.md +13 -17
- data/docs/ContentTagsApi.md +15 -19
- data/docs/ContentguardsApi.md +8 -14
- data/docs/ContentguardsContentRedirectApi.md +53 -57
- data/docs/ContentguardsRbacApi.md +53 -57
- data/docs/DistributionsApi.md +8 -18
- data/docs/DistributionsArtifactsApi.md +13 -21
- data/docs/DistributionsContainerApi.md +53 -61
- data/docs/DocsApiJsonApi.md +6 -6
- data/docs/DocsApiYamlApi.md +6 -6
- data/docs/ExportersFilesystemApi.md +36 -40
- data/docs/ExportersFilesystemExportsApi.md +24 -24
- data/docs/ExportersPulpApi.md +33 -37
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExporter.md +1 -1
- data/docs/FilesystemExporterResponse.md +1 -1
- data/docs/GroupRole.md +1 -3
- data/docs/GroupRoleResponse.md +1 -3
- data/docs/GroupsApi.md +59 -63
- data/docs/GroupsRolesApi.md +27 -33
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -37
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PatchedFilesystemExporter.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PublicationsApi.md +9 -15
- data/docs/PulpContainerNamespacesApi.md +43 -47
- data/docs/RemoteResponse.md +1 -1
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -14
- data/docs/RemotesContainerApi.md +53 -57
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -30
- data/docs/RepositoriesContainerApi.md +102 -122
- data/docs/RepositoriesContainerPushApi.md +68 -88
- data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
- data/docs/RepositoriesContainerVersionsApi.md +23 -25
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +8 -12
- data/docs/RolesApi.md +39 -43
- data/docs/SigningServicesApi.md +13 -17
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +1 -3
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +35 -39
- data/docs/TasksApi.md +101 -105
- data/docs/TokenApi.md +6 -6
- data/docs/UploadsApi.md +53 -57
- data/docs/UserRole.md +2 -4
- data/docs/UserRoleResponse.md +2 -4
- data/docs/UsersApi.md +39 -43
- data/docs/UsersRolesApi.md +27 -33
- data/docs/VersionResponse.md +1 -3
- data/docs/WorkersApi.md +13 -17
- data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
- data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
- data/lib/pulp_container_client/api/content_api.rb +7 -20
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
- data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
- data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
- data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
- data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
- data/lib/pulp_container_client/api/distributions_api.rb +7 -26
- data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
- data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
- data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
- data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
- data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
- data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
- data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulp_container_client/api/groups_api.rb +77 -83
- data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
- data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulp_container_client/api/orphans_api.rb +5 -5
- data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulp_container_client/api/publications_api.rb +9 -18
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
- data/lib/pulp_container_client/api/remotes_api.rb +7 -20
- data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
- data/lib/pulp_container_client/api/repair_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_api.rb +7 -44
- data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
- data/lib/pulp_container_client/api/roles_api.rb +51 -57
- data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
- data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
- data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
- data/lib/pulp_container_client/api/tasks_api.rb +125 -131
- data/lib/pulp_container_client/api/token_api.rb +5 -5
- data/lib/pulp_container_client/api/uploads_api.rb +67 -73
- data/lib/pulp_container_client/api/users_api.rb +51 -57
- data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/workers_api.rb +14 -20
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
- data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
- data/lib/pulp_container_client/models/group_role.rb +5 -16
- data/lib/pulp_container_client/models/group_role_response.rb +4 -15
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/remote_response.rb +21 -21
- data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/repository_response.rb +1 -1
- data/lib/pulp_container_client/models/status_response.rb +4 -19
- data/lib/pulp_container_client/models/user_role.rb +6 -17
- data/lib/pulp_container_client/models/user_role_response.rb +5 -16
- data/lib/pulp_container_client/models/version_response.rb +4 -19
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -11
- data/spec/api/access_policies_api_spec.rb +11 -13
- data/spec/api/artifacts_api_spec.rb +9 -11
- data/spec/api/content_api_spec.rb +3 -6
- data/spec/api/content_blobs_api_spec.rb +5 -7
- data/spec/api/content_manifests_api_spec.rb +6 -8
- data/spec/api/content_signatures_api_spec.rb +5 -7
- data/spec/api/content_tags_api_spec.rb +6 -8
- data/spec/api/contentguards_api_spec.rb +3 -6
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
- data/spec/api/contentguards_rbac_api_spec.rb +21 -23
- data/spec/api/distributions_api_spec.rb +3 -8
- data/spec/api/distributions_artifacts_api_spec.rb +5 -9
- data/spec/api/distributions_container_api_spec.rb +21 -25
- data/spec/api/docs_api_json_api_spec.rb +2 -2
- data/spec/api/docs_api_yaml_api_spec.rb +2 -2
- data/spec/api/exporters_filesystem_api_spec.rb +16 -18
- data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
- data/spec/api/exporters_pulp_api_spec.rb +13 -15
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +27 -29
- data/spec/api/groups_roles_api_spec.rb +13 -16
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -15
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +4 -7
- data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
- data/spec/api/remotes_api_spec.rb +3 -6
- data/spec/api/remotes_container_api_spec.rb +21 -23
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -14
- data/spec/api/repositories_container_api_spec.rb +39 -49
- data/spec/api/repositories_container_push_api_spec.rb +27 -37
- data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
- data/spec/api/repositories_container_versions_api_spec.rb +9 -10
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +3 -5
- data/spec/api/roles_api_spec.rb +19 -21
- data/spec/api/signing_services_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +15 -17
- data/spec/api/tasks_api_spec.rb +32 -34
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/api/uploads_api_spec.rb +21 -23
- data/spec/api/users_api_spec.rb +19 -21
- data/spec/api/users_roles_api_spec.rb +13 -16
- data/spec/api/workers_api_spec.rb +5 -7
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/group_role_response_spec.rb +0 -6
- data/spec/models/group_role_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/status_response_spec.rb +0 -6
- data/spec/models/user_role_response_spec.rb +0 -6
- data/spec/models/user_role_spec.rb +0 -6
- data/spec/models/version_response_spec.rb +0 -6
- metadata +196 -240
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -31
- data/docs/DomainsApi.md +0 -366
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/StorageClassEnum.md +0 -16
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -405
- data/lib/pulp_container_client/api/domains_api.rb +0 -452
- data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
- data/lib/pulp_container_client/models/domain.rb +0 -323
- data/lib/pulp_container_client/models/domain_response.rb +0 -318
- data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
- data/lib/pulp_container_client/models/patched_domain.rb +0 -304
- data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
- data/spec/api/domains_api_spec.rb +0 -122
- data/spec/api/upstream_pulps_api_spec.rb +0 -127
- data/spec/models/domain_response_spec.rb +0 -83
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
data/docs/UsersRolesApi.md
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
# PulpContainerClient::UsersRolesApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
7
|
+
[**users_roles_create**](UsersRolesApi.md#users_roles_create) | **POST** {auth_user_href}roles/ | Create an user role
|
8
|
+
[**users_roles_delete**](UsersRolesApi.md#users_roles_delete) | **DELETE** {auth_users_user_role_href} | Delete an user role
|
9
|
+
[**users_roles_list**](UsersRolesApi.md#users_roles_list) | **GET** {auth_user_href}roles/ | List user roles
|
10
|
+
[**users_roles_read**](UsersRolesApi.md#users_roles_read) | **GET** {auth_users_user_role_href} | Inspect an user role
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
##
|
14
|
+
## users_roles_create
|
15
15
|
|
16
|
-
> UserRoleResponse
|
16
|
+
> UserRoleResponse users_roles_create(auth_user_href, user_role)
|
17
17
|
|
18
18
|
Create an user role
|
19
19
|
|
20
|
-
ViewSet for UserRole.
|
20
|
+
ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
21
21
|
|
22
22
|
### Example
|
23
23
|
|
@@ -37,10 +37,10 @@ user_role = PulpContainerClient::UserRole.new # UserRole |
|
|
37
37
|
|
38
38
|
begin
|
39
39
|
#Create an user role
|
40
|
-
result = api_instance.
|
40
|
+
result = api_instance.users_roles_create(auth_user_href, user_role)
|
41
41
|
p result
|
42
42
|
rescue PulpContainerClient::ApiError => e
|
43
|
-
puts "Exception when calling UsersRolesApi->
|
43
|
+
puts "Exception when calling UsersRolesApi->users_roles_create: #{e}"
|
44
44
|
end
|
45
45
|
```
|
46
46
|
|
@@ -66,13 +66,13 @@ Name | Type | Description | Notes
|
|
66
66
|
- **Accept**: application/json
|
67
67
|
|
68
68
|
|
69
|
-
##
|
69
|
+
## users_roles_delete
|
70
70
|
|
71
|
-
>
|
71
|
+
> users_roles_delete(auth_users_user_role_href)
|
72
72
|
|
73
73
|
Delete an user role
|
74
74
|
|
75
|
-
ViewSet for UserRole.
|
75
|
+
ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
76
76
|
|
77
77
|
### Example
|
78
78
|
|
@@ -91,9 +91,9 @@ auth_users_user_role_href = 'auth_users_user_role_href_example' # String |
|
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete an user role
|
94
|
-
api_instance.
|
94
|
+
api_instance.users_roles_delete(auth_users_user_role_href)
|
95
95
|
rescue PulpContainerClient::ApiError => e
|
96
|
-
puts "Exception when calling UsersRolesApi->
|
96
|
+
puts "Exception when calling UsersRolesApi->users_roles_delete: #{e}"
|
97
97
|
end
|
98
98
|
```
|
99
99
|
|
@@ -118,13 +118,13 @@ nil (empty response body)
|
|
118
118
|
- **Accept**: Not defined
|
119
119
|
|
120
120
|
|
121
|
-
##
|
121
|
+
## users_roles_list
|
122
122
|
|
123
|
-
> PaginatedUserRoleResponseList
|
123
|
+
> PaginatedUserRoleResponseList users_roles_list(auth_user_href, opts)
|
124
124
|
|
125
125
|
List user roles
|
126
126
|
|
127
|
-
ViewSet for UserRole.
|
127
|
+
ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
128
128
|
|
129
129
|
### Example
|
130
130
|
|
@@ -142,12 +142,9 @@ api_instance = PulpContainerClient::UsersRolesApi.new
|
|
142
142
|
auth_user_href = 'auth_user_href_example' # String |
|
143
143
|
opts = {
|
144
144
|
content_object: 'content_object_example', # String | content_object
|
145
|
-
domain: 'domain_example', # String | Foreign Key referenced by HREF
|
146
145
|
limit: 56, # Integer | Number of results to return per page.
|
147
146
|
offset: 56, # Integer | The initial index from which to return the results.
|
148
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
149
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
150
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
147
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
151
148
|
role: 'role_example', # String |
|
152
149
|
role__contains: 'role__contains_example', # String |
|
153
150
|
role__icontains: 'role__icontains_example', # String |
|
@@ -159,10 +156,10 @@ opts = {
|
|
159
156
|
|
160
157
|
begin
|
161
158
|
#List user roles
|
162
|
-
result = api_instance.
|
159
|
+
result = api_instance.users_roles_list(auth_user_href, opts)
|
163
160
|
p result
|
164
161
|
rescue PulpContainerClient::ApiError => e
|
165
|
-
puts "Exception when calling UsersRolesApi->
|
162
|
+
puts "Exception when calling UsersRolesApi->users_roles_list: #{e}"
|
166
163
|
end
|
167
164
|
```
|
168
165
|
|
@@ -173,12 +170,9 @@ Name | Type | Description | Notes
|
|
173
170
|
------------- | ------------- | ------------- | -------------
|
174
171
|
**auth_user_href** | **String**| |
|
175
172
|
**content_object** | **String**| content_object | [optional]
|
176
|
-
**domain** | **String**| Foreign Key referenced by HREF | [optional]
|
177
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
178
174
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
179
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
180
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
181
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
175
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
182
176
|
**role** | **String**| | [optional]
|
183
177
|
**role__contains** | **String**| | [optional]
|
184
178
|
**role__icontains** | **String**| | [optional]
|
@@ -201,13 +195,13 @@ Name | Type | Description | Notes
|
|
201
195
|
- **Accept**: application/json
|
202
196
|
|
203
197
|
|
204
|
-
##
|
198
|
+
## users_roles_read
|
205
199
|
|
206
|
-
> UserRoleResponse
|
200
|
+
> UserRoleResponse users_roles_read(auth_users_user_role_href, opts)
|
207
201
|
|
208
202
|
Inspect an user role
|
209
203
|
|
210
|
-
ViewSet for UserRole.
|
204
|
+
ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
211
205
|
|
212
206
|
### Example
|
213
207
|
|
@@ -230,10 +224,10 @@ opts = {
|
|
230
224
|
|
231
225
|
begin
|
232
226
|
#Inspect an user role
|
233
|
-
result = api_instance.
|
227
|
+
result = api_instance.users_roles_read(auth_users_user_role_href, opts)
|
234
228
|
p result
|
235
229
|
rescue PulpContainerClient::ApiError => e
|
236
|
-
puts "Exception when calling UsersRolesApi->
|
230
|
+
puts "Exception when calling UsersRolesApi->users_roles_read: #{e}"
|
237
231
|
end
|
238
232
|
```
|
239
233
|
|
data/docs/VersionResponse.md
CHANGED
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
|
|
7
7
|
**component** | **String** | Name of a versioned component of Pulp |
|
8
8
|
**version** | **String** | Version of the component (e.g. 3.0.0) |
|
9
9
|
**package** | **String** | Python package name providing the component |
|
10
|
-
**domain_compatible** | **Boolean** | Domain feature compatibility of component |
|
11
10
|
|
12
11
|
## Code Sample
|
13
12
|
|
@@ -16,8 +15,7 @@ require 'PulpContainerClient'
|
|
16
15
|
|
17
16
|
instance = PulpContainerClient::VersionResponse.new(component: null,
|
18
17
|
version: null,
|
19
|
-
package: null
|
20
|
-
domain_compatible: null)
|
18
|
+
package: null)
|
21
19
|
```
|
22
20
|
|
23
21
|
|
data/docs/WorkersApi.md
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
# PulpContainerClient::WorkersApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
7
|
+
[**workers_list**](WorkersApi.md#workers_list) | **GET** /pulp/api/v3/workers/ | List workers
|
8
|
+
[**workers_read**](WorkersApi.md#workers_read) | **GET** {worker_href} | Inspect a worker
|
9
9
|
|
10
10
|
|
11
11
|
|
12
|
-
##
|
12
|
+
## workers_list
|
13
13
|
|
14
|
-
> PaginatedWorkerResponseList
|
14
|
+
> PaginatedWorkerResponseList workers_list(opts)
|
15
15
|
|
16
16
|
List workers
|
17
17
|
|
@@ -46,19 +46,17 @@ opts = {
|
|
46
46
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
47
47
|
offset: 56, # Integer | The initial index from which to return the results.
|
48
48
|
online: true, # Boolean |
|
49
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
50
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
51
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
49
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
52
50
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
53
51
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
54
52
|
}
|
55
53
|
|
56
54
|
begin
|
57
55
|
#List workers
|
58
|
-
result = api_instance.
|
56
|
+
result = api_instance.workers_list(opts)
|
59
57
|
p result
|
60
58
|
rescue PulpContainerClient::ApiError => e
|
61
|
-
puts "Exception when calling WorkersApi->
|
59
|
+
puts "Exception when calling WorkersApi->workers_list: #{e}"
|
62
60
|
end
|
63
61
|
```
|
64
62
|
|
@@ -82,9 +80,7 @@ Name | Type | Description | Notes
|
|
82
80
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
83
81
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
84
82
|
**online** | **Boolean**| | [optional]
|
85
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
86
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
87
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
83
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
88
84
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
89
85
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
90
86
|
|
@@ -102,9 +98,9 @@ Name | Type | Description | Notes
|
|
102
98
|
- **Accept**: application/json
|
103
99
|
|
104
100
|
|
105
|
-
##
|
101
|
+
## workers_read
|
106
102
|
|
107
|
-
> WorkerResponse
|
103
|
+
> WorkerResponse workers_read(worker_href, opts)
|
108
104
|
|
109
105
|
Inspect a worker
|
110
106
|
|
@@ -131,10 +127,10 @@ opts = {
|
|
131
127
|
|
132
128
|
begin
|
133
129
|
#Inspect a worker
|
134
|
-
result = api_instance.
|
130
|
+
result = api_instance.workers_read(worker_href, opts)
|
135
131
|
p result
|
136
132
|
rescue PulpContainerClient::ApiError => e
|
137
|
-
puts "Exception when calling WorkersApi->
|
133
|
+
puts "Exception when calling WorkersApi->workers_read: #{e}"
|
138
134
|
end
|
139
135
|
```
|
140
136
|
|
@@ -25,9 +25,7 @@ module PulpContainerClient
|
|
25
25
|
# @option opts [Boolean] :customized Filter results where customized matches value
|
26
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
27
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
28
|
-
# @option opts [Array<String>] :ordering Ordering
|
29
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
30
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
28
|
+
# @option opts [Array<String>] :ordering Ordering
|
31
29
|
# @option opts [String] :viewset_name Filter results where viewset_name matches value
|
32
30
|
# @option opts [String] :viewset_name__contains Filter results where viewset_name contains value
|
33
31
|
# @option opts [String] :viewset_name__icontains Filter results where viewset_name contains value
|
@@ -36,8 +34,8 @@ module PulpContainerClient
|
|
36
34
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
35
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
36
|
# @return [PaginatedAccessPolicyResponseList]
|
39
|
-
def
|
40
|
-
data, _status_code, _headers =
|
37
|
+
def access_policies_list(opts = {})
|
38
|
+
data, _status_code, _headers = access_policies_list_with_http_info(opts)
|
41
39
|
data
|
42
40
|
end
|
43
41
|
|
@@ -47,9 +45,7 @@ module PulpContainerClient
|
|
47
45
|
# @option opts [Boolean] :customized Filter results where customized matches value
|
48
46
|
# @option opts [Integer] :limit Number of results to return per page.
|
49
47
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
50
|
-
# @option opts [Array<String>] :ordering Ordering
|
51
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
52
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
48
|
+
# @option opts [Array<String>] :ordering Ordering
|
53
49
|
# @option opts [String] :viewset_name Filter results where viewset_name matches value
|
54
50
|
# @option opts [String] :viewset_name__contains Filter results where viewset_name contains value
|
55
51
|
# @option opts [String] :viewset_name__icontains Filter results where viewset_name contains value
|
@@ -58,9 +54,9 @@ module PulpContainerClient
|
|
58
54
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
59
55
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
60
56
|
# @return [Array<(PaginatedAccessPolicyResponseList, Integer, Hash)>] PaginatedAccessPolicyResponseList data, response status code and response headers
|
61
|
-
def
|
57
|
+
def access_policies_list_with_http_info(opts = {})
|
62
58
|
if @api_client.config.debugging
|
63
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
59
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_list ...'
|
64
60
|
end
|
65
61
|
allowable_values = ["-creation_hooks", "-customized", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-queryset_scoping", "-statements", "-viewset_name", "creation_hooks", "customized", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "queryset_scoping", "statements", "viewset_name"]
|
66
62
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -75,8 +71,6 @@ module PulpContainerClient
|
|
75
71
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
76
72
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
77
73
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
78
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
79
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
80
74
|
query_params[:'viewset_name'] = opts[:'viewset_name'] if !opts[:'viewset_name'].nil?
|
81
75
|
query_params[:'viewset_name__contains'] = opts[:'viewset_name__contains'] if !opts[:'viewset_name__contains'].nil?
|
82
76
|
query_params[:'viewset_name__icontains'] = opts[:'viewset_name__icontains'] if !opts[:'viewset_name__icontains'].nil?
|
@@ -113,7 +107,7 @@ module PulpContainerClient
|
|
113
107
|
|
114
108
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
115
109
|
if @api_client.config.debugging
|
116
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
110
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
117
111
|
end
|
118
112
|
return data, status_code, headers
|
119
113
|
end
|
@@ -124,8 +118,8 @@ module PulpContainerClient
|
|
124
118
|
# @param patched_access_policy [PatchedAccessPolicy]
|
125
119
|
# @param [Hash] opts the optional parameters
|
126
120
|
# @return [AccessPolicyResponse]
|
127
|
-
def
|
128
|
-
data, _status_code, _headers =
|
121
|
+
def access_policies_partial_update(access_policy_href, patched_access_policy, opts = {})
|
122
|
+
data, _status_code, _headers = access_policies_partial_update_with_http_info(access_policy_href, patched_access_policy, opts)
|
129
123
|
data
|
130
124
|
end
|
131
125
|
|
@@ -135,17 +129,17 @@ module PulpContainerClient
|
|
135
129
|
# @param patched_access_policy [PatchedAccessPolicy]
|
136
130
|
# @param [Hash] opts the optional parameters
|
137
131
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
138
|
-
def
|
132
|
+
def access_policies_partial_update_with_http_info(access_policy_href, patched_access_policy, opts = {})
|
139
133
|
if @api_client.config.debugging
|
140
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
134
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_partial_update ...'
|
141
135
|
end
|
142
136
|
# verify the required parameter 'access_policy_href' is set
|
143
137
|
if @api_client.config.client_side_validation && access_policy_href.nil?
|
144
|
-
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.
|
138
|
+
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_partial_update"
|
145
139
|
end
|
146
140
|
# verify the required parameter 'patched_access_policy' is set
|
147
141
|
if @api_client.config.client_side_validation && patched_access_policy.nil?
|
148
|
-
fail ArgumentError, "Missing the required parameter 'patched_access_policy' when calling AccessPoliciesApi.
|
142
|
+
fail ArgumentError, "Missing the required parameter 'patched_access_policy' when calling AccessPoliciesApi.access_policies_partial_update"
|
149
143
|
end
|
150
144
|
# resource path
|
151
145
|
local_var_path = '{access_policy_href}'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
|
@@ -183,7 +177,7 @@ module PulpContainerClient
|
|
183
177
|
|
184
178
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
185
179
|
if @api_client.config.debugging
|
186
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
180
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
187
181
|
end
|
188
182
|
return data, status_code, headers
|
189
183
|
end
|
@@ -195,8 +189,8 @@ module PulpContainerClient
|
|
195
189
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
196
190
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
197
191
|
# @return [AccessPolicyResponse]
|
198
|
-
def
|
199
|
-
data, _status_code, _headers =
|
192
|
+
def access_policies_read(access_policy_href, opts = {})
|
193
|
+
data, _status_code, _headers = access_policies_read_with_http_info(access_policy_href, opts)
|
200
194
|
data
|
201
195
|
end
|
202
196
|
|
@@ -207,13 +201,13 @@ module PulpContainerClient
|
|
207
201
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
208
202
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
209
203
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
210
|
-
def
|
204
|
+
def access_policies_read_with_http_info(access_policy_href, opts = {})
|
211
205
|
if @api_client.config.debugging
|
212
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
206
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_read ...'
|
213
207
|
end
|
214
208
|
# verify the required parameter 'access_policy_href' is set
|
215
209
|
if @api_client.config.client_side_validation && access_policy_href.nil?
|
216
|
-
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.
|
210
|
+
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_read"
|
217
211
|
end
|
218
212
|
# resource path
|
219
213
|
local_var_path = '{access_policy_href}'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
|
@@ -251,7 +245,7 @@ module PulpContainerClient
|
|
251
245
|
|
252
246
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
253
247
|
if @api_client.config.debugging
|
254
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
248
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
255
249
|
end
|
256
250
|
return data, status_code, headers
|
257
251
|
end
|
@@ -260,8 +254,8 @@ module PulpContainerClient
|
|
260
254
|
# @param access_policy_href [String]
|
261
255
|
# @param [Hash] opts the optional parameters
|
262
256
|
# @return [AccessPolicyResponse]
|
263
|
-
def
|
264
|
-
data, _status_code, _headers =
|
257
|
+
def access_policies_reset(access_policy_href, opts = {})
|
258
|
+
data, _status_code, _headers = access_policies_reset_with_http_info(access_policy_href, opts)
|
265
259
|
data
|
266
260
|
end
|
267
261
|
|
@@ -269,13 +263,13 @@ module PulpContainerClient
|
|
269
263
|
# @param access_policy_href [String]
|
270
264
|
# @param [Hash] opts the optional parameters
|
271
265
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
272
|
-
def
|
266
|
+
def access_policies_reset_with_http_info(access_policy_href, opts = {})
|
273
267
|
if @api_client.config.debugging
|
274
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
268
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_reset ...'
|
275
269
|
end
|
276
270
|
# verify the required parameter 'access_policy_href' is set
|
277
271
|
if @api_client.config.client_side_validation && access_policy_href.nil?
|
278
|
-
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.
|
272
|
+
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_reset"
|
279
273
|
end
|
280
274
|
# resource path
|
281
275
|
local_var_path = '{access_policy_href}reset/'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
|
@@ -311,7 +305,7 @@ module PulpContainerClient
|
|
311
305
|
|
312
306
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
313
307
|
if @api_client.config.debugging
|
314
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
308
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_reset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
315
309
|
end
|
316
310
|
return data, status_code, headers
|
317
311
|
end
|
@@ -322,8 +316,8 @@ module PulpContainerClient
|
|
322
316
|
# @param access_policy [AccessPolicy]
|
323
317
|
# @param [Hash] opts the optional parameters
|
324
318
|
# @return [AccessPolicyResponse]
|
325
|
-
def
|
326
|
-
data, _status_code, _headers =
|
319
|
+
def access_policies_update(access_policy_href, access_policy, opts = {})
|
320
|
+
data, _status_code, _headers = access_policies_update_with_http_info(access_policy_href, access_policy, opts)
|
327
321
|
data
|
328
322
|
end
|
329
323
|
|
@@ -333,17 +327,17 @@ module PulpContainerClient
|
|
333
327
|
# @param access_policy [AccessPolicy]
|
334
328
|
# @param [Hash] opts the optional parameters
|
335
329
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
336
|
-
def
|
330
|
+
def access_policies_update_with_http_info(access_policy_href, access_policy, opts = {})
|
337
331
|
if @api_client.config.debugging
|
338
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
332
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_update ...'
|
339
333
|
end
|
340
334
|
# verify the required parameter 'access_policy_href' is set
|
341
335
|
if @api_client.config.client_side_validation && access_policy_href.nil?
|
342
|
-
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.
|
336
|
+
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_update"
|
343
337
|
end
|
344
338
|
# verify the required parameter 'access_policy' is set
|
345
339
|
if @api_client.config.client_side_validation && access_policy.nil?
|
346
|
-
fail ArgumentError, "Missing the required parameter 'access_policy' when calling AccessPoliciesApi.
|
340
|
+
fail ArgumentError, "Missing the required parameter 'access_policy' when calling AccessPoliciesApi.access_policies_update"
|
347
341
|
end
|
348
342
|
# resource path
|
349
343
|
local_var_path = '{access_policy_href}'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
|
@@ -381,7 +375,7 @@ module PulpContainerClient
|
|
381
375
|
|
382
376
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
383
377
|
if @api_client.config.debugging
|
384
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
378
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
385
379
|
end
|
386
380
|
return data, status_code, headers
|
387
381
|
end
|