pulp_file_client 0.1.0b1
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 +7 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +79 -0
- data/README.md +127 -0
- data/Rakefile +10 -0
- data/docs/AsyncOperationResponse.md +17 -0
- data/docs/ContentFilesApi.md +184 -0
- data/docs/DistributionsFileApi.md +352 -0
- data/docs/FileContent.md +37 -0
- data/docs/FileDistribution.md +29 -0
- data/docs/FilePublication.md +31 -0
- data/docs/FileRemote.md +45 -0
- data/docs/InlineResponse200.md +23 -0
- data/docs/InlineResponse2001.md +23 -0
- data/docs/InlineResponse2002.md +23 -0
- data/docs/InlineResponse2003.md +23 -0
- data/docs/PublicationsFileApi.md +229 -0
- data/docs/RemotesFileApi.md +411 -0
- data/docs/RepositorySyncURL.md +19 -0
- data/git_push.sh +55 -0
- data/lib/pulp_file_client/api/content_files_api.rb +225 -0
- data/lib/pulp_file_client/api/distributions_file_api.rb +430 -0
- data/lib/pulp_file_client/api/publications_file_api.rb +273 -0
- data/lib/pulp_file_client/api/remotes_file_api.rb +504 -0
- data/lib/pulp_file_client/api_client.rb +387 -0
- data/lib/pulp_file_client/api_error.rb +57 -0
- data/lib/pulp_file_client/configuration.rb +251 -0
- data/lib/pulp_file_client/models/async_operation_response.rb +202 -0
- data/lib/pulp_file_client/models/file_content.rb +429 -0
- data/lib/pulp_file_client/models/file_distribution.rb +337 -0
- data/lib/pulp_file_client/models/file_publication.rb +297 -0
- data/lib/pulp_file_client/models/file_remote.rb +539 -0
- data/lib/pulp_file_client/models/inline_response200.rb +235 -0
- data/lib/pulp_file_client/models/inline_response2001.rb +235 -0
- data/lib/pulp_file_client/models/inline_response2002.rb +235 -0
- data/lib/pulp_file_client/models/inline_response2003.rb +235 -0
- data/lib/pulp_file_client/models/repository_sync_url.rb +214 -0
- data/lib/pulp_file_client/version.rb +15 -0
- data/lib/pulp_file_client.rb +53 -0
- data/pulp_file_client.gemspec +45 -0
- data/spec/api/content_files_api_spec.rb +77 -0
- data/spec/api/distributions_file_api_spec.rb +116 -0
- data/spec/api/publications_file_api_spec.rb +85 -0
- data/spec/api/remotes_file_api_spec.rb +130 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/async_operation_response_spec.rb +41 -0
- data/spec/models/file_content_spec.rb +101 -0
- data/spec/models/file_distribution_spec.rb +77 -0
- data/spec/models/file_publication_spec.rb +83 -0
- data/spec/models/file_remote_spec.rb +129 -0
- data/spec/models/inline_response2001_spec.rb +59 -0
- data/spec/models/inline_response2002_spec.rb +59 -0
- data/spec/models/inline_response2003_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +59 -0
- data/spec/models/repository_sync_url_spec.rb +47 -0
- data/spec/spec_helper.rb +111 -0
- metadata +297 -0
@@ -0,0 +1,352 @@
|
|
1
|
+
# PulpFileClient::DistributionsFileApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](DistributionsFileApi.md#create) | **POST** /pulp/api/v3/distributions/file/file/ | Create a file distribution
|
8
|
+
[**delete**](DistributionsFileApi.md#delete) | **DELETE** {file_distribution_href} | Delete a file distribution
|
9
|
+
[**list**](DistributionsFileApi.md#list) | **GET** /pulp/api/v3/distributions/file/file/ | List file distributions
|
10
|
+
[**partial_update**](DistributionsFileApi.md#partial_update) | **PATCH** {file_distribution_href} | Partially update a file distribution
|
11
|
+
[**read**](DistributionsFileApi.md#read) | **GET** {file_distribution_href} | Inspect a file distribution
|
12
|
+
[**update**](DistributionsFileApi.md#update) | **PUT** {file_distribution_href} | Update a file distribution
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
## create
|
17
|
+
|
18
|
+
> AsyncOperationResponse create(data)
|
19
|
+
|
20
|
+
Create a file distribution
|
21
|
+
|
22
|
+
Trigger an asynchronous create task
|
23
|
+
|
24
|
+
### Example
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
# load the gem
|
28
|
+
require 'pulp_file_client'
|
29
|
+
# setup authorization
|
30
|
+
PulpFileClient.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 = PulpFileClient::DistributionsFileApi.new
|
37
|
+
data = PulpFileClient::FileDistribution.new # FileDistribution |
|
38
|
+
|
39
|
+
begin
|
40
|
+
#Create a file distribution
|
41
|
+
result = api_instance.create(data)
|
42
|
+
p result
|
43
|
+
rescue PulpFileClient::ApiError => e
|
44
|
+
puts "Exception when calling DistributionsFileApi->create: #{e}"
|
45
|
+
end
|
46
|
+
```
|
47
|
+
|
48
|
+
### Parameters
|
49
|
+
|
50
|
+
|
51
|
+
Name | Type | Description | Notes
|
52
|
+
------------- | ------------- | ------------- | -------------
|
53
|
+
**data** | [**FileDistribution**](FileDistribution.md)| |
|
54
|
+
|
55
|
+
### Return type
|
56
|
+
|
57
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.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
|
+
> AsyncOperationResponse delete(file_distribution_href)
|
72
|
+
|
73
|
+
Delete a file distribution
|
74
|
+
|
75
|
+
Trigger an asynchronous delete task
|
76
|
+
|
77
|
+
### Example
|
78
|
+
|
79
|
+
```ruby
|
80
|
+
# load the gem
|
81
|
+
require 'pulp_file_client'
|
82
|
+
# setup authorization
|
83
|
+
PulpFileClient.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 = PulpFileClient::DistributionsFileApi.new
|
90
|
+
file_distribution_href = 'file_distribution_href_example' # String | URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/
|
91
|
+
|
92
|
+
begin
|
93
|
+
#Delete a file distribution
|
94
|
+
result = api_instance.delete(file_distribution_href)
|
95
|
+
p result
|
96
|
+
rescue PulpFileClient::ApiError => e
|
97
|
+
puts "Exception when calling DistributionsFileApi->delete: #{e}"
|
98
|
+
end
|
99
|
+
```
|
100
|
+
|
101
|
+
### Parameters
|
102
|
+
|
103
|
+
|
104
|
+
Name | Type | Description | Notes
|
105
|
+
------------- | ------------- | ------------- | -------------
|
106
|
+
**file_distribution_href** | **String**| URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/ |
|
107
|
+
|
108
|
+
### Return type
|
109
|
+
|
110
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
111
|
+
|
112
|
+
### Authorization
|
113
|
+
|
114
|
+
[Basic](../README.md#Basic)
|
115
|
+
|
116
|
+
### HTTP request headers
|
117
|
+
|
118
|
+
- **Content-Type**: Not defined
|
119
|
+
- **Accept**: application/json
|
120
|
+
|
121
|
+
|
122
|
+
## list
|
123
|
+
|
124
|
+
> InlineResponse2001 list(opts)
|
125
|
+
|
126
|
+
List file distributions
|
127
|
+
|
128
|
+
<!-- User-facing documentation, rendered as html--> FileDistributions host <a href=\"#operation/publications_file_file_list\">File Publications</a> which makes the metadata and the referenced <a href=\"#operation/content_file_files_list\">File Content</a> available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a <a href=\"#operation/remotes_file_file_list\">File Remote</a> , allowing another instance of Pulp to sync the content.
|
129
|
+
|
130
|
+
### Example
|
131
|
+
|
132
|
+
```ruby
|
133
|
+
# load the gem
|
134
|
+
require 'pulp_file_client'
|
135
|
+
# setup authorization
|
136
|
+
PulpFileClient.configure do |config|
|
137
|
+
# Configure HTTP basic authorization: Basic
|
138
|
+
config.username = 'YOUR USERNAME'
|
139
|
+
config.password = 'YOUR PASSWORD'
|
140
|
+
end
|
141
|
+
|
142
|
+
api_instance = PulpFileClient::DistributionsFileApi.new
|
143
|
+
opts = {
|
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
|
+
base_path: 'base_path_example', # String |
|
147
|
+
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
148
|
+
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
149
|
+
base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
|
150
|
+
page: 56, # Integer | A page number within the paginated result set.
|
151
|
+
page_size: 56 # Integer | Number of results to return per page.
|
152
|
+
}
|
153
|
+
|
154
|
+
begin
|
155
|
+
#List file distributions
|
156
|
+
result = api_instance.list(opts)
|
157
|
+
p result
|
158
|
+
rescue PulpFileClient::ApiError => e
|
159
|
+
puts "Exception when calling DistributionsFileApi->list: #{e}"
|
160
|
+
end
|
161
|
+
```
|
162
|
+
|
163
|
+
### Parameters
|
164
|
+
|
165
|
+
|
166
|
+
Name | Type | Description | Notes
|
167
|
+
------------- | ------------- | ------------- | -------------
|
168
|
+
**name** | **String**| | [optional]
|
169
|
+
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
170
|
+
**base_path** | **String**| | [optional]
|
171
|
+
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
172
|
+
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
173
|
+
**base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
|
174
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
175
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
176
|
+
|
177
|
+
### Return type
|
178
|
+
|
179
|
+
[**InlineResponse2001**](InlineResponse2001.md)
|
180
|
+
|
181
|
+
### Authorization
|
182
|
+
|
183
|
+
[Basic](../README.md#Basic)
|
184
|
+
|
185
|
+
### HTTP request headers
|
186
|
+
|
187
|
+
- **Content-Type**: Not defined
|
188
|
+
- **Accept**: application/json
|
189
|
+
|
190
|
+
|
191
|
+
## partial_update
|
192
|
+
|
193
|
+
> AsyncOperationResponse partial_update(file_distribution_href, data)
|
194
|
+
|
195
|
+
Partially update a file distribution
|
196
|
+
|
197
|
+
Trigger an asynchronous partial update task
|
198
|
+
|
199
|
+
### Example
|
200
|
+
|
201
|
+
```ruby
|
202
|
+
# load the gem
|
203
|
+
require 'pulp_file_client'
|
204
|
+
# setup authorization
|
205
|
+
PulpFileClient.configure do |config|
|
206
|
+
# Configure HTTP basic authorization: Basic
|
207
|
+
config.username = 'YOUR USERNAME'
|
208
|
+
config.password = 'YOUR PASSWORD'
|
209
|
+
end
|
210
|
+
|
211
|
+
api_instance = PulpFileClient::DistributionsFileApi.new
|
212
|
+
file_distribution_href = 'file_distribution_href_example' # String | URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/
|
213
|
+
data = PulpFileClient::FileDistribution.new # FileDistribution |
|
214
|
+
|
215
|
+
begin
|
216
|
+
#Partially update a file distribution
|
217
|
+
result = api_instance.partial_update(file_distribution_href, data)
|
218
|
+
p result
|
219
|
+
rescue PulpFileClient::ApiError => e
|
220
|
+
puts "Exception when calling DistributionsFileApi->partial_update: #{e}"
|
221
|
+
end
|
222
|
+
```
|
223
|
+
|
224
|
+
### Parameters
|
225
|
+
|
226
|
+
|
227
|
+
Name | Type | Description | Notes
|
228
|
+
------------- | ------------- | ------------- | -------------
|
229
|
+
**file_distribution_href** | **String**| URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/ |
|
230
|
+
**data** | [**FileDistribution**](FileDistribution.md)| |
|
231
|
+
|
232
|
+
### Return type
|
233
|
+
|
234
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
235
|
+
|
236
|
+
### Authorization
|
237
|
+
|
238
|
+
[Basic](../README.md#Basic)
|
239
|
+
|
240
|
+
### HTTP request headers
|
241
|
+
|
242
|
+
- **Content-Type**: application/json
|
243
|
+
- **Accept**: application/json
|
244
|
+
|
245
|
+
|
246
|
+
## read
|
247
|
+
|
248
|
+
> FileDistribution read(file_distribution_href)
|
249
|
+
|
250
|
+
Inspect a file distribution
|
251
|
+
|
252
|
+
<!-- User-facing documentation, rendered as html--> FileDistributions host <a href=\"#operation/publications_file_file_list\">File Publications</a> which makes the metadata and the referenced <a href=\"#operation/content_file_files_list\">File Content</a> available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a <a href=\"#operation/remotes_file_file_list\">File Remote</a> , allowing another instance of Pulp to sync the content.
|
253
|
+
|
254
|
+
### Example
|
255
|
+
|
256
|
+
```ruby
|
257
|
+
# load the gem
|
258
|
+
require 'pulp_file_client'
|
259
|
+
# setup authorization
|
260
|
+
PulpFileClient.configure do |config|
|
261
|
+
# Configure HTTP basic authorization: Basic
|
262
|
+
config.username = 'YOUR USERNAME'
|
263
|
+
config.password = 'YOUR PASSWORD'
|
264
|
+
end
|
265
|
+
|
266
|
+
api_instance = PulpFileClient::DistributionsFileApi.new
|
267
|
+
file_distribution_href = 'file_distribution_href_example' # String | URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/
|
268
|
+
|
269
|
+
begin
|
270
|
+
#Inspect a file distribution
|
271
|
+
result = api_instance.read(file_distribution_href)
|
272
|
+
p result
|
273
|
+
rescue PulpFileClient::ApiError => e
|
274
|
+
puts "Exception when calling DistributionsFileApi->read: #{e}"
|
275
|
+
end
|
276
|
+
```
|
277
|
+
|
278
|
+
### Parameters
|
279
|
+
|
280
|
+
|
281
|
+
Name | Type | Description | Notes
|
282
|
+
------------- | ------------- | ------------- | -------------
|
283
|
+
**file_distribution_href** | **String**| URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/ |
|
284
|
+
|
285
|
+
### Return type
|
286
|
+
|
287
|
+
[**FileDistribution**](FileDistribution.md)
|
288
|
+
|
289
|
+
### Authorization
|
290
|
+
|
291
|
+
[Basic](../README.md#Basic)
|
292
|
+
|
293
|
+
### HTTP request headers
|
294
|
+
|
295
|
+
- **Content-Type**: Not defined
|
296
|
+
- **Accept**: application/json
|
297
|
+
|
298
|
+
|
299
|
+
## update
|
300
|
+
|
301
|
+
> AsyncOperationResponse update(file_distribution_href, data)
|
302
|
+
|
303
|
+
Update a file distribution
|
304
|
+
|
305
|
+
Trigger an asynchronous update task
|
306
|
+
|
307
|
+
### Example
|
308
|
+
|
309
|
+
```ruby
|
310
|
+
# load the gem
|
311
|
+
require 'pulp_file_client'
|
312
|
+
# setup authorization
|
313
|
+
PulpFileClient.configure do |config|
|
314
|
+
# Configure HTTP basic authorization: Basic
|
315
|
+
config.username = 'YOUR USERNAME'
|
316
|
+
config.password = 'YOUR PASSWORD'
|
317
|
+
end
|
318
|
+
|
319
|
+
api_instance = PulpFileClient::DistributionsFileApi.new
|
320
|
+
file_distribution_href = 'file_distribution_href_example' # String | URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/
|
321
|
+
data = PulpFileClient::FileDistribution.new # FileDistribution |
|
322
|
+
|
323
|
+
begin
|
324
|
+
#Update a file distribution
|
325
|
+
result = api_instance.update(file_distribution_href, data)
|
326
|
+
p result
|
327
|
+
rescue PulpFileClient::ApiError => e
|
328
|
+
puts "Exception when calling DistributionsFileApi->update: #{e}"
|
329
|
+
end
|
330
|
+
```
|
331
|
+
|
332
|
+
### Parameters
|
333
|
+
|
334
|
+
|
335
|
+
Name | Type | Description | Notes
|
336
|
+
------------- | ------------- | ------------- | -------------
|
337
|
+
**file_distribution_href** | **String**| URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/ |
|
338
|
+
**data** | [**FileDistribution**](FileDistribution.md)| |
|
339
|
+
|
340
|
+
### Return type
|
341
|
+
|
342
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
343
|
+
|
344
|
+
### Authorization
|
345
|
+
|
346
|
+
[Basic](../README.md#Basic)
|
347
|
+
|
348
|
+
### HTTP request headers
|
349
|
+
|
350
|
+
- **Content-Type**: application/json
|
351
|
+
- **Accept**: application/json
|
352
|
+
|
data/docs/FileContent.md
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# PulpFileClient::FileContent
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
8
|
+
**_href** | **String** | | [optional]
|
9
|
+
**_artifact** | **String** | Artifact file representing the physical content |
|
10
|
+
**_type** | **String** | | [optional]
|
11
|
+
**md5** | **String** | The MD5 checksum if available. | [optional]
|
12
|
+
**sha1** | **String** | The SHA-1 checksum if available. | [optional]
|
13
|
+
**sha224** | **String** | The SHA-224 checksum if available. | [optional]
|
14
|
+
**sha256** | **String** | The SHA-256 checksum if available. | [optional]
|
15
|
+
**sha384** | **String** | The SHA-384 checksum if available. | [optional]
|
16
|
+
**sha512** | **String** | The SHA-512 checksum if available. | [optional]
|
17
|
+
**relative_path** | **String** | Relative location of the file within the repository. Example: `path/to/file.txt` |
|
18
|
+
|
19
|
+
## Code Sample
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'PulpFileClient'
|
23
|
+
|
24
|
+
instance = PulpFileClient::FileContent.new(_created: null,
|
25
|
+
_href: null,
|
26
|
+
_artifact: null,
|
27
|
+
_type: null,
|
28
|
+
md5: null,
|
29
|
+
sha1: null,
|
30
|
+
sha224: null,
|
31
|
+
sha256: null,
|
32
|
+
sha384: null,
|
33
|
+
sha512: null,
|
34
|
+
relative_path: null)
|
35
|
+
```
|
36
|
+
|
37
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# PulpFileClient::FileDistribution
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**_href** | **String** | | [optional]
|
8
|
+
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
9
|
+
**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\") |
|
10
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional]
|
11
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
|
+
**publication** | **String** | Publication to be served | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'PulpFileClient'
|
19
|
+
|
20
|
+
instance = PulpFileClient::FileDistribution.new(_href: null,
|
21
|
+
_created: null,
|
22
|
+
base_path: null,
|
23
|
+
base_url: null,
|
24
|
+
content_guard: null,
|
25
|
+
name: null,
|
26
|
+
publication: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# PulpFileClient::FilePublication
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**_href** | **String** | | [optional]
|
8
|
+
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
9
|
+
**_type** | **String** | | [optional]
|
10
|
+
**publisher** | **String** | | [optional]
|
11
|
+
**repository_version** | **String** | | [optional]
|
12
|
+
**repository** | **String** | A URI of the repository to be published. | [optional]
|
13
|
+
**distributions** | **Array<String>** | This publication is currently hosted as defined by these distributions. | [optional]
|
14
|
+
**manifest** | **String** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'PulpFileClient'
|
20
|
+
|
21
|
+
instance = PulpFileClient::FilePublication.new(_href: null,
|
22
|
+
_created: null,
|
23
|
+
_type: null,
|
24
|
+
publisher: null,
|
25
|
+
repository_version: null,
|
26
|
+
repository: null,
|
27
|
+
distributions: null,
|
28
|
+
manifest: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
data/docs/FileRemote.md
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# PulpFileClient::FileRemote
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**_href** | **String** | | [optional]
|
8
|
+
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
9
|
+
**_type** | **String** | | [optional]
|
10
|
+
**name** | **String** | A unique name for this remote. |
|
11
|
+
**url** | **String** | The URL of an external content source. |
|
12
|
+
**ssl_ca_certificate** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
|
13
|
+
**ssl_client_certificate** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
|
14
|
+
**ssl_client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256 sum on GET. | [optional]
|
15
|
+
**ssl_validation** | **Boolean** | If True, SSL peer validation must be performed. | [optional]
|
16
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
17
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
18
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
19
|
+
**_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional]
|
20
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
21
|
+
**policy** | **String** | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional] [default to 'immediate']
|
22
|
+
|
23
|
+
## Code Sample
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'PulpFileClient'
|
27
|
+
|
28
|
+
instance = PulpFileClient::FileRemote.new(_href: null,
|
29
|
+
_created: null,
|
30
|
+
_type: null,
|
31
|
+
name: null,
|
32
|
+
url: null,
|
33
|
+
ssl_ca_certificate: null,
|
34
|
+
ssl_client_certificate: null,
|
35
|
+
ssl_client_key: null,
|
36
|
+
ssl_validation: null,
|
37
|
+
proxy_url: null,
|
38
|
+
username: null,
|
39
|
+
password: null,
|
40
|
+
_last_updated: null,
|
41
|
+
download_concurrency: null,
|
42
|
+
policy: null)
|
43
|
+
```
|
44
|
+
|
45
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpFileClient::InlineResponse200
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**count** | **Integer** | |
|
10
|
+
**results** | [**Array<FileContent>**](FileContent.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpFileClient'
|
16
|
+
|
17
|
+
instance = PulpFileClient::InlineResponse200.new(_next: null,
|
18
|
+
previous: null,
|
19
|
+
count: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpFileClient::InlineResponse2001
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**count** | **Integer** | |
|
10
|
+
**results** | [**Array<FileDistribution>**](FileDistribution.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpFileClient'
|
16
|
+
|
17
|
+
instance = PulpFileClient::InlineResponse2001.new(_next: null,
|
18
|
+
previous: null,
|
19
|
+
count: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpFileClient::InlineResponse2002
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**count** | **Integer** | |
|
10
|
+
**results** | [**Array<FilePublication>**](FilePublication.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpFileClient'
|
16
|
+
|
17
|
+
instance = PulpFileClient::InlineResponse2002.new(_next: null,
|
18
|
+
previous: null,
|
19
|
+
count: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpFileClient::InlineResponse2003
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**count** | **Integer** | |
|
10
|
+
**results** | [**Array<FileRemote>**](FileRemote.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpFileClient'
|
16
|
+
|
17
|
+
instance = PulpFileClient::InlineResponse2003.new(_next: null,
|
18
|
+
previous: null,
|
19
|
+
count: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|