pulpcore_client 3.20.0 → 3.21.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 +8 -84
- data/docs/ContentApi.md +1 -115
- data/docs/ContentguardsApi.md +1 -280
- data/docs/DistributionsApi.md +3 -281
- data/docs/PublicationsApi.md +0 -113
- data/docs/PulpImport.md +3 -1
- data/docs/RemotesApi.md +0 -280
- data/docs/RepositoriesApi.md +3 -281
- data/docs/UploadsApi.md +228 -0
- data/lib/pulpcore_client/api/content_api.rb +2 -134
- data/lib/pulpcore_client/api/contentguards_api.rb +2 -334
- data/lib/pulpcore_client/api/distributions_api.rb +5 -336
- data/lib/pulpcore_client/api/publications_api.rb +0 -128
- data/lib/pulpcore_client/api/remotes_api.rb +0 -334
- data/lib/pulpcore_client/api/repositories_api.rb +5 -336
- data/lib/pulpcore_client/api/repository_versions_api.rb +1 -1
- data/lib/pulpcore_client/api/uploads_api.rb +268 -0
- data/lib/pulpcore_client/api_client.rb +1 -1
- data/lib/pulpcore_client/models/pulp_import.rb +16 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +0 -31
- data/pulpcore_client.gemspec +3 -3
- data/spec/api/content_api_spec.rb +1 -27
- data/spec/api/contentguards_api_spec.rb +1 -65
- data/spec/api/distributions_api_spec.rb +2 -65
- data/spec/api/publications_api_spec.rb +0 -26
- data/spec/api/remotes_api_spec.rb +0 -64
- data/spec/api/repositories_api_spec.rb +2 -65
- data/spec/api/uploads_api_spec.rb +50 -0
- data/spec/models/pulp_import_spec.rb +6 -0
- metadata +136 -261
- data/docs/AcsApi.md +0 -417
- data/docs/AlternateContentSource.md +0 -23
- data/docs/AlternateContentSourceResponse.md +0 -27
- data/docs/ContentGuard.md +0 -19
- data/docs/Distribution.md +0 -25
- data/docs/Export.md +0 -17
- data/docs/ExportResponse.md +0 -25
- data/docs/Exporter.md +0 -17
- data/docs/ExporterResponse.md +0 -21
- data/docs/ExportersApi.md +0 -362
- data/docs/ExportersExportsApi.md +0 -241
- data/docs/Import.md +0 -19
- data/docs/Importer.md +0 -17
- data/docs/ImporterResponse.md +0 -21
- data/docs/ImportersApi.md +0 -361
- data/docs/ImportersImportsApi.md +0 -241
- data/docs/MultipleArtifactContent.md +0 -17
- data/docs/PaginatedAlternateContentSourceResponseList.md +0 -23
- data/docs/PaginatedExportResponseList.md +0 -23
- data/docs/PaginatedExporterResponseList.md +0 -23
- data/docs/PaginatedImporterResponseList.md +0 -23
- data/docs/PatchedAlternateContentSource.md +0 -23
- data/docs/PatchedContentGuard.md +0 -19
- data/docs/PatchedDistribution.md +0 -25
- data/docs/PatchedExporter.md +0 -17
- data/docs/PatchedImporter.md +0 -17
- data/docs/PatchedRemote.md +0 -57
- data/docs/PatchedRepository.md +0 -25
- data/docs/Remote.md +0 -57
- data/docs/RepositoriesVersionsApi.md +0 -271
- data/docs/Repository.md +0 -25
- data/git_push.sh +0 -58
- data/lib/pulpcore_client/api/acs_api.rb +0 -514
- data/lib/pulpcore_client/api/exporters_api.rb +0 -446
- data/lib/pulpcore_client/api/exporters_exports_api.rb +0 -294
- data/lib/pulpcore_client/api/importers_api.rb +0 -444
- data/lib/pulpcore_client/api/importers_imports_api.rb +0 -294
- data/lib/pulpcore_client/api/repositories_versions_api.rb +0 -343
- data/lib/pulpcore_client/models/alternate_content_source.rb +0 -270
- data/lib/pulpcore_client/models/alternate_content_source_response.rb +0 -270
- data/lib/pulpcore_client/models/content_guard.rb +0 -258
- data/lib/pulpcore_client/models/distribution.rb +0 -297
- data/lib/pulpcore_client/models/export.rb +0 -209
- data/lib/pulpcore_client/models/export_response.rb +0 -250
- data/lib/pulpcore_client/models/exporter.rb +0 -232
- data/lib/pulpcore_client/models/exporter_response.rb +0 -232
- data/lib/pulpcore_client/models/import.rb +0 -228
- data/lib/pulpcore_client/models/importer.rb +0 -232
- data/lib/pulpcore_client/models/importer_response.rb +0 -232
- data/lib/pulpcore_client/models/multiple_artifact_content.rb +0 -213
- data/lib/pulpcore_client/models/paginated_alternate_content_source_response_list.rb +0 -237
- data/lib/pulpcore_client/models/paginated_export_response_list.rb +0 -237
- data/lib/pulpcore_client/models/paginated_exporter_response_list.rb +0 -237
- data/lib/pulpcore_client/models/paginated_importer_response_list.rb +0 -237
- data/lib/pulpcore_client/models/patched_alternate_content_source.rb +0 -256
- data/lib/pulpcore_client/models/patched_content_guard.rb +0 -249
- data/lib/pulpcore_client/models/patched_distribution.rb +0 -279
- data/lib/pulpcore_client/models/patched_exporter.rb +0 -223
- data/lib/pulpcore_client/models/patched_importer.rb +0 -223
- data/lib/pulpcore_client/models/patched_remote.rb +0 -649
- data/lib/pulpcore_client/models/patched_repository.rb +0 -295
- data/lib/pulpcore_client/models/remote.rb +0 -667
- data/lib/pulpcore_client/models/repository.rb +0 -304
- data/spec/api/acs_api_spec.rb +0 -132
- data/spec/api/exporters_api_spec.rb +0 -120
- data/spec/api/exporters_exports_api_spec.rb +0 -90
- data/spec/api/importers_api_spec.rb +0 -120
- data/spec/api/importers_imports_api_spec.rb +0 -90
- data/spec/api/repositories_versions_api_spec.rb +0 -104
- data/spec/models/alternate_content_source_response_spec.rb +0 -71
- data/spec/models/alternate_content_source_spec.rb +0 -59
- data/spec/models/content_guard_spec.rb +0 -47
- data/spec/models/distribution_spec.rb +0 -65
- data/spec/models/export_response_spec.rb +0 -65
- data/spec/models/export_spec.rb +0 -41
- data/spec/models/exporter_response_spec.rb +0 -53
- data/spec/models/exporter_spec.rb +0 -41
- data/spec/models/import_spec.rb +0 -47
- data/spec/models/importer_response_spec.rb +0 -53
- data/spec/models/importer_spec.rb +0 -41
- data/spec/models/multiple_artifact_content_spec.rb +0 -41
- data/spec/models/paginated_alternate_content_source_response_list_spec.rb +0 -59
- data/spec/models/paginated_export_response_list_spec.rb +0 -59
- data/spec/models/paginated_exporter_response_list_spec.rb +0 -59
- data/spec/models/paginated_importer_response_list_spec.rb +0 -59
- data/spec/models/patched_alternate_content_source_spec.rb +0 -59
- data/spec/models/patched_content_guard_spec.rb +0 -47
- data/spec/models/patched_distribution_spec.rb +0 -65
- data/spec/models/patched_exporter_spec.rb +0 -41
- data/spec/models/patched_importer_spec.rb +0 -41
- data/spec/models/patched_remote_spec.rb +0 -161
- data/spec/models/patched_repository_spec.rb +0 -65
- data/spec/models/remote_spec.rb +0 -161
- data/spec/models/repository_spec.rb +0 -65
data/docs/ExportersApi.md
DELETED
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::ExportersApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://pulp*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**create**](ExportersApi.md#create) | **POST** /pulp/api/v3/exporters/ | Create an exporter
|
|
8
|
-
[**delete**](ExportersApi.md#delete) | **DELETE** {exporter_href} | Delete an exporter
|
|
9
|
-
[**list**](ExportersApi.md#list) | **GET** /pulp/api/v3/exporters/ | List exporters
|
|
10
|
-
[**partial_update**](ExportersApi.md#partial_update) | **PATCH** {exporter_href} | Update an exporter
|
|
11
|
-
[**read**](ExportersApi.md#read) | **GET** {exporter_href} | Inspect an exporter
|
|
12
|
-
[**update**](ExportersApi.md#update) | **PUT** {exporter_href} | Update an exporter
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
## create
|
|
17
|
-
|
|
18
|
-
> ExporterResponse create(exporter)
|
|
19
|
-
|
|
20
|
-
Create an exporter
|
|
21
|
-
|
|
22
|
-
ViewSet for viewing exporters.
|
|
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: basicAuth
|
|
32
|
-
config.username = 'YOUR USERNAME'
|
|
33
|
-
config.password = 'YOUR PASSWORD'
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
api_instance = PulpcoreClient::ExportersApi.new
|
|
37
|
-
exporter = PulpcoreClient::Exporter.new # Exporter |
|
|
38
|
-
|
|
39
|
-
begin
|
|
40
|
-
#Create an exporter
|
|
41
|
-
result = api_instance.create(exporter)
|
|
42
|
-
p result
|
|
43
|
-
rescue PulpcoreClient::ApiError => e
|
|
44
|
-
puts "Exception when calling ExportersApi->create: #{e}"
|
|
45
|
-
end
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Parameters
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
Name | Type | Description | Notes
|
|
52
|
-
------------- | ------------- | ------------- | -------------
|
|
53
|
-
**exporter** | [**Exporter**](Exporter.md)| |
|
|
54
|
-
|
|
55
|
-
### Return type
|
|
56
|
-
|
|
57
|
-
[**ExporterResponse**](ExporterResponse.md)
|
|
58
|
-
|
|
59
|
-
### Authorization
|
|
60
|
-
|
|
61
|
-
[basicAuth](../README.md#basicAuth)
|
|
62
|
-
|
|
63
|
-
### HTTP request headers
|
|
64
|
-
|
|
65
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
66
|
-
- **Accept**: application/json
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
## delete
|
|
70
|
-
|
|
71
|
-
> AsyncOperationResponse delete(exporter_href)
|
|
72
|
-
|
|
73
|
-
Delete an exporter
|
|
74
|
-
|
|
75
|
-
Trigger an asynchronous delete task
|
|
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: basicAuth
|
|
85
|
-
config.username = 'YOUR USERNAME'
|
|
86
|
-
config.password = 'YOUR PASSWORD'
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
api_instance = PulpcoreClient::ExportersApi.new
|
|
90
|
-
exporter_href = 'exporter_href_example' # String |
|
|
91
|
-
|
|
92
|
-
begin
|
|
93
|
-
#Delete an exporter
|
|
94
|
-
result = api_instance.delete(exporter_href)
|
|
95
|
-
p result
|
|
96
|
-
rescue PulpcoreClient::ApiError => e
|
|
97
|
-
puts "Exception when calling ExportersApi->delete: #{e}"
|
|
98
|
-
end
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
### Parameters
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
Name | Type | Description | Notes
|
|
105
|
-
------------- | ------------- | ------------- | -------------
|
|
106
|
-
**exporter_href** | **String**| |
|
|
107
|
-
|
|
108
|
-
### Return type
|
|
109
|
-
|
|
110
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
111
|
-
|
|
112
|
-
### Authorization
|
|
113
|
-
|
|
114
|
-
[basicAuth](../README.md#basicAuth)
|
|
115
|
-
|
|
116
|
-
### HTTP request headers
|
|
117
|
-
|
|
118
|
-
- **Content-Type**: Not defined
|
|
119
|
-
- **Accept**: application/json
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
## list
|
|
123
|
-
|
|
124
|
-
> PaginatedExporterResponseList list(opts)
|
|
125
|
-
|
|
126
|
-
List exporters
|
|
127
|
-
|
|
128
|
-
ViewSet for viewing exporters.
|
|
129
|
-
|
|
130
|
-
### Example
|
|
131
|
-
|
|
132
|
-
```ruby
|
|
133
|
-
# load the gem
|
|
134
|
-
require 'pulpcore_client'
|
|
135
|
-
# setup authorization
|
|
136
|
-
PulpcoreClient.configure do |config|
|
|
137
|
-
# Configure HTTP basic authorization: basicAuth
|
|
138
|
-
config.username = 'YOUR USERNAME'
|
|
139
|
-
config.password = 'YOUR PASSWORD'
|
|
140
|
-
end
|
|
141
|
-
|
|
142
|
-
api_instance = PulpcoreClient::ExportersApi.new
|
|
143
|
-
opts = {
|
|
144
|
-
limit: 56, # Integer | Number of results to return per page.
|
|
145
|
-
name: 'name_example', # String |
|
|
146
|
-
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
147
|
-
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
|
148
|
-
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
149
|
-
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
150
|
-
offset: 56, # Integer | The initial index from which to return the results.
|
|
151
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
152
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
153
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
begin
|
|
157
|
-
#List exporters
|
|
158
|
-
result = api_instance.list(opts)
|
|
159
|
-
p result
|
|
160
|
-
rescue PulpcoreClient::ApiError => e
|
|
161
|
-
puts "Exception when calling ExportersApi->list: #{e}"
|
|
162
|
-
end
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
### Parameters
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
Name | Type | Description | Notes
|
|
169
|
-
------------- | ------------- | ------------- | -------------
|
|
170
|
-
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
171
|
-
**name** | **String**| | [optional]
|
|
172
|
-
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
173
|
-
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
|
174
|
-
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
175
|
-
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
|
176
|
-
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
177
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
178
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
179
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
180
|
-
|
|
181
|
-
### Return type
|
|
182
|
-
|
|
183
|
-
[**PaginatedExporterResponseList**](PaginatedExporterResponseList.md)
|
|
184
|
-
|
|
185
|
-
### Authorization
|
|
186
|
-
|
|
187
|
-
[basicAuth](../README.md#basicAuth)
|
|
188
|
-
|
|
189
|
-
### HTTP request headers
|
|
190
|
-
|
|
191
|
-
- **Content-Type**: Not defined
|
|
192
|
-
- **Accept**: application/json
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
## partial_update
|
|
196
|
-
|
|
197
|
-
> AsyncOperationResponse partial_update(exporter_href, patched_exporter)
|
|
198
|
-
|
|
199
|
-
Update an exporter
|
|
200
|
-
|
|
201
|
-
Trigger an asynchronous partial update task
|
|
202
|
-
|
|
203
|
-
### Example
|
|
204
|
-
|
|
205
|
-
```ruby
|
|
206
|
-
# load the gem
|
|
207
|
-
require 'pulpcore_client'
|
|
208
|
-
# setup authorization
|
|
209
|
-
PulpcoreClient.configure do |config|
|
|
210
|
-
# Configure HTTP basic authorization: basicAuth
|
|
211
|
-
config.username = 'YOUR USERNAME'
|
|
212
|
-
config.password = 'YOUR PASSWORD'
|
|
213
|
-
end
|
|
214
|
-
|
|
215
|
-
api_instance = PulpcoreClient::ExportersApi.new
|
|
216
|
-
exporter_href = 'exporter_href_example' # String |
|
|
217
|
-
patched_exporter = PulpcoreClient::PatchedExporter.new # PatchedExporter |
|
|
218
|
-
|
|
219
|
-
begin
|
|
220
|
-
#Update an exporter
|
|
221
|
-
result = api_instance.partial_update(exporter_href, patched_exporter)
|
|
222
|
-
p result
|
|
223
|
-
rescue PulpcoreClient::ApiError => e
|
|
224
|
-
puts "Exception when calling ExportersApi->partial_update: #{e}"
|
|
225
|
-
end
|
|
226
|
-
```
|
|
227
|
-
|
|
228
|
-
### Parameters
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
Name | Type | Description | Notes
|
|
232
|
-
------------- | ------------- | ------------- | -------------
|
|
233
|
-
**exporter_href** | **String**| |
|
|
234
|
-
**patched_exporter** | [**PatchedExporter**](PatchedExporter.md)| |
|
|
235
|
-
|
|
236
|
-
### Return type
|
|
237
|
-
|
|
238
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
239
|
-
|
|
240
|
-
### Authorization
|
|
241
|
-
|
|
242
|
-
[basicAuth](../README.md#basicAuth)
|
|
243
|
-
|
|
244
|
-
### HTTP request headers
|
|
245
|
-
|
|
246
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
247
|
-
- **Accept**: application/json
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
## read
|
|
251
|
-
|
|
252
|
-
> ExporterResponse read(exporter_href, opts)
|
|
253
|
-
|
|
254
|
-
Inspect an exporter
|
|
255
|
-
|
|
256
|
-
ViewSet for viewing exporters.
|
|
257
|
-
|
|
258
|
-
### Example
|
|
259
|
-
|
|
260
|
-
```ruby
|
|
261
|
-
# load the gem
|
|
262
|
-
require 'pulpcore_client'
|
|
263
|
-
# setup authorization
|
|
264
|
-
PulpcoreClient.configure do |config|
|
|
265
|
-
# Configure HTTP basic authorization: basicAuth
|
|
266
|
-
config.username = 'YOUR USERNAME'
|
|
267
|
-
config.password = 'YOUR PASSWORD'
|
|
268
|
-
end
|
|
269
|
-
|
|
270
|
-
api_instance = PulpcoreClient::ExportersApi.new
|
|
271
|
-
exporter_href = 'exporter_href_example' # String |
|
|
272
|
-
opts = {
|
|
273
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
274
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
begin
|
|
278
|
-
#Inspect an exporter
|
|
279
|
-
result = api_instance.read(exporter_href, opts)
|
|
280
|
-
p result
|
|
281
|
-
rescue PulpcoreClient::ApiError => e
|
|
282
|
-
puts "Exception when calling ExportersApi->read: #{e}"
|
|
283
|
-
end
|
|
284
|
-
```
|
|
285
|
-
|
|
286
|
-
### Parameters
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
Name | Type | Description | Notes
|
|
290
|
-
------------- | ------------- | ------------- | -------------
|
|
291
|
-
**exporter_href** | **String**| |
|
|
292
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
293
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
294
|
-
|
|
295
|
-
### Return type
|
|
296
|
-
|
|
297
|
-
[**ExporterResponse**](ExporterResponse.md)
|
|
298
|
-
|
|
299
|
-
### Authorization
|
|
300
|
-
|
|
301
|
-
[basicAuth](../README.md#basicAuth)
|
|
302
|
-
|
|
303
|
-
### HTTP request headers
|
|
304
|
-
|
|
305
|
-
- **Content-Type**: Not defined
|
|
306
|
-
- **Accept**: application/json
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
## update
|
|
310
|
-
|
|
311
|
-
> AsyncOperationResponse update(exporter_href, exporter)
|
|
312
|
-
|
|
313
|
-
Update an exporter
|
|
314
|
-
|
|
315
|
-
Trigger an asynchronous update task
|
|
316
|
-
|
|
317
|
-
### Example
|
|
318
|
-
|
|
319
|
-
```ruby
|
|
320
|
-
# load the gem
|
|
321
|
-
require 'pulpcore_client'
|
|
322
|
-
# setup authorization
|
|
323
|
-
PulpcoreClient.configure do |config|
|
|
324
|
-
# Configure HTTP basic authorization: basicAuth
|
|
325
|
-
config.username = 'YOUR USERNAME'
|
|
326
|
-
config.password = 'YOUR PASSWORD'
|
|
327
|
-
end
|
|
328
|
-
|
|
329
|
-
api_instance = PulpcoreClient::ExportersApi.new
|
|
330
|
-
exporter_href = 'exporter_href_example' # String |
|
|
331
|
-
exporter = PulpcoreClient::Exporter.new # Exporter |
|
|
332
|
-
|
|
333
|
-
begin
|
|
334
|
-
#Update an exporter
|
|
335
|
-
result = api_instance.update(exporter_href, exporter)
|
|
336
|
-
p result
|
|
337
|
-
rescue PulpcoreClient::ApiError => e
|
|
338
|
-
puts "Exception when calling ExportersApi->update: #{e}"
|
|
339
|
-
end
|
|
340
|
-
```
|
|
341
|
-
|
|
342
|
-
### Parameters
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
Name | Type | Description | Notes
|
|
346
|
-
------------- | ------------- | ------------- | -------------
|
|
347
|
-
**exporter_href** | **String**| |
|
|
348
|
-
**exporter** | [**Exporter**](Exporter.md)| |
|
|
349
|
-
|
|
350
|
-
### Return type
|
|
351
|
-
|
|
352
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
353
|
-
|
|
354
|
-
### Authorization
|
|
355
|
-
|
|
356
|
-
[basicAuth](../README.md#basicAuth)
|
|
357
|
-
|
|
358
|
-
### HTTP request headers
|
|
359
|
-
|
|
360
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
361
|
-
- **Accept**: application/json
|
|
362
|
-
|
data/docs/ExportersExportsApi.md
DELETED
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::ExportersExportsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://pulp*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**create**](ExportersExportsApi.md#create) | **POST** {exporter_href}exports/ | Create an export
|
|
8
|
-
[**delete**](ExportersExportsApi.md#delete) | **DELETE** {exporters_export_href} | Delete an export
|
|
9
|
-
[**list**](ExportersExportsApi.md#list) | **GET** {exporter_href}exports/ | List exports
|
|
10
|
-
[**read**](ExportersExportsApi.md#read) | **GET** {exporters_export_href} | Inspect an export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## create
|
|
15
|
-
|
|
16
|
-
> ExportResponse create(exporter_href, export)
|
|
17
|
-
|
|
18
|
-
Create an export
|
|
19
|
-
|
|
20
|
-
ViewSet for viewing exports from an Exporter.
|
|
21
|
-
|
|
22
|
-
### Example
|
|
23
|
-
|
|
24
|
-
```ruby
|
|
25
|
-
# load the gem
|
|
26
|
-
require 'pulpcore_client'
|
|
27
|
-
# setup authorization
|
|
28
|
-
PulpcoreClient.configure do |config|
|
|
29
|
-
# Configure HTTP basic authorization: basicAuth
|
|
30
|
-
config.username = 'YOUR USERNAME'
|
|
31
|
-
config.password = 'YOUR PASSWORD'
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
api_instance = PulpcoreClient::ExportersExportsApi.new
|
|
35
|
-
exporter_href = 'exporter_href_example' # String |
|
|
36
|
-
export = PulpcoreClient::Export.new # Export |
|
|
37
|
-
|
|
38
|
-
begin
|
|
39
|
-
#Create an export
|
|
40
|
-
result = api_instance.create(exporter_href, export)
|
|
41
|
-
p result
|
|
42
|
-
rescue PulpcoreClient::ApiError => e
|
|
43
|
-
puts "Exception when calling ExportersExportsApi->create: #{e}"
|
|
44
|
-
end
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Parameters
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
Name | Type | Description | Notes
|
|
51
|
-
------------- | ------------- | ------------- | -------------
|
|
52
|
-
**exporter_href** | **String**| |
|
|
53
|
-
**export** | [**Export**](Export.md)| |
|
|
54
|
-
|
|
55
|
-
### Return type
|
|
56
|
-
|
|
57
|
-
[**ExportResponse**](ExportResponse.md)
|
|
58
|
-
|
|
59
|
-
### Authorization
|
|
60
|
-
|
|
61
|
-
[basicAuth](../README.md#basicAuth)
|
|
62
|
-
|
|
63
|
-
### HTTP request headers
|
|
64
|
-
|
|
65
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
66
|
-
- **Accept**: application/json
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
## delete
|
|
70
|
-
|
|
71
|
-
> delete(exporters_export_href)
|
|
72
|
-
|
|
73
|
-
Delete an export
|
|
74
|
-
|
|
75
|
-
ViewSet for viewing exports from an Exporter.
|
|
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: basicAuth
|
|
85
|
-
config.username = 'YOUR USERNAME'
|
|
86
|
-
config.password = 'YOUR PASSWORD'
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
api_instance = PulpcoreClient::ExportersExportsApi.new
|
|
90
|
-
exporters_export_href = 'exporters_export_href_example' # String |
|
|
91
|
-
|
|
92
|
-
begin
|
|
93
|
-
#Delete an export
|
|
94
|
-
api_instance.delete(exporters_export_href)
|
|
95
|
-
rescue PulpcoreClient::ApiError => e
|
|
96
|
-
puts "Exception when calling ExportersExportsApi->delete: #{e}"
|
|
97
|
-
end
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
### Parameters
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
Name | Type | Description | Notes
|
|
104
|
-
------------- | ------------- | ------------- | -------------
|
|
105
|
-
**exporters_export_href** | **String**| |
|
|
106
|
-
|
|
107
|
-
### Return type
|
|
108
|
-
|
|
109
|
-
nil (empty response body)
|
|
110
|
-
|
|
111
|
-
### Authorization
|
|
112
|
-
|
|
113
|
-
[basicAuth](../README.md#basicAuth)
|
|
114
|
-
|
|
115
|
-
### HTTP request headers
|
|
116
|
-
|
|
117
|
-
- **Content-Type**: Not defined
|
|
118
|
-
- **Accept**: Not defined
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
## list
|
|
122
|
-
|
|
123
|
-
> PaginatedExportResponseList list(exporter_href, opts)
|
|
124
|
-
|
|
125
|
-
List exports
|
|
126
|
-
|
|
127
|
-
ViewSet for viewing exports from an Exporter.
|
|
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: basicAuth
|
|
137
|
-
config.username = 'YOUR USERNAME'
|
|
138
|
-
config.password = 'YOUR PASSWORD'
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
api_instance = PulpcoreClient::ExportersExportsApi.new
|
|
142
|
-
exporter_href = 'exporter_href_example' # String |
|
|
143
|
-
opts = {
|
|
144
|
-
limit: 56, # Integer | Number of results to return per page.
|
|
145
|
-
offset: 56, # Integer | The initial index from which to return the results.
|
|
146
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
147
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
begin
|
|
151
|
-
#List exports
|
|
152
|
-
result = api_instance.list(exporter_href, opts)
|
|
153
|
-
p result
|
|
154
|
-
rescue PulpcoreClient::ApiError => e
|
|
155
|
-
puts "Exception when calling ExportersExportsApi->list: #{e}"
|
|
156
|
-
end
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
### Parameters
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
Name | Type | Description | Notes
|
|
163
|
-
------------- | ------------- | ------------- | -------------
|
|
164
|
-
**exporter_href** | **String**| |
|
|
165
|
-
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
166
|
-
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
167
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
168
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
169
|
-
|
|
170
|
-
### Return type
|
|
171
|
-
|
|
172
|
-
[**PaginatedExportResponseList**](PaginatedExportResponseList.md)
|
|
173
|
-
|
|
174
|
-
### Authorization
|
|
175
|
-
|
|
176
|
-
[basicAuth](../README.md#basicAuth)
|
|
177
|
-
|
|
178
|
-
### HTTP request headers
|
|
179
|
-
|
|
180
|
-
- **Content-Type**: Not defined
|
|
181
|
-
- **Accept**: application/json
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
## read
|
|
185
|
-
|
|
186
|
-
> ExportResponse read(exporters_export_href, opts)
|
|
187
|
-
|
|
188
|
-
Inspect an export
|
|
189
|
-
|
|
190
|
-
ViewSet for viewing exports from an Exporter.
|
|
191
|
-
|
|
192
|
-
### Example
|
|
193
|
-
|
|
194
|
-
```ruby
|
|
195
|
-
# load the gem
|
|
196
|
-
require 'pulpcore_client'
|
|
197
|
-
# setup authorization
|
|
198
|
-
PulpcoreClient.configure do |config|
|
|
199
|
-
# Configure HTTP basic authorization: basicAuth
|
|
200
|
-
config.username = 'YOUR USERNAME'
|
|
201
|
-
config.password = 'YOUR PASSWORD'
|
|
202
|
-
end
|
|
203
|
-
|
|
204
|
-
api_instance = PulpcoreClient::ExportersExportsApi.new
|
|
205
|
-
exporters_export_href = 'exporters_export_href_example' # String |
|
|
206
|
-
opts = {
|
|
207
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
208
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
begin
|
|
212
|
-
#Inspect an export
|
|
213
|
-
result = api_instance.read(exporters_export_href, opts)
|
|
214
|
-
p result
|
|
215
|
-
rescue PulpcoreClient::ApiError => e
|
|
216
|
-
puts "Exception when calling ExportersExportsApi->read: #{e}"
|
|
217
|
-
end
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
### Parameters
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
Name | Type | Description | Notes
|
|
224
|
-
------------- | ------------- | ------------- | -------------
|
|
225
|
-
**exporters_export_href** | **String**| |
|
|
226
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
227
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
228
|
-
|
|
229
|
-
### Return type
|
|
230
|
-
|
|
231
|
-
[**ExportResponse**](ExportResponse.md)
|
|
232
|
-
|
|
233
|
-
### Authorization
|
|
234
|
-
|
|
235
|
-
[basicAuth](../README.md#basicAuth)
|
|
236
|
-
|
|
237
|
-
### HTTP request headers
|
|
238
|
-
|
|
239
|
-
- **Content-Type**: Not defined
|
|
240
|
-
- **Accept**: application/json
|
|
241
|
-
|
data/docs/Import.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::Import
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**task** | **String** | A URI of the Task that ran the Import. |
|
|
8
|
-
**params** | [**Object**](.md) | Any parameters that were used to create the import. |
|
|
9
|
-
|
|
10
|
-
## Code Sample
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
require 'PulpcoreClient'
|
|
14
|
-
|
|
15
|
-
instance = PulpcoreClient::Import.new(task: null,
|
|
16
|
-
params: null)
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
|
data/docs/Importer.md
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::Importer
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**name** | **String** | Unique name of the Importer. |
|
|
8
|
-
|
|
9
|
-
## Code Sample
|
|
10
|
-
|
|
11
|
-
```ruby
|
|
12
|
-
require 'PulpcoreClient'
|
|
13
|
-
|
|
14
|
-
instance = PulpcoreClient::Importer.new(name: null)
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
|
data/docs/ImporterResponse.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::ImporterResponse
|
|
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
|
-
|
|
11
|
-
## Code Sample
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'PulpcoreClient'
|
|
15
|
-
|
|
16
|
-
instance = PulpcoreClient::ImporterResponse.new(pulp_href: null,
|
|
17
|
-
pulp_created: null,
|
|
18
|
-
name: null)
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
|