pulpcore_client 3.9.1 → 3.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -16
- data/docs/AccessPoliciesApi.md +12 -0
- data/docs/AccessPolicy.md +1 -3
- data/docs/AccessPolicyResponse.md +4 -2
- data/docs/ContentApi.md +78 -0
- data/docs/ContentGuardResponse.md +23 -0
- data/docs/ContentGuardsApi.md +82 -0
- data/docs/EvaluationResponse.md +21 -0
- data/docs/ExportersCoreExportsApi.md +15 -15
- data/docs/ExportersPulpApi.md +6 -0
- data/docs/GroupsApi.md +14 -0
- data/docs/GroupsModelPermissionsApi.md +118 -5
- data/docs/GroupsObjectPermissionsApi.md +15 -15
- data/docs/GroupsUsersApi.md +10 -10
- data/docs/ImportersCoreImportCheckApi.md +62 -0
- data/docs/ImportersCoreImportsApi.md +15 -15
- data/docs/ImportersPulpApi.md +6 -0
- data/docs/MultipleArtifactContentResponse.md +21 -0
- data/docs/PaginatedContentGuardResponseList.md +23 -0
- data/docs/PaginatedMultipleArtifactContentResponseList.md +23 -0
- data/docs/PaginatedRepositoryResponseList.md +23 -0
- data/docs/PatchedAccessPolicy.md +1 -3
- data/docs/PermissionResponse.md +1 -1
- data/docs/PulpImportCheck.md +21 -0
- data/docs/PulpImportCheckResponse.md +21 -0
- data/docs/RepositoriesApi.md +84 -0
- data/docs/RepositoryResponse.md +31 -0
- data/docs/SigningServiceResponse.md +4 -0
- data/docs/UsersApi.md +44 -0
- data/docs/WorkerResponse.md +3 -3
- data/docs/WorkersApi.md +6 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +18 -0
- data/lib/pulpcore_client/api/content_api.rb +102 -0
- data/lib/pulpcore_client/api/content_guards_api.rb +108 -0
- data/lib/pulpcore_client/api/exporters_core_exports_api.rb +27 -27
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +9 -0
- data/lib/pulpcore_client/api/groups_api.rb +21 -0
- data/lib/pulpcore_client/api/groups_model_permissions_api.rb +137 -9
- data/lib/pulpcore_client/api/groups_object_permissions_api.rb +27 -27
- data/lib/pulpcore_client/api/groups_users_api.rb +18 -18
- data/lib/pulpcore_client/api/importers_core_import_check_api.rb +86 -0
- data/lib/pulpcore_client/api/importers_core_imports_api.rb +27 -27
- data/lib/pulpcore_client/api/importers_pulp_api.rb +9 -0
- data/lib/pulpcore_client/api/repositories_api.rb +111 -0
- data/lib/pulpcore_client/api/users_api.rb +66 -0
- data/lib/pulpcore_client/api/workers_api.rb +9 -0
- data/lib/pulpcore_client/models/access_policy.rb +4 -19
- data/lib/pulpcore_client/models/access_policy_response.rb +14 -9
- data/lib/pulpcore_client/models/content_guard_response.rb +243 -0
- data/lib/pulpcore_client/models/evaluation_response.rb +245 -0
- data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +232 -0
- data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_repository_response_list.rb +237 -0
- data/lib/pulpcore_client/models/patched_access_policy.rb +4 -14
- data/lib/pulpcore_client/models/permission_response.rb +1 -1
- data/lib/pulpcore_client/models/pulp_import_check.rb +228 -0
- data/lib/pulpcore_client/models/pulp_import_check_response.rb +228 -0
- data/lib/pulpcore_client/models/repository_response.rb +280 -0
- data/lib/pulpcore_client/models/signing_service_response.rb +31 -1
- data/lib/pulpcore_client/models/worker_response.rb +10 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +13 -0
- data/spec/api/access_policies_api_spec.rb +6 -0
- data/spec/api/content_api_spec.rb +54 -0
- data/spec/api/content_guards_api_spec.rb +56 -0
- data/spec/api/exporters_core_exports_api_spec.rb +3 -3
- data/spec/api/exporters_pulp_api_spec.rb +3 -0
- data/spec/api/groups_api_spec.rb +7 -0
- data/spec/api/groups_model_permissions_api_spec.rb +27 -1
- data/spec/api/groups_object_permissions_api_spec.rb +3 -3
- data/spec/api/groups_users_api_spec.rb +2 -2
- data/spec/api/importers_core_import_check_api_spec.rb +47 -0
- data/spec/api/importers_core_imports_api_spec.rb +3 -3
- data/spec/api/importers_pulp_api_spec.rb +3 -0
- data/spec/api/repositories_api_spec.rb +57 -0
- data/spec/api/users_api_spec.rb +22 -0
- data/spec/api/workers_api_spec.rb +3 -0
- data/spec/models/access_policy_response_spec.rb +6 -0
- data/spec/models/access_policy_spec.rb +0 -6
- data/spec/models/content_guard_response_spec.rb +59 -0
- data/spec/models/evaluation_response_spec.rb +53 -0
- data/spec/models/multiple_artifact_content_response_spec.rb +53 -0
- data/spec/models/paginated_content_guard_response_list_spec.rb +59 -0
- data/spec/models/paginated_multiple_artifact_content_response_list_spec.rb +59 -0
- data/spec/models/paginated_repository_response_list_spec.rb +59 -0
- data/spec/models/patched_access_policy_spec.rb +0 -6
- data/spec/models/pulp_import_check_response_spec.rb +53 -0
- data/spec/models/pulp_import_check_spec.rb +53 -0
- data/spec/models/repository_response_spec.rb +83 -0
- data/spec/models/signing_service_response_spec.rb +12 -0
- data/spec/models/worker_response_spec.rb +2 -2
- metadata +112 -60
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e39021a8e34c0ce0dc79240623efccb0cbc2b214da32d55c51c384762c035dfe
|
4
|
+
data.tar.gz: b86bda8bf1f8dd5116f3c71a455c4db59f18b5f9325acc49f42659c4ebf2d49a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89eff119e1af0f939d12584929f929964fcbf8213824d6c44430d4509eddb86b5b50584ca08159d9d7861ee69ef27d4b23e5df26cd6638eb3fbb09863add63f9
|
7
|
+
data.tar.gz: 32336f87dea218de031c2732f4628cd34b59d54c83de039ac693d1a87584d29dd61adab5ffd5c8a991304c8295730a111bd7fe6f274364022856a084683ddeee
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.
|
10
|
+
- Package version: 3.10.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulpcore_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulpcore_client-3.
|
27
|
+
gem install ./pulpcore_client-3.10.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.10.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulpcore_client', '~> 3.
|
36
|
+
gem 'pulpcore_client', '~> 3.10.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -66,9 +66,15 @@ end
|
|
66
66
|
|
67
67
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
68
68
|
opts = {
|
69
|
+
customized: 'customized_example', # String | customized
|
69
70
|
limit: 56, # Integer | Number of results to return per page.
|
70
71
|
offset: 56, # Integer | The initial index from which to return the results.
|
71
72
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
73
|
+
viewset_name: 'viewset_name_example', # String | viewset_name
|
74
|
+
viewset_name__contains: 'viewset_name__contains_example', # String | viewset_name__contains
|
75
|
+
viewset_name__icontains: 'viewset_name__icontains_example', # String | viewset_name__icontains
|
76
|
+
viewset_name__in: 'viewset_name__in_example', # String | viewset_name__in
|
77
|
+
viewset_name__startswith: 'viewset_name__startswith_example', # String | viewset_name__startswith
|
72
78
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
73
79
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
74
80
|
}
|
@@ -97,10 +103,12 @@ Class | Method | HTTP request | Description
|
|
97
103
|
*PulpcoreClient::ArtifactsApi* | [**delete**](docs/ArtifactsApi.md#delete) | **DELETE** {artifact_href} | Delete an artifact
|
98
104
|
*PulpcoreClient::ArtifactsApi* | [**list**](docs/ArtifactsApi.md#list) | **GET** /pulp/api/v3/artifacts/ | List artifacts
|
99
105
|
*PulpcoreClient::ArtifactsApi* | [**read**](docs/ArtifactsApi.md#read) | **GET** {artifact_href} | Inspect an artifact
|
100
|
-
*PulpcoreClient::
|
101
|
-
*PulpcoreClient::
|
106
|
+
*PulpcoreClient::ContentApi* | [**list**](docs/ContentApi.md#list) | **GET** /pulp/api/v3/content/ | List content
|
107
|
+
*PulpcoreClient::ContentGuardsApi* | [**list**](docs/ContentGuardsApi.md#list) | **GET** /pulp/api/v3/content_guards/ | List content guards
|
108
|
+
*PulpcoreClient::ExportersCoreExportsApi* | [**create**](docs/ExportersCoreExportsApi.md#create) | **POST** {pulp_exporter_href}exports/ | Create a pulp export
|
109
|
+
*PulpcoreClient::ExportersCoreExportsApi* | [**delete**](docs/ExportersCoreExportsApi.md#delete) | **DELETE** {pulp_pulp_export_href} | Delete a pulp export
|
102
110
|
*PulpcoreClient::ExportersCoreExportsApi* | [**list**](docs/ExportersCoreExportsApi.md#list) | **GET** {pulp_exporter_href}exports/ | List pulp exports
|
103
|
-
*PulpcoreClient::ExportersCoreExportsApi* | [**read**](docs/ExportersCoreExportsApi.md#read) | **GET** {
|
111
|
+
*PulpcoreClient::ExportersCoreExportsApi* | [**read**](docs/ExportersCoreExportsApi.md#read) | **GET** {pulp_pulp_export_href} | Inspect a pulp export
|
104
112
|
*PulpcoreClient::ExportersPulpApi* | [**create**](docs/ExportersPulpApi.md#create) | **POST** /pulp/api/v3/exporters/core/pulp/ | Create a pulp exporter
|
105
113
|
*PulpcoreClient::ExportersPulpApi* | [**delete**](docs/ExportersPulpApi.md#delete) | **DELETE** {pulp_exporter_href} | Delete a pulp exporter
|
106
114
|
*PulpcoreClient::ExportersPulpApi* | [**list**](docs/ExportersPulpApi.md#list) | **GET** /pulp/api/v3/exporters/core/pulp/ | List pulp exporters
|
@@ -113,19 +121,22 @@ Class | Method | HTTP request | Description
|
|
113
121
|
*PulpcoreClient::GroupsApi* | [**partial_update**](docs/GroupsApi.md#partial_update) | **PATCH** {auth_group_href} | Update a group
|
114
122
|
*PulpcoreClient::GroupsApi* | [**read**](docs/GroupsApi.md#read) | **GET** {auth_group_href} | Inspect a group
|
115
123
|
*PulpcoreClient::GroupsApi* | [**update**](docs/GroupsApi.md#update) | **PUT** {auth_group_href} | Update a group
|
116
|
-
*PulpcoreClient::GroupsModelPermissionsApi* | [**create**](docs/GroupsModelPermissionsApi.md#create) | **POST** {
|
124
|
+
*PulpcoreClient::GroupsModelPermissionsApi* | [**create**](docs/GroupsModelPermissionsApi.md#create) | **POST** {auth_group_href}model_permissions/ | Create a permission
|
125
|
+
*PulpcoreClient::GroupsModelPermissionsApi* | [**delete**](docs/GroupsModelPermissionsApi.md#delete) | **DELETE** {auth_groups_model_permission_href} | Delete a permission
|
117
126
|
*PulpcoreClient::GroupsModelPermissionsApi* | [**list**](docs/GroupsModelPermissionsApi.md#list) | **GET** {auth_group_href}model_permissions/ | List permissions
|
118
|
-
*PulpcoreClient::
|
119
|
-
*PulpcoreClient::GroupsObjectPermissionsApi* | [**
|
127
|
+
*PulpcoreClient::GroupsModelPermissionsApi* | [**read**](docs/GroupsModelPermissionsApi.md#read) | **GET** {auth_groups_model_permission_href} | Inspect a permission
|
128
|
+
*PulpcoreClient::GroupsObjectPermissionsApi* | [**create**](docs/GroupsObjectPermissionsApi.md#create) | **POST** {auth_group_href}object_permissions/ | Create a permission
|
129
|
+
*PulpcoreClient::GroupsObjectPermissionsApi* | [**delete**](docs/GroupsObjectPermissionsApi.md#delete) | **DELETE** {auth_groups_object_permission_href} | Delete a permission
|
120
130
|
*PulpcoreClient::GroupsObjectPermissionsApi* | [**list**](docs/GroupsObjectPermissionsApi.md#list) | **GET** {auth_group_href}object_permissions/ | List permissions
|
121
|
-
*PulpcoreClient::GroupsObjectPermissionsApi* | [**read**](docs/GroupsObjectPermissionsApi.md#read) | **GET** {
|
122
|
-
*PulpcoreClient::GroupsUsersApi* | [**create**](docs/GroupsUsersApi.md#create) | **POST** {
|
123
|
-
*PulpcoreClient::GroupsUsersApi* | [**delete**](docs/GroupsUsersApi.md#delete) | **DELETE** {
|
131
|
+
*PulpcoreClient::GroupsObjectPermissionsApi* | [**read**](docs/GroupsObjectPermissionsApi.md#read) | **GET** {auth_groups_object_permission_href} | Inspect a permission
|
132
|
+
*PulpcoreClient::GroupsUsersApi* | [**create**](docs/GroupsUsersApi.md#create) | **POST** {auth_group_href}users/ | Create an user
|
133
|
+
*PulpcoreClient::GroupsUsersApi* | [**delete**](docs/GroupsUsersApi.md#delete) | **DELETE** {auth_groups_user_href} | Delete an user
|
124
134
|
*PulpcoreClient::GroupsUsersApi* | [**list**](docs/GroupsUsersApi.md#list) | **GET** {auth_group_href}users/ | List users
|
125
|
-
*PulpcoreClient::
|
126
|
-
*PulpcoreClient::ImportersCoreImportsApi* | [**
|
135
|
+
*PulpcoreClient::ImportersCoreImportCheckApi* | [**pulp_import_check_post**](docs/ImportersCoreImportCheckApi.md#pulp_import_check_post) | **POST** /pulp/api/v3/importers/core/pulp/import-check/ | Validate the parameters to be used for a PulpImport call
|
136
|
+
*PulpcoreClient::ImportersCoreImportsApi* | [**create**](docs/ImportersCoreImportsApi.md#create) | **POST** {pulp_importer_href}imports/ | Create a pulp import
|
137
|
+
*PulpcoreClient::ImportersCoreImportsApi* | [**delete**](docs/ImportersCoreImportsApi.md#delete) | **DELETE** {pulp_pulp_import_href} | Delete a pulp import
|
127
138
|
*PulpcoreClient::ImportersCoreImportsApi* | [**list**](docs/ImportersCoreImportsApi.md#list) | **GET** {pulp_importer_href}imports/ | List pulp imports
|
128
|
-
*PulpcoreClient::ImportersCoreImportsApi* | [**read**](docs/ImportersCoreImportsApi.md#read) | **GET** {
|
139
|
+
*PulpcoreClient::ImportersCoreImportsApi* | [**read**](docs/ImportersCoreImportsApi.md#read) | **GET** {pulp_pulp_import_href} | Inspect a pulp import
|
129
140
|
*PulpcoreClient::ImportersPulpApi* | [**create**](docs/ImportersPulpApi.md#create) | **POST** /pulp/api/v3/importers/core/pulp/ | Create a pulp importer
|
130
141
|
*PulpcoreClient::ImportersPulpApi* | [**delete**](docs/ImportersPulpApi.md#delete) | **DELETE** {pulp_importer_href} | Delete a pulp importer
|
131
142
|
*PulpcoreClient::ImportersPulpApi* | [**list**](docs/ImportersPulpApi.md#list) | **GET** /pulp/api/v3/importers/core/pulp/ | List pulp importers
|
@@ -134,6 +145,7 @@ Class | Method | HTTP request | Description
|
|
134
145
|
*PulpcoreClient::ImportersPulpApi* | [**update**](docs/ImportersPulpApi.md#update) | **PUT** {pulp_importer_href} | Update a pulp importer
|
135
146
|
*PulpcoreClient::OrphansApi* | [**delete**](docs/OrphansApi.md#delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans
|
136
147
|
*PulpcoreClient::RepairApi* | [**post**](docs/RepairApi.md#post) | **POST** /pulp/api/v3/repair/ | Repair Artifact Storage
|
148
|
+
*PulpcoreClient::RepositoriesApi* | [**list**](docs/RepositoriesApi.md#list) | **GET** /pulp/api/v3/repositories/ | List repositories
|
137
149
|
*PulpcoreClient::SigningServicesApi* | [**list**](docs/SigningServicesApi.md#list) | **GET** /pulp/api/v3/signing-services/ | List signing services
|
138
150
|
*PulpcoreClient::SigningServicesApi* | [**read**](docs/SigningServicesApi.md#read) | **GET** {signing_service_href} | Inspect a signing service
|
139
151
|
*PulpcoreClient::StatusApi* | [**status_read**](docs/StatusApi.md#status_read) | **GET** /pulp/api/v3/status/ | Inspect status of Pulp
|
@@ -164,22 +176,28 @@ Class | Method | HTTP request | Description
|
|
164
176
|
- [PulpcoreClient::ArtifactResponse](docs/ArtifactResponse.md)
|
165
177
|
- [PulpcoreClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
166
178
|
- [PulpcoreClient::ContentAppStatusResponse](docs/ContentAppStatusResponse.md)
|
179
|
+
- [PulpcoreClient::ContentGuardResponse](docs/ContentGuardResponse.md)
|
167
180
|
- [PulpcoreClient::DatabaseConnectionResponse](docs/DatabaseConnectionResponse.md)
|
181
|
+
- [PulpcoreClient::EvaluationResponse](docs/EvaluationResponse.md)
|
168
182
|
- [PulpcoreClient::Group](docs/Group.md)
|
169
183
|
- [PulpcoreClient::GroupProgressReportResponse](docs/GroupProgressReportResponse.md)
|
170
184
|
- [PulpcoreClient::GroupResponse](docs/GroupResponse.md)
|
171
185
|
- [PulpcoreClient::GroupUser](docs/GroupUser.md)
|
172
186
|
- [PulpcoreClient::GroupUserResponse](docs/GroupUserResponse.md)
|
173
187
|
- [PulpcoreClient::ImportResponse](docs/ImportResponse.md)
|
188
|
+
- [PulpcoreClient::MultipleArtifactContentResponse](docs/MultipleArtifactContentResponse.md)
|
174
189
|
- [PulpcoreClient::PaginatedAccessPolicyResponseList](docs/PaginatedAccessPolicyResponseList.md)
|
175
190
|
- [PulpcoreClient::PaginatedArtifactResponseList](docs/PaginatedArtifactResponseList.md)
|
191
|
+
- [PulpcoreClient::PaginatedContentGuardResponseList](docs/PaginatedContentGuardResponseList.md)
|
176
192
|
- [PulpcoreClient::PaginatedGroupResponseList](docs/PaginatedGroupResponseList.md)
|
177
193
|
- [PulpcoreClient::PaginatedGroupUserResponseList](docs/PaginatedGroupUserResponseList.md)
|
178
194
|
- [PulpcoreClient::PaginatedImportResponseList](docs/PaginatedImportResponseList.md)
|
195
|
+
- [PulpcoreClient::PaginatedMultipleArtifactContentResponseList](docs/PaginatedMultipleArtifactContentResponseList.md)
|
179
196
|
- [PulpcoreClient::PaginatedPermissionResponseList](docs/PaginatedPermissionResponseList.md)
|
180
197
|
- [PulpcoreClient::PaginatedPulpExportResponseList](docs/PaginatedPulpExportResponseList.md)
|
181
198
|
- [PulpcoreClient::PaginatedPulpExporterResponseList](docs/PaginatedPulpExporterResponseList.md)
|
182
199
|
- [PulpcoreClient::PaginatedPulpImporterResponseList](docs/PaginatedPulpImporterResponseList.md)
|
200
|
+
- [PulpcoreClient::PaginatedRepositoryResponseList](docs/PaginatedRepositoryResponseList.md)
|
183
201
|
- [PulpcoreClient::PaginatedSigningServiceResponseList](docs/PaginatedSigningServiceResponseList.md)
|
184
202
|
- [PulpcoreClient::PaginatedTaskGroupResponseList](docs/PaginatedTaskGroupResponseList.md)
|
185
203
|
- [PulpcoreClient::PaginatedTaskResponseList](docs/PaginatedTaskResponseList.md)
|
@@ -198,9 +216,12 @@ Class | Method | HTTP request | Description
|
|
198
216
|
- [PulpcoreClient::PulpExporter](docs/PulpExporter.md)
|
199
217
|
- [PulpcoreClient::PulpExporterResponse](docs/PulpExporterResponse.md)
|
200
218
|
- [PulpcoreClient::PulpImport](docs/PulpImport.md)
|
219
|
+
- [PulpcoreClient::PulpImportCheck](docs/PulpImportCheck.md)
|
220
|
+
- [PulpcoreClient::PulpImportCheckResponse](docs/PulpImportCheckResponse.md)
|
201
221
|
- [PulpcoreClient::PulpImporter](docs/PulpImporter.md)
|
202
222
|
- [PulpcoreClient::PulpImporterResponse](docs/PulpImporterResponse.md)
|
203
223
|
- [PulpcoreClient::RedisConnectionResponse](docs/RedisConnectionResponse.md)
|
224
|
+
- [PulpcoreClient::RepositoryResponse](docs/RepositoryResponse.md)
|
204
225
|
- [PulpcoreClient::SigningServiceResponse](docs/SigningServiceResponse.md)
|
205
226
|
- [PulpcoreClient::StatusResponse](docs/StatusResponse.md)
|
206
227
|
- [PulpcoreClient::StorageResponse](docs/StorageResponse.md)
|
data/docs/AccessPoliciesApi.md
CHANGED
@@ -33,9 +33,15 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
35
35
|
opts = {
|
36
|
+
customized: 'customized_example', # String | customized
|
36
37
|
limit: 56, # Integer | Number of results to return per page.
|
37
38
|
offset: 56, # Integer | The initial index from which to return the results.
|
38
39
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
40
|
+
viewset_name: 'viewset_name_example', # String | viewset_name
|
41
|
+
viewset_name__contains: 'viewset_name__contains_example', # String | viewset_name__contains
|
42
|
+
viewset_name__icontains: 'viewset_name__icontains_example', # String | viewset_name__icontains
|
43
|
+
viewset_name__in: 'viewset_name__in_example', # String | viewset_name__in
|
44
|
+
viewset_name__startswith: 'viewset_name__startswith_example', # String | viewset_name__startswith
|
39
45
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
40
46
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
41
47
|
}
|
@@ -54,9 +60,15 @@ end
|
|
54
60
|
|
55
61
|
Name | Type | Description | Notes
|
56
62
|
------------- | ------------- | ------------- | -------------
|
63
|
+
**customized** | **String**| customized | [optional]
|
57
64
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
58
65
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
59
66
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
67
|
+
**viewset_name** | **String**| viewset_name | [optional]
|
68
|
+
**viewset_name__contains** | **String**| viewset_name__contains | [optional]
|
69
|
+
**viewset_name__icontains** | **String**| viewset_name__icontains | [optional]
|
70
|
+
**viewset_name__in** | **String**| viewset_name__in | [optional]
|
71
|
+
**viewset_name__startswith** | **String**| viewset_name__startswith | [optional]
|
60
72
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
61
73
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
62
74
|
|
data/docs/AccessPolicy.md
CHANGED
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects. |
|
8
8
|
**statements** | **Array<Object>** | List of policy statements defining the policy. |
|
9
|
-
**viewset_name** | **String** | The name of ViewSet this AccessPolicy authorizes. |
|
10
9
|
|
11
10
|
## Code Sample
|
12
11
|
|
@@ -14,8 +13,7 @@ Name | Type | Description | Notes
|
|
14
13
|
require 'PulpcoreClient'
|
15
14
|
|
16
15
|
instance = PulpcoreClient::AccessPolicy.new(permissions_assignment: null,
|
17
|
-
statements: null
|
18
|
-
viewset_name: null)
|
16
|
+
statements: null)
|
19
17
|
```
|
20
18
|
|
21
19
|
|
@@ -8,7 +8,8 @@ Name | Type | Description | Notes
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects. |
|
10
10
|
**statements** | **Array<Object>** | List of policy statements defining the policy. |
|
11
|
-
**viewset_name** | **String** | The name of ViewSet this AccessPolicy authorizes. |
|
11
|
+
**viewset_name** | **String** | The name of ViewSet this AccessPolicy authorizes. | [optional] [readonly]
|
12
|
+
**customized** | **Boolean** | True if the AccessPolicy has been user-modified. False otherwise. | [optional] [readonly]
|
12
13
|
|
13
14
|
## Code Sample
|
14
15
|
|
@@ -19,7 +20,8 @@ instance = PulpcoreClient::AccessPolicyResponse.new(pulp_href: null,
|
|
19
20
|
pulp_created: null,
|
20
21
|
permissions_assignment: null,
|
21
22
|
statements: null,
|
22
|
-
viewset_name: null
|
23
|
+
viewset_name: null,
|
24
|
+
customized: null)
|
23
25
|
```
|
24
26
|
|
25
27
|
|
data/docs/ContentApi.md
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
# PulpcoreClient::ContentApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](ContentApi.md#list) | **GET** /pulp/api/v3/content/ | List content
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## list
|
12
|
+
|
13
|
+
> PaginatedMultipleArtifactContentResponseList list(opts)
|
14
|
+
|
15
|
+
List content
|
16
|
+
|
17
|
+
Endpoint to list all content.
|
18
|
+
|
19
|
+
### Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'pulpcore_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpcoreClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: basicAuth
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = PulpcoreClient::ContentApi.new
|
32
|
+
opts = {
|
33
|
+
limit: 56, # Integer | Number of results to return per page.
|
34
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
35
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
36
|
+
repository_version: 'repository_version_example', # String | repository_version
|
37
|
+
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
38
|
+
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
39
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
40
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
41
|
+
}
|
42
|
+
|
43
|
+
begin
|
44
|
+
#List content
|
45
|
+
result = api_instance.list(opts)
|
46
|
+
p result
|
47
|
+
rescue PulpcoreClient::ApiError => e
|
48
|
+
puts "Exception when calling ContentApi->list: #{e}"
|
49
|
+
end
|
50
|
+
```
|
51
|
+
|
52
|
+
### Parameters
|
53
|
+
|
54
|
+
|
55
|
+
Name | Type | Description | Notes
|
56
|
+
------------- | ------------- | ------------- | -------------
|
57
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
58
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
59
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
60
|
+
**repository_version** | **String**| repository_version | [optional]
|
61
|
+
**repository_version_added** | **String**| repository_version_added | [optional]
|
62
|
+
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
63
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
64
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
65
|
+
|
66
|
+
### Return type
|
67
|
+
|
68
|
+
[**PaginatedMultipleArtifactContentResponseList**](PaginatedMultipleArtifactContentResponseList.md)
|
69
|
+
|
70
|
+
### Authorization
|
71
|
+
|
72
|
+
[basicAuth](../README.md#basicAuth)
|
73
|
+
|
74
|
+
### HTTP request headers
|
75
|
+
|
76
|
+
- **Content-Type**: Not defined
|
77
|
+
- **Accept**: application/json
|
78
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::ContentGuardResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**name** | **String** | The unique name. |
|
10
|
+
**description** | **String** | An optional description. | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::ContentGuardResponse.new(pulp_href: null,
|
18
|
+
pulp_created: null,
|
19
|
+
name: null,
|
20
|
+
description: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# PulpcoreClient::ContentGuardsApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](ContentGuardsApi.md#list) | **GET** /pulp/api/v3/content_guards/ | List content guards
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## list
|
12
|
+
|
13
|
+
> PaginatedContentGuardResponseList list(opts)
|
14
|
+
|
15
|
+
List content guards
|
16
|
+
|
17
|
+
Endpoint to list all content_guards.
|
18
|
+
|
19
|
+
### Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'pulpcore_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpcoreClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: basicAuth
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = PulpcoreClient::ContentGuardsApi.new
|
32
|
+
opts = {
|
33
|
+
limit: 56, # Integer | Number of results to return per page.
|
34
|
+
name: 'name_example', # String | name
|
35
|
+
name__contains: 'name__contains_example', # String | name__contains
|
36
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
37
|
+
name__in: 'name__in_example', # String | name__in
|
38
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
39
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
40
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
41
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
42
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
43
|
+
}
|
44
|
+
|
45
|
+
begin
|
46
|
+
#List content guards
|
47
|
+
result = api_instance.list(opts)
|
48
|
+
p result
|
49
|
+
rescue PulpcoreClient::ApiError => e
|
50
|
+
puts "Exception when calling ContentGuardsApi->list: #{e}"
|
51
|
+
end
|
52
|
+
```
|
53
|
+
|
54
|
+
### Parameters
|
55
|
+
|
56
|
+
|
57
|
+
Name | Type | Description | Notes
|
58
|
+
------------- | ------------- | ------------- | -------------
|
59
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
60
|
+
**name** | **String**| name | [optional]
|
61
|
+
**name__contains** | **String**| name__contains | [optional]
|
62
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
63
|
+
**name__in** | **String**| name__in | [optional]
|
64
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
65
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
66
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
67
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
68
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
69
|
+
|
70
|
+
### Return type
|
71
|
+
|
72
|
+
[**PaginatedContentGuardResponseList**](PaginatedContentGuardResponseList.md)
|
73
|
+
|
74
|
+
### Authorization
|
75
|
+
|
76
|
+
[basicAuth](../README.md#basicAuth)
|
77
|
+
|
78
|
+
### HTTP request headers
|
79
|
+
|
80
|
+
- **Content-Type**: Not defined
|
81
|
+
- **Accept**: application/json
|
82
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpcoreClient::EvaluationResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**context** | **String** | Parameter value being evaluated. |
|
8
|
+
**is_valid** | **Boolean** | True if evaluation passed, false otherwise. |
|
9
|
+
**messages** | **Array<String>** | Messages describing results of all evaluations done. May be an empty list. |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpcoreClient'
|
15
|
+
|
16
|
+
instance = PulpcoreClient::EvaluationResponse.new(context: null,
|
17
|
+
is_valid: null,
|
18
|
+
messages: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -4,16 +4,16 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](ExportersCoreExportsApi.md#create) | **POST** {
|
8
|
-
[**delete**](ExportersCoreExportsApi.md#delete) | **DELETE** {
|
7
|
+
[**create**](ExportersCoreExportsApi.md#create) | **POST** {pulp_exporter_href}exports/ | Create a pulp export
|
8
|
+
[**delete**](ExportersCoreExportsApi.md#delete) | **DELETE** {pulp_pulp_export_href} | Delete a pulp export
|
9
9
|
[**list**](ExportersCoreExportsApi.md#list) | **GET** {pulp_exporter_href}exports/ | List pulp exports
|
10
|
-
[**read**](ExportersCoreExportsApi.md#read) | **GET** {
|
10
|
+
[**read**](ExportersCoreExportsApi.md#read) | **GET** {pulp_pulp_export_href} | Inspect a pulp export
|
11
11
|
|
12
12
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> AsyncOperationResponse create(
|
16
|
+
> AsyncOperationResponse create(pulp_exporter_href, pulp_export)
|
17
17
|
|
18
18
|
Create a pulp export
|
19
19
|
|
@@ -32,12 +32,12 @@ PulpcoreClient.configure do |config|
|
|
32
32
|
end
|
33
33
|
|
34
34
|
api_instance = PulpcoreClient::ExportersCoreExportsApi.new
|
35
|
-
|
35
|
+
pulp_exporter_href = 'pulp_exporter_href_example' # String |
|
36
36
|
pulp_export = PulpcoreClient::PulpExport.new # PulpExport |
|
37
37
|
|
38
38
|
begin
|
39
39
|
#Create a pulp export
|
40
|
-
result = api_instance.create(
|
40
|
+
result = api_instance.create(pulp_exporter_href, pulp_export)
|
41
41
|
p result
|
42
42
|
rescue PulpcoreClient::ApiError => e
|
43
43
|
puts "Exception when calling ExportersCoreExportsApi->create: #{e}"
|
@@ -49,7 +49,7 @@ end
|
|
49
49
|
|
50
50
|
Name | Type | Description | Notes
|
51
51
|
------------- | ------------- | ------------- | -------------
|
52
|
-
**
|
52
|
+
**pulp_exporter_href** | **String**| |
|
53
53
|
**pulp_export** | [**PulpExport**](PulpExport.md)| |
|
54
54
|
|
55
55
|
### Return type
|
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> delete(
|
71
|
+
> delete(pulp_pulp_export_href)
|
72
72
|
|
73
73
|
Delete a pulp export
|
74
74
|
|
@@ -87,11 +87,11 @@ PulpcoreClient.configure do |config|
|
|
87
87
|
end
|
88
88
|
|
89
89
|
api_instance = PulpcoreClient::ExportersCoreExportsApi.new
|
90
|
-
|
90
|
+
pulp_pulp_export_href = 'pulp_pulp_export_href_example' # String |
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a pulp export
|
94
|
-
api_instance.delete(
|
94
|
+
api_instance.delete(pulp_pulp_export_href)
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
96
96
|
puts "Exception when calling ExportersCoreExportsApi->delete: #{e}"
|
97
97
|
end
|
@@ -102,7 +102,7 @@ end
|
|
102
102
|
|
103
103
|
Name | Type | Description | Notes
|
104
104
|
------------- | ------------- | ------------- | -------------
|
105
|
-
**
|
105
|
+
**pulp_pulp_export_href** | **String**| |
|
106
106
|
|
107
107
|
### Return type
|
108
108
|
|
@@ -185,7 +185,7 @@ Name | Type | Description | Notes
|
|
185
185
|
|
186
186
|
## read
|
187
187
|
|
188
|
-
> PulpExportResponse read(
|
188
|
+
> PulpExportResponse read(pulp_pulp_export_href, opts)
|
189
189
|
|
190
190
|
Inspect a pulp export
|
191
191
|
|
@@ -204,7 +204,7 @@ PulpcoreClient.configure do |config|
|
|
204
204
|
end
|
205
205
|
|
206
206
|
api_instance = PulpcoreClient::ExportersCoreExportsApi.new
|
207
|
-
|
207
|
+
pulp_pulp_export_href = 'pulp_pulp_export_href_example' # String |
|
208
208
|
opts = {
|
209
209
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
210
210
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -212,7 +212,7 @@ opts = {
|
|
212
212
|
|
213
213
|
begin
|
214
214
|
#Inspect a pulp export
|
215
|
-
result = api_instance.read(
|
215
|
+
result = api_instance.read(pulp_pulp_export_href, opts)
|
216
216
|
p result
|
217
217
|
rescue PulpcoreClient::ApiError => e
|
218
218
|
puts "Exception when calling ExportersCoreExportsApi->read: #{e}"
|
@@ -224,7 +224,7 @@ end
|
|
224
224
|
|
225
225
|
Name | Type | Description | Notes
|
226
226
|
------------- | ------------- | ------------- | -------------
|
227
|
-
**
|
227
|
+
**pulp_pulp_export_href** | **String**| |
|
228
228
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
229
229
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
230
230
|
|
data/docs/ExportersPulpApi.md
CHANGED
@@ -142,7 +142,10 @@ api_instance = PulpcoreClient::ExportersPulpApi.new
|
|
142
142
|
opts = {
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
name: 'name_example', # String | name
|
145
|
+
name__contains: 'name__contains_example', # String | name__contains
|
146
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
145
147
|
name__in: 'name__in_example', # String | name__in
|
148
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
146
149
|
offset: 56, # Integer | The initial index from which to return the results.
|
147
150
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
148
151
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -165,7 +168,10 @@ Name | Type | Description | Notes
|
|
165
168
|
------------- | ------------- | ------------- | -------------
|
166
169
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
167
170
|
**name** | **String**| name | [optional]
|
171
|
+
**name__contains** | **String**| name__contains | [optional]
|
172
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
168
173
|
**name__in** | **String**| name__in | [optional]
|
174
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
169
175
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
170
176
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
171
177
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
data/docs/GroupsApi.md
CHANGED
@@ -140,7 +140,14 @@ end
|
|
140
140
|
|
141
141
|
api_instance = PulpcoreClient::GroupsApi.new
|
142
142
|
opts = {
|
143
|
+
id: 'id_example', # String | id
|
144
|
+
id__in: 'id__in_example', # String | id__in
|
143
145
|
limit: 56, # Integer | Number of results to return per page.
|
146
|
+
name: 'name_example', # String | name
|
147
|
+
name__contains: 'name__contains_example', # String | name__contains
|
148
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
149
|
+
name__iexact: 'name__iexact_example', # String | name__iexact
|
150
|
+
name__in: 'name__in_example', # String | name__in
|
144
151
|
offset: 56, # Integer | The initial index from which to return the results.
|
145
152
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
146
153
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -161,7 +168,14 @@ end
|
|
161
168
|
|
162
169
|
Name | Type | Description | Notes
|
163
170
|
------------- | ------------- | ------------- | -------------
|
171
|
+
**id** | **String**| id | [optional]
|
172
|
+
**id__in** | **String**| id__in | [optional]
|
164
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
174
|
+
**name** | **String**| name | [optional]
|
175
|
+
**name__contains** | **String**| name__contains | [optional]
|
176
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
177
|
+
**name__iexact** | **String**| name__iexact | [optional]
|
178
|
+
**name__in** | **String**| name__in | [optional]
|
165
179
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
166
180
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
167
181
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|