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/AcsApi.md
DELETED
|
@@ -1,417 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::AcsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://pulp*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**create**](AcsApi.md#create) | **POST** /pulp/api/v3/acs/ | Create an alternate content source
|
|
8
|
-
[**delete**](AcsApi.md#delete) | **DELETE** {alternate_content_source_href} | Delete an alternate content source
|
|
9
|
-
[**list**](AcsApi.md#list) | **GET** /pulp/api/v3/acs/ | List acs
|
|
10
|
-
[**partial_update**](AcsApi.md#partial_update) | **PATCH** {alternate_content_source_href} | Update an alternate content source
|
|
11
|
-
[**read**](AcsApi.md#read) | **GET** {alternate_content_source_href} | Inspect an alternate content source
|
|
12
|
-
[**refresh**](AcsApi.md#refresh) | **POST** {alternate_content_source_href}refresh/ |
|
|
13
|
-
[**update**](AcsApi.md#update) | **PUT** {alternate_content_source_href} | Update an alternate content source
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## create
|
|
18
|
-
|
|
19
|
-
> AlternateContentSourceResponse create(alternate_content_source)
|
|
20
|
-
|
|
21
|
-
Create an alternate content source
|
|
22
|
-
|
|
23
|
-
A class for ACS viewset.
|
|
24
|
-
|
|
25
|
-
### Example
|
|
26
|
-
|
|
27
|
-
```ruby
|
|
28
|
-
# load the gem
|
|
29
|
-
require 'pulpcore_client'
|
|
30
|
-
# setup authorization
|
|
31
|
-
PulpcoreClient.configure do |config|
|
|
32
|
-
# Configure HTTP basic authorization: basicAuth
|
|
33
|
-
config.username = 'YOUR USERNAME'
|
|
34
|
-
config.password = 'YOUR PASSWORD'
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
api_instance = PulpcoreClient::AcsApi.new
|
|
38
|
-
alternate_content_source = PulpcoreClient::AlternateContentSource.new # AlternateContentSource |
|
|
39
|
-
|
|
40
|
-
begin
|
|
41
|
-
#Create an alternate content source
|
|
42
|
-
result = api_instance.create(alternate_content_source)
|
|
43
|
-
p result
|
|
44
|
-
rescue PulpcoreClient::ApiError => e
|
|
45
|
-
puts "Exception when calling AcsApi->create: #{e}"
|
|
46
|
-
end
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
### Parameters
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
Name | Type | Description | Notes
|
|
53
|
-
------------- | ------------- | ------------- | -------------
|
|
54
|
-
**alternate_content_source** | [**AlternateContentSource**](AlternateContentSource.md)| |
|
|
55
|
-
|
|
56
|
-
### Return type
|
|
57
|
-
|
|
58
|
-
[**AlternateContentSourceResponse**](AlternateContentSourceResponse.md)
|
|
59
|
-
|
|
60
|
-
### Authorization
|
|
61
|
-
|
|
62
|
-
[basicAuth](../README.md#basicAuth)
|
|
63
|
-
|
|
64
|
-
### HTTP request headers
|
|
65
|
-
|
|
66
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
67
|
-
- **Accept**: application/json
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
## delete
|
|
71
|
-
|
|
72
|
-
> AsyncOperationResponse delete(alternate_content_source_href)
|
|
73
|
-
|
|
74
|
-
Delete an alternate content source
|
|
75
|
-
|
|
76
|
-
Trigger an asynchronous delete ACS task
|
|
77
|
-
|
|
78
|
-
### Example
|
|
79
|
-
|
|
80
|
-
```ruby
|
|
81
|
-
# load the gem
|
|
82
|
-
require 'pulpcore_client'
|
|
83
|
-
# setup authorization
|
|
84
|
-
PulpcoreClient.configure do |config|
|
|
85
|
-
# Configure HTTP basic authorization: basicAuth
|
|
86
|
-
config.username = 'YOUR USERNAME'
|
|
87
|
-
config.password = 'YOUR PASSWORD'
|
|
88
|
-
end
|
|
89
|
-
|
|
90
|
-
api_instance = PulpcoreClient::AcsApi.new
|
|
91
|
-
alternate_content_source_href = 'alternate_content_source_href_example' # String |
|
|
92
|
-
|
|
93
|
-
begin
|
|
94
|
-
#Delete an alternate content source
|
|
95
|
-
result = api_instance.delete(alternate_content_source_href)
|
|
96
|
-
p result
|
|
97
|
-
rescue PulpcoreClient::ApiError => e
|
|
98
|
-
puts "Exception when calling AcsApi->delete: #{e}"
|
|
99
|
-
end
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
### Parameters
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
Name | Type | Description | Notes
|
|
106
|
-
------------- | ------------- | ------------- | -------------
|
|
107
|
-
**alternate_content_source_href** | **String**| |
|
|
108
|
-
|
|
109
|
-
### Return type
|
|
110
|
-
|
|
111
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
112
|
-
|
|
113
|
-
### Authorization
|
|
114
|
-
|
|
115
|
-
[basicAuth](../README.md#basicAuth)
|
|
116
|
-
|
|
117
|
-
### HTTP request headers
|
|
118
|
-
|
|
119
|
-
- **Content-Type**: Not defined
|
|
120
|
-
- **Accept**: application/json
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
## list
|
|
124
|
-
|
|
125
|
-
> PaginatedAlternateContentSourceResponseList list(opts)
|
|
126
|
-
|
|
127
|
-
List acs
|
|
128
|
-
|
|
129
|
-
A class for ACS viewset.
|
|
130
|
-
|
|
131
|
-
### Example
|
|
132
|
-
|
|
133
|
-
```ruby
|
|
134
|
-
# load the gem
|
|
135
|
-
require 'pulpcore_client'
|
|
136
|
-
# setup authorization
|
|
137
|
-
PulpcoreClient.configure do |config|
|
|
138
|
-
# Configure HTTP basic authorization: basicAuth
|
|
139
|
-
config.username = 'YOUR USERNAME'
|
|
140
|
-
config.password = 'YOUR PASSWORD'
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
api_instance = PulpcoreClient::AcsApi.new
|
|
144
|
-
opts = {
|
|
145
|
-
limit: 56, # Integer | Number of results to return per page.
|
|
146
|
-
name: 'name_example', # String |
|
|
147
|
-
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
148
|
-
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
|
149
|
-
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
150
|
-
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
151
|
-
offset: 56, # Integer | The initial index from which to return the results.
|
|
152
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
153
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
154
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
begin
|
|
158
|
-
#List acs
|
|
159
|
-
result = api_instance.list(opts)
|
|
160
|
-
p result
|
|
161
|
-
rescue PulpcoreClient::ApiError => e
|
|
162
|
-
puts "Exception when calling AcsApi->list: #{e}"
|
|
163
|
-
end
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
### Parameters
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
Name | Type | Description | Notes
|
|
170
|
-
------------- | ------------- | ------------- | -------------
|
|
171
|
-
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
172
|
-
**name** | **String**| | [optional]
|
|
173
|
-
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
174
|
-
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
|
175
|
-
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
176
|
-
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
|
177
|
-
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
178
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
179
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
180
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
181
|
-
|
|
182
|
-
### Return type
|
|
183
|
-
|
|
184
|
-
[**PaginatedAlternateContentSourceResponseList**](PaginatedAlternateContentSourceResponseList.md)
|
|
185
|
-
|
|
186
|
-
### Authorization
|
|
187
|
-
|
|
188
|
-
[basicAuth](../README.md#basicAuth)
|
|
189
|
-
|
|
190
|
-
### HTTP request headers
|
|
191
|
-
|
|
192
|
-
- **Content-Type**: Not defined
|
|
193
|
-
- **Accept**: application/json
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
## partial_update
|
|
197
|
-
|
|
198
|
-
> AsyncOperationResponse partial_update(alternate_content_source_href, patched_alternate_content_source)
|
|
199
|
-
|
|
200
|
-
Update an alternate content source
|
|
201
|
-
|
|
202
|
-
Trigger an asynchronous partial update task
|
|
203
|
-
|
|
204
|
-
### Example
|
|
205
|
-
|
|
206
|
-
```ruby
|
|
207
|
-
# load the gem
|
|
208
|
-
require 'pulpcore_client'
|
|
209
|
-
# setup authorization
|
|
210
|
-
PulpcoreClient.configure do |config|
|
|
211
|
-
# Configure HTTP basic authorization: basicAuth
|
|
212
|
-
config.username = 'YOUR USERNAME'
|
|
213
|
-
config.password = 'YOUR PASSWORD'
|
|
214
|
-
end
|
|
215
|
-
|
|
216
|
-
api_instance = PulpcoreClient::AcsApi.new
|
|
217
|
-
alternate_content_source_href = 'alternate_content_source_href_example' # String |
|
|
218
|
-
patched_alternate_content_source = PulpcoreClient::PatchedAlternateContentSource.new # PatchedAlternateContentSource |
|
|
219
|
-
|
|
220
|
-
begin
|
|
221
|
-
#Update an alternate content source
|
|
222
|
-
result = api_instance.partial_update(alternate_content_source_href, patched_alternate_content_source)
|
|
223
|
-
p result
|
|
224
|
-
rescue PulpcoreClient::ApiError => e
|
|
225
|
-
puts "Exception when calling AcsApi->partial_update: #{e}"
|
|
226
|
-
end
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
### Parameters
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
Name | Type | Description | Notes
|
|
233
|
-
------------- | ------------- | ------------- | -------------
|
|
234
|
-
**alternate_content_source_href** | **String**| |
|
|
235
|
-
**patched_alternate_content_source** | [**PatchedAlternateContentSource**](PatchedAlternateContentSource.md)| |
|
|
236
|
-
|
|
237
|
-
### Return type
|
|
238
|
-
|
|
239
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
240
|
-
|
|
241
|
-
### Authorization
|
|
242
|
-
|
|
243
|
-
[basicAuth](../README.md#basicAuth)
|
|
244
|
-
|
|
245
|
-
### HTTP request headers
|
|
246
|
-
|
|
247
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
248
|
-
- **Accept**: application/json
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
## read
|
|
252
|
-
|
|
253
|
-
> AlternateContentSourceResponse read(alternate_content_source_href, opts)
|
|
254
|
-
|
|
255
|
-
Inspect an alternate content source
|
|
256
|
-
|
|
257
|
-
A class for ACS viewset.
|
|
258
|
-
|
|
259
|
-
### Example
|
|
260
|
-
|
|
261
|
-
```ruby
|
|
262
|
-
# load the gem
|
|
263
|
-
require 'pulpcore_client'
|
|
264
|
-
# setup authorization
|
|
265
|
-
PulpcoreClient.configure do |config|
|
|
266
|
-
# Configure HTTP basic authorization: basicAuth
|
|
267
|
-
config.username = 'YOUR USERNAME'
|
|
268
|
-
config.password = 'YOUR PASSWORD'
|
|
269
|
-
end
|
|
270
|
-
|
|
271
|
-
api_instance = PulpcoreClient::AcsApi.new
|
|
272
|
-
alternate_content_source_href = 'alternate_content_source_href_example' # String |
|
|
273
|
-
opts = {
|
|
274
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
275
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
begin
|
|
279
|
-
#Inspect an alternate content source
|
|
280
|
-
result = api_instance.read(alternate_content_source_href, opts)
|
|
281
|
-
p result
|
|
282
|
-
rescue PulpcoreClient::ApiError => e
|
|
283
|
-
puts "Exception when calling AcsApi->read: #{e}"
|
|
284
|
-
end
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
### Parameters
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
Name | Type | Description | Notes
|
|
291
|
-
------------- | ------------- | ------------- | -------------
|
|
292
|
-
**alternate_content_source_href** | **String**| |
|
|
293
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
294
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
295
|
-
|
|
296
|
-
### Return type
|
|
297
|
-
|
|
298
|
-
[**AlternateContentSourceResponse**](AlternateContentSourceResponse.md)
|
|
299
|
-
|
|
300
|
-
### Authorization
|
|
301
|
-
|
|
302
|
-
[basicAuth](../README.md#basicAuth)
|
|
303
|
-
|
|
304
|
-
### HTTP request headers
|
|
305
|
-
|
|
306
|
-
- **Content-Type**: Not defined
|
|
307
|
-
- **Accept**: application/json
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
## refresh
|
|
311
|
-
|
|
312
|
-
> AlternateContentSourceResponse refresh(alternate_content_source_href, alternate_content_source)
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
A class for ACS viewset.
|
|
317
|
-
|
|
318
|
-
### Example
|
|
319
|
-
|
|
320
|
-
```ruby
|
|
321
|
-
# load the gem
|
|
322
|
-
require 'pulpcore_client'
|
|
323
|
-
# setup authorization
|
|
324
|
-
PulpcoreClient.configure do |config|
|
|
325
|
-
# Configure HTTP basic authorization: basicAuth
|
|
326
|
-
config.username = 'YOUR USERNAME'
|
|
327
|
-
config.password = 'YOUR PASSWORD'
|
|
328
|
-
end
|
|
329
|
-
|
|
330
|
-
api_instance = PulpcoreClient::AcsApi.new
|
|
331
|
-
alternate_content_source_href = 'alternate_content_source_href_example' # String |
|
|
332
|
-
alternate_content_source = PulpcoreClient::AlternateContentSource.new # AlternateContentSource |
|
|
333
|
-
|
|
334
|
-
begin
|
|
335
|
-
result = api_instance.refresh(alternate_content_source_href, alternate_content_source)
|
|
336
|
-
p result
|
|
337
|
-
rescue PulpcoreClient::ApiError => e
|
|
338
|
-
puts "Exception when calling AcsApi->refresh: #{e}"
|
|
339
|
-
end
|
|
340
|
-
```
|
|
341
|
-
|
|
342
|
-
### Parameters
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
Name | Type | Description | Notes
|
|
346
|
-
------------- | ------------- | ------------- | -------------
|
|
347
|
-
**alternate_content_source_href** | **String**| |
|
|
348
|
-
**alternate_content_source** | [**AlternateContentSource**](AlternateContentSource.md)| |
|
|
349
|
-
|
|
350
|
-
### Return type
|
|
351
|
-
|
|
352
|
-
[**AlternateContentSourceResponse**](AlternateContentSourceResponse.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
|
-
|
|
363
|
-
|
|
364
|
-
## update
|
|
365
|
-
|
|
366
|
-
> AsyncOperationResponse update(alternate_content_source_href, alternate_content_source)
|
|
367
|
-
|
|
368
|
-
Update an alternate content source
|
|
369
|
-
|
|
370
|
-
Trigger an asynchronous update task
|
|
371
|
-
|
|
372
|
-
### Example
|
|
373
|
-
|
|
374
|
-
```ruby
|
|
375
|
-
# load the gem
|
|
376
|
-
require 'pulpcore_client'
|
|
377
|
-
# setup authorization
|
|
378
|
-
PulpcoreClient.configure do |config|
|
|
379
|
-
# Configure HTTP basic authorization: basicAuth
|
|
380
|
-
config.username = 'YOUR USERNAME'
|
|
381
|
-
config.password = 'YOUR PASSWORD'
|
|
382
|
-
end
|
|
383
|
-
|
|
384
|
-
api_instance = PulpcoreClient::AcsApi.new
|
|
385
|
-
alternate_content_source_href = 'alternate_content_source_href_example' # String |
|
|
386
|
-
alternate_content_source = PulpcoreClient::AlternateContentSource.new # AlternateContentSource |
|
|
387
|
-
|
|
388
|
-
begin
|
|
389
|
-
#Update an alternate content source
|
|
390
|
-
result = api_instance.update(alternate_content_source_href, alternate_content_source)
|
|
391
|
-
p result
|
|
392
|
-
rescue PulpcoreClient::ApiError => e
|
|
393
|
-
puts "Exception when calling AcsApi->update: #{e}"
|
|
394
|
-
end
|
|
395
|
-
```
|
|
396
|
-
|
|
397
|
-
### Parameters
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
Name | Type | Description | Notes
|
|
401
|
-
------------- | ------------- | ------------- | -------------
|
|
402
|
-
**alternate_content_source_href** | **String**| |
|
|
403
|
-
**alternate_content_source** | [**AlternateContentSource**](AlternateContentSource.md)| |
|
|
404
|
-
|
|
405
|
-
### Return type
|
|
406
|
-
|
|
407
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
408
|
-
|
|
409
|
-
### Authorization
|
|
410
|
-
|
|
411
|
-
[basicAuth](../README.md#basicAuth)
|
|
412
|
-
|
|
413
|
-
### HTTP request headers
|
|
414
|
-
|
|
415
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
416
|
-
- **Accept**: application/json
|
|
417
|
-
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::AlternateContentSource
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**name** | **String** | Name of Alternate Content Source. |
|
|
8
|
-
**last_refreshed** | **DateTime** | Date of last refresh of AlternateContentSource. | [optional]
|
|
9
|
-
**paths** | **Array<String>** | List of paths that will be appended to the Remote url when searching for content. | [optional]
|
|
10
|
-
**remote** | **String** | The remote to provide alternate content source. |
|
|
11
|
-
|
|
12
|
-
## Code Sample
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'PulpcoreClient'
|
|
16
|
-
|
|
17
|
-
instance = PulpcoreClient::AlternateContentSource.new(name: null,
|
|
18
|
-
last_refreshed: null,
|
|
19
|
-
paths: null,
|
|
20
|
-
remote: null)
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::AlternateContentSourceResponse
|
|
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** | Name of Alternate Content Source. |
|
|
10
|
-
**last_refreshed** | **DateTime** | Date of last refresh of AlternateContentSource. | [optional]
|
|
11
|
-
**paths** | **Array<String>** | List of paths that will be appended to the Remote url when searching for content. | [optional]
|
|
12
|
-
**remote** | **String** | The remote to provide alternate content source. |
|
|
13
|
-
|
|
14
|
-
## Code Sample
|
|
15
|
-
|
|
16
|
-
```ruby
|
|
17
|
-
require 'PulpcoreClient'
|
|
18
|
-
|
|
19
|
-
instance = PulpcoreClient::AlternateContentSourceResponse.new(pulp_href: null,
|
|
20
|
-
pulp_created: null,
|
|
21
|
-
name: null,
|
|
22
|
-
last_refreshed: null,
|
|
23
|
-
paths: null,
|
|
24
|
-
remote: null)
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
|
data/docs/ContentGuard.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::ContentGuard
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**name** | **String** | The unique name. |
|
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
|
9
|
-
|
|
10
|
-
## Code Sample
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
require 'PulpcoreClient'
|
|
14
|
-
|
|
15
|
-
instance = PulpcoreClient::ContentGuard.new(name: null,
|
|
16
|
-
description: null)
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
|
data/docs/Distribution.md
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::Distribution
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
|
8
|
-
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
9
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
10
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
11
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
12
|
-
|
|
13
|
-
## Code Sample
|
|
14
|
-
|
|
15
|
-
```ruby
|
|
16
|
-
require 'PulpcoreClient'
|
|
17
|
-
|
|
18
|
-
instance = PulpcoreClient::Distribution.new(base_path: null,
|
|
19
|
-
content_guard: null,
|
|
20
|
-
pulp_labels: null,
|
|
21
|
-
name: null,
|
|
22
|
-
repository: null)
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
|
data/docs/Export.md
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::Export
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**task** | **String** | A URI of the task that ran the Export. | [optional]
|
|
8
|
-
|
|
9
|
-
## Code Sample
|
|
10
|
-
|
|
11
|
-
```ruby
|
|
12
|
-
require 'PulpcoreClient'
|
|
13
|
-
|
|
14
|
-
instance = PulpcoreClient::Export.new(task: null)
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
|
data/docs/ExportResponse.md
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::ExportResponse
|
|
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<String>** | Resources that were exported. | [optional] [readonly]
|
|
11
|
-
**params** | [**Object**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
|
|
12
|
-
|
|
13
|
-
## Code Sample
|
|
14
|
-
|
|
15
|
-
```ruby
|
|
16
|
-
require 'PulpcoreClient'
|
|
17
|
-
|
|
18
|
-
instance = PulpcoreClient::ExportResponse.new(pulp_href: null,
|
|
19
|
-
pulp_created: null,
|
|
20
|
-
task: null,
|
|
21
|
-
exported_resources: null,
|
|
22
|
-
params: null)
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
|
data/docs/Exporter.md
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::Exporter
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**name** | **String** | Unique name of the file system exporter. |
|
|
8
|
-
|
|
9
|
-
## Code Sample
|
|
10
|
-
|
|
11
|
-
```ruby
|
|
12
|
-
require 'PulpcoreClient'
|
|
13
|
-
|
|
14
|
-
instance = PulpcoreClient::Exporter.new(name: null)
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
|
data/docs/ExporterResponse.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::ExporterResponse
|
|
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
|
-
|
|
11
|
-
## Code Sample
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'PulpcoreClient'
|
|
15
|
-
|
|
16
|
-
instance = PulpcoreClient::ExporterResponse.new(pulp_href: null,
|
|
17
|
-
pulp_created: null,
|
|
18
|
-
name: null)
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
|