pulp_file_client 1.1.0 → 1.2.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 +51 -37
- data/docs/ContentFilesApi.md +24 -24
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsFileApi.md +108 -60
- data/docs/{Export.md → ExportResponse.md} +2 -2
- data/docs/ExportersFileExportsApi.md +34 -34
- data/docs/ExportersFilesystemApi.md +61 -61
- data/docs/FileFileContent.md +5 -17
- data/docs/FileFileContentResponse.md +35 -0
- data/docs/FileFileDistribution.md +1 -7
- data/docs/FileFileDistributionResponse.md +29 -0
- data/docs/FileFileFilesystemExporter.md +1 -5
- data/docs/FileFileFilesystemExporterResponse.md +23 -0
- data/docs/FileFilePublication.md +1 -7
- data/docs/FileFilePublicationResponse.md +27 -0
- data/docs/FileFileRemote.md +4 -10
- data/docs/FileFileRemoteResponse.md +43 -0
- data/docs/FileFileRepository.md +4 -10
- data/docs/FileFileRepositoryResponse.md +29 -0
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/PatchedfileFileDistribution.md +23 -0
- data/docs/PatchedfileFileFilesystemExporter.md +19 -0
- data/docs/PatchedfileFileRemote.md +37 -0
- data/docs/PatchedfileFileRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsFileApi.md +40 -40
- data/docs/RemotesFileApi.md +125 -65
- data/docs/RepositoriesFileApi.md +97 -73
- data/docs/RepositoriesFileVersionsApi.md +94 -62
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_file_client/api/content_files_api.rb +32 -36
- data/lib/pulp_file_client/api/distributions_file_api.rb +153 -90
- data/lib/pulp_file_client/api/exporters_file_exports_api.rb +55 -55
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +102 -102
- data/lib/pulp_file_client/api/publications_file_api.rb +59 -59
- data/lib/pulp_file_client/api/remotes_file_api.rb +181 -100
- data/lib/pulp_file_client/api/repositories_file_api.rb +145 -118
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +137 -92
- data/lib/pulp_file_client/api_client.rb +2 -2
- data/lib/pulp_file_client/api_error.rb +2 -2
- data/lib/pulp_file_client/configuration.rb +3 -3
- data/lib/pulp_file_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_file_client/models/content_summary.rb +9 -15
- data/lib/pulp_file_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_file_client/models/{export.rb → export_response.rb} +6 -5
- data/lib/pulp_file_client/models/file_file_content.rb +18 -185
- data/lib/pulp_file_client/models/file_file_content_response.rb +302 -0
- data/lib/pulp_file_client/models/file_file_distribution.rb +4 -85
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +279 -0
- data/lib/pulp_file_client/models/file_file_filesystem_exporter.rb +4 -60
- data/lib/pulp_file_client/models/file_file_filesystem_exporter_response.rb +247 -0
- data/lib/pulp_file_client/models/file_file_publication.rb +4 -49
- data/lib/pulp_file_client/models/file_file_publication_response.rb +260 -0
- data/lib/pulp_file_client/models/file_file_remote.rb +7 -199
- data/lib/pulp_file_client/models/file_file_remote_response.rb +368 -0
- data/lib/pulp_file_client/models/file_file_repository.rb +18 -78
- data/lib/pulp_file_client/models/file_file_repository_response.rb +271 -0
- data/lib/pulp_file_client/models/inline_response200.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +240 -0
- data/lib/pulp_file_client/models/patchedfile_file_filesystem_exporter.rb +218 -0
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +329 -0
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +229 -0
- data/lib/pulp_file_client/models/policy_enum.rb +37 -0
- data/lib/pulp_file_client/models/publication_export.rb +3 -2
- data/lib/pulp_file_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_file_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_file_client/models/repository_version.rb +7 -43
- data/lib/pulp_file_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_file_client/version.rb +3 -3
- data/lib/pulp_file_client.rb +16 -3
- data/pulp_file_client.gemspec +4 -4
- data/spec/api/content_files_api_spec.rb +10 -10
- data/spec/api/distributions_file_api_spec.rb +39 -18
- data/spec/api/exporters_file_exports_api_spec.rb +9 -9
- data/spec/api/exporters_filesystem_api_spec.rb +23 -23
- data/spec/api/publications_file_api_spec.rb +14 -14
- data/spec/api/remotes_file_api_spec.rb +48 -21
- data/spec/api/repositories_file_api_spec.rb +28 -19
- data/spec/api/repositories_file_versions_api_spec.rb +38 -23
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/{export_spec.rb → export_response_spec.rb} +8 -8
- data/spec/models/file_file_content_response_spec.rb +95 -0
- data/spec/models/file_file_content_spec.rb +4 -40
- data/spec/models/file_file_distribution_response_spec.rb +77 -0
- data/spec/models/file_file_distribution_spec.rb +2 -20
- data/spec/models/file_file_filesystem_exporter_response_spec.rb +59 -0
- data/spec/models/file_file_filesystem_exporter_spec.rb +2 -14
- data/spec/models/file_file_publication_response_spec.rb +71 -0
- data/spec/models/file_file_publication_spec.rb +2 -20
- data/spec/models/file_file_remote_response_spec.rb +119 -0
- data/spec/models/file_file_remote_spec.rb +2 -24
- data/spec/models/file_file_repository_response_spec.rb +77 -0
- data/spec/models/file_file_repository_spec.rb +5 -23
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patchedfile_file_distribution_spec.rb +59 -0
- data/spec/models/patchedfile_file_filesystem_exporter_spec.rb +47 -0
- data/spec/models/patchedfile_file_remote_spec.rb +101 -0
- data/spec/models/patchedfile_file_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/publication_export_spec.rb +2 -2
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +76 -24
|
@@ -5,21 +5,21 @@ All URIs are relative to *http://pulp*
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**create**](ExportersFilesystemApi.md#create) | **POST** /pulp/api/v3/exporters/file/filesystem/ | Create a file filesystem exporter
|
|
8
|
-
[**delete**](ExportersFilesystemApi.md#delete) | **DELETE** {
|
|
8
|
+
[**delete**](ExportersFilesystemApi.md#delete) | **DELETE** {file_file_filesystem_exporter_href} | Delete a file filesystem exporter
|
|
9
9
|
[**list**](ExportersFilesystemApi.md#list) | **GET** /pulp/api/v3/exporters/file/filesystem/ | List file filesystem exporters
|
|
10
|
-
[**partial_update**](ExportersFilesystemApi.md#partial_update) | **PATCH** {
|
|
11
|
-
[**read**](ExportersFilesystemApi.md#read) | **GET** {
|
|
12
|
-
[**update**](ExportersFilesystemApi.md#update) | **PUT** {
|
|
10
|
+
[**partial_update**](ExportersFilesystemApi.md#partial_update) | **PATCH** {file_file_filesystem_exporter_href} | Update a file filesystem exporter
|
|
11
|
+
[**read**](ExportersFilesystemApi.md#read) | **GET** {file_file_filesystem_exporter_href} | Inspect a file filesystem exporter
|
|
12
|
+
[**update**](ExportersFilesystemApi.md#update) | **PUT** {file_file_filesystem_exporter_href} | Update a file filesystem exporter
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
## create
|
|
17
17
|
|
|
18
|
-
>
|
|
18
|
+
> FileFileFilesystemExporterResponse create(file_file_filesystem_exporter)
|
|
19
19
|
|
|
20
20
|
Create a file filesystem exporter
|
|
21
21
|
|
|
22
|
-
FilesystemExporters export content from a publication to a path on the file system.
|
|
22
|
+
FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
|
23
23
|
|
|
24
24
|
### Example
|
|
25
25
|
|
|
@@ -28,17 +28,17 @@ FilesystemExporters export content from a publication to a path on the file syst
|
|
|
28
28
|
require 'pulp_file_client'
|
|
29
29
|
# setup authorization
|
|
30
30
|
PulpFileClient.configure do |config|
|
|
31
|
-
# Configure HTTP basic authorization:
|
|
31
|
+
# Configure HTTP basic authorization: basicAuth
|
|
32
32
|
config.username = 'YOUR USERNAME'
|
|
33
33
|
config.password = 'YOUR PASSWORD'
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
api_instance = PulpFileClient::ExportersFilesystemApi.new
|
|
37
|
-
|
|
37
|
+
file_file_filesystem_exporter = PulpFileClient::FileFileFilesystemExporter.new # FileFileFilesystemExporter |
|
|
38
38
|
|
|
39
39
|
begin
|
|
40
40
|
#Create a file filesystem exporter
|
|
41
|
-
result = api_instance.create(
|
|
41
|
+
result = api_instance.create(file_file_filesystem_exporter)
|
|
42
42
|
p result
|
|
43
43
|
rescue PulpFileClient::ApiError => e
|
|
44
44
|
puts "Exception when calling ExportersFilesystemApi->create: #{e}"
|
|
@@ -50,29 +50,29 @@ end
|
|
|
50
50
|
|
|
51
51
|
Name | Type | Description | Notes
|
|
52
52
|
------------- | ------------- | ------------- | -------------
|
|
53
|
-
**
|
|
53
|
+
**file_file_filesystem_exporter** | [**FileFileFilesystemExporter**](FileFileFilesystemExporter.md)| |
|
|
54
54
|
|
|
55
55
|
### Return type
|
|
56
56
|
|
|
57
|
-
[**
|
|
57
|
+
[**FileFileFilesystemExporterResponse**](FileFileFilesystemExporterResponse.md)
|
|
58
58
|
|
|
59
59
|
### Authorization
|
|
60
60
|
|
|
61
|
-
[
|
|
61
|
+
[basicAuth](../README.md#basicAuth)
|
|
62
62
|
|
|
63
63
|
### HTTP request headers
|
|
64
64
|
|
|
65
|
-
- **Content-Type**: application/json
|
|
65
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
66
66
|
- **Accept**: application/json
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
## delete
|
|
70
70
|
|
|
71
|
-
> delete(
|
|
71
|
+
> delete(file_file_filesystem_exporter_href)
|
|
72
72
|
|
|
73
73
|
Delete a file filesystem exporter
|
|
74
74
|
|
|
75
|
-
FilesystemExporters export content from a publication to a path on the file system.
|
|
75
|
+
FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
|
76
76
|
|
|
77
77
|
### Example
|
|
78
78
|
|
|
@@ -81,17 +81,17 @@ FilesystemExporters export content from a publication to a path on the file syst
|
|
|
81
81
|
require 'pulp_file_client'
|
|
82
82
|
# setup authorization
|
|
83
83
|
PulpFileClient.configure do |config|
|
|
84
|
-
# Configure HTTP basic authorization:
|
|
84
|
+
# Configure HTTP basic authorization: basicAuth
|
|
85
85
|
config.username = 'YOUR USERNAME'
|
|
86
86
|
config.password = 'YOUR PASSWORD'
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
api_instance = PulpFileClient::ExportersFilesystemApi.new
|
|
90
|
-
|
|
90
|
+
file_file_filesystem_exporter_href = 'file_file_filesystem_exporter_href_example' # String |
|
|
91
91
|
|
|
92
92
|
begin
|
|
93
93
|
#Delete a file filesystem exporter
|
|
94
|
-
api_instance.delete(
|
|
94
|
+
api_instance.delete(file_file_filesystem_exporter_href)
|
|
95
95
|
rescue PulpFileClient::ApiError => e
|
|
96
96
|
puts "Exception when calling ExportersFilesystemApi->delete: #{e}"
|
|
97
97
|
end
|
|
@@ -102,7 +102,7 @@ end
|
|
|
102
102
|
|
|
103
103
|
Name | Type | Description | Notes
|
|
104
104
|
------------- | ------------- | ------------- | -------------
|
|
105
|
-
**
|
|
105
|
+
**file_file_filesystem_exporter_href** | **String**| |
|
|
106
106
|
|
|
107
107
|
### Return type
|
|
108
108
|
|
|
@@ -110,7 +110,7 @@ nil (empty response body)
|
|
|
110
110
|
|
|
111
111
|
### Authorization
|
|
112
112
|
|
|
113
|
-
[
|
|
113
|
+
[basicAuth](../README.md#basicAuth)
|
|
114
114
|
|
|
115
115
|
### HTTP request headers
|
|
116
116
|
|
|
@@ -124,7 +124,7 @@ nil (empty response body)
|
|
|
124
124
|
|
|
125
125
|
List file filesystem exporters
|
|
126
126
|
|
|
127
|
-
FilesystemExporters export content from a publication to a path on the file system.
|
|
127
|
+
FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
|
128
128
|
|
|
129
129
|
### Example
|
|
130
130
|
|
|
@@ -133,18 +133,18 @@ FilesystemExporters export content from a publication to a path on the file syst
|
|
|
133
133
|
require 'pulp_file_client'
|
|
134
134
|
# setup authorization
|
|
135
135
|
PulpFileClient.configure do |config|
|
|
136
|
-
# Configure HTTP basic authorization:
|
|
136
|
+
# Configure HTTP basic authorization: basicAuth
|
|
137
137
|
config.username = 'YOUR USERNAME'
|
|
138
138
|
config.password = 'YOUR PASSWORD'
|
|
139
139
|
end
|
|
140
140
|
|
|
141
141
|
api_instance = PulpFileClient::ExportersFilesystemApi.new
|
|
142
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
143
|
limit: 56, # Integer | Number of results to return per page.
|
|
144
|
+
name: 'name_example', # String | name
|
|
145
|
+
name__in: 'name__in_example', # String | name__in
|
|
147
146
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
147
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
148
148
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
149
149
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
150
150
|
}
|
|
@@ -163,11 +163,11 @@ end
|
|
|
163
163
|
|
|
164
164
|
Name | Type | Description | Notes
|
|
165
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
166
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
167
|
+
**name** | **String**| name | [optional]
|
|
168
|
+
**name__in** | **String**| name__in | [optional]
|
|
170
169
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
170
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
171
171
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
172
172
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
173
173
|
|
|
@@ -177,7 +177,7 @@ Name | Type | Description | Notes
|
|
|
177
177
|
|
|
178
178
|
### Authorization
|
|
179
179
|
|
|
180
|
-
[
|
|
180
|
+
[basicAuth](../README.md#basicAuth)
|
|
181
181
|
|
|
182
182
|
### HTTP request headers
|
|
183
183
|
|
|
@@ -187,11 +187,11 @@ Name | Type | Description | Notes
|
|
|
187
187
|
|
|
188
188
|
## partial_update
|
|
189
189
|
|
|
190
|
-
>
|
|
190
|
+
> FileFileFilesystemExporterResponse partial_update(file_file_filesystem_exporter_href, patchedfile_file_filesystem_exporter)
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
Update a file filesystem exporter
|
|
193
193
|
|
|
194
|
-
FilesystemExporters export content from a publication to a path on the file system.
|
|
194
|
+
FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
|
195
195
|
|
|
196
196
|
### Example
|
|
197
197
|
|
|
@@ -200,18 +200,18 @@ FilesystemExporters export content from a publication to a path on the file syst
|
|
|
200
200
|
require 'pulp_file_client'
|
|
201
201
|
# setup authorization
|
|
202
202
|
PulpFileClient.configure do |config|
|
|
203
|
-
# Configure HTTP basic authorization:
|
|
203
|
+
# Configure HTTP basic authorization: basicAuth
|
|
204
204
|
config.username = 'YOUR USERNAME'
|
|
205
205
|
config.password = 'YOUR PASSWORD'
|
|
206
206
|
end
|
|
207
207
|
|
|
208
208
|
api_instance = PulpFileClient::ExportersFilesystemApi.new
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
file_file_filesystem_exporter_href = 'file_file_filesystem_exporter_href_example' # String |
|
|
210
|
+
patchedfile_file_filesystem_exporter = PulpFileClient::PatchedfileFileFilesystemExporter.new # PatchedfileFileFilesystemExporter |
|
|
211
211
|
|
|
212
212
|
begin
|
|
213
|
-
#
|
|
214
|
-
result = api_instance.partial_update(
|
|
213
|
+
#Update a file filesystem exporter
|
|
214
|
+
result = api_instance.partial_update(file_file_filesystem_exporter_href, patchedfile_file_filesystem_exporter)
|
|
215
215
|
p result
|
|
216
216
|
rescue PulpFileClient::ApiError => e
|
|
217
217
|
puts "Exception when calling ExportersFilesystemApi->partial_update: #{e}"
|
|
@@ -223,30 +223,30 @@ end
|
|
|
223
223
|
|
|
224
224
|
Name | Type | Description | Notes
|
|
225
225
|
------------- | ------------- | ------------- | -------------
|
|
226
|
-
**
|
|
227
|
-
**
|
|
226
|
+
**file_file_filesystem_exporter_href** | **String**| |
|
|
227
|
+
**patchedfile_file_filesystem_exporter** | [**PatchedfileFileFilesystemExporter**](PatchedfileFileFilesystemExporter.md)| |
|
|
228
228
|
|
|
229
229
|
### Return type
|
|
230
230
|
|
|
231
|
-
[**
|
|
231
|
+
[**FileFileFilesystemExporterResponse**](FileFileFilesystemExporterResponse.md)
|
|
232
232
|
|
|
233
233
|
### Authorization
|
|
234
234
|
|
|
235
|
-
[
|
|
235
|
+
[basicAuth](../README.md#basicAuth)
|
|
236
236
|
|
|
237
237
|
### HTTP request headers
|
|
238
238
|
|
|
239
|
-
- **Content-Type**: application/json
|
|
239
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
240
240
|
- **Accept**: application/json
|
|
241
241
|
|
|
242
242
|
|
|
243
243
|
## read
|
|
244
244
|
|
|
245
|
-
>
|
|
245
|
+
> FileFileFilesystemExporterResponse read(file_file_filesystem_exporter_href, opts)
|
|
246
246
|
|
|
247
247
|
Inspect a file filesystem exporter
|
|
248
248
|
|
|
249
|
-
FilesystemExporters export content from a publication to a path on the file system.
|
|
249
|
+
FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
|
250
250
|
|
|
251
251
|
### Example
|
|
252
252
|
|
|
@@ -255,13 +255,13 @@ FilesystemExporters export content from a publication to a path on the file syst
|
|
|
255
255
|
require 'pulp_file_client'
|
|
256
256
|
# setup authorization
|
|
257
257
|
PulpFileClient.configure do |config|
|
|
258
|
-
# Configure HTTP basic authorization:
|
|
258
|
+
# Configure HTTP basic authorization: basicAuth
|
|
259
259
|
config.username = 'YOUR USERNAME'
|
|
260
260
|
config.password = 'YOUR PASSWORD'
|
|
261
261
|
end
|
|
262
262
|
|
|
263
263
|
api_instance = PulpFileClient::ExportersFilesystemApi.new
|
|
264
|
-
|
|
264
|
+
file_file_filesystem_exporter_href = 'file_file_filesystem_exporter_href_example' # String |
|
|
265
265
|
opts = {
|
|
266
266
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
267
267
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -269,7 +269,7 @@ opts = {
|
|
|
269
269
|
|
|
270
270
|
begin
|
|
271
271
|
#Inspect a file filesystem exporter
|
|
272
|
-
result = api_instance.read(
|
|
272
|
+
result = api_instance.read(file_file_filesystem_exporter_href, opts)
|
|
273
273
|
p result
|
|
274
274
|
rescue PulpFileClient::ApiError => e
|
|
275
275
|
puts "Exception when calling ExportersFilesystemApi->read: #{e}"
|
|
@@ -281,17 +281,17 @@ end
|
|
|
281
281
|
|
|
282
282
|
Name | Type | Description | Notes
|
|
283
283
|
------------- | ------------- | ------------- | -------------
|
|
284
|
-
**
|
|
284
|
+
**file_file_filesystem_exporter_href** | **String**| |
|
|
285
285
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
286
286
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
287
287
|
|
|
288
288
|
### Return type
|
|
289
289
|
|
|
290
|
-
[**
|
|
290
|
+
[**FileFileFilesystemExporterResponse**](FileFileFilesystemExporterResponse.md)
|
|
291
291
|
|
|
292
292
|
### Authorization
|
|
293
293
|
|
|
294
|
-
[
|
|
294
|
+
[basicAuth](../README.md#basicAuth)
|
|
295
295
|
|
|
296
296
|
### HTTP request headers
|
|
297
297
|
|
|
@@ -301,11 +301,11 @@ Name | Type | Description | Notes
|
|
|
301
301
|
|
|
302
302
|
## update
|
|
303
303
|
|
|
304
|
-
>
|
|
304
|
+
> FileFileFilesystemExporterResponse update(file_file_filesystem_exporter_href, file_file_filesystem_exporter)
|
|
305
305
|
|
|
306
306
|
Update a file filesystem exporter
|
|
307
307
|
|
|
308
|
-
FilesystemExporters export content from a publication to a path on the file system.
|
|
308
|
+
FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
|
309
309
|
|
|
310
310
|
### Example
|
|
311
311
|
|
|
@@ -314,18 +314,18 @@ FilesystemExporters export content from a publication to a path on the file syst
|
|
|
314
314
|
require 'pulp_file_client'
|
|
315
315
|
# setup authorization
|
|
316
316
|
PulpFileClient.configure do |config|
|
|
317
|
-
# Configure HTTP basic authorization:
|
|
317
|
+
# Configure HTTP basic authorization: basicAuth
|
|
318
318
|
config.username = 'YOUR USERNAME'
|
|
319
319
|
config.password = 'YOUR PASSWORD'
|
|
320
320
|
end
|
|
321
321
|
|
|
322
322
|
api_instance = PulpFileClient::ExportersFilesystemApi.new
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
file_file_filesystem_exporter_href = 'file_file_filesystem_exporter_href_example' # String |
|
|
324
|
+
file_file_filesystem_exporter = PulpFileClient::FileFileFilesystemExporter.new # FileFileFilesystemExporter |
|
|
325
325
|
|
|
326
326
|
begin
|
|
327
327
|
#Update a file filesystem exporter
|
|
328
|
-
result = api_instance.update(
|
|
328
|
+
result = api_instance.update(file_file_filesystem_exporter_href, file_file_filesystem_exporter)
|
|
329
329
|
p result
|
|
330
330
|
rescue PulpFileClient::ApiError => e
|
|
331
331
|
puts "Exception when calling ExportersFilesystemApi->update: #{e}"
|
|
@@ -337,19 +337,19 @@ end
|
|
|
337
337
|
|
|
338
338
|
Name | Type | Description | Notes
|
|
339
339
|
------------- | ------------- | ------------- | -------------
|
|
340
|
-
**
|
|
341
|
-
**
|
|
340
|
+
**file_file_filesystem_exporter_href** | **String**| |
|
|
341
|
+
**file_file_filesystem_exporter** | [**FileFileFilesystemExporter**](FileFileFilesystemExporter.md)| |
|
|
342
342
|
|
|
343
343
|
### Return type
|
|
344
344
|
|
|
345
|
-
[**
|
|
345
|
+
[**FileFileFilesystemExporterResponse**](FileFileFilesystemExporterResponse.md)
|
|
346
346
|
|
|
347
347
|
### Authorization
|
|
348
348
|
|
|
349
|
-
[
|
|
349
|
+
[basicAuth](../README.md#basicAuth)
|
|
350
350
|
|
|
351
351
|
### HTTP request headers
|
|
352
352
|
|
|
353
|
-
- **Content-Type**: application/json
|
|
353
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
354
354
|
- **Accept**: application/json
|
|
355
355
|
|
data/docs/FileFileContent.md
CHANGED
|
@@ -4,32 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
7
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
10
8
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
|
11
|
-
**
|
|
12
|
-
**
|
|
13
|
-
**sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
|
|
14
|
-
**sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
|
|
15
|
-
**sha384** | **String** | The SHA-384 checksum if available. | [optional] [readonly]
|
|
16
|
-
**sha512** | **String** | The SHA-512 checksum if available. | [optional] [readonly]
|
|
9
|
+
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
|
10
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
|
17
11
|
|
|
18
12
|
## Code Sample
|
|
19
13
|
|
|
20
14
|
```ruby
|
|
21
15
|
require 'PulpFileClient'
|
|
22
16
|
|
|
23
|
-
instance = PulpFileClient::FileFileContent.new(
|
|
24
|
-
pulp_created: null,
|
|
25
|
-
artifact: null,
|
|
17
|
+
instance = PulpFileClient::FileFileContent.new(artifact: null,
|
|
26
18
|
relative_path: null,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
sha224: null,
|
|
30
|
-
sha256: null,
|
|
31
|
-
sha384: null,
|
|
32
|
-
sha512: null)
|
|
19
|
+
file: null,
|
|
20
|
+
repository: null)
|
|
33
21
|
```
|
|
34
22
|
|
|
35
23
|
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# PulpFileClient::FileFileContentResponse
|
|
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
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
10
|
+
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
|
11
|
+
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
|
12
|
+
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
|
13
|
+
**sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
|
|
14
|
+
**sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
|
|
15
|
+
**sha384** | **String** | The SHA-384 checksum if available. | [optional] [readonly]
|
|
16
|
+
**sha512** | **String** | The SHA-512 checksum if available. | [optional] [readonly]
|
|
17
|
+
|
|
18
|
+
## Code Sample
|
|
19
|
+
|
|
20
|
+
```ruby
|
|
21
|
+
require 'PulpFileClient'
|
|
22
|
+
|
|
23
|
+
instance = PulpFileClient::FileFileContentResponse.new(pulp_href: null,
|
|
24
|
+
pulp_created: null,
|
|
25
|
+
artifact: null,
|
|
26
|
+
relative_path: null,
|
|
27
|
+
md5: null,
|
|
28
|
+
sha1: null,
|
|
29
|
+
sha224: null,
|
|
30
|
+
sha256: null,
|
|
31
|
+
sha384: null,
|
|
32
|
+
sha512: null)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
|
|
@@ -4,10 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
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\") |
|
|
10
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
11
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
12
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
13
10
|
**publication** | **String** | Publication to be served | [optional]
|
|
@@ -17,10 +14,7 @@ Name | Type | Description | Notes
|
|
|
17
14
|
```ruby
|
|
18
15
|
require 'PulpFileClient'
|
|
19
16
|
|
|
20
|
-
instance = PulpFileClient::FileFileDistribution.new(
|
|
21
|
-
pulp_created: null,
|
|
22
|
-
base_path: null,
|
|
23
|
-
base_url: null,
|
|
17
|
+
instance = PulpFileClient::FileFileDistribution.new(base_path: null,
|
|
24
18
|
content_guard: null,
|
|
25
19
|
name: null,
|
|
26
20
|
publication: null)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# PulpFileClient::FileFileDistributionResponse
|
|
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
|
+
**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] [readonly]
|
|
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::FileFileDistributionResponse.new(pulp_href: null,
|
|
21
|
+
pulp_created: null,
|
|
22
|
+
base_path: null,
|
|
23
|
+
base_url: null,
|
|
24
|
+
content_guard: null,
|
|
25
|
+
name: null,
|
|
26
|
+
publication: null)
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
7
|
**name** | **String** | Unique name of the file system exporter. |
|
|
10
8
|
**path** | **String** | File system location to export to. |
|
|
11
9
|
|
|
@@ -14,9 +12,7 @@ Name | Type | Description | Notes
|
|
|
14
12
|
```ruby
|
|
15
13
|
require 'PulpFileClient'
|
|
16
14
|
|
|
17
|
-
instance = PulpFileClient::FileFileFilesystemExporter.new(
|
|
18
|
-
pulp_created: null,
|
|
19
|
-
name: null,
|
|
15
|
+
instance = PulpFileClient::FileFileFilesystemExporter.new(name: null,
|
|
20
16
|
path: null)
|
|
21
17
|
```
|
|
22
18
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpFileClient::FileFileFilesystemExporterResponse
|
|
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 location to export to. |
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpFileClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpFileClient::FileFileFilesystemExporterResponse.new(pulp_href: null,
|
|
18
|
+
pulp_created: null,
|
|
19
|
+
name: null,
|
|
20
|
+
path: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
data/docs/FileFilePublication.md
CHANGED
|
@@ -4,11 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
7
|
**repository_version** | **String** | | [optional]
|
|
10
8
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
|
11
|
-
**distributions** | **Array<String>** | This publication is currently hosted as defined by these distributions. | [optional] [readonly]
|
|
12
9
|
**manifest** | **String** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']
|
|
13
10
|
|
|
14
11
|
## Code Sample
|
|
@@ -16,11 +13,8 @@ Name | Type | Description | Notes
|
|
|
16
13
|
```ruby
|
|
17
14
|
require 'PulpFileClient'
|
|
18
15
|
|
|
19
|
-
instance = PulpFileClient::FileFilePublication.new(
|
|
20
|
-
pulp_created: null,
|
|
21
|
-
repository_version: null,
|
|
16
|
+
instance = PulpFileClient::FileFilePublication.new(repository_version: null,
|
|
22
17
|
repository: null,
|
|
23
|
-
distributions: null,
|
|
24
18
|
manifest: null)
|
|
25
19
|
```
|
|
26
20
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# PulpFileClient::FileFilePublicationResponse
|
|
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
|
+
**repository_version** | **String** | | [optional]
|
|
10
|
+
**repository** | **String** | A URI of the repository to be published. | [optional]
|
|
11
|
+
**distributions** | **Array<String>** | This publication is currently hosted as defined by these distributions. | [optional] [readonly]
|
|
12
|
+
**manifest** | **String** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']
|
|
13
|
+
|
|
14
|
+
## Code Sample
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'PulpFileClient'
|
|
18
|
+
|
|
19
|
+
instance = PulpFileClient::FileFilePublicationResponse.new(pulp_href: null,
|
|
20
|
+
pulp_created: null,
|
|
21
|
+
repository_version: null,
|
|
22
|
+
repository: null,
|
|
23
|
+
distributions: null,
|
|
24
|
+
manifest: null)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
|
data/docs/FileFileRemote.md
CHANGED
|
@@ -4,29 +4,24 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
7
|
**name** | **String** | A unique name for this remote. |
|
|
10
8
|
**url** | **String** | The URL of an external content source. |
|
|
11
|
-
**ca_cert** | **String** | A
|
|
12
|
-
**client_cert** | **String** | A
|
|
9
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
13
11
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
14
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
15
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
|
16
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
17
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
|
18
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
19
16
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
20
|
-
**policy** | **
|
|
17
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
|
21
18
|
|
|
22
19
|
## Code Sample
|
|
23
20
|
|
|
24
21
|
```ruby
|
|
25
22
|
require 'PulpFileClient'
|
|
26
23
|
|
|
27
|
-
instance = PulpFileClient::FileFileRemote.new(
|
|
28
|
-
pulp_created: null,
|
|
29
|
-
name: null,
|
|
24
|
+
instance = PulpFileClient::FileFileRemote.new(name: null,
|
|
30
25
|
url: null,
|
|
31
26
|
ca_cert: null,
|
|
32
27
|
client_cert: null,
|
|
@@ -35,7 +30,6 @@ instance = PulpFileClient::FileFileRemote.new(pulp_href: null,
|
|
|
35
30
|
proxy_url: null,
|
|
36
31
|
username: null,
|
|
37
32
|
password: null,
|
|
38
|
-
pulp_last_updated: null,
|
|
39
33
|
download_concurrency: null,
|
|
40
34
|
policy: null)
|
|
41
35
|
```
|