pulpcore_client 3.19.1 → 3.20.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 +93 -16
- data/docs/AccessPoliciesApi.md +2 -2
- data/docs/AccessPolicy.md +3 -1
- data/docs/AccessPolicyResponse.md +3 -1
- data/docs/AcsApi.md +417 -0
- data/docs/AlternateContentSource.md +23 -0
- data/docs/AlternateContentSourceResponse.md +27 -0
- data/docs/ArtifactsApi.md +2 -2
- data/docs/ContentApi.md +117 -3
- data/docs/ContentGuard.md +19 -0
- data/docs/ContentguardsApi.md +282 -3
- data/docs/ContentguardsContentRedirectApi.md +230 -2
- data/docs/ContentguardsRbacApi.md +2 -2
- data/docs/Distribution.md +25 -0
- data/docs/DistributionsApi.md +283 -3
- data/docs/Export.md +17 -0
- data/docs/ExportResponse.md +25 -0
- data/docs/Exporter.md +17 -0
- data/docs/ExporterResponse.md +21 -0
- data/docs/ExportersApi.md +362 -0
- data/docs/{GroupsModelPermissionsApi.md → ExportersExportsApi.md} +46 -48
- data/docs/ExportersFilesystemApi.md +2 -2
- data/docs/ExportersFilesystemExportsApi.md +0 -2
- data/docs/ExportersPulpApi.md +2 -2
- data/docs/ExportersPulpExportsApi.md +0 -2
- data/docs/GroupRole.md +1 -1
- data/docs/GroupRoleResponse.md +6 -2
- data/docs/GroupsApi.md +2 -2
- data/docs/GroupsRolesApi.md +2 -2
- data/docs/GroupsUsersApi.md +0 -2
- data/docs/Import.md +19 -0
- data/docs/Importer.md +17 -0
- data/docs/ImporterResponse.md +21 -0
- data/docs/ImportersApi.md +361 -0
- data/docs/{GroupsObjectPermissionsApi.md → ImportersImportsApi.md} +46 -48
- data/docs/ImportersPulpApi.md +2 -2
- data/docs/ImportersPulpImportsApi.md +0 -2
- data/docs/MultipleArtifactContent.md +17 -0
- data/docs/OrphansCleanup.md +1 -1
- data/docs/PaginatedAlternateContentSourceResponseList.md +23 -0
- data/docs/{PaginatedPermissionResponseList.md → PaginatedExportResponseList.md} +3 -3
- data/docs/PaginatedExporterResponseList.md +23 -0
- data/docs/PaginatedImporterResponseList.md +23 -0
- data/docs/PaginatedRemoteResponseList.md +23 -0
- data/docs/PatchedAccessPolicy.md +3 -1
- data/docs/PatchedAlternateContentSource.md +23 -0
- data/docs/PatchedContentGuard.md +19 -0
- data/docs/PatchedDistribution.md +25 -0
- data/docs/PatchedExporter.md +17 -0
- data/docs/PatchedImporter.md +17 -0
- data/docs/PatchedRemote.md +57 -0
- data/docs/PatchedRepository.md +25 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsApi.md +117 -2
- data/docs/Remote.md +57 -0
- data/docs/RemoteResponse.md +53 -0
- data/docs/RemotesApi.md +376 -0
- data/docs/RepositoriesApi.md +283 -3
- data/docs/RepositoriesVersionsApi.md +271 -0
- data/docs/Repository.md +25 -0
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +6 -2
- data/docs/SigningServicesApi.md +0 -2
- data/docs/TaskGroupsApi.md +2 -2
- data/docs/TaskSchedulesApi.md +2 -2
- data/docs/TasksApi.md +2 -2
- data/docs/UploadsApi.md +0 -2
- data/docs/UserRole.md +1 -1
- data/docs/UserRoleResponse.md +6 -2
- data/docs/UsersApi.md +2 -61
- data/docs/UsersRolesApi.md +2 -2
- data/docs/VersionResponse.md +3 -1
- data/docs/WorkersApi.md +2 -2
- data/lib/pulpcore_client/api/access_policies_api.rb +7 -3
- data/lib/pulpcore_client/api/acs_api.rb +514 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +7 -3
- data/lib/pulpcore_client/api/content_api.rb +141 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +341 -5
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +275 -3
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +7 -3
- data/lib/pulpcore_client/api/distributions_api.rb +343 -5
- data/lib/pulpcore_client/api/exporters_api.rb +446 -0
- data/lib/pulpcore_client/api/{groups_model_permissions_api.rb → exporters_exports_api.rb} +76 -79
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +7 -3
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +0 -3
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +7 -3
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +0 -3
- data/lib/pulpcore_client/api/groups_api.rb +7 -3
- data/lib/pulpcore_client/api/groups_roles_api.rb +7 -3
- data/lib/pulpcore_client/api/groups_users_api.rb +0 -3
- data/lib/pulpcore_client/api/importers_api.rb +444 -0
- data/lib/pulpcore_client/api/{groups_object_permissions_api.rb → importers_imports_api.rb} +76 -79
- data/lib/pulpcore_client/api/importers_pulp_api.rb +7 -3
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +0 -3
- data/lib/pulpcore_client/api/publications_api.rb +138 -3
- data/lib/pulpcore_client/api/remotes_api.rb +467 -0
- data/lib/pulpcore_client/api/repositories_api.rb +343 -5
- data/lib/pulpcore_client/api/repositories_versions_api.rb +343 -0
- data/lib/pulpcore_client/api/repository_versions_api.rb +7 -0
- data/lib/pulpcore_client/api/roles_api.rb +13 -3
- data/lib/pulpcore_client/api/signing_services_api.rb +0 -3
- data/lib/pulpcore_client/api/task_groups_api.rb +7 -3
- data/lib/pulpcore_client/api/task_schedules_api.rb +7 -3
- data/lib/pulpcore_client/api/tasks_api.rb +7 -3
- data/lib/pulpcore_client/api/uploads_api.rb +0 -3
- data/lib/pulpcore_client/api/users_api.rb +7 -69
- data/lib/pulpcore_client/api/users_roles_api.rb +7 -3
- data/lib/pulpcore_client/api/workers_api.rb +7 -3
- data/lib/pulpcore_client/models/access_policy.rb +14 -4
- data/lib/pulpcore_client/models/access_policy_response.rb +14 -4
- data/lib/pulpcore_client/models/alternate_content_source.rb +270 -0
- data/lib/pulpcore_client/models/alternate_content_source_response.rb +270 -0
- data/lib/pulpcore_client/models/content_guard.rb +258 -0
- data/lib/pulpcore_client/models/distribution.rb +297 -0
- data/lib/pulpcore_client/models/export.rb +209 -0
- data/lib/pulpcore_client/models/export_response.rb +250 -0
- data/lib/pulpcore_client/models/exporter.rb +232 -0
- data/lib/pulpcore_client/models/{permission_response.rb → exporter_response.rb} +24 -27
- data/lib/pulpcore_client/models/group_role.rb +1 -1
- data/lib/pulpcore_client/models/group_role_response.rb +26 -6
- data/lib/pulpcore_client/models/import.rb +228 -0
- data/lib/pulpcore_client/models/importer.rb +232 -0
- data/lib/pulpcore_client/models/importer_response.rb +232 -0
- data/lib/pulpcore_client/models/multiple_artifact_content.rb +213 -0
- data/lib/pulpcore_client/models/orphans_cleanup.rb +0 -2
- data/lib/pulpcore_client/models/paginated_alternate_content_source_response_list.rb +237 -0
- data/lib/pulpcore_client/models/{paginated_permission_response_list.rb → paginated_export_response_list.rb} +4 -4
- data/lib/pulpcore_client/models/paginated_exporter_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_importer_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_remote_response_list.rb +237 -0
- data/lib/pulpcore_client/models/patched_access_policy.rb +14 -4
- data/lib/pulpcore_client/models/patched_alternate_content_source.rb +256 -0
- data/lib/pulpcore_client/models/patched_content_guard.rb +249 -0
- data/lib/pulpcore_client/models/patched_distribution.rb +279 -0
- data/lib/pulpcore_client/models/patched_exporter.rb +223 -0
- data/lib/pulpcore_client/models/patched_importer.rb +223 -0
- data/lib/pulpcore_client/models/patched_remote.rb +649 -0
- data/lib/pulpcore_client/models/patched_repository.rb +295 -0
- data/lib/pulpcore_client/models/policy_enum.rb +36 -0
- data/lib/pulpcore_client/models/remote.rb +667 -0
- data/lib/pulpcore_client/models/remote_response.rb +483 -0
- data/lib/pulpcore_client/models/repository.rb +304 -0
- data/lib/pulpcore_client/models/user_role.rb +1 -1
- data/lib/pulpcore_client/models/user_role_response.rb +26 -6
- data/lib/pulpcore_client/models/version_response.rb +19 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +35 -4
- data/spec/api/access_policies_api_spec.rb +1 -1
- data/spec/api/acs_api_spec.rb +132 -0
- data/spec/api/artifacts_api_spec.rb +1 -1
- data/spec/api/content_api_spec.rb +28 -2
- data/spec/api/contentguards_api_spec.rb +66 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +51 -1
- data/spec/api/contentguards_rbac_api_spec.rb +1 -1
- data/spec/api/distributions_api_spec.rb +66 -2
- data/spec/api/exporters_api_spec.rb +120 -0
- data/spec/api/{groups_model_permissions_api_spec.rb → exporters_exports_api_spec.rb} +22 -23
- data/spec/api/exporters_filesystem_api_spec.rb +1 -1
- data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -1
- data/spec/api/exporters_pulp_api_spec.rb +1 -1
- data/spec/api/exporters_pulp_exports_api_spec.rb +0 -1
- data/spec/api/groups_api_spec.rb +1 -1
- data/spec/api/groups_roles_api_spec.rb +1 -1
- data/spec/api/groups_users_api_spec.rb +0 -1
- data/spec/api/importers_api_spec.rb +120 -0
- data/spec/api/{groups_object_permissions_api_spec.rb → importers_imports_api_spec.rb} +22 -23
- data/spec/api/importers_pulp_api_spec.rb +1 -1
- data/spec/api/importers_pulp_imports_api_spec.rb +0 -1
- data/spec/api/publications_api_spec.rb +28 -1
- data/spec/api/remotes_api_spec.rb +127 -0
- data/spec/api/repositories_api_spec.rb +66 -2
- data/spec/api/repositories_versions_api_spec.rb +104 -0
- data/spec/api/repository_versions_api_spec.rb +1 -0
- data/spec/api/roles_api_spec.rb +3 -1
- data/spec/api/signing_services_api_spec.rb +0 -1
- data/spec/api/task_groups_api_spec.rb +1 -1
- data/spec/api/task_schedules_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/uploads_api_spec.rb +0 -1
- data/spec/api/users_api_spec.rb +1 -14
- data/spec/api/users_roles_api_spec.rb +1 -1
- data/spec/api/workers_api_spec.rb +1 -1
- data/spec/models/access_policy_response_spec.rb +6 -0
- data/spec/models/access_policy_spec.rb +6 -0
- data/spec/models/alternate_content_source_response_spec.rb +71 -0
- data/spec/models/{permission_response_spec.rb → alternate_content_source_spec.rb} +10 -10
- data/spec/models/content_guard_spec.rb +47 -0
- data/spec/models/distribution_spec.rb +65 -0
- data/spec/models/export_response_spec.rb +65 -0
- data/spec/models/export_spec.rb +41 -0
- data/spec/models/exporter_response_spec.rb +53 -0
- data/spec/models/exporter_spec.rb +41 -0
- data/spec/models/group_role_response_spec.rb +12 -0
- data/spec/models/import_spec.rb +47 -0
- data/spec/models/importer_response_spec.rb +53 -0
- data/spec/models/importer_spec.rb +41 -0
- data/spec/models/multiple_artifact_content_spec.rb +41 -0
- data/spec/models/paginated_alternate_content_source_response_list_spec.rb +59 -0
- data/spec/models/{paginated_permission_response_list_spec.rb → paginated_export_response_list_spec.rb} +6 -6
- data/spec/models/paginated_exporter_response_list_spec.rb +59 -0
- data/spec/models/paginated_importer_response_list_spec.rb +59 -0
- data/spec/models/paginated_remote_response_list_spec.rb +59 -0
- data/spec/models/patched_access_policy_spec.rb +6 -0
- data/spec/models/patched_alternate_content_source_spec.rb +59 -0
- data/spec/models/patched_content_guard_spec.rb +47 -0
- data/spec/models/patched_distribution_spec.rb +65 -0
- data/spec/models/patched_exporter_spec.rb +41 -0
- data/spec/models/patched_importer_spec.rb +41 -0
- data/spec/models/patched_remote_spec.rb +161 -0
- data/spec/models/patched_repository_spec.rb +65 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/remote_response_spec.rb +149 -0
- data/spec/models/remote_spec.rb +161 -0
- data/spec/models/repository_spec.rb +65 -0
- data/spec/models/user_role_response_spec.rb +12 -0
- data/spec/models/version_response_spec.rb +6 -0
- metadata +263 -139
- data/docs/PermissionResponse.md +0 -23
@@ -1,23 +1,23 @@
|
|
1
|
-
# PulpcoreClient::
|
1
|
+
# PulpcoreClient::ImportersImportsApi
|
2
2
|
|
3
3
|
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](
|
8
|
-
[**delete**](
|
9
|
-
[**list**](
|
10
|
-
[**read**](
|
7
|
+
[**create**](ImportersImportsApi.md#create) | **POST** {importer_href}imports/ | Create an import
|
8
|
+
[**delete**](ImportersImportsApi.md#delete) | **DELETE** {importers_import_href} | Delete an import
|
9
|
+
[**list**](ImportersImportsApi.md#list) | **GET** {importer_href}imports/ | List imports
|
10
|
+
[**read**](ImportersImportsApi.md#read) | **GET** {importers_import_href} | Inspect an import
|
11
11
|
|
12
12
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
>
|
16
|
+
> ImportResponse create(importer_href, import)
|
17
17
|
|
18
|
-
Create
|
18
|
+
Create an import
|
19
19
|
|
20
|
-
|
20
|
+
ViewSet for viewing imports from an Importer.
|
21
21
|
|
22
22
|
### Example
|
23
23
|
|
@@ -31,16 +31,16 @@ PulpcoreClient.configure do |config|
|
|
31
31
|
config.password = 'YOUR PASSWORD'
|
32
32
|
end
|
33
33
|
|
34
|
-
api_instance = PulpcoreClient::
|
35
|
-
|
36
|
-
|
34
|
+
api_instance = PulpcoreClient::ImportersImportsApi.new
|
35
|
+
importer_href = 'importer_href_example' # String |
|
36
|
+
import = PulpcoreClient::Import.new # Import |
|
37
37
|
|
38
38
|
begin
|
39
|
-
#Create
|
40
|
-
result = api_instance.create(
|
39
|
+
#Create an import
|
40
|
+
result = api_instance.create(importer_href, import)
|
41
41
|
p result
|
42
42
|
rescue PulpcoreClient::ApiError => e
|
43
|
-
puts "Exception when calling
|
43
|
+
puts "Exception when calling ImportersImportsApi->create: #{e}"
|
44
44
|
end
|
45
45
|
```
|
46
46
|
|
@@ -49,12 +49,12 @@ end
|
|
49
49
|
|
50
50
|
Name | Type | Description | Notes
|
51
51
|
------------- | ------------- | ------------- | -------------
|
52
|
-
**
|
53
|
-
**
|
52
|
+
**importer_href** | **String**| |
|
53
|
+
**import** | [**Import**](Import.md)| |
|
54
54
|
|
55
55
|
### Return type
|
56
56
|
|
57
|
-
[**
|
57
|
+
[**ImportResponse**](ImportResponse.md)
|
58
58
|
|
59
59
|
### Authorization
|
60
60
|
|
@@ -68,11 +68,11 @@ Name | Type | Description | Notes
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> delete(
|
71
|
+
> delete(importers_import_href)
|
72
72
|
|
73
|
-
Delete
|
73
|
+
Delete an import
|
74
74
|
|
75
|
-
|
75
|
+
ViewSet for viewing imports from an Importer.
|
76
76
|
|
77
77
|
### Example
|
78
78
|
|
@@ -86,14 +86,14 @@ PulpcoreClient.configure do |config|
|
|
86
86
|
config.password = 'YOUR PASSWORD'
|
87
87
|
end
|
88
88
|
|
89
|
-
api_instance = PulpcoreClient::
|
90
|
-
|
89
|
+
api_instance = PulpcoreClient::ImportersImportsApi.new
|
90
|
+
importers_import_href = 'importers_import_href_example' # String |
|
91
91
|
|
92
92
|
begin
|
93
|
-
#Delete
|
94
|
-
api_instance.delete(
|
93
|
+
#Delete an import
|
94
|
+
api_instance.delete(importers_import_href)
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
96
|
-
puts "Exception when calling
|
96
|
+
puts "Exception when calling ImportersImportsApi->delete: #{e}"
|
97
97
|
end
|
98
98
|
```
|
99
99
|
|
@@ -102,7 +102,7 @@ end
|
|
102
102
|
|
103
103
|
Name | Type | Description | Notes
|
104
104
|
------------- | ------------- | ------------- | -------------
|
105
|
-
**
|
105
|
+
**importers_import_href** | **String**| |
|
106
106
|
|
107
107
|
### Return type
|
108
108
|
|
@@ -120,11 +120,11 @@ nil (empty response body)
|
|
120
120
|
|
121
121
|
## list
|
122
122
|
|
123
|
-
>
|
123
|
+
> PaginatedImportResponseList list(importer_href, opts)
|
124
124
|
|
125
|
-
List
|
125
|
+
List imports
|
126
126
|
|
127
|
-
|
127
|
+
ViewSet for viewing imports from an Importer.
|
128
128
|
|
129
129
|
### Example
|
130
130
|
|
@@ -138,22 +138,21 @@ PulpcoreClient.configure do |config|
|
|
138
138
|
config.password = 'YOUR PASSWORD'
|
139
139
|
end
|
140
140
|
|
141
|
-
api_instance = PulpcoreClient::
|
142
|
-
|
141
|
+
api_instance = PulpcoreClient::ImportersImportsApi.new
|
142
|
+
importer_href = 'importer_href_example' # String |
|
143
143
|
opts = {
|
144
144
|
limit: 56, # Integer | Number of results to return per page.
|
145
145
|
offset: 56, # Integer | The initial index from which to return the results.
|
146
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
147
146
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
148
147
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
149
148
|
}
|
150
149
|
|
151
150
|
begin
|
152
|
-
#List
|
153
|
-
result = api_instance.list(
|
151
|
+
#List imports
|
152
|
+
result = api_instance.list(importer_href, opts)
|
154
153
|
p result
|
155
154
|
rescue PulpcoreClient::ApiError => e
|
156
|
-
puts "Exception when calling
|
155
|
+
puts "Exception when calling ImportersImportsApi->list: #{e}"
|
157
156
|
end
|
158
157
|
```
|
159
158
|
|
@@ -162,16 +161,15 @@ end
|
|
162
161
|
|
163
162
|
Name | Type | Description | Notes
|
164
163
|
------------- | ------------- | ------------- | -------------
|
165
|
-
**
|
164
|
+
**importer_href** | **String**| |
|
166
165
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
167
166
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
168
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
169
167
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
170
168
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
171
169
|
|
172
170
|
### Return type
|
173
171
|
|
174
|
-
[**
|
172
|
+
[**PaginatedImportResponseList**](PaginatedImportResponseList.md)
|
175
173
|
|
176
174
|
### Authorization
|
177
175
|
|
@@ -185,11 +183,11 @@ Name | Type | Description | Notes
|
|
185
183
|
|
186
184
|
## read
|
187
185
|
|
188
|
-
>
|
186
|
+
> ImportResponse read(importers_import_href, opts)
|
189
187
|
|
190
|
-
Inspect
|
188
|
+
Inspect an import
|
191
189
|
|
192
|
-
|
190
|
+
ViewSet for viewing imports from an Importer.
|
193
191
|
|
194
192
|
### Example
|
195
193
|
|
@@ -203,19 +201,19 @@ PulpcoreClient.configure do |config|
|
|
203
201
|
config.password = 'YOUR PASSWORD'
|
204
202
|
end
|
205
203
|
|
206
|
-
api_instance = PulpcoreClient::
|
207
|
-
|
204
|
+
api_instance = PulpcoreClient::ImportersImportsApi.new
|
205
|
+
importers_import_href = 'importers_import_href_example' # String |
|
208
206
|
opts = {
|
209
207
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
210
208
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
211
209
|
}
|
212
210
|
|
213
211
|
begin
|
214
|
-
#Inspect
|
215
|
-
result = api_instance.read(
|
212
|
+
#Inspect an import
|
213
|
+
result = api_instance.read(importers_import_href, opts)
|
216
214
|
p result
|
217
215
|
rescue PulpcoreClient::ApiError => e
|
218
|
-
puts "Exception when calling
|
216
|
+
puts "Exception when calling ImportersImportsApi->read: #{e}"
|
219
217
|
end
|
220
218
|
```
|
221
219
|
|
@@ -224,13 +222,13 @@ end
|
|
224
222
|
|
225
223
|
Name | Type | Description | Notes
|
226
224
|
------------- | ------------- | ------------- | -------------
|
227
|
-
**
|
225
|
+
**importers_import_href** | **String**| |
|
228
226
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
229
227
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
230
228
|
|
231
229
|
### Return type
|
232
230
|
|
233
|
-
[**
|
231
|
+
[**ImportResponse**](ImportResponse.md)
|
234
232
|
|
235
233
|
### Authorization
|
236
234
|
|
data/docs/ImportersPulpApi.md
CHANGED
@@ -147,7 +147,7 @@ opts = {
|
|
147
147
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
148
148
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
149
149
|
offset: 56, # Integer | The initial index from which to return the results.
|
150
|
-
ordering: 'ordering_example', # String |
|
150
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
151
151
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
152
152
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
153
153
|
}
|
@@ -173,7 +173,7 @@ Name | Type | Description | Notes
|
|
173
173
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
174
174
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
175
175
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
176
|
-
**ordering** | **String
|
176
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
177
177
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
178
178
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
179
179
|
|
@@ -143,7 +143,6 @@ pulp_importer_href = 'pulp_importer_href_example' # String |
|
|
143
143
|
opts = {
|
144
144
|
limit: 56, # Integer | Number of results to return per page.
|
145
145
|
offset: 56, # Integer | The initial index from which to return the results.
|
146
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
147
146
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
148
147
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
149
148
|
}
|
@@ -165,7 +164,6 @@ Name | Type | Description | Notes
|
|
165
164
|
**pulp_importer_href** | **String**| |
|
166
165
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
167
166
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
168
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
169
167
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
170
168
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
171
169
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpcoreClient::MultipleArtifactContent
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpcoreClient'
|
13
|
+
|
14
|
+
instance = PulpcoreClient::MultipleArtifactContent.new(artifacts: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/OrphansCleanup.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**content_hrefs** | [**Array<AnyType>**](AnyType.md) | Will delete specified content and associated Artifacts if they are orphans. | [optional]
|
8
|
-
**orphan_protection_time** | **Integer** | The time in minutes for how long Pulp will hold orphan Content and Artifacts before they become candidates for deletion by this orphan cleanup task. This should ideally be longer than your longest running task otherwise any content created during that task could be cleaned up before the task finishes. If not specified, a default value is taken from the setting ORPHAN_PROTECTION_TIME. | [optional]
|
8
|
+
**orphan_protection_time** | **Integer** | The time in minutes for how long Pulp will hold orphan Content and Artifacts before they become candidates for deletion by this orphan cleanup task. This should ideally be longer than your longest running task otherwise any content created during that task could be cleaned up before the task finishes. If not specified, a default value is taken from the setting ORPHAN_PROTECTION_TIME. | [optional]
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::PaginatedAlternateContentSourceResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<AlternateContentSourceResponse>**](AlternateContentSourceResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::PaginatedAlternateContentSourceResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpcoreClient::
|
1
|
+
# PulpcoreClient::PaginatedExportResponseList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -7,14 +7,14 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<ExportResponse>**](ExportResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpcoreClient'
|
16
16
|
|
17
|
-
instance = PulpcoreClient::
|
17
|
+
instance = PulpcoreClient::PaginatedExportResponseList.new(count: 123,
|
18
18
|
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
19
|
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
20
|
results: null)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::PaginatedExporterResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<ExporterResponse>**](ExporterResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::PaginatedExporterResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::PaginatedImporterResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<ImporterResponse>**](ImporterResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::PaginatedImporterResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::PaginatedRemoteResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<RemoteResponse>**](RemoteResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::PaginatedRemoteResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/PatchedAccessPolicy.md
CHANGED
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects.This is deprecated. Use `creation_hooks` instead. | [optional]
|
8
8
|
**creation_hooks** | **Array<Object>** | List of callables that may associate user roles for new objects. | [optional]
|
9
9
|
**statements** | **Array<Object>** | List of policy statements defining the policy. | [optional]
|
10
|
+
**queryset_scoping** | [**Object**](.md) | A callable for performing queryset scoping. See plugin documentation for valid callables. Set to blank to turn off queryset scoping. | [optional]
|
10
11
|
|
11
12
|
## Code Sample
|
12
13
|
|
@@ -15,7 +16,8 @@ require 'PulpcoreClient'
|
|
15
16
|
|
16
17
|
instance = PulpcoreClient::PatchedAccessPolicy.new(permissions_assignment: null,
|
17
18
|
creation_hooks: null,
|
18
|
-
statements: null
|
19
|
+
statements: null,
|
20
|
+
queryset_scoping: null)
|
19
21
|
```
|
20
22
|
|
21
23
|
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::PatchedAlternateContentSource
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | Name of Alternate Content Source. | [optional]
|
8
|
+
**last_refreshed** | **DateTime** | Date of last refresh of AlternateContentSource. | [optional]
|
9
|
+
**paths** | **Array<String>** | List of paths that will be appended to the Remote url when searching for content. | [optional]
|
10
|
+
**remote** | **String** | The remote to provide alternate content source. | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::PatchedAlternateContentSource.new(name: null,
|
18
|
+
last_refreshed: null,
|
19
|
+
paths: null,
|
20
|
+
remote: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpcoreClient::PatchedContentGuard
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | The unique name. | [optional]
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpcoreClient'
|
14
|
+
|
15
|
+
instance = PulpcoreClient::PatchedContentGuard.new(name: null,
|
16
|
+
description: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpcoreClient::PatchedDistribution
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
8
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'PulpcoreClient'
|
17
|
+
|
18
|
+
instance = PulpcoreClient::PatchedDistribution.new(base_path: null,
|
19
|
+
content_guard: null,
|
20
|
+
pulp_labels: null,
|
21
|
+
name: null,
|
22
|
+
repository: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpcoreClient::PatchedExporter
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | Unique name of the file system exporter. | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpcoreClient'
|
13
|
+
|
14
|
+
instance = PulpcoreClient::PatchedExporter.new(name: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpcoreClient::PatchedImporter
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | Unique name of the Importer. | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpcoreClient'
|
13
|
+
|
14
|
+
instance = PulpcoreClient::PatchedImporter.new(name: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# PulpcoreClient::PatchedRemote
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
8
|
+
**url** | **String** | The URL of an external content source. | [optional]
|
9
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
12
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
22
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
25
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
26
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
27
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
28
|
+
|
29
|
+
## Code Sample
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
require 'PulpcoreClient'
|
33
|
+
|
34
|
+
instance = PulpcoreClient::PatchedRemote.new(name: null,
|
35
|
+
url: null,
|
36
|
+
ca_cert: null,
|
37
|
+
client_cert: null,
|
38
|
+
client_key: null,
|
39
|
+
tls_validation: null,
|
40
|
+
proxy_url: null,
|
41
|
+
proxy_username: null,
|
42
|
+
proxy_password: null,
|
43
|
+
username: null,
|
44
|
+
password: null,
|
45
|
+
pulp_labels: null,
|
46
|
+
download_concurrency: null,
|
47
|
+
max_retries: null,
|
48
|
+
policy: null,
|
49
|
+
total_timeout: null,
|
50
|
+
connect_timeout: null,
|
51
|
+
sock_connect_timeout: null,
|
52
|
+
sock_read_timeout: null,
|
53
|
+
headers: null,
|
54
|
+
rate_limit: null)
|
55
|
+
```
|
56
|
+
|
57
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpcoreClient::PatchedRepository
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
9
|
+
**description** | **String** | An optional description. | [optional]
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
11
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'PulpcoreClient'
|
17
|
+
|
18
|
+
instance = PulpcoreClient::PatchedRepository.new(pulp_labels: null,
|
19
|
+
name: null,
|
20
|
+
description: null,
|
21
|
+
retain_repo_versions: null,
|
22
|
+
remote: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
data/docs/PolicyEnum.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# PulpcoreClient::PolicyEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'PulpcoreClient'
|
12
|
+
|
13
|
+
instance = PulpcoreClient::PolicyEnum.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|