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,532 @@
1
+ # PulpOstreeClient::RepositoriesOstreeApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](RepositoriesOstreeApi.md#create) | **POST** /pulp/api/v3/repositories/ostree/ostree/ | Create an ostree repository
8
+ [**delete**](RepositoriesOstreeApi.md#delete) | **DELETE** {ostree_ostree_repository_href} | Delete an ostree repository
9
+ [**import_commits**](RepositoriesOstreeApi.md#import_commits) | **POST** {ostree_ostree_repository_href}import_commits/ | Import commits to a repository
10
+ [**list**](RepositoriesOstreeApi.md#list) | **GET** /pulp/api/v3/repositories/ostree/ostree/ | List ostree repositorys
11
+ [**modify**](RepositoriesOstreeApi.md#modify) | **POST** {ostree_ostree_repository_href}modify/ | Modify Repository Content
12
+ [**partial_update**](RepositoriesOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_repository_href} | Update an ostree repository
13
+ [**read**](RepositoriesOstreeApi.md#read) | **GET** {ostree_ostree_repository_href} | Inspect an ostree repository
14
+ [**sync**](RepositoriesOstreeApi.md#sync) | **POST** {ostree_ostree_repository_href}sync/ | Sync from remote
15
+ [**update**](RepositoriesOstreeApi.md#update) | **PUT** {ostree_ostree_repository_href} | Update an ostree repository
16
+
17
+
18
+
19
+ ## create
20
+
21
+ > OstreeOstreeRepositoryResponse create(ostree_ostree_repository)
22
+
23
+ Create an ostree repository
24
+
25
+ A ViewSet class for OSTree repositories.
26
+
27
+ ### Example
28
+
29
+ ```ruby
30
+ # load the gem
31
+ require 'pulp_ostree_client'
32
+ # setup authorization
33
+ PulpOstreeClient.configure do |config|
34
+ # Configure HTTP basic authorization: basicAuth
35
+ config.username = 'YOUR USERNAME'
36
+ config.password = 'YOUR PASSWORD'
37
+ end
38
+
39
+ api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
40
+ ostree_ostree_repository = PulpOstreeClient::OstreeOstreeRepository.new # OstreeOstreeRepository |
41
+
42
+ begin
43
+ #Create an ostree repository
44
+ result = api_instance.create(ostree_ostree_repository)
45
+ p result
46
+ rescue PulpOstreeClient::ApiError => e
47
+ puts "Exception when calling RepositoriesOstreeApi->create: #{e}"
48
+ end
49
+ ```
50
+
51
+ ### Parameters
52
+
53
+
54
+ Name | Type | Description | Notes
55
+ ------------- | ------------- | ------------- | -------------
56
+ **ostree_ostree_repository** | [**OstreeOstreeRepository**](OstreeOstreeRepository.md)| |
57
+
58
+ ### Return type
59
+
60
+ [**OstreeOstreeRepositoryResponse**](OstreeOstreeRepositoryResponse.md)
61
+
62
+ ### Authorization
63
+
64
+ [basicAuth](../README.md#basicAuth)
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
69
+ - **Accept**: application/json
70
+
71
+
72
+ ## delete
73
+
74
+ > AsyncOperationResponse delete(ostree_ostree_repository_href)
75
+
76
+ Delete an ostree repository
77
+
78
+ Trigger an asynchronous delete task
79
+
80
+ ### Example
81
+
82
+ ```ruby
83
+ # load the gem
84
+ require 'pulp_ostree_client'
85
+ # setup authorization
86
+ PulpOstreeClient.configure do |config|
87
+ # Configure HTTP basic authorization: basicAuth
88
+ config.username = 'YOUR USERNAME'
89
+ config.password = 'YOUR PASSWORD'
90
+ end
91
+
92
+ api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
93
+ ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
94
+
95
+ begin
96
+ #Delete an ostree repository
97
+ result = api_instance.delete(ostree_ostree_repository_href)
98
+ p result
99
+ rescue PulpOstreeClient::ApiError => e
100
+ puts "Exception when calling RepositoriesOstreeApi->delete: #{e}"
101
+ end
102
+ ```
103
+
104
+ ### Parameters
105
+
106
+
107
+ Name | Type | Description | Notes
108
+ ------------- | ------------- | ------------- | -------------
109
+ **ostree_ostree_repository_href** | **String**| |
110
+
111
+ ### Return type
112
+
113
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
114
+
115
+ ### Authorization
116
+
117
+ [basicAuth](../README.md#basicAuth)
118
+
119
+ ### HTTP request headers
120
+
121
+ - **Content-Type**: Not defined
122
+ - **Accept**: application/json
123
+
124
+
125
+ ## import_commits
126
+
127
+ > AsyncOperationResponse import_commits(ostree_ostree_repository_href, ostree_repo_import)
128
+
129
+ Import commits to a repository
130
+
131
+ Trigger an asynchronous task to create a new OSTree repository version.
132
+
133
+ ### Example
134
+
135
+ ```ruby
136
+ # load the gem
137
+ require 'pulp_ostree_client'
138
+ # setup authorization
139
+ PulpOstreeClient.configure do |config|
140
+ # Configure HTTP basic authorization: basicAuth
141
+ config.username = 'YOUR USERNAME'
142
+ config.password = 'YOUR PASSWORD'
143
+ end
144
+
145
+ api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
146
+ ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
147
+ ostree_repo_import = PulpOstreeClient::OstreeRepoImport.new # OstreeRepoImport |
148
+
149
+ begin
150
+ #Import commits to a repository
151
+ result = api_instance.import_commits(ostree_ostree_repository_href, ostree_repo_import)
152
+ p result
153
+ rescue PulpOstreeClient::ApiError => e
154
+ puts "Exception when calling RepositoriesOstreeApi->import_commits: #{e}"
155
+ end
156
+ ```
157
+
158
+ ### Parameters
159
+
160
+
161
+ Name | Type | Description | Notes
162
+ ------------- | ------------- | ------------- | -------------
163
+ **ostree_ostree_repository_href** | **String**| |
164
+ **ostree_repo_import** | [**OstreeRepoImport**](OstreeRepoImport.md)| |
165
+
166
+ ### Return type
167
+
168
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
169
+
170
+ ### Authorization
171
+
172
+ [basicAuth](../README.md#basicAuth)
173
+
174
+ ### HTTP request headers
175
+
176
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
177
+ - **Accept**: application/json
178
+
179
+
180
+ ## list
181
+
182
+ > PaginatedostreeOstreeRepositoryResponseList list(opts)
183
+
184
+ List ostree repositorys
185
+
186
+ A ViewSet class for OSTree repositories.
187
+
188
+ ### Example
189
+
190
+ ```ruby
191
+ # load the gem
192
+ require 'pulp_ostree_client'
193
+ # setup authorization
194
+ PulpOstreeClient.configure do |config|
195
+ # Configure HTTP basic authorization: basicAuth
196
+ config.username = 'YOUR USERNAME'
197
+ config.password = 'YOUR PASSWORD'
198
+ end
199
+
200
+ api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
201
+ opts = {
202
+ limit: 56, # Integer | Number of results to return per page.
203
+ name: 'name_example', # String |
204
+ name__contains: 'name__contains_example', # String | Filter results where name contains value
205
+ name__icontains: 'name__icontains_example', # String | Filter results where name contains value
206
+ name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
207
+ name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
208
+ offset: 56, # Integer | The initial index from which to return the results.
209
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
210
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
211
+ fields: 'fields_example', # String | A list of fields to include in the response.
212
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
213
+ }
214
+
215
+ begin
216
+ #List ostree repositorys
217
+ result = api_instance.list(opts)
218
+ p result
219
+ rescue PulpOstreeClient::ApiError => e
220
+ puts "Exception when calling RepositoriesOstreeApi->list: #{e}"
221
+ end
222
+ ```
223
+
224
+ ### Parameters
225
+
226
+
227
+ Name | Type | Description | Notes
228
+ ------------- | ------------- | ------------- | -------------
229
+ **limit** | **Integer**| Number of results to return per page. | [optional]
230
+ **name** | **String**| | [optional]
231
+ **name__contains** | **String**| Filter results where name contains value | [optional]
232
+ **name__icontains** | **String**| Filter results where name contains value | [optional]
233
+ **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
234
+ **name__startswith** | **String**| Filter results where name starts with value | [optional]
235
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
236
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
237
+ **pulp_label_select** | **String**| Filter labels by search string | [optional]
238
+ **fields** | **String**| A list of fields to include in the response. | [optional]
239
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
240
+
241
+ ### Return type
242
+
243
+ [**PaginatedostreeOstreeRepositoryResponseList**](PaginatedostreeOstreeRepositoryResponseList.md)
244
+
245
+ ### Authorization
246
+
247
+ [basicAuth](../README.md#basicAuth)
248
+
249
+ ### HTTP request headers
250
+
251
+ - **Content-Type**: Not defined
252
+ - **Accept**: application/json
253
+
254
+
255
+ ## modify
256
+
257
+ > AsyncOperationResponse modify(ostree_ostree_repository_href, repository_add_remove_content)
258
+
259
+ Modify Repository Content
260
+
261
+ Trigger an asynchronous task to create a new repository version.
262
+
263
+ ### Example
264
+
265
+ ```ruby
266
+ # load the gem
267
+ require 'pulp_ostree_client'
268
+ # setup authorization
269
+ PulpOstreeClient.configure do |config|
270
+ # Configure HTTP basic authorization: basicAuth
271
+ config.username = 'YOUR USERNAME'
272
+ config.password = 'YOUR PASSWORD'
273
+ end
274
+
275
+ api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
276
+ ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
277
+ repository_add_remove_content = PulpOstreeClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
278
+
279
+ begin
280
+ #Modify Repository Content
281
+ result = api_instance.modify(ostree_ostree_repository_href, repository_add_remove_content)
282
+ p result
283
+ rescue PulpOstreeClient::ApiError => e
284
+ puts "Exception when calling RepositoriesOstreeApi->modify: #{e}"
285
+ end
286
+ ```
287
+
288
+ ### Parameters
289
+
290
+
291
+ Name | Type | Description | Notes
292
+ ------------- | ------------- | ------------- | -------------
293
+ **ostree_ostree_repository_href** | **String**| |
294
+ **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
295
+
296
+ ### Return type
297
+
298
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
299
+
300
+ ### Authorization
301
+
302
+ [basicAuth](../README.md#basicAuth)
303
+
304
+ ### HTTP request headers
305
+
306
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
307
+ - **Accept**: application/json
308
+
309
+
310
+ ## partial_update
311
+
312
+ > AsyncOperationResponse partial_update(ostree_ostree_repository_href, patchedostree_ostree_repository)
313
+
314
+ Update an ostree repository
315
+
316
+ Trigger an asynchronous partial update task
317
+
318
+ ### Example
319
+
320
+ ```ruby
321
+ # load the gem
322
+ require 'pulp_ostree_client'
323
+ # setup authorization
324
+ PulpOstreeClient.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 = PulpOstreeClient::RepositoriesOstreeApi.new
331
+ ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
332
+ patchedostree_ostree_repository = PulpOstreeClient::PatchedostreeOstreeRepository.new # PatchedostreeOstreeRepository |
333
+
334
+ begin
335
+ #Update an ostree repository
336
+ result = api_instance.partial_update(ostree_ostree_repository_href, patchedostree_ostree_repository)
337
+ p result
338
+ rescue PulpOstreeClient::ApiError => e
339
+ puts "Exception when calling RepositoriesOstreeApi->partial_update: #{e}"
340
+ end
341
+ ```
342
+
343
+ ### Parameters
344
+
345
+
346
+ Name | Type | Description | Notes
347
+ ------------- | ------------- | ------------- | -------------
348
+ **ostree_ostree_repository_href** | **String**| |
349
+ **patchedostree_ostree_repository** | [**PatchedostreeOstreeRepository**](PatchedostreeOstreeRepository.md)| |
350
+
351
+ ### Return type
352
+
353
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
354
+
355
+ ### Authorization
356
+
357
+ [basicAuth](../README.md#basicAuth)
358
+
359
+ ### HTTP request headers
360
+
361
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
362
+ - **Accept**: application/json
363
+
364
+
365
+ ## read
366
+
367
+ > OstreeOstreeRepositoryResponse read(ostree_ostree_repository_href, opts)
368
+
369
+ Inspect an ostree repository
370
+
371
+ A ViewSet class for OSTree repositories.
372
+
373
+ ### Example
374
+
375
+ ```ruby
376
+ # load the gem
377
+ require 'pulp_ostree_client'
378
+ # setup authorization
379
+ PulpOstreeClient.configure do |config|
380
+ # Configure HTTP basic authorization: basicAuth
381
+ config.username = 'YOUR USERNAME'
382
+ config.password = 'YOUR PASSWORD'
383
+ end
384
+
385
+ api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
386
+ ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
387
+ opts = {
388
+ fields: 'fields_example', # String | A list of fields to include in the response.
389
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
390
+ }
391
+
392
+ begin
393
+ #Inspect an ostree repository
394
+ result = api_instance.read(ostree_ostree_repository_href, opts)
395
+ p result
396
+ rescue PulpOstreeClient::ApiError => e
397
+ puts "Exception when calling RepositoriesOstreeApi->read: #{e}"
398
+ end
399
+ ```
400
+
401
+ ### Parameters
402
+
403
+
404
+ Name | Type | Description | Notes
405
+ ------------- | ------------- | ------------- | -------------
406
+ **ostree_ostree_repository_href** | **String**| |
407
+ **fields** | **String**| A list of fields to include in the response. | [optional]
408
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
409
+
410
+ ### Return type
411
+
412
+ [**OstreeOstreeRepositoryResponse**](OstreeOstreeRepositoryResponse.md)
413
+
414
+ ### Authorization
415
+
416
+ [basicAuth](../README.md#basicAuth)
417
+
418
+ ### HTTP request headers
419
+
420
+ - **Content-Type**: Not defined
421
+ - **Accept**: application/json
422
+
423
+
424
+ ## sync
425
+
426
+ > AsyncOperationResponse sync(ostree_ostree_repository_href, repository_sync_url)
427
+
428
+ Sync from remote
429
+
430
+ Trigger an asynchronous task to sync content.
431
+
432
+ ### Example
433
+
434
+ ```ruby
435
+ # load the gem
436
+ require 'pulp_ostree_client'
437
+ # setup authorization
438
+ PulpOstreeClient.configure do |config|
439
+ # Configure HTTP basic authorization: basicAuth
440
+ config.username = 'YOUR USERNAME'
441
+ config.password = 'YOUR PASSWORD'
442
+ end
443
+
444
+ api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
445
+ ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
446
+ repository_sync_url = PulpOstreeClient::RepositorySyncURL.new # RepositorySyncURL |
447
+
448
+ begin
449
+ #Sync from remote
450
+ result = api_instance.sync(ostree_ostree_repository_href, repository_sync_url)
451
+ p result
452
+ rescue PulpOstreeClient::ApiError => e
453
+ puts "Exception when calling RepositoriesOstreeApi->sync: #{e}"
454
+ end
455
+ ```
456
+
457
+ ### Parameters
458
+
459
+
460
+ Name | Type | Description | Notes
461
+ ------------- | ------------- | ------------- | -------------
462
+ **ostree_ostree_repository_href** | **String**| |
463
+ **repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md)| |
464
+
465
+ ### Return type
466
+
467
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
468
+
469
+ ### Authorization
470
+
471
+ [basicAuth](../README.md#basicAuth)
472
+
473
+ ### HTTP request headers
474
+
475
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
476
+ - **Accept**: application/json
477
+
478
+
479
+ ## update
480
+
481
+ > AsyncOperationResponse update(ostree_ostree_repository_href, ostree_ostree_repository)
482
+
483
+ Update an ostree repository
484
+
485
+ Trigger an asynchronous update task
486
+
487
+ ### Example
488
+
489
+ ```ruby
490
+ # load the gem
491
+ require 'pulp_ostree_client'
492
+ # setup authorization
493
+ PulpOstreeClient.configure do |config|
494
+ # Configure HTTP basic authorization: basicAuth
495
+ config.username = 'YOUR USERNAME'
496
+ config.password = 'YOUR PASSWORD'
497
+ end
498
+
499
+ api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
500
+ ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
501
+ ostree_ostree_repository = PulpOstreeClient::OstreeOstreeRepository.new # OstreeOstreeRepository |
502
+
503
+ begin
504
+ #Update an ostree repository
505
+ result = api_instance.update(ostree_ostree_repository_href, ostree_ostree_repository)
506
+ p result
507
+ rescue PulpOstreeClient::ApiError => e
508
+ puts "Exception when calling RepositoriesOstreeApi->update: #{e}"
509
+ end
510
+ ```
511
+
512
+ ### Parameters
513
+
514
+
515
+ Name | Type | Description | Notes
516
+ ------------- | ------------- | ------------- | -------------
517
+ **ostree_ostree_repository_href** | **String**| |
518
+ **ostree_ostree_repository** | [**OstreeOstreeRepository**](OstreeOstreeRepository.md)| |
519
+
520
+ ### Return type
521
+
522
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
523
+
524
+ ### Authorization
525
+
526
+ [basicAuth](../README.md#basicAuth)
527
+
528
+ ### HTTP request headers
529
+
530
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
531
+ - **Accept**: application/json
532
+