pulp_ostree_client 2.0.0a1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +174 -0
  4. data/Rakefile +10 -0
  5. data/docs/AsyncOperationResponse.md +17 -0
  6. data/docs/ContentCommitsApi.md +138 -0
  7. data/docs/ContentConfigsApi.md +138 -0
  8. data/docs/ContentObjectsApi.md +138 -0
  9. data/docs/ContentRefsApi.md +138 -0
  10. data/docs/ContentSummariesApi.md +138 -0
  11. data/docs/ContentSummary.md +21 -0
  12. data/docs/ContentSummaryResponse.md +21 -0
  13. data/docs/DistributionsOstreeApi.md +372 -0
  14. data/docs/OstreeOstreeCommitResponse.md +25 -0
  15. data/docs/OstreeOstreeConfigResponse.md +21 -0
  16. data/docs/OstreeOstreeDistribution.md +27 -0
  17. data/docs/OstreeOstreeDistributionResponse.md +33 -0
  18. data/docs/OstreeOstreeObjectResponse.md +27 -0
  19. data/docs/OstreeOstreeRefResponse.md +25 -0
  20. data/docs/OstreeOstreeRemote.md +59 -0
  21. data/docs/OstreeOstreeRemoteResponse.md +55 -0
  22. data/docs/OstreeOstreeRepository.md +25 -0
  23. data/docs/OstreeOstreeRepositoryResponse.md +33 -0
  24. data/docs/OstreeOstreeSummaryResponse.md +21 -0
  25. data/docs/OstreeRepoImport.md +23 -0
  26. data/docs/PaginatedRepositoryVersionResponseList.md +23 -0
  27. data/docs/PaginatedostreeOstreeCommitResponseList.md +23 -0
  28. data/docs/PaginatedostreeOstreeConfigResponseList.md +23 -0
  29. data/docs/PaginatedostreeOstreeDistributionResponseList.md +23 -0
  30. data/docs/PaginatedostreeOstreeObjectResponseList.md +23 -0
  31. data/docs/PaginatedostreeOstreeRefResponseList.md +23 -0
  32. data/docs/PaginatedostreeOstreeRemoteResponseList.md +23 -0
  33. data/docs/PaginatedostreeOstreeRepositoryResponseList.md +23 -0
  34. data/docs/PaginatedostreeOstreeSummaryResponseList.md +23 -0
  35. data/docs/PatchedostreeOstreeDistribution.md +27 -0
  36. data/docs/PatchedostreeOstreeRemote.md +59 -0
  37. data/docs/PatchedostreeOstreeRepository.md +25 -0
  38. data/docs/PolicyEnum.md +16 -0
  39. data/docs/RemotesOstreeApi.md +376 -0
  40. data/docs/RepositoriesOstreeApi.md +532 -0
  41. data/docs/RepositoriesOstreeVersionsApi.md +271 -0
  42. data/docs/RepositoryAddRemoveContent.md +21 -0
  43. data/docs/RepositorySyncURL.md +19 -0
  44. data/docs/RepositoryVersion.md +17 -0
  45. data/docs/RepositoryVersionResponse.md +27 -0
  46. data/git_push.sh +58 -0
  47. data/lib/pulp_ostree_client/api/content_commits_api.rb +170 -0
  48. data/lib/pulp_ostree_client/api/content_configs_api.rb +170 -0
  49. data/lib/pulp_ostree_client/api/content_objects_api.rb +170 -0
  50. data/lib/pulp_ostree_client/api/content_refs_api.rb +170 -0
  51. data/lib/pulp_ostree_client/api/content_summaries_api.rb +170 -0
  52. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +457 -0
  53. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +463 -0
  54. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +655 -0
  55. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +339 -0
  56. data/lib/pulp_ostree_client/api_client.rb +406 -0
  57. data/lib/pulp_ostree_client/api_error.rb +57 -0
  58. data/lib/pulp_ostree_client/configuration.rb +250 -0
  59. data/lib/pulp_ostree_client/models/async_operation_response.rb +213 -0
  60. data/lib/pulp_ostree_client/models/content_summary.rb +246 -0
  61. data/lib/pulp_ostree_client/models/content_summary_response.rb +246 -0
  62. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +256 -0
  63. data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +232 -0
  64. data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +270 -0
  65. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +299 -0
  66. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +275 -0
  67. data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +260 -0
  68. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +536 -0
  69. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +510 -0
  70. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +270 -0
  71. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +307 -0
  72. data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +232 -0
  73. data/lib/pulp_ostree_client/models/ostree_repo_import.rb +248 -0
  74. data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +237 -0
  75. data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +237 -0
  76. data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +237 -0
  77. data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +237 -0
  78. data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +237 -0
  79. data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +237 -0
  80. data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +237 -0
  81. data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +237 -0
  82. data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +237 -0
  83. data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +260 -0
  84. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +526 -0
  85. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +265 -0
  86. data/lib/pulp_ostree_client/models/policy_enum.rb +36 -0
  87. data/lib/pulp_ostree_client/models/repository_add_remove_content.rb +232 -0
  88. data/lib/pulp_ostree_client/models/repository_sync_url.rb +220 -0
  89. data/lib/pulp_ostree_client/models/repository_version.rb +208 -0
  90. data/lib/pulp_ostree_client/models/repository_version_response.rb +255 -0
  91. data/lib/pulp_ostree_client/version.rb +15 -0
  92. data/lib/pulp_ostree_client.rb +80 -0
  93. data/pulp_ostree_client.gemspec +39 -0
  94. data/spec/api/content_commits_api_spec.rb +68 -0
  95. data/spec/api/content_configs_api_spec.rb +68 -0
  96. data/spec/api/content_objects_api_spec.rb +68 -0
  97. data/spec/api/content_refs_api_spec.rb +68 -0
  98. data/spec/api/content_summaries_api_spec.rb +68 -0
  99. data/spec/api/distributions_ostree_api_spec.rb +125 -0
  100. data/spec/api/remotes_ostree_api_spec.rb +127 -0
  101. data/spec/api/repositories_ostree_api_spec.rb +160 -0
  102. data/spec/api/repositories_ostree_versions_api_spec.rb +104 -0
  103. data/spec/api_client_spec.rb +188 -0
  104. data/spec/configuration_spec.rb +42 -0
  105. data/spec/models/async_operation_response_spec.rb +41 -0
  106. data/spec/models/content_summary_response_spec.rb +53 -0
  107. data/spec/models/content_summary_spec.rb +53 -0
  108. data/spec/models/ostree_ostree_commit_response_spec.rb +65 -0
  109. data/spec/models/ostree_ostree_config_response_spec.rb +53 -0
  110. data/spec/models/ostree_ostree_distribution_response_spec.rb +89 -0
  111. data/spec/models/ostree_ostree_distribution_spec.rb +71 -0
  112. data/spec/models/ostree_ostree_object_response_spec.rb +71 -0
  113. data/spec/models/ostree_ostree_ref_response_spec.rb +65 -0
  114. data/spec/models/ostree_ostree_remote_response_spec.rb +155 -0
  115. data/spec/models/ostree_ostree_remote_spec.rb +167 -0
  116. data/spec/models/ostree_ostree_repository_response_spec.rb +89 -0
  117. data/spec/models/ostree_ostree_repository_spec.rb +65 -0
  118. data/spec/models/ostree_ostree_summary_response_spec.rb +53 -0
  119. data/spec/models/ostree_repo_import_spec.rb +59 -0
  120. data/spec/models/paginated_repository_version_response_list_spec.rb +59 -0
  121. data/spec/models/paginatedostree_ostree_commit_response_list_spec.rb +59 -0
  122. data/spec/models/paginatedostree_ostree_config_response_list_spec.rb +59 -0
  123. data/spec/models/paginatedostree_ostree_distribution_response_list_spec.rb +59 -0
  124. data/spec/models/paginatedostree_ostree_object_response_list_spec.rb +59 -0
  125. data/spec/models/paginatedostree_ostree_ref_response_list_spec.rb +59 -0
  126. data/spec/models/paginatedostree_ostree_remote_response_list_spec.rb +59 -0
  127. data/spec/models/paginatedostree_ostree_repository_response_list_spec.rb +59 -0
  128. data/spec/models/paginatedostree_ostree_summary_response_list_spec.rb +59 -0
  129. data/spec/models/patchedostree_ostree_distribution_spec.rb +71 -0
  130. data/spec/models/patchedostree_ostree_remote_spec.rb +167 -0
  131. data/spec/models/patchedostree_ostree_repository_spec.rb +65 -0
  132. data/spec/models/policy_enum_spec.rb +35 -0
  133. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  134. data/spec/models/repository_sync_url_spec.rb +47 -0
  135. data/spec/models/repository_version_response_spec.rb +71 -0
  136. data/spec/models/repository_version_spec.rb +41 -0
  137. data/spec/spec_helper.rb +111 -0
  138. metadata +277 -0
@@ -0,0 +1,372 @@
1
+ # PulpOstreeClient::DistributionsOstreeApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](DistributionsOstreeApi.md#create) | **POST** /pulp/api/v3/distributions/ostree/ostree/ | Create an ostree distribution
8
+ [**delete**](DistributionsOstreeApi.md#delete) | **DELETE** {ostree_ostree_distribution_href} | Delete an ostree distribution
9
+ [**list**](DistributionsOstreeApi.md#list) | **GET** /pulp/api/v3/distributions/ostree/ostree/ | List ostree distributions
10
+ [**partial_update**](DistributionsOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_distribution_href} | Update an ostree distribution
11
+ [**read**](DistributionsOstreeApi.md#read) | **GET** {ostree_ostree_distribution_href} | Inspect an ostree distribution
12
+ [**update**](DistributionsOstreeApi.md#update) | **PUT** {ostree_ostree_distribution_href} | Update an ostree distribution
13
+
14
+
15
+
16
+ ## create
17
+
18
+ > AsyncOperationResponse create(ostree_ostree_distribution)
19
+
20
+ Create an ostree distribution
21
+
22
+ Trigger an asynchronous create task
23
+
24
+ ### Example
25
+
26
+ ```ruby
27
+ # load the gem
28
+ require 'pulp_ostree_client'
29
+ # setup authorization
30
+ PulpOstreeClient.configure do |config|
31
+ # Configure HTTP basic authorization: basicAuth
32
+ config.username = 'YOUR USERNAME'
33
+ config.password = 'YOUR PASSWORD'
34
+ end
35
+
36
+ api_instance = PulpOstreeClient::DistributionsOstreeApi.new
37
+ ostree_ostree_distribution = PulpOstreeClient::OstreeOstreeDistribution.new # OstreeOstreeDistribution |
38
+
39
+ begin
40
+ #Create an ostree distribution
41
+ result = api_instance.create(ostree_ostree_distribution)
42
+ p result
43
+ rescue PulpOstreeClient::ApiError => e
44
+ puts "Exception when calling DistributionsOstreeApi->create: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+
51
+ Name | Type | Description | Notes
52
+ ------------- | ------------- | ------------- | -------------
53
+ **ostree_ostree_distribution** | [**OstreeOstreeDistribution**](OstreeOstreeDistribution.md)| |
54
+
55
+ ### Return type
56
+
57
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
58
+
59
+ ### Authorization
60
+
61
+ [basicAuth](../README.md#basicAuth)
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
+ - **Accept**: application/json
67
+
68
+
69
+ ## delete
70
+
71
+ > AsyncOperationResponse delete(ostree_ostree_distribution_href)
72
+
73
+ Delete an ostree distribution
74
+
75
+ Trigger an asynchronous delete task
76
+
77
+ ### Example
78
+
79
+ ```ruby
80
+ # load the gem
81
+ require 'pulp_ostree_client'
82
+ # setup authorization
83
+ PulpOstreeClient.configure do |config|
84
+ # Configure HTTP basic authorization: basicAuth
85
+ config.username = 'YOUR USERNAME'
86
+ config.password = 'YOUR PASSWORD'
87
+ end
88
+
89
+ api_instance = PulpOstreeClient::DistributionsOstreeApi.new
90
+ ostree_ostree_distribution_href = 'ostree_ostree_distribution_href_example' # String |
91
+
92
+ begin
93
+ #Delete an ostree distribution
94
+ result = api_instance.delete(ostree_ostree_distribution_href)
95
+ p result
96
+ rescue PulpOstreeClient::ApiError => e
97
+ puts "Exception when calling DistributionsOstreeApi->delete: #{e}"
98
+ end
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **ostree_ostree_distribution_href** | **String**| |
107
+
108
+ ### Return type
109
+
110
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
111
+
112
+ ### Authorization
113
+
114
+ [basicAuth](../README.md#basicAuth)
115
+
116
+ ### HTTP request headers
117
+
118
+ - **Content-Type**: Not defined
119
+ - **Accept**: application/json
120
+
121
+
122
+ ## list
123
+
124
+ > PaginatedostreeOstreeDistributionResponseList list(opts)
125
+
126
+ List ostree distributions
127
+
128
+ A ViewSet class for OSTree distributions.
129
+
130
+ ### Example
131
+
132
+ ```ruby
133
+ # load the gem
134
+ require 'pulp_ostree_client'
135
+ # setup authorization
136
+ PulpOstreeClient.configure do |config|
137
+ # Configure HTTP basic authorization: basicAuth
138
+ config.username = 'YOUR USERNAME'
139
+ config.password = 'YOUR PASSWORD'
140
+ end
141
+
142
+ api_instance = PulpOstreeClient::DistributionsOstreeApi.new
143
+ opts = {
144
+ base_path: 'base_path_example', # String |
145
+ base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
146
+ base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
147
+ base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
148
+ limit: 56, # Integer | Number of results to return per page.
149
+ name: 'name_example', # String |
150
+ name__contains: 'name__contains_example', # String | Filter results where name contains value
151
+ name__icontains: 'name__icontains_example', # String | Filter results where name contains value
152
+ name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
153
+ name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
154
+ offset: 56, # Integer | The initial index from which to return the results.
155
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
156
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
157
+ fields: 'fields_example', # String | A list of fields to include in the response.
158
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
159
+ }
160
+
161
+ begin
162
+ #List ostree distributions
163
+ result = api_instance.list(opts)
164
+ p result
165
+ rescue PulpOstreeClient::ApiError => e
166
+ puts "Exception when calling DistributionsOstreeApi->list: #{e}"
167
+ end
168
+ ```
169
+
170
+ ### Parameters
171
+
172
+
173
+ Name | Type | Description | Notes
174
+ ------------- | ------------- | ------------- | -------------
175
+ **base_path** | **String**| | [optional]
176
+ **base_path__contains** | **String**| Filter results where base_path contains value | [optional]
177
+ **base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
178
+ **base_path__in** | [**Array&lt;String&gt;**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
179
+ **limit** | **Integer**| Number of results to return per page. | [optional]
180
+ **name** | **String**| | [optional]
181
+ **name__contains** | **String**| Filter results where name contains value | [optional]
182
+ **name__icontains** | **String**| Filter results where name contains value | [optional]
183
+ **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
184
+ **name__startswith** | **String**| Filter results where name starts with value | [optional]
185
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
186
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
187
+ **pulp_label_select** | **String**| Filter labels by search string | [optional]
188
+ **fields** | **String**| A list of fields to include in the response. | [optional]
189
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
190
+
191
+ ### Return type
192
+
193
+ [**PaginatedostreeOstreeDistributionResponseList**](PaginatedostreeOstreeDistributionResponseList.md)
194
+
195
+ ### Authorization
196
+
197
+ [basicAuth](../README.md#basicAuth)
198
+
199
+ ### HTTP request headers
200
+
201
+ - **Content-Type**: Not defined
202
+ - **Accept**: application/json
203
+
204
+
205
+ ## partial_update
206
+
207
+ > AsyncOperationResponse partial_update(ostree_ostree_distribution_href, patchedostree_ostree_distribution)
208
+
209
+ Update an ostree distribution
210
+
211
+ Trigger an asynchronous partial update task
212
+
213
+ ### Example
214
+
215
+ ```ruby
216
+ # load the gem
217
+ require 'pulp_ostree_client'
218
+ # setup authorization
219
+ PulpOstreeClient.configure do |config|
220
+ # Configure HTTP basic authorization: basicAuth
221
+ config.username = 'YOUR USERNAME'
222
+ config.password = 'YOUR PASSWORD'
223
+ end
224
+
225
+ api_instance = PulpOstreeClient::DistributionsOstreeApi.new
226
+ ostree_ostree_distribution_href = 'ostree_ostree_distribution_href_example' # String |
227
+ patchedostree_ostree_distribution = PulpOstreeClient::PatchedostreeOstreeDistribution.new # PatchedostreeOstreeDistribution |
228
+
229
+ begin
230
+ #Update an ostree distribution
231
+ result = api_instance.partial_update(ostree_ostree_distribution_href, patchedostree_ostree_distribution)
232
+ p result
233
+ rescue PulpOstreeClient::ApiError => e
234
+ puts "Exception when calling DistributionsOstreeApi->partial_update: #{e}"
235
+ end
236
+ ```
237
+
238
+ ### Parameters
239
+
240
+
241
+ Name | Type | Description | Notes
242
+ ------------- | ------------- | ------------- | -------------
243
+ **ostree_ostree_distribution_href** | **String**| |
244
+ **patchedostree_ostree_distribution** | [**PatchedostreeOstreeDistribution**](PatchedostreeOstreeDistribution.md)| |
245
+
246
+ ### Return type
247
+
248
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
249
+
250
+ ### Authorization
251
+
252
+ [basicAuth](../README.md#basicAuth)
253
+
254
+ ### HTTP request headers
255
+
256
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
257
+ - **Accept**: application/json
258
+
259
+
260
+ ## read
261
+
262
+ > OstreeOstreeDistributionResponse read(ostree_ostree_distribution_href, opts)
263
+
264
+ Inspect an ostree distribution
265
+
266
+ A ViewSet class for OSTree distributions.
267
+
268
+ ### Example
269
+
270
+ ```ruby
271
+ # load the gem
272
+ require 'pulp_ostree_client'
273
+ # setup authorization
274
+ PulpOstreeClient.configure do |config|
275
+ # Configure HTTP basic authorization: basicAuth
276
+ config.username = 'YOUR USERNAME'
277
+ config.password = 'YOUR PASSWORD'
278
+ end
279
+
280
+ api_instance = PulpOstreeClient::DistributionsOstreeApi.new
281
+ ostree_ostree_distribution_href = 'ostree_ostree_distribution_href_example' # String |
282
+ opts = {
283
+ fields: 'fields_example', # String | A list of fields to include in the response.
284
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
285
+ }
286
+
287
+ begin
288
+ #Inspect an ostree distribution
289
+ result = api_instance.read(ostree_ostree_distribution_href, opts)
290
+ p result
291
+ rescue PulpOstreeClient::ApiError => e
292
+ puts "Exception when calling DistributionsOstreeApi->read: #{e}"
293
+ end
294
+ ```
295
+
296
+ ### Parameters
297
+
298
+
299
+ Name | Type | Description | Notes
300
+ ------------- | ------------- | ------------- | -------------
301
+ **ostree_ostree_distribution_href** | **String**| |
302
+ **fields** | **String**| A list of fields to include in the response. | [optional]
303
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
304
+
305
+ ### Return type
306
+
307
+ [**OstreeOstreeDistributionResponse**](OstreeOstreeDistributionResponse.md)
308
+
309
+ ### Authorization
310
+
311
+ [basicAuth](../README.md#basicAuth)
312
+
313
+ ### HTTP request headers
314
+
315
+ - **Content-Type**: Not defined
316
+ - **Accept**: application/json
317
+
318
+
319
+ ## update
320
+
321
+ > AsyncOperationResponse update(ostree_ostree_distribution_href, ostree_ostree_distribution)
322
+
323
+ Update an ostree distribution
324
+
325
+ Trigger an asynchronous update task
326
+
327
+ ### Example
328
+
329
+ ```ruby
330
+ # load the gem
331
+ require 'pulp_ostree_client'
332
+ # setup authorization
333
+ PulpOstreeClient.configure do |config|
334
+ # Configure HTTP basic authorization: basicAuth
335
+ config.username = 'YOUR USERNAME'
336
+ config.password = 'YOUR PASSWORD'
337
+ end
338
+
339
+ api_instance = PulpOstreeClient::DistributionsOstreeApi.new
340
+ ostree_ostree_distribution_href = 'ostree_ostree_distribution_href_example' # String |
341
+ ostree_ostree_distribution = PulpOstreeClient::OstreeOstreeDistribution.new # OstreeOstreeDistribution |
342
+
343
+ begin
344
+ #Update an ostree distribution
345
+ result = api_instance.update(ostree_ostree_distribution_href, ostree_ostree_distribution)
346
+ p result
347
+ rescue PulpOstreeClient::ApiError => e
348
+ puts "Exception when calling DistributionsOstreeApi->update: #{e}"
349
+ end
350
+ ```
351
+
352
+ ### Parameters
353
+
354
+
355
+ Name | Type | Description | Notes
356
+ ------------- | ------------- | ------------- | -------------
357
+ **ostree_ostree_distribution_href** | **String**| |
358
+ **ostree_ostree_distribution** | [**OstreeOstreeDistribution**](OstreeOstreeDistribution.md)| |
359
+
360
+ ### Return type
361
+
362
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
363
+
364
+ ### Authorization
365
+
366
+ [basicAuth](../README.md#basicAuth)
367
+
368
+ ### HTTP request headers
369
+
370
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
371
+ - **Accept**: application/json
372
+
@@ -0,0 +1,25 @@
1
+ # PulpOstreeClient::OstreeOstreeCommitResponse
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 |
10
+ **parent_commit** | **String** | | [optional]
11
+ **checksum** | **String** | |
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpOstreeClient'
17
+
18
+ instance = PulpOstreeClient::OstreeOstreeCommitResponse.new(pulp_href: null,
19
+ pulp_created: null,
20
+ artifact: null,
21
+ parent_commit: null,
22
+ checksum: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,21 @@
1
+ # PulpOstreeClient::OstreeOstreeConfigResponse
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 |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpOstreeClient'
15
+
16
+ instance = PulpOstreeClient::OstreeOstreeConfigResponse.new(pulp_href: null,
17
+ pulp_created: null,
18
+ artifact: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,27 @@
1
+ # PulpOstreeClient::OstreeOstreeDistribution
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. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) |
8
+ **content_guard** | **String** | An optional content-guard. | [optional]
9
+ **pulp_labels** | [**Object**](.md) | | [optional]
10
+ **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. |
11
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
+ **repository_version** | **String** | RepositoryVersion to be served | [optional]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'PulpOstreeClient'
18
+
19
+ instance = PulpOstreeClient::OstreeOstreeDistribution.new(base_path: null,
20
+ content_guard: null,
21
+ pulp_labels: null,
22
+ name: null,
23
+ repository: null,
24
+ repository_version: null)
25
+ ```
26
+
27
+