pulpcore_client 3.5.0 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +88 -44
- data/docs/AccessPoliciesApi.md +244 -0
- data/docs/AccessPolicy.md +21 -0
- data/docs/AccessPolicyResponse.md +25 -0
- data/docs/Artifact.md +2 -6
- data/docs/ArtifactResponse.md +35 -0
- data/docs/ArtifactsApi.md +40 -34
- data/docs/{ContentAppStatus.md → ContentAppStatusResponse.md} +2 -2
- data/docs/{DatabaseConnection.md → DatabaseConnectionResponse.md} +2 -2
- data/docs/ExportersCoreExportsApi.md +33 -33
- data/docs/ExportersPulpApi.md +51 -51
- data/docs/Group.md +17 -0
- data/docs/{GroupProgressReport.md → GroupProgressReportResponse.md} +2 -2
- data/docs/GroupResponse.md +21 -0
- data/docs/GroupUser.md +17 -0
- data/docs/GroupUserResponse.md +19 -0
- data/docs/GroupsApi.md +351 -0
- data/docs/GroupsModelPermissionsApi.md +128 -0
- data/docs/GroupsObjectPermissionsApi.md +247 -0
- data/docs/GroupsUsersApi.md +183 -0
- data/docs/{Import.md → ImportResponse.md} +2 -2
- data/docs/ImportersCoreImportsApi.md +33 -33
- data/docs/ImportersPulpApi.md +51 -51
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse20010.md +23 -0
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse20014.md +23 -0
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/InlineResponse2009.md +3 -3
- data/docs/OrphansApi.md +2 -2
- data/docs/PatchedAccessPolicy.md +21 -0
- data/docs/PatchedGroup.md +17 -0
- data/docs/PatchedPulpExporter.md +23 -0
- data/docs/PatchedPulpImporter.md +19 -0
- data/docs/{TaskCancel.md → PatchedTaskCancel.md} +3 -3
- data/docs/PermissionResponse.md +23 -0
- data/docs/{ProgressReport.md → ProgressReportResponse.md} +2 -2
- data/docs/PulpExport.md +11 -11
- data/docs/PulpExportResponse.md +27 -0
- data/docs/PulpExporter.md +1 -5
- data/docs/PulpExporterResponse.md +27 -0
- data/docs/PulpImport.md +4 -2
- data/docs/PulpImporter.md +2 -6
- data/docs/PulpImporterResponse.md +23 -0
- data/docs/{RedisConnection.md → RedisConnectionResponse.md} +2 -2
- data/docs/{SigningService.md → SigningServiceResponse.md} +2 -2
- data/docs/SigningServicesApi.md +14 -14
- data/docs/StatusApi.md +8 -22
- data/docs/StatusResponse.md +27 -0
- data/docs/{Storage.md → StorageResponse.md} +2 -2
- data/docs/{TaskGroup.md → TaskGroupResponse.md} +3 -3
- data/docs/TaskGroupsApi.md +16 -12
- data/docs/{Task.md → TaskResponse.md} +5 -7
- data/docs/TasksApi.md +144 -88
- data/docs/Upload.md +1 -7
- data/docs/UploadChunk.md +2 -6
- data/docs/UploadChunkResponse.md +19 -0
- data/docs/{UploadDetail.md → UploadDetailResponse.md} +3 -3
- data/docs/UploadResponse.md +23 -0
- data/docs/UploadsApi.md +42 -40
- data/docs/UserGroupResponse.md +19 -0
- data/docs/UserResponse.md +35 -0
- data/docs/UsersApi.md +191 -0
- data/docs/{Version.md → VersionResponse.md} +2 -2
- data/docs/{Worker.md → WorkerResponse.md} +2 -2
- data/docs/WorkersApi.md +36 -32
- data/lib/pulpcore_client/api/access_policies_api.rb +301 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +47 -65
- data/lib/pulpcore_client/api/exporters_core_exports_api.rb +51 -51
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +71 -71
- data/lib/pulpcore_client/api/groups_api.rb +425 -0
- data/lib/pulpcore_client/api/groups_model_permissions_api.rb +161 -0
- data/lib/pulpcore_client/api/groups_object_permissions_api.rb +295 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +229 -0
- data/lib/pulpcore_client/api/importers_core_imports_api.rb +51 -51
- data/lib/pulpcore_client/api/importers_pulp_api.rb +71 -71
- data/lib/pulpcore_client/api/orphans_api.rb +3 -3
- data/lib/pulpcore_client/api/signing_services_api.rb +18 -18
- data/lib/pulpcore_client/api/status_api.rb +11 -17
- data/lib/pulpcore_client/api/task_groups_api.rb +19 -15
- data/lib/pulpcore_client/api/tasks_api.rb +203 -125
- data/lib/pulpcore_client/api/uploads_api.rb +60 -66
- data/lib/pulpcore_client/api/users_api.rb +227 -0
- data/lib/pulpcore_client/api/workers_api.rb +46 -42
- data/lib/pulpcore_client/api_client.rb +2 -2
- data/lib/pulpcore_client/api_error.rb +2 -2
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/access_policy.rb +247 -0
- data/lib/pulpcore_client/models/access_policy_response.rb +266 -0
- data/lib/pulpcore_client/models/artifact.rb +8 -111
- data/lib/pulpcore_client/models/artifact_response.rb +308 -0
- data/lib/pulpcore_client/models/async_operation_response.rb +3 -2
- data/lib/pulpcore_client/models/{content_app_status.rb → content_app_status_response.rb} +6 -21
- data/lib/pulpcore_client/models/{database_connection.rb → database_connection_response.rb} +6 -6
- data/lib/pulpcore_client/models/group.rb +232 -0
- data/lib/pulpcore_client/models/{group_progress_report.rb → group_progress_report_response.rb} +6 -50
- data/lib/pulpcore_client/models/group_response.rb +250 -0
- data/lib/pulpcore_client/models/group_user.rb +232 -0
- data/lib/pulpcore_client/models/group_user_response.rb +241 -0
- data/lib/pulpcore_client/models/{import.rb → import_response.rb} +6 -5
- data/lib/pulpcore_client/models/inline_response200.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2001.rb +3 -13
- data/lib/pulpcore_client/models/inline_response20010.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20011.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20012.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20013.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20014.rb +237 -0
- data/lib/pulpcore_client/models/inline_response2002.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2003.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2004.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2005.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2006.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2007.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2008.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2009.rb +3 -13
- data/lib/pulpcore_client/models/patched_access_policy.rb +232 -0
- data/lib/pulpcore_client/models/patched_group.rb +223 -0
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +240 -0
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +218 -0
- data/lib/pulpcore_client/models/{task_cancel.rb → patched_task_cancel.rb} +6 -29
- data/lib/pulpcore_client/models/permission_response.rb +235 -0
- data/lib/pulpcore_client/models/{progress_report.rb → progress_report_response.rb} +6 -65
- data/lib/pulpcore_client/models/pulp_export.rb +50 -42
- data/lib/pulpcore_client/models/pulp_export_response.rb +260 -0
- data/lib/pulpcore_client/models/pulp_exporter.rb +4 -60
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +274 -0
- data/lib/pulpcore_client/models/pulp_import.rb +17 -30
- data/lib/pulpcore_client/models/pulp_importer.rb +6 -45
- data/lib/pulpcore_client/models/pulp_importer_response.rb +242 -0
- data/lib/pulpcore_client/models/{redis_connection.rb → redis_connection_response.rb} +6 -6
- data/lib/pulpcore_client/models/{signing_service.rb → signing_service_response.rb} +6 -43
- data/lib/pulpcore_client/models/{status.rb → status_response.rb} +15 -11
- data/lib/pulpcore_client/models/{storage.rb → storage_response.rb} +6 -6
- data/lib/pulpcore_client/models/{task_group.rb → task_group_response.rb} +7 -25
- data/lib/pulpcore_client/models/{task.rb → task_response.rb} +13 -59
- data/lib/pulpcore_client/models/upload.rb +7 -35
- data/lib/pulpcore_client/models/upload_chunk.rb +11 -39
- data/lib/pulpcore_client/models/upload_chunk_response.rb +215 -0
- data/lib/pulpcore_client/models/upload_commit.rb +2 -21
- data/lib/pulpcore_client/models/{upload_detail.rb → upload_detail_response.rb} +7 -6
- data/lib/pulpcore_client/models/upload_response.rb +242 -0
- data/lib/pulpcore_client/models/user_group_response.rb +241 -0
- data/lib/pulpcore_client/models/user_response.rb +378 -0
- data/lib/pulpcore_client/models/{version.rb → version_response.rb} +6 -44
- data/lib/pulpcore_client/models/{worker.rb → worker_response.rb} +6 -21
- data/lib/pulpcore_client/version.rb +3 -3
- data/lib/pulpcore_client.rb +47 -17
- data/pulpcore_client.gemspec +4 -4
- data/spec/api/access_policies_api_spec.rb +91 -0
- data/spec/api/artifacts_api_spec.rb +18 -15
- data/spec/api/exporters_core_exports_api_spec.rb +10 -10
- data/spec/api/exporters_pulp_api_spec.rb +18 -18
- data/spec/api/groups_api_spec.rb +115 -0
- data/spec/api/groups_model_permissions_api_spec.rb +64 -0
- data/spec/api/groups_object_permissions_api_spec.rb +92 -0
- data/spec/api/groups_users_api_spec.rb +77 -0
- data/spec/api/importers_core_imports_api_spec.rb +10 -10
- data/spec/api/importers_pulp_api_spec.rb +18 -18
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/signing_services_api_spec.rb +7 -7
- data/spec/api/status_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +8 -6
- data/spec/api/tasks_api_spec.rb +69 -42
- data/spec/api/uploads_api_spec.rb +14 -13
- data/spec/api/users_api_spec.rb +78 -0
- data/spec/api/workers_api_spec.rb +18 -16
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/access_policy_response_spec.rb +65 -0
- data/spec/models/access_policy_spec.rb +53 -0
- data/spec/models/artifact_response_spec.rb +95 -0
- data/spec/models/artifact_spec.rb +2 -14
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/{content_app_status_spec.rb → content_app_status_response_spec.rb} +8 -8
- data/spec/models/{database_connection_spec.rb → database_connection_response_spec.rb} +8 -8
- data/spec/models/{group_progress_report_spec.rb → group_progress_report_response_spec.rb} +8 -8
- data/spec/models/group_response_spec.rb +53 -0
- data/spec/models/group_spec.rb +41 -0
- data/spec/models/group_user_response_spec.rb +47 -0
- data/spec/models/group_user_spec.rb +41 -0
- data/spec/models/{import_spec.rb → import_response_spec.rb} +8 -8
- data/spec/models/inline_response20010_spec.rb +59 -0
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response2009_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patched_access_policy_spec.rb +53 -0
- data/spec/models/patched_group_spec.rb +41 -0
- data/spec/models/patched_pulp_exporter_spec.rb +59 -0
- data/spec/models/patched_pulp_importer_spec.rb +47 -0
- data/spec/models/{task_cancel_spec.rb → patched_task_cancel_spec.rb} +8 -8
- data/spec/models/permission_response_spec.rb +59 -0
- data/spec/models/{progress_report_spec.rb → progress_report_response_spec.rb} +8 -8
- data/spec/models/pulp_export_response_spec.rb +71 -0
- data/spec/models/pulp_export_spec.rb +8 -8
- data/spec/models/pulp_exporter_response_spec.rb +71 -0
- data/spec/models/pulp_exporter_spec.rb +2 -14
- data/spec/models/pulp_import_spec.rb +8 -2
- data/spec/models/pulp_importer_response_spec.rb +59 -0
- data/spec/models/pulp_importer_spec.rb +2 -14
- data/spec/models/{redis_connection_spec.rb → redis_connection_response_spec.rb} +8 -8
- data/spec/models/{signing_service_spec.rb → signing_service_response_spec.rb} +8 -8
- data/spec/models/{status_spec.rb → status_response_spec.rb} +8 -8
- data/spec/models/{storage_spec.rb → storage_response_spec.rb} +8 -8
- data/spec/models/{task_group_spec.rb → task_group_response_spec.rb} +8 -8
- data/spec/models/{task_spec.rb → task_response_spec.rb} +8 -14
- data/spec/models/upload_chunk_response_spec.rb +47 -0
- data/spec/models/upload_chunk_spec.rb +2 -14
- data/spec/models/upload_commit_spec.rb +2 -2
- data/spec/models/{upload_detail_spec.rb → upload_detail_response_spec.rb} +8 -8
- data/spec/models/upload_response_spec.rb +59 -0
- data/spec/models/upload_spec.rb +2 -20
- data/spec/models/user_group_response_spec.rb +47 -0
- data/spec/models/user_response_spec.rb +95 -0
- data/spec/models/{version_spec.rb → version_response_spec.rb} +8 -8
- data/spec/models/{worker_spec.rb → worker_response_spec.rb} +8 -8
- data/spec/spec_helper.rb +2 -2
- metadata +204 -84
- data/docs/Status.md +0 -27
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# PulpcoreClient::PatchedAccessPolicy
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects. | [optional]
|
|
8
|
+
**statements** | **Array<Object>** | List of policy statements defining the policy. | [optional]
|
|
9
|
+
**viewset_name** | **String** | The name of ViewSet this AccessPolicy authorizes. | [optional]
|
|
10
|
+
|
|
11
|
+
## Code Sample
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'PulpcoreClient'
|
|
15
|
+
|
|
16
|
+
instance = PulpcoreClient::PatchedAccessPolicy.new(permissions_assignment: null,
|
|
17
|
+
statements: null,
|
|
18
|
+
viewset_name: null)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# PulpcoreClient::PatchedGroup
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**name** | **String** | Name | [optional]
|
|
8
|
+
|
|
9
|
+
## Code Sample
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'PulpcoreClient'
|
|
13
|
+
|
|
14
|
+
instance = PulpcoreClient::PatchedGroup.new(name: null)
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpcoreClient::PatchedPulpExporter
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**name** | **String** | Unique name of the file system exporter. | [optional]
|
|
8
|
+
**path** | **String** | File system directory to store exported tar.gzs. | [optional]
|
|
9
|
+
**repositories** | **Array<String>** | | [optional]
|
|
10
|
+
**last_export** | **String** | Last attempted export for this PulpExporter | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpcoreClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpcoreClient::PatchedPulpExporter.new(name: null,
|
|
18
|
+
path: null,
|
|
19
|
+
repositories: null,
|
|
20
|
+
last_export: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# PulpcoreClient::PatchedPulpImporter
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**name** | **String** | Unique name of the Importer. | [optional]
|
|
8
|
+
**repo_mapping** | [**Object**](.md) | Mapping of repo names in an export file to the repo names in Pulp. For example, if the export has a repo named 'foo' and the repo to import content into was 'bar', the mapping would be \"{'foo': 'bar'}\". | [optional]
|
|
9
|
+
|
|
10
|
+
## Code Sample
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'PulpcoreClient'
|
|
14
|
+
|
|
15
|
+
instance = PulpcoreClient::PatchedPulpImporter.new(name: null,
|
|
16
|
+
repo_mapping: null)
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# PulpcoreClient::
|
|
1
|
+
# PulpcoreClient::PatchedTaskCancel
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**state** | **String** | The desired state of the task. Only 'canceled' is accepted. |
|
|
7
|
+
**state** | **String** | The desired state of the task. Only 'canceled' is accepted. | [optional]
|
|
8
8
|
|
|
9
9
|
## Code Sample
|
|
10
10
|
|
|
11
11
|
```ruby
|
|
12
12
|
require 'PulpcoreClient'
|
|
13
13
|
|
|
14
|
-
instance = PulpcoreClient::
|
|
14
|
+
instance = PulpcoreClient::PatchedTaskCancel.new(state: null)
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpcoreClient::PermissionResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pulp_href** | **Object** | | [optional] [readonly]
|
|
8
|
+
**id** | **Object** | | [optional] [readonly]
|
|
9
|
+
**permission** | **String** | | [optional] [readonly]
|
|
10
|
+
**obj** | **String** | Content object. | [optional] [readonly]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpcoreClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpcoreClient::PermissionResponse.new(pulp_href: null,
|
|
18
|
+
id: null,
|
|
19
|
+
permission: null,
|
|
20
|
+
obj: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpcoreClient::
|
|
1
|
+
# PulpcoreClient::ProgressReportResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
```ruby
|
|
17
17
|
require 'PulpcoreClient'
|
|
18
18
|
|
|
19
|
-
instance = PulpcoreClient::
|
|
19
|
+
instance = PulpcoreClient::ProgressReportResponse.new(message: null,
|
|
20
20
|
code: null,
|
|
21
21
|
state: null,
|
|
22
22
|
total: null,
|
data/docs/PulpExport.md
CHANGED
|
@@ -4,24 +4,24 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
7
|
**task** | **String** | A URI of the task that ran the Export. | [optional]
|
|
10
|
-
**
|
|
11
|
-
**
|
|
12
|
-
**
|
|
8
|
+
**full** | **Boolean** | Do a Full (true) or Incremental (false) export. | [optional] [default to true]
|
|
9
|
+
**dry_run** | **Boolean** | Generate report on what would be exported and disk-space required. | [optional] [default to false]
|
|
10
|
+
**versions** | **Array<String>** | List of explicit repo-version hrefs to export (replaces current_version). | [optional]
|
|
11
|
+
**chunk_size** | **String** | Chunk export-tarfile into pieces of chunk_size bytes.Recognizes units of B/KB/MB/GB/TB. | [optional]
|
|
12
|
+
**start_versions** | **Array<String>** | List of explicit last-exported-repo-version hrefs (replaces last_export). | [optional]
|
|
13
13
|
|
|
14
14
|
## Code Sample
|
|
15
15
|
|
|
16
16
|
```ruby
|
|
17
17
|
require 'PulpcoreClient'
|
|
18
18
|
|
|
19
|
-
instance = PulpcoreClient::PulpExport.new(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
instance = PulpcoreClient::PulpExport.new(task: null,
|
|
20
|
+
full: null,
|
|
21
|
+
dry_run: null,
|
|
22
|
+
versions: null,
|
|
23
|
+
chunk_size: null,
|
|
24
|
+
start_versions: null)
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# PulpcoreClient::PulpExportResponse
|
|
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
|
+
**task** | **String** | A URI of the task that ran the Export. | [optional]
|
|
10
|
+
**exported_resources** | **Array<Object>** | Resources that were exported. | [optional] [readonly]
|
|
11
|
+
**params** | [**Object**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
|
|
12
|
+
**output_file_info** | [**Object**](.md) | Dictionary of filename: sha256hash entries for export-output-file(s) | [optional] [readonly]
|
|
13
|
+
|
|
14
|
+
## Code Sample
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'PulpcoreClient'
|
|
18
|
+
|
|
19
|
+
instance = PulpcoreClient::PulpExportResponse.new(pulp_href: null,
|
|
20
|
+
pulp_created: null,
|
|
21
|
+
task: null,
|
|
22
|
+
exported_resources: null,
|
|
23
|
+
params: null,
|
|
24
|
+
output_file_info: null)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
|
data/docs/PulpExporter.md
CHANGED
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
7
|
**name** | **String** | Unique name of the file system exporter. |
|
|
10
8
|
**path** | **String** | File system directory to store exported tar.gzs. |
|
|
11
9
|
**repositories** | **Array<String>** | |
|
|
@@ -16,9 +14,7 @@ Name | Type | Description | Notes
|
|
|
16
14
|
```ruby
|
|
17
15
|
require 'PulpcoreClient'
|
|
18
16
|
|
|
19
|
-
instance = PulpcoreClient::PulpExporter.new(
|
|
20
|
-
pulp_created: null,
|
|
21
|
-
name: null,
|
|
17
|
+
instance = PulpcoreClient::PulpExporter.new(name: null,
|
|
22
18
|
path: null,
|
|
23
19
|
repositories: null,
|
|
24
20
|
last_export: null)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# PulpcoreClient::PulpExporterResponse
|
|
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** | Unique name of the file system exporter. |
|
|
10
|
+
**path** | **String** | File system directory to store exported tar.gzs. |
|
|
11
|
+
**repositories** | **Array<String>** | |
|
|
12
|
+
**last_export** | **String** | Last attempted export for this PulpExporter | [optional]
|
|
13
|
+
|
|
14
|
+
## Code Sample
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'PulpcoreClient'
|
|
18
|
+
|
|
19
|
+
instance = PulpcoreClient::PulpExporterResponse.new(pulp_href: null,
|
|
20
|
+
pulp_created: null,
|
|
21
|
+
name: null,
|
|
22
|
+
path: null,
|
|
23
|
+
repositories: null,
|
|
24
|
+
last_export: null)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
|
data/docs/PulpImport.md
CHANGED
|
@@ -4,14 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**path** | **String** | Path to export that will be imported. |
|
|
7
|
+
**path** | **String** | Path to export that will be imported. | [optional]
|
|
8
|
+
**toc** | **String** | Path to a table-of-contents file describing chunks to be validated, reassembled, and imported. | [optional]
|
|
8
9
|
|
|
9
10
|
## Code Sample
|
|
10
11
|
|
|
11
12
|
```ruby
|
|
12
13
|
require 'PulpcoreClient'
|
|
13
14
|
|
|
14
|
-
instance = PulpcoreClient::PulpImport.new(path: null
|
|
15
|
+
instance = PulpcoreClient::PulpImport.new(path: null,
|
|
16
|
+
toc: null)
|
|
15
17
|
```
|
|
16
18
|
|
|
17
19
|
|
data/docs/PulpImporter.md
CHANGED
|
@@ -4,19 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
7
|
**name** | **String** | Unique name of the Importer. |
|
|
10
|
-
**repo_mapping** | **
|
|
8
|
+
**repo_mapping** | [**Object**](.md) | Mapping of repo names in an export file to the repo names in Pulp. For example, if the export has a repo named 'foo' and the repo to import content into was 'bar', the mapping would be \"{'foo': 'bar'}\". | [optional]
|
|
11
9
|
|
|
12
10
|
## Code Sample
|
|
13
11
|
|
|
14
12
|
```ruby
|
|
15
13
|
require 'PulpcoreClient'
|
|
16
14
|
|
|
17
|
-
instance = PulpcoreClient::PulpImporter.new(
|
|
18
|
-
pulp_created: null,
|
|
19
|
-
name: null,
|
|
15
|
+
instance = PulpcoreClient::PulpImporter.new(name: null,
|
|
20
16
|
repo_mapping: null)
|
|
21
17
|
```
|
|
22
18
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpcoreClient::PulpImporterResponse
|
|
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** | Unique name of the Importer. |
|
|
10
|
+
**repo_mapping** | [**Object**](.md) | Mapping of repo names in an export file to the repo names in Pulp. For example, if the export has a repo named 'foo' and the repo to import content into was 'bar', the mapping would be \"{'foo': 'bar'}\". | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpcoreClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpcoreClient::PulpImporterResponse.new(pulp_href: null,
|
|
18
|
+
pulp_created: null,
|
|
19
|
+
name: null,
|
|
20
|
+
repo_mapping: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpcoreClient::
|
|
1
|
+
# PulpcoreClient::RedisConnectionResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
```ruby
|
|
12
12
|
require 'PulpcoreClient'
|
|
13
13
|
|
|
14
|
-
instance = PulpcoreClient::
|
|
14
|
+
instance = PulpcoreClient::RedisConnectionResponse.new(connected: null)
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpcoreClient::
|
|
1
|
+
# PulpcoreClient::SigningServiceResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpcoreClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpcoreClient::
|
|
17
|
+
instance = PulpcoreClient::SigningServiceResponse.new(pulp_href: null,
|
|
18
18
|
pulp_created: null,
|
|
19
19
|
name: null,
|
|
20
20
|
script: null)
|
data/docs/SigningServicesApi.md
CHANGED
|
@@ -11,7 +11,7 @@ Method | HTTP request | Description
|
|
|
11
11
|
|
|
12
12
|
## list
|
|
13
13
|
|
|
14
|
-
>
|
|
14
|
+
> InlineResponse2009 list(opts)
|
|
15
15
|
|
|
16
16
|
List signing services
|
|
17
17
|
|
|
@@ -24,17 +24,17 @@ A ViewSet that supports browsing of existing signing services.
|
|
|
24
24
|
require 'pulpcore_client'
|
|
25
25
|
# setup authorization
|
|
26
26
|
PulpcoreClient.configure do |config|
|
|
27
|
-
# Configure HTTP basic authorization:
|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
|
28
28
|
config.username = 'YOUR USERNAME'
|
|
29
29
|
config.password = 'YOUR PASSWORD'
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
api_instance = PulpcoreClient::SigningServicesApi.new
|
|
33
33
|
opts = {
|
|
34
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
35
|
-
name: 'name_example', # String |
|
|
36
34
|
limit: 56, # Integer | Number of results to return per page.
|
|
35
|
+
name: 'name_example', # String | name
|
|
37
36
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
37
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
38
38
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
39
39
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
40
40
|
}
|
|
@@ -53,20 +53,20 @@ end
|
|
|
53
53
|
|
|
54
54
|
Name | Type | Description | Notes
|
|
55
55
|
------------- | ------------- | ------------- | -------------
|
|
56
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
57
|
-
**name** | **String**| | [optional]
|
|
58
56
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
57
|
+
**name** | **String**| name | [optional]
|
|
59
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
60
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
61
61
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
62
62
|
|
|
63
63
|
### Return type
|
|
64
64
|
|
|
65
|
-
[**
|
|
65
|
+
[**InlineResponse2009**](InlineResponse2009.md)
|
|
66
66
|
|
|
67
67
|
### Authorization
|
|
68
68
|
|
|
69
|
-
[
|
|
69
|
+
[basicAuth](../README.md#basicAuth)
|
|
70
70
|
|
|
71
71
|
### HTTP request headers
|
|
72
72
|
|
|
@@ -76,7 +76,7 @@ Name | Type | Description | Notes
|
|
|
76
76
|
|
|
77
77
|
## read
|
|
78
78
|
|
|
79
|
-
>
|
|
79
|
+
> SigningServiceResponse read(signing_service_href, opts)
|
|
80
80
|
|
|
81
81
|
Inspect a signing service
|
|
82
82
|
|
|
@@ -89,13 +89,13 @@ A ViewSet that supports browsing of existing signing services.
|
|
|
89
89
|
require 'pulpcore_client'
|
|
90
90
|
# setup authorization
|
|
91
91
|
PulpcoreClient.configure do |config|
|
|
92
|
-
# Configure HTTP basic authorization:
|
|
92
|
+
# Configure HTTP basic authorization: basicAuth
|
|
93
93
|
config.username = 'YOUR USERNAME'
|
|
94
94
|
config.password = 'YOUR PASSWORD'
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
api_instance = PulpcoreClient::SigningServicesApi.new
|
|
98
|
-
signing_service_href = 'signing_service_href_example' # String |
|
|
98
|
+
signing_service_href = 'signing_service_href_example' # String |
|
|
99
99
|
opts = {
|
|
100
100
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
101
101
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -115,17 +115,17 @@ end
|
|
|
115
115
|
|
|
116
116
|
Name | Type | Description | Notes
|
|
117
117
|
------------- | ------------- | ------------- | -------------
|
|
118
|
-
**signing_service_href** | **String**|
|
|
118
|
+
**signing_service_href** | **String**| |
|
|
119
119
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
120
120
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
121
121
|
|
|
122
122
|
### Return type
|
|
123
123
|
|
|
124
|
-
[**
|
|
124
|
+
[**SigningServiceResponse**](SigningServiceResponse.md)
|
|
125
125
|
|
|
126
126
|
### Authorization
|
|
127
127
|
|
|
128
|
-
[
|
|
128
|
+
[basicAuth](../README.md#basicAuth)
|
|
129
129
|
|
|
130
130
|
### HTTP request headers
|
|
131
131
|
|
data/docs/StatusApi.md
CHANGED
|
@@ -4,13 +4,13 @@ All URIs are relative to *http://pulp*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**read**](StatusApi.md#read) | **GET** /pulp/api/v3/status/ | Inspect status of Pulp
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## read
|
|
12
12
|
|
|
13
|
-
>
|
|
13
|
+
> StatusResponse read
|
|
14
14
|
|
|
15
15
|
Inspect status of Pulp
|
|
16
16
|
|
|
@@ -21,43 +21,29 @@ Returns app information including the version of pulpcore and loaded pulp plugin
|
|
|
21
21
|
```ruby
|
|
22
22
|
# load the gem
|
|
23
23
|
require 'pulpcore_client'
|
|
24
|
-
# setup authorization
|
|
25
|
-
PulpcoreClient.configure do |config|
|
|
26
|
-
# Configure HTTP basic authorization: Basic
|
|
27
|
-
config.username = 'YOUR USERNAME'
|
|
28
|
-
config.password = 'YOUR PASSWORD'
|
|
29
|
-
end
|
|
30
24
|
|
|
31
25
|
api_instance = PulpcoreClient::StatusApi.new
|
|
32
|
-
opts = {
|
|
33
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
34
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
35
|
-
}
|
|
36
26
|
|
|
37
27
|
begin
|
|
38
28
|
#Inspect status of Pulp
|
|
39
|
-
result = api_instance.
|
|
29
|
+
result = api_instance.read
|
|
40
30
|
p result
|
|
41
31
|
rescue PulpcoreClient::ApiError => e
|
|
42
|
-
puts "Exception when calling StatusApi->
|
|
32
|
+
puts "Exception when calling StatusApi->read: #{e}"
|
|
43
33
|
end
|
|
44
34
|
```
|
|
45
35
|
|
|
46
36
|
### Parameters
|
|
47
37
|
|
|
48
|
-
|
|
49
|
-
Name | Type | Description | Notes
|
|
50
|
-
------------- | ------------- | ------------- | -------------
|
|
51
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
52
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
38
|
+
This endpoint does not need any parameter.
|
|
53
39
|
|
|
54
40
|
### Return type
|
|
55
41
|
|
|
56
|
-
[**
|
|
42
|
+
[**StatusResponse**](StatusResponse.md)
|
|
57
43
|
|
|
58
44
|
### Authorization
|
|
59
45
|
|
|
60
|
-
|
|
46
|
+
No authorization required
|
|
61
47
|
|
|
62
48
|
### HTTP request headers
|
|
63
49
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# PulpcoreClient::StatusResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**versions** | [**Array<VersionResponse>**](VersionResponse.md) | Version information of Pulp components |
|
|
8
|
+
**online_workers** | [**Array<WorkerResponse>**](WorkerResponse.md) | List of online workers known to the application. An online worker is actively heartbeating and can respond to new work |
|
|
9
|
+
**online_content_apps** | [**Array<ContentAppStatusResponse>**](ContentAppStatusResponse.md) | List of online content apps known to the application. An online content app is actively heartbeating and can serve data to clients |
|
|
10
|
+
**database_connection** | [**DatabaseConnectionResponse**](DatabaseConnectionResponse.md) | Database connection information |
|
|
11
|
+
**redis_connection** | [**RedisConnectionResponse**](RedisConnectionResponse.md) | Redis connection information |
|
|
12
|
+
**storage** | [**StorageResponse**](StorageResponse.md) | Storage information | [optional]
|
|
13
|
+
|
|
14
|
+
## Code Sample
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'PulpcoreClient'
|
|
18
|
+
|
|
19
|
+
instance = PulpcoreClient::StatusResponse.new(versions: null,
|
|
20
|
+
online_workers: null,
|
|
21
|
+
online_content_apps: null,
|
|
22
|
+
database_connection: null,
|
|
23
|
+
redis_connection: null,
|
|
24
|
+
storage: null)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpcoreClient::
|
|
1
|
+
# PulpcoreClient::StorageResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
```ruby
|
|
14
14
|
require 'PulpcoreClient'
|
|
15
15
|
|
|
16
|
-
instance = PulpcoreClient::
|
|
16
|
+
instance = PulpcoreClient::StorageResponse.new(total: null,
|
|
17
17
|
used: null,
|
|
18
18
|
free: null)
|
|
19
19
|
```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpcoreClient::
|
|
1
|
+
# PulpcoreClient::TaskGroupResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -13,14 +13,14 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**completed** | **Integer** | Number of tasks in the 'completed' state | [optional] [readonly]
|
|
14
14
|
**canceled** | **Integer** | Number of tasks in the 'canceled' state | [optional] [readonly]
|
|
15
15
|
**failed** | **Integer** | Number of tasks in the 'failed' state | [optional] [readonly]
|
|
16
|
-
**group_progress_reports** | [**Array<
|
|
16
|
+
**group_progress_reports** | [**Array<GroupProgressReportResponse>**](GroupProgressReportResponse.md) | | [optional] [readonly]
|
|
17
17
|
|
|
18
18
|
## Code Sample
|
|
19
19
|
|
|
20
20
|
```ruby
|
|
21
21
|
require 'PulpcoreClient'
|
|
22
22
|
|
|
23
|
-
instance = PulpcoreClient::
|
|
23
|
+
instance = PulpcoreClient::TaskGroupResponse.new(pulp_href: null,
|
|
24
24
|
description: null,
|
|
25
25
|
all_tasks_dispatched: null,
|
|
26
26
|
waiting: null,
|