pulpcore_client 3.0.0rc2 → 3.0.0rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +43 -37
- data/docs/ArtifactsApi.md +20 -20
- data/docs/ContentAppStatus.md +19 -0
- data/docs/DatabaseConnection.md +17 -0
- data/docs/OrphansApi.md +5 -5
- data/docs/ProgressReport.md +1 -3
- data/docs/RedisConnection.md +17 -0
- data/docs/RepositoriesApi.md +30 -278
- data/docs/RepositoriesVersionsApi.md +256 -0
- data/docs/RepositoryVersionCreate.md +2 -2
- data/docs/Status.md +27 -0
- data/docs/StatusApi.md +8 -7
- data/docs/TaskCancel.md +17 -0
- data/docs/TasksApi.md +71 -71
- data/docs/Upload.md +6 -8
- data/docs/UploadCommit.md +17 -0
- data/docs/UploadsApi.md +66 -106
- data/docs/Version.md +19 -0
- data/docs/WorkersApi.md +10 -10
- data/lib/pulpcore_client/api/artifacts_api.rb +47 -23
- data/lib/pulpcore_client/api/orphans_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +38 -338
- data/lib/pulpcore_client/api/repositories_versions_api.rb +322 -0
- data/lib/pulpcore_client/api/status_api.rb +12 -10
- data/lib/pulpcore_client/api/tasks_api.rb +88 -88
- data/lib/pulpcore_client/api/uploads_api.rb +105 -154
- data/lib/pulpcore_client/api/workers_api.rb +12 -12
- data/lib/pulpcore_client/api_client.rb +1 -1
- data/lib/pulpcore_client/api_error.rb +1 -1
- data/lib/pulpcore_client/configuration.rb +1 -1
- data/lib/pulpcore_client/models/artifact.rb +91 -1
- data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
- data/lib/pulpcore_client/models/content_app_status.rb +223 -0
- data/lib/pulpcore_client/models/database_connection.rb +203 -0
- data/lib/pulpcore_client/models/inline_response200.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
- data/lib/pulpcore_client/models/progress_report.rb +20 -15
- data/lib/pulpcore_client/models/redis_connection.rb +203 -0
- data/lib/pulpcore_client/models/repository.rb +16 -1
- data/lib/pulpcore_client/models/repository_version.rb +1 -1
- data/lib/pulpcore_client/models/repository_version_create.rb +3 -13
- data/lib/pulpcore_client/models/status.rb +283 -0
- data/lib/pulpcore_client/models/task.rb +1 -1
- data/lib/pulpcore_client/models/task_cancel.rb +221 -0
- data/lib/pulpcore_client/models/upload.rb +26 -52
- data/lib/pulpcore_client/models/upload_commit.rb +221 -0
- data/lib/pulpcore_client/models/version.rb +256 -0
- data/lib/pulpcore_client/models/worker.rb +2 -1
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +9 -1
- data/pulpcore_client.gemspec +1 -1
- data/spec/api/artifacts_api_spec.rb +9 -9
- data/spec/api/orphans_api_spec.rb +3 -3
- data/spec/api/repositories_api_spec.rb +13 -76
- data/spec/api/repositories_versions_api_spec.rb +98 -0
- data/spec/api/status_api_spec.rb +4 -4
- data/spec/api/tasks_api_spec.rb +20 -20
- data/spec/api/uploads_api_spec.rb +32 -37
- data/spec/api/workers_api_spec.rb +5 -5
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_app_status_spec.rb +47 -0
- data/spec/models/database_connection_spec.rb +41 -0
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/progress_report_spec.rb +1 -7
- data/spec/models/redis_connection_spec.rb +41 -0
- data/spec/models/repository_spec.rb +1 -1
- data/spec/models/repository_version_create_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/status_spec.rb +71 -0
- data/spec/models/task_cancel_spec.rb +41 -0
- data/spec/models/task_spec.rb +1 -1
- data/spec/models/upload_commit_spec.rb +41 -0
- data/spec/models/upload_spec.rb +4 -10
- data/spec/models/version_spec.rb +47 -0
- data/spec/models/worker_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +34 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16359ad9890fdd6e41e68011bd96954f90c7072a95383202d47dbcb685f968ce
|
4
|
+
data.tar.gz: 9302da06dca18722b272a8bbd6b6d4f9041e8d3e71df1d7a2c7ade739ab8536e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18ff04a45988db2388563d70e40e961c18b35758eb31a04b0b5c8671ee1b03f3bcab16a0574d35aae504129b7f0b114474937ee385978d9a2ec48fd33cb6f7bb
|
7
|
+
data.tar.gz: ebf3b528af9a56a57ee4159d426b0eb20a9ea07076c5bbd0c1a81b4ecb0f24b1254a660a0062b85e1290965bb27e27f81c4b01f43d8b397351d479b9cc63e7c4
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
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.0.
|
10
|
+
- Package version: 3.0.0rc3
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulpcore_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulpcore_client-3.0.
|
26
|
+
gem install ./pulpcore_client-3.0.0rc3.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulpcore_client-3.0.
|
29
|
+
(for development, run `gem install --dev ./pulpcore_client-3.0.0rc3.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulpcore_client', '~> 3.0.
|
35
|
+
gem 'pulpcore_client', '~> 3.0.0rc3'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -59,8 +59,8 @@ require 'pulpcore_client'
|
|
59
59
|
# Setup authorization
|
60
60
|
PulpcoreClient.configure do |config|
|
61
61
|
# Configure HTTP basic authorization: Basic
|
62
|
-
config.username = '
|
63
|
-
config.password = '
|
62
|
+
config.username = 'YOUR USERNAME'
|
63
|
+
config.password = 'YOUR PASSWORD'
|
64
64
|
end
|
65
65
|
|
66
66
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
@@ -78,10 +78,10 @@ opts = {
|
|
78
78
|
|
79
79
|
begin
|
80
80
|
#Create an artifact
|
81
|
-
result = api_instance.
|
81
|
+
result = api_instance.create(opts)
|
82
82
|
p result
|
83
83
|
rescue PulpcoreClient::ApiError => e
|
84
|
-
puts "Exception when calling ArtifactsApi->
|
84
|
+
puts "Exception when calling ArtifactsApi->create: #{e}"
|
85
85
|
end
|
86
86
|
|
87
87
|
```
|
@@ -92,41 +92,42 @@ All URIs are relative to *http://localhost:24817*
|
|
92
92
|
|
93
93
|
Class | Method | HTTP request | Description
|
94
94
|
------------ | ------------- | ------------- | -------------
|
95
|
-
*PulpcoreClient::ArtifactsApi* | [**
|
96
|
-
*PulpcoreClient::ArtifactsApi* | [**
|
97
|
-
*PulpcoreClient::ArtifactsApi* | [**
|
98
|
-
*PulpcoreClient::ArtifactsApi* | [**
|
99
|
-
*PulpcoreClient::OrphansApi* | [**
|
100
|
-
*PulpcoreClient::RepositoriesApi* | [**
|
101
|
-
*PulpcoreClient::RepositoriesApi* | [**
|
102
|
-
*PulpcoreClient::RepositoriesApi* | [**
|
103
|
-
*PulpcoreClient::RepositoriesApi* | [**
|
104
|
-
*PulpcoreClient::RepositoriesApi* | [**
|
105
|
-
*PulpcoreClient::RepositoriesApi* | [**
|
106
|
-
*PulpcoreClient::
|
107
|
-
*PulpcoreClient::
|
108
|
-
*PulpcoreClient::
|
109
|
-
*PulpcoreClient::
|
110
|
-
*PulpcoreClient::StatusApi* | [**
|
111
|
-
*PulpcoreClient::TasksApi* | [**
|
112
|
-
*PulpcoreClient::TasksApi* | [**
|
113
|
-
*PulpcoreClient::TasksApi* | [**
|
114
|
-
*PulpcoreClient::TasksApi* | [**
|
115
|
-
*PulpcoreClient::UploadsApi* | [**
|
116
|
-
*PulpcoreClient::UploadsApi* | [**
|
117
|
-
*PulpcoreClient::UploadsApi* | [**
|
118
|
-
*PulpcoreClient::UploadsApi* | [**
|
119
|
-
*PulpcoreClient::UploadsApi* | [**
|
120
|
-
*PulpcoreClient::UploadsApi* | [**
|
121
|
-
*PulpcoreClient::
|
122
|
-
*PulpcoreClient::WorkersApi* | [**
|
123
|
-
*PulpcoreClient::WorkersApi* | [**workers_read**](docs/WorkersApi.md#workers_read) | **GET** {worker_href} | Inspect a worker
|
95
|
+
*PulpcoreClient::ArtifactsApi* | [**create**](docs/ArtifactsApi.md#create) | **POST** /pulp/api/v3/artifacts/ | Create an artifact
|
96
|
+
*PulpcoreClient::ArtifactsApi* | [**delete**](docs/ArtifactsApi.md#delete) | **DELETE** {artifact_href} | Delete an artifact
|
97
|
+
*PulpcoreClient::ArtifactsApi* | [**list**](docs/ArtifactsApi.md#list) | **GET** /pulp/api/v3/artifacts/ | List artifacts
|
98
|
+
*PulpcoreClient::ArtifactsApi* | [**read**](docs/ArtifactsApi.md#read) | **GET** {artifact_href} | Inspect an artifact
|
99
|
+
*PulpcoreClient::OrphansApi* | [**delete**](docs/OrphansApi.md#delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans
|
100
|
+
*PulpcoreClient::RepositoriesApi* | [**create**](docs/RepositoriesApi.md#create) | **POST** /pulp/api/v3/repositories/ | Create a repository
|
101
|
+
*PulpcoreClient::RepositoriesApi* | [**delete**](docs/RepositoriesApi.md#delete) | **DELETE** {repository_href} | Delete a repository
|
102
|
+
*PulpcoreClient::RepositoriesApi* | [**list**](docs/RepositoriesApi.md#list) | **GET** /pulp/api/v3/repositories/ | List repositories
|
103
|
+
*PulpcoreClient::RepositoriesApi* | [**partial_update**](docs/RepositoriesApi.md#partial_update) | **PATCH** {repository_href} | Partially update a repository
|
104
|
+
*PulpcoreClient::RepositoriesApi* | [**read**](docs/RepositoriesApi.md#read) | **GET** {repository_href} | Inspect a repository
|
105
|
+
*PulpcoreClient::RepositoriesApi* | [**update**](docs/RepositoriesApi.md#update) | **PUT** {repository_href} | Update a repository
|
106
|
+
*PulpcoreClient::RepositoriesVersionsApi* | [**create**](docs/RepositoriesVersionsApi.md#create) | **POST** {repository_href}versions/ | Create a repository version
|
107
|
+
*PulpcoreClient::RepositoriesVersionsApi* | [**delete**](docs/RepositoriesVersionsApi.md#delete) | **DELETE** {repository_version_href} | Delete a repository version
|
108
|
+
*PulpcoreClient::RepositoriesVersionsApi* | [**list**](docs/RepositoriesVersionsApi.md#list) | **GET** {repository_href}versions/ | List repository versions
|
109
|
+
*PulpcoreClient::RepositoriesVersionsApi* | [**read**](docs/RepositoriesVersionsApi.md#read) | **GET** {repository_version_href} | Inspect a repository version
|
110
|
+
*PulpcoreClient::StatusApi* | [**status_read**](docs/StatusApi.md#status_read) | **GET** /pulp/api/v3/status/ | Inspect status of Pulp
|
111
|
+
*PulpcoreClient::TasksApi* | [**delete**](docs/TasksApi.md#delete) | **DELETE** {task_href} | Delete a task
|
112
|
+
*PulpcoreClient::TasksApi* | [**list**](docs/TasksApi.md#list) | **GET** /pulp/api/v3/tasks/ | List tasks
|
113
|
+
*PulpcoreClient::TasksApi* | [**read**](docs/TasksApi.md#read) | **GET** {task_href} | Inspect a task
|
114
|
+
*PulpcoreClient::TasksApi* | [**tasks_cancel**](docs/TasksApi.md#tasks_cancel) | **PATCH** {task_href} | Cancel a task
|
115
|
+
*PulpcoreClient::UploadsApi* | [**commit**](docs/UploadsApi.md#commit) | **PUT** {upload_href}commit/ | Finish an Upload
|
116
|
+
*PulpcoreClient::UploadsApi* | [**create**](docs/UploadsApi.md#create) | **POST** /pulp/api/v3/uploads/ | Create an upload
|
117
|
+
*PulpcoreClient::UploadsApi* | [**delete**](docs/UploadsApi.md#delete) | **DELETE** {upload_href} | Delete an upload
|
118
|
+
*PulpcoreClient::UploadsApi* | [**list**](docs/UploadsApi.md#list) | **GET** /pulp/api/v3/uploads/ | List uploads
|
119
|
+
*PulpcoreClient::UploadsApi* | [**read**](docs/UploadsApi.md#read) | **GET** {upload_href} | Inspect an upload
|
120
|
+
*PulpcoreClient::UploadsApi* | [**update**](docs/UploadsApi.md#update) | **PUT** {upload_href} | Upload a file chunk
|
121
|
+
*PulpcoreClient::WorkersApi* | [**list**](docs/WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List workers
|
122
|
+
*PulpcoreClient::WorkersApi* | [**read**](docs/WorkersApi.md#read) | **GET** {worker_href} | Inspect a worker
|
124
123
|
|
125
124
|
|
126
125
|
## Documentation for Models
|
127
126
|
|
128
127
|
- [PulpcoreClient::Artifact](docs/Artifact.md)
|
129
128
|
- [PulpcoreClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
129
|
+
- [PulpcoreClient::ContentAppStatus](docs/ContentAppStatus.md)
|
130
|
+
- [PulpcoreClient::DatabaseConnection](docs/DatabaseConnection.md)
|
130
131
|
- [PulpcoreClient::InlineResponse200](docs/InlineResponse200.md)
|
131
132
|
- [PulpcoreClient::InlineResponse2001](docs/InlineResponse2001.md)
|
132
133
|
- [PulpcoreClient::InlineResponse2002](docs/InlineResponse2002.md)
|
@@ -134,11 +135,16 @@ Class | Method | HTTP request | Description
|
|
134
135
|
- [PulpcoreClient::InlineResponse2004](docs/InlineResponse2004.md)
|
135
136
|
- [PulpcoreClient::InlineResponse2005](docs/InlineResponse2005.md)
|
136
137
|
- [PulpcoreClient::ProgressReport](docs/ProgressReport.md)
|
138
|
+
- [PulpcoreClient::RedisConnection](docs/RedisConnection.md)
|
137
139
|
- [PulpcoreClient::Repository](docs/Repository.md)
|
138
140
|
- [PulpcoreClient::RepositoryVersion](docs/RepositoryVersion.md)
|
139
141
|
- [PulpcoreClient::RepositoryVersionCreate](docs/RepositoryVersionCreate.md)
|
142
|
+
- [PulpcoreClient::Status](docs/Status.md)
|
140
143
|
- [PulpcoreClient::Task](docs/Task.md)
|
144
|
+
- [PulpcoreClient::TaskCancel](docs/TaskCancel.md)
|
141
145
|
- [PulpcoreClient::Upload](docs/Upload.md)
|
146
|
+
- [PulpcoreClient::UploadCommit](docs/UploadCommit.md)
|
147
|
+
- [PulpcoreClient::Version](docs/Version.md)
|
142
148
|
- [PulpcoreClient::Worker](docs/Worker.md)
|
143
149
|
|
144
150
|
|
data/docs/ArtifactsApi.md
CHANGED
@@ -4,16 +4,16 @@ All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
7
|
+
[**create**](ArtifactsApi.md#create) | **POST** /pulp/api/v3/artifacts/ | Create an artifact
|
8
|
+
[**delete**](ArtifactsApi.md#delete) | **DELETE** {artifact_href} | Delete an artifact
|
9
|
+
[**list**](ArtifactsApi.md#list) | **GET** /pulp/api/v3/artifacts/ | List artifacts
|
10
|
+
[**read**](ArtifactsApi.md#read) | **GET** {artifact_href} | Inspect an artifact
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
##
|
14
|
+
## create
|
15
15
|
|
16
|
-
> Artifact
|
16
|
+
> Artifact create(opts)
|
17
17
|
|
18
18
|
Create an artifact
|
19
19
|
|
@@ -44,10 +44,10 @@ opts = {
|
|
44
44
|
|
45
45
|
begin
|
46
46
|
#Create an artifact
|
47
|
-
result = api_instance.
|
47
|
+
result = api_instance.create(opts)
|
48
48
|
p result
|
49
49
|
rescue PulpcoreClient::ApiError => e
|
50
|
-
puts "Exception when calling ArtifactsApi->
|
50
|
+
puts "Exception when calling ArtifactsApi->create: #{e}"
|
51
51
|
end
|
52
52
|
```
|
53
53
|
|
@@ -80,9 +80,9 @@ Name | Type | Description | Notes
|
|
80
80
|
- **Accept**: application/json
|
81
81
|
|
82
82
|
|
83
|
-
##
|
83
|
+
## delete
|
84
84
|
|
85
|
-
>
|
85
|
+
> delete(artifact_href)
|
86
86
|
|
87
87
|
Delete an artifact
|
88
88
|
|
@@ -105,9 +105,9 @@ artifact_href = 'artifact_href_example' # String | URI of Artifact. e.g.: /pulp/
|
|
105
105
|
|
106
106
|
begin
|
107
107
|
#Delete an artifact
|
108
|
-
api_instance.
|
108
|
+
api_instance.delete(artifact_href)
|
109
109
|
rescue PulpcoreClient::ApiError => e
|
110
|
-
puts "Exception when calling ArtifactsApi->
|
110
|
+
puts "Exception when calling ArtifactsApi->delete: #{e}"
|
111
111
|
end
|
112
112
|
```
|
113
113
|
|
@@ -132,9 +132,9 @@ nil (empty response body)
|
|
132
132
|
- **Accept**: Not defined
|
133
133
|
|
134
134
|
|
135
|
-
##
|
135
|
+
## list
|
136
136
|
|
137
|
-
> InlineResponse200
|
137
|
+
> InlineResponse200 list(opts)
|
138
138
|
|
139
139
|
List artifacts
|
140
140
|
|
@@ -165,10 +165,10 @@ opts = {
|
|
165
165
|
|
166
166
|
begin
|
167
167
|
#List artifacts
|
168
|
-
result = api_instance.
|
168
|
+
result = api_instance.list(opts)
|
169
169
|
p result
|
170
170
|
rescue PulpcoreClient::ApiError => e
|
171
|
-
puts "Exception when calling ArtifactsApi->
|
171
|
+
puts "Exception when calling ArtifactsApi->list: #{e}"
|
172
172
|
end
|
173
173
|
```
|
174
174
|
|
@@ -201,9 +201,9 @@ Name | Type | Description | Notes
|
|
201
201
|
- **Accept**: application/json
|
202
202
|
|
203
203
|
|
204
|
-
##
|
204
|
+
## read
|
205
205
|
|
206
|
-
> Artifact
|
206
|
+
> Artifact read(artifact_href)
|
207
207
|
|
208
208
|
Inspect an artifact
|
209
209
|
|
@@ -224,10 +224,10 @@ artifact_href = 'artifact_href_example' # String | URI of Artifact. e.g.: /pulp/
|
|
224
224
|
|
225
225
|
begin
|
226
226
|
#Inspect an artifact
|
227
|
-
result = api_instance.
|
227
|
+
result = api_instance.read(artifact_href)
|
228
228
|
p result
|
229
229
|
rescue PulpcoreClient::ApiError => e
|
230
|
-
puts "Exception when calling ArtifactsApi->
|
230
|
+
puts "Exception when calling ArtifactsApi->read: #{e}"
|
231
231
|
end
|
232
232
|
```
|
233
233
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpcoreClient::ContentAppStatus
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | The name of the worker. | [optional]
|
8
|
+
**last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpcoreClient'
|
14
|
+
|
15
|
+
instance = PulpcoreClient::ContentAppStatus.new(name: null,
|
16
|
+
last_heartbeat: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpcoreClient::DatabaseConnection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**connected** | **Boolean** | Info about whether the app can connect to the database |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpcoreClient'
|
13
|
+
|
14
|
+
instance = PulpcoreClient::DatabaseConnection.new(connected: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/OrphansApi.md
CHANGED
@@ -4,13 +4,13 @@ All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
7
|
+
[**delete**](OrphansApi.md#delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
##
|
11
|
+
## delete
|
12
12
|
|
13
|
-
> AsyncOperationResponse
|
13
|
+
> AsyncOperationResponse delete
|
14
14
|
|
15
15
|
Delete orphans
|
16
16
|
|
@@ -32,10 +32,10 @@ api_instance = PulpcoreClient::OrphansApi.new
|
|
32
32
|
|
33
33
|
begin
|
34
34
|
#Delete orphans
|
35
|
-
result = api_instance.
|
35
|
+
result = api_instance.delete
|
36
36
|
p result
|
37
37
|
rescue PulpcoreClient::ApiError => e
|
38
|
-
puts "Exception when calling OrphansApi->
|
38
|
+
puts "Exception when calling OrphansApi->delete: #{e}"
|
39
39
|
end
|
40
40
|
```
|
41
41
|
|
data/docs/ProgressReport.md
CHANGED
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
|
|
9
9
|
**total** | **Integer** | The total count of items to be handled by the ProgressBar. | [optional]
|
10
10
|
**done** | **Integer** | The count of items already processed. Defaults to 0. | [optional]
|
11
11
|
**suffix** | **String** | The suffix to be shown with the progress report. | [optional]
|
12
|
-
**task** | **String** | The task associated with this progress report. | [optional]
|
13
12
|
|
14
13
|
## Code Sample
|
15
14
|
|
@@ -20,8 +19,7 @@ instance = PulpcoreClient::ProgressReport.new(message: null,
|
|
20
19
|
state: null,
|
21
20
|
total: null,
|
22
21
|
done: null,
|
23
|
-
suffix: null
|
24
|
-
task: null)
|
22
|
+
suffix: null)
|
25
23
|
```
|
26
24
|
|
27
25
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpcoreClient::RedisConnection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**connected** | **Boolean** | Info about whether the app can connect to Redis |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpcoreClient'
|
13
|
+
|
14
|
+
instance = PulpcoreClient::RedisConnection.new(connected: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|