pulpcore_client 3.2.1 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -4
- data/docs/ArtifactsApi.md +2 -0
- data/docs/ExportersCoreExportsApi.md +243 -0
- data/docs/ExportersPulpApi.md +355 -0
- data/docs/Import.md +23 -0
- data/docs/ImportersCoreImportsApi.md +243 -0
- data/docs/ImportersPulpApi.md +355 -0
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +23 -0
- data/docs/InlineResponse2006.md +23 -0
- data/docs/InlineResponse2007.md +23 -0
- data/docs/InlineResponse2008.md +23 -0
- data/docs/InlineResponse2009.md +23 -0
- data/docs/PulpExport.md +29 -0
- data/docs/PulpExporter.md +27 -0
- data/docs/PulpImport.md +17 -0
- data/docs/PulpImporter.md +23 -0
- data/docs/SigningServicesApi.md +6 -2
- data/docs/Task.md +6 -0
- data/docs/TaskGroup.md +29 -0
- data/docs/TaskGroupsApi.md +128 -0
- data/docs/TasksApi.md +10 -6
- data/docs/UploadsApi.md +4 -2
- data/docs/WorkersApi.md +4 -2
- data/lib/pulpcore_client/api/artifacts_api.rb +3 -0
- data/lib/pulpcore_client/api/exporters_core_exports_api.rb +297 -0
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +431 -0
- data/lib/pulpcore_client/api/importers_core_imports_api.rb +297 -0
- data/lib/pulpcore_client/api/importers_pulp_api.rb +431 -0
- data/lib/pulpcore_client/api/signing_services_api.rb +9 -3
- data/lib/pulpcore_client/api/task_groups_api.rb +157 -0
- data/lib/pulpcore_client/api/tasks_api.rb +15 -9
- data/lib/pulpcore_client/api/uploads_api.rb +6 -3
- data/lib/pulpcore_client/api/workers_api.rb +6 -3
- data/lib/pulpcore_client/models/import.rb +246 -0
- 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 +247 -0
- data/lib/pulpcore_client/models/inline_response2006.rb +247 -0
- data/lib/pulpcore_client/models/inline_response2007.rb +247 -0
- data/lib/pulpcore_client/models/inline_response2008.rb +247 -0
- data/lib/pulpcore_client/models/inline_response2009.rb +247 -0
- data/lib/pulpcore_client/models/pulp_export.rb +310 -0
- data/lib/pulpcore_client/models/pulp_exporter.rb +310 -0
- data/lib/pulpcore_client/models/pulp_import.rb +231 -0
- data/lib/pulpcore_client/models/pulp_importer.rb +262 -0
- data/lib/pulpcore_client/models/task.rb +33 -1
- data/lib/pulpcore_client/models/task_group.rb +291 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +16 -0
- data/spec/api/artifacts_api_spec.rb +1 -0
- data/spec/api/exporters_core_exports_api_spec.rb +91 -0
- data/spec/api/exporters_pulp_api_spec.rb +117 -0
- data/spec/api/importers_core_imports_api_spec.rb +91 -0
- data/spec/api/importers_pulp_api_spec.rb +117 -0
- data/spec/api/signing_services_api_spec.rb +3 -1
- data/spec/api/task_groups_api_spec.rb +63 -0
- data/spec/api/tasks_api_spec.rb +5 -3
- data/spec/api/uploads_api_spec.rb +2 -1
- data/spec/api/workers_api_spec.rb +2 -1
- data/spec/models/import_spec.rb +59 -0
- data/spec/models/inline_response2005_spec.rb +59 -0
- data/spec/models/inline_response2006_spec.rb +59 -0
- data/spec/models/inline_response2007_spec.rb +59 -0
- data/spec/models/inline_response2008_spec.rb +59 -0
- data/spec/models/inline_response2009_spec.rb +59 -0
- data/spec/models/pulp_export_spec.rb +77 -0
- data/spec/models/pulp_exporter_spec.rb +71 -0
- data/spec/models/pulp_import_spec.rb +41 -0
- data/spec/models/pulp_importer_spec.rb +59 -0
- data/spec/models/task_group_spec.rb +77 -0
- data/spec/models/task_spec.rb +18 -0
- metadata +66 -2
@@ -0,0 +1,355 @@
|
|
1
|
+
# PulpcoreClient::ImportersPulpApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](ImportersPulpApi.md#create) | **POST** /pulp/api/v3/importers/core/pulp/ | Create a pulp importer
|
8
|
+
[**delete**](ImportersPulpApi.md#delete) | **DELETE** {pulp_importer_href} | Delete a pulp importer
|
9
|
+
[**list**](ImportersPulpApi.md#list) | **GET** /pulp/api/v3/importers/core/pulp/ | List pulp importers
|
10
|
+
[**partial_update**](ImportersPulpApi.md#partial_update) | **PATCH** {pulp_importer_href} | Partially update a pulp importer
|
11
|
+
[**read**](ImportersPulpApi.md#read) | **GET** {pulp_importer_href} | Inspect a pulp importer
|
12
|
+
[**update**](ImportersPulpApi.md#update) | **PUT** {pulp_importer_href} | Update a pulp importer
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
## create
|
17
|
+
|
18
|
+
> PulpImporter create(data)
|
19
|
+
|
20
|
+
Create a pulp importer
|
21
|
+
|
22
|
+
ViewSet for PulpImporters.
|
23
|
+
|
24
|
+
### Example
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
# load the gem
|
28
|
+
require 'pulpcore_client'
|
29
|
+
# setup authorization
|
30
|
+
PulpcoreClient.configure do |config|
|
31
|
+
# Configure HTTP basic authorization: Basic
|
32
|
+
config.username = 'YOUR USERNAME'
|
33
|
+
config.password = 'YOUR PASSWORD'
|
34
|
+
end
|
35
|
+
|
36
|
+
api_instance = PulpcoreClient::ImportersPulpApi.new
|
37
|
+
data = PulpcoreClient::PulpImporter.new # PulpImporter |
|
38
|
+
|
39
|
+
begin
|
40
|
+
#Create a pulp importer
|
41
|
+
result = api_instance.create(data)
|
42
|
+
p result
|
43
|
+
rescue PulpcoreClient::ApiError => e
|
44
|
+
puts "Exception when calling ImportersPulpApi->create: #{e}"
|
45
|
+
end
|
46
|
+
```
|
47
|
+
|
48
|
+
### Parameters
|
49
|
+
|
50
|
+
|
51
|
+
Name | Type | Description | Notes
|
52
|
+
------------- | ------------- | ------------- | -------------
|
53
|
+
**data** | [**PulpImporter**](PulpImporter.md)| |
|
54
|
+
|
55
|
+
### Return type
|
56
|
+
|
57
|
+
[**PulpImporter**](PulpImporter.md)
|
58
|
+
|
59
|
+
### Authorization
|
60
|
+
|
61
|
+
[Basic](../README.md#Basic)
|
62
|
+
|
63
|
+
### HTTP request headers
|
64
|
+
|
65
|
+
- **Content-Type**: application/json
|
66
|
+
- **Accept**: application/json
|
67
|
+
|
68
|
+
|
69
|
+
## delete
|
70
|
+
|
71
|
+
> delete(pulp_importer_href)
|
72
|
+
|
73
|
+
Delete a pulp importer
|
74
|
+
|
75
|
+
ViewSet for PulpImporters.
|
76
|
+
|
77
|
+
### Example
|
78
|
+
|
79
|
+
```ruby
|
80
|
+
# load the gem
|
81
|
+
require 'pulpcore_client'
|
82
|
+
# setup authorization
|
83
|
+
PulpcoreClient.configure do |config|
|
84
|
+
# Configure HTTP basic authorization: Basic
|
85
|
+
config.username = 'YOUR USERNAME'
|
86
|
+
config.password = 'YOUR PASSWORD'
|
87
|
+
end
|
88
|
+
|
89
|
+
api_instance = PulpcoreClient::ImportersPulpApi.new
|
90
|
+
pulp_importer_href = 'pulp_importer_href_example' # String | URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
91
|
+
|
92
|
+
begin
|
93
|
+
#Delete a pulp importer
|
94
|
+
api_instance.delete(pulp_importer_href)
|
95
|
+
rescue PulpcoreClient::ApiError => e
|
96
|
+
puts "Exception when calling ImportersPulpApi->delete: #{e}"
|
97
|
+
end
|
98
|
+
```
|
99
|
+
|
100
|
+
### Parameters
|
101
|
+
|
102
|
+
|
103
|
+
Name | Type | Description | Notes
|
104
|
+
------------- | ------------- | ------------- | -------------
|
105
|
+
**pulp_importer_href** | **String**| URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/ |
|
106
|
+
|
107
|
+
### Return type
|
108
|
+
|
109
|
+
nil (empty response body)
|
110
|
+
|
111
|
+
### Authorization
|
112
|
+
|
113
|
+
[Basic](../README.md#Basic)
|
114
|
+
|
115
|
+
### HTTP request headers
|
116
|
+
|
117
|
+
- **Content-Type**: Not defined
|
118
|
+
- **Accept**: Not defined
|
119
|
+
|
120
|
+
|
121
|
+
## list
|
122
|
+
|
123
|
+
> InlineResponse2003 list(opts)
|
124
|
+
|
125
|
+
List pulp importers
|
126
|
+
|
127
|
+
ViewSet for PulpImporters.
|
128
|
+
|
129
|
+
### Example
|
130
|
+
|
131
|
+
```ruby
|
132
|
+
# load the gem
|
133
|
+
require 'pulpcore_client'
|
134
|
+
# setup authorization
|
135
|
+
PulpcoreClient.configure do |config|
|
136
|
+
# Configure HTTP basic authorization: Basic
|
137
|
+
config.username = 'YOUR USERNAME'
|
138
|
+
config.password = 'YOUR PASSWORD'
|
139
|
+
end
|
140
|
+
|
141
|
+
api_instance = PulpcoreClient::ImportersPulpApi.new
|
142
|
+
opts = {
|
143
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
144
|
+
name: 'name_example', # String |
|
145
|
+
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
146
|
+
limit: 56, # Integer | Number of results to return per page.
|
147
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
148
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
149
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
150
|
+
}
|
151
|
+
|
152
|
+
begin
|
153
|
+
#List pulp importers
|
154
|
+
result = api_instance.list(opts)
|
155
|
+
p result
|
156
|
+
rescue PulpcoreClient::ApiError => e
|
157
|
+
puts "Exception when calling ImportersPulpApi->list: #{e}"
|
158
|
+
end
|
159
|
+
```
|
160
|
+
|
161
|
+
### Parameters
|
162
|
+
|
163
|
+
|
164
|
+
Name | Type | Description | Notes
|
165
|
+
------------- | ------------- | ------------- | -------------
|
166
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
167
|
+
**name** | **String**| | [optional]
|
168
|
+
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
169
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
171
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
172
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
173
|
+
|
174
|
+
### Return type
|
175
|
+
|
176
|
+
[**InlineResponse2003**](InlineResponse2003.md)
|
177
|
+
|
178
|
+
### Authorization
|
179
|
+
|
180
|
+
[Basic](../README.md#Basic)
|
181
|
+
|
182
|
+
### HTTP request headers
|
183
|
+
|
184
|
+
- **Content-Type**: Not defined
|
185
|
+
- **Accept**: application/json
|
186
|
+
|
187
|
+
|
188
|
+
## partial_update
|
189
|
+
|
190
|
+
> PulpImporter partial_update(pulp_importer_href, data)
|
191
|
+
|
192
|
+
Partially update a pulp importer
|
193
|
+
|
194
|
+
ViewSet for PulpImporters.
|
195
|
+
|
196
|
+
### Example
|
197
|
+
|
198
|
+
```ruby
|
199
|
+
# load the gem
|
200
|
+
require 'pulpcore_client'
|
201
|
+
# setup authorization
|
202
|
+
PulpcoreClient.configure do |config|
|
203
|
+
# Configure HTTP basic authorization: Basic
|
204
|
+
config.username = 'YOUR USERNAME'
|
205
|
+
config.password = 'YOUR PASSWORD'
|
206
|
+
end
|
207
|
+
|
208
|
+
api_instance = PulpcoreClient::ImportersPulpApi.new
|
209
|
+
pulp_importer_href = 'pulp_importer_href_example' # String | URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
210
|
+
data = PulpcoreClient::PulpImporter.new # PulpImporter |
|
211
|
+
|
212
|
+
begin
|
213
|
+
#Partially update a pulp importer
|
214
|
+
result = api_instance.partial_update(pulp_importer_href, data)
|
215
|
+
p result
|
216
|
+
rescue PulpcoreClient::ApiError => e
|
217
|
+
puts "Exception when calling ImportersPulpApi->partial_update: #{e}"
|
218
|
+
end
|
219
|
+
```
|
220
|
+
|
221
|
+
### Parameters
|
222
|
+
|
223
|
+
|
224
|
+
Name | Type | Description | Notes
|
225
|
+
------------- | ------------- | ------------- | -------------
|
226
|
+
**pulp_importer_href** | **String**| URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/ |
|
227
|
+
**data** | [**PulpImporter**](PulpImporter.md)| |
|
228
|
+
|
229
|
+
### Return type
|
230
|
+
|
231
|
+
[**PulpImporter**](PulpImporter.md)
|
232
|
+
|
233
|
+
### Authorization
|
234
|
+
|
235
|
+
[Basic](../README.md#Basic)
|
236
|
+
|
237
|
+
### HTTP request headers
|
238
|
+
|
239
|
+
- **Content-Type**: application/json
|
240
|
+
- **Accept**: application/json
|
241
|
+
|
242
|
+
|
243
|
+
## read
|
244
|
+
|
245
|
+
> PulpImporter read(pulp_importer_href, opts)
|
246
|
+
|
247
|
+
Inspect a pulp importer
|
248
|
+
|
249
|
+
ViewSet for PulpImporters.
|
250
|
+
|
251
|
+
### Example
|
252
|
+
|
253
|
+
```ruby
|
254
|
+
# load the gem
|
255
|
+
require 'pulpcore_client'
|
256
|
+
# setup authorization
|
257
|
+
PulpcoreClient.configure do |config|
|
258
|
+
# Configure HTTP basic authorization: Basic
|
259
|
+
config.username = 'YOUR USERNAME'
|
260
|
+
config.password = 'YOUR PASSWORD'
|
261
|
+
end
|
262
|
+
|
263
|
+
api_instance = PulpcoreClient::ImportersPulpApi.new
|
264
|
+
pulp_importer_href = 'pulp_importer_href_example' # String | URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
265
|
+
opts = {
|
266
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
267
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
268
|
+
}
|
269
|
+
|
270
|
+
begin
|
271
|
+
#Inspect a pulp importer
|
272
|
+
result = api_instance.read(pulp_importer_href, opts)
|
273
|
+
p result
|
274
|
+
rescue PulpcoreClient::ApiError => e
|
275
|
+
puts "Exception when calling ImportersPulpApi->read: #{e}"
|
276
|
+
end
|
277
|
+
```
|
278
|
+
|
279
|
+
### Parameters
|
280
|
+
|
281
|
+
|
282
|
+
Name | Type | Description | Notes
|
283
|
+
------------- | ------------- | ------------- | -------------
|
284
|
+
**pulp_importer_href** | **String**| URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/ |
|
285
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
286
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
287
|
+
|
288
|
+
### Return type
|
289
|
+
|
290
|
+
[**PulpImporter**](PulpImporter.md)
|
291
|
+
|
292
|
+
### Authorization
|
293
|
+
|
294
|
+
[Basic](../README.md#Basic)
|
295
|
+
|
296
|
+
### HTTP request headers
|
297
|
+
|
298
|
+
- **Content-Type**: Not defined
|
299
|
+
- **Accept**: application/json
|
300
|
+
|
301
|
+
|
302
|
+
## update
|
303
|
+
|
304
|
+
> PulpImporter update(pulp_importer_href, data)
|
305
|
+
|
306
|
+
Update a pulp importer
|
307
|
+
|
308
|
+
ViewSet for PulpImporters.
|
309
|
+
|
310
|
+
### Example
|
311
|
+
|
312
|
+
```ruby
|
313
|
+
# load the gem
|
314
|
+
require 'pulpcore_client'
|
315
|
+
# setup authorization
|
316
|
+
PulpcoreClient.configure do |config|
|
317
|
+
# Configure HTTP basic authorization: Basic
|
318
|
+
config.username = 'YOUR USERNAME'
|
319
|
+
config.password = 'YOUR PASSWORD'
|
320
|
+
end
|
321
|
+
|
322
|
+
api_instance = PulpcoreClient::ImportersPulpApi.new
|
323
|
+
pulp_importer_href = 'pulp_importer_href_example' # String | URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
324
|
+
data = PulpcoreClient::PulpImporter.new # PulpImporter |
|
325
|
+
|
326
|
+
begin
|
327
|
+
#Update a pulp importer
|
328
|
+
result = api_instance.update(pulp_importer_href, data)
|
329
|
+
p result
|
330
|
+
rescue PulpcoreClient::ApiError => e
|
331
|
+
puts "Exception when calling ImportersPulpApi->update: #{e}"
|
332
|
+
end
|
333
|
+
```
|
334
|
+
|
335
|
+
### Parameters
|
336
|
+
|
337
|
+
|
338
|
+
Name | Type | Description | Notes
|
339
|
+
------------- | ------------- | ------------- | -------------
|
340
|
+
**pulp_importer_href** | **String**| URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/ |
|
341
|
+
**data** | [**PulpImporter**](PulpImporter.md)| |
|
342
|
+
|
343
|
+
### Return type
|
344
|
+
|
345
|
+
[**PulpImporter**](PulpImporter.md)
|
346
|
+
|
347
|
+
### Authorization
|
348
|
+
|
349
|
+
[Basic](../README.md#Basic)
|
350
|
+
|
351
|
+
### HTTP request headers
|
352
|
+
|
353
|
+
- **Content-Type**: application/json
|
354
|
+
- **Accept**: application/json
|
355
|
+
|
data/docs/InlineResponse2001.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<PulpExporter>**](PulpExporter.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2002.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<PulpExport>**](PulpExport.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2003.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<PulpImporter>**](PulpImporter.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2004.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<Import>**](Import.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::InlineResponse2005
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<SigningService>**](SigningService.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::InlineResponse2005.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::InlineResponse2006
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<TaskGroup>**](TaskGroup.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::InlineResponse2006.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::InlineResponse2007
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<Task>**](Task.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::InlineResponse2007.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::InlineResponse2008
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<Upload>**](Upload.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::InlineResponse2008.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::InlineResponse2009
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<Worker>**](Worker.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::InlineResponse2009.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/PulpExport.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# PulpcoreClient::PulpExport
|
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. |
|
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. |
|
12
|
+
**sha256** | **String** | The SHA-256 checksum of the exported .tar.gz. | [optional]
|
13
|
+
**filename** | **String** | The full-path filename of the exported .tar.gz. | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'PulpcoreClient'
|
19
|
+
|
20
|
+
instance = PulpcoreClient::PulpExport.new(pulp_href: null,
|
21
|
+
pulp_created: null,
|
22
|
+
task: null,
|
23
|
+
exported_resources: null,
|
24
|
+
params: null,
|
25
|
+
sha256: null,
|
26
|
+
filename: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# PulpcoreClient::PulpExporter
|
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::PulpExporter.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
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpcoreClient::PulpImport
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**path** | **String** | Path to export that will be imported. |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpcoreClient'
|
13
|
+
|
14
|
+
instance = PulpcoreClient::PulpImport.new(path: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::PulpImporter
|
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** | **Hash<String, String>** | 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::PulpImporter.new(pulp_href: null,
|
18
|
+
pulp_created: null,
|
19
|
+
name: null,
|
20
|
+
repo_mapping: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/SigningServicesApi.md
CHANGED
@@ -11,7 +11,7 @@ Method | HTTP request | Description
|
|
11
11
|
|
12
12
|
## list
|
13
13
|
|
14
|
-
>
|
14
|
+
> InlineResponse2005 list(opts)
|
15
15
|
|
16
16
|
List signing services
|
17
17
|
|
@@ -31,6 +31,8 @@ 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 |
|
34
36
|
limit: 56, # Integer | Number of results to return per page.
|
35
37
|
offset: 56, # Integer | The initial index from which to return the results.
|
36
38
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -51,6 +53,8 @@ end
|
|
51
53
|
|
52
54
|
Name | Type | Description | Notes
|
53
55
|
------------- | ------------- | ------------- | -------------
|
56
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
57
|
+
**name** | **String**| | [optional]
|
54
58
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
55
59
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
56
60
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
@@ -58,7 +62,7 @@ Name | Type | Description | Notes
|
|
58
62
|
|
59
63
|
### Return type
|
60
64
|
|
61
|
-
[**
|
65
|
+
[**InlineResponse2005**](InlineResponse2005.md)
|
62
66
|
|
63
67
|
### Authorization
|
64
68
|
|
data/docs/Task.md
CHANGED
@@ -12,6 +12,9 @@ Name | Type | Description | Notes
|
|
12
12
|
**finished_at** | **DateTime** | Timestamp of the when this task stopped execution. | [optional] [readonly]
|
13
13
|
**error** | **Hash<String, Object>** | A JSON Object of a fatal error encountered during the execution of this task. | [optional] [readonly]
|
14
14
|
**worker** | **String** | The worker associated with this task. This field is empty if a worker is not yet assigned. | [optional] [readonly]
|
15
|
+
**parent_task** | **String** | The parent task that spawned this task. | [optional] [readonly]
|
16
|
+
**child_tasks** | **Array<String>** | Any tasks spawned by this task. | [optional] [readonly]
|
17
|
+
**task_group** | **String** | The task group that this task is a member of. | [optional] [readonly]
|
15
18
|
**progress_reports** | [**Array<ProgressReport>**](ProgressReport.md) | | [optional] [readonly]
|
16
19
|
**created_resources** | **Array<String>** | Resources created by this task. | [optional] [readonly]
|
17
20
|
**reserved_resources_record** | **Array<Object>** | | [optional] [readonly]
|
@@ -29,6 +32,9 @@ instance = PulpcoreClient::Task.new(pulp_href: null,
|
|
29
32
|
finished_at: null,
|
30
33
|
error: null,
|
31
34
|
worker: null,
|
35
|
+
parent_task: null,
|
36
|
+
child_tasks: null,
|
37
|
+
task_group: null,
|
32
38
|
progress_reports: null,
|
33
39
|
created_resources: null,
|
34
40
|
reserved_resources_record: null)
|