pulp_ostree_client 2.0.0a1.dev1626751709 → 2.0.0a1.dev1631416829

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_ostree_client might be problematic. Click here for more details.

Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +41 -23
  3. data/docs/ContentCommitsApi.md +138 -0
  4. data/docs/ContentConfigsApi.md +138 -0
  5. data/docs/ContentObjectsApi.md +138 -0
  6. data/docs/ContentRefsApi.md +138 -0
  7. data/docs/{ContentOstreeApi.md → ContentSummariesApi.md} +21 -75
  8. data/docs/DistributionsOstreeApi.md +3 -3
  9. data/docs/OstreeOstreeCommitResponse.md +25 -0
  10. data/docs/OstreeOstreeConfigResponse.md +21 -0
  11. data/docs/OstreeOstreeDistribution.md +2 -2
  12. data/docs/OstreeOstreeDistributionResponse.md +2 -2
  13. data/docs/OstreeOstreeObjectResponse.md +27 -0
  14. data/docs/OstreeOstreeRefResponse.md +25 -0
  15. data/docs/OstreeOstreeRemote.md +4 -2
  16. data/docs/OstreeOstreeRemoteResponse.md +4 -2
  17. data/docs/OstreeOstreeRepository.md +3 -3
  18. data/docs/OstreeOstreeRepositoryResponse.md +3 -3
  19. data/docs/{OstreeOstreeContentResponse.md → OstreeOstreeSummaryResponse.md} +2 -2
  20. data/docs/OstreeRepoImport.md +23 -0
  21. data/docs/{PaginatedostreeOstreePublicationResponseList.md → PaginatedostreeOstreeCommitResponseList.md} +3 -3
  22. data/docs/PaginatedostreeOstreeConfigResponseList.md +23 -0
  23. data/docs/PaginatedostreeOstreeObjectResponseList.md +23 -0
  24. data/docs/PaginatedostreeOstreeRefResponseList.md +23 -0
  25. data/docs/{PaginatedostreeOstreeContentResponseList.md → PaginatedostreeOstreeSummaryResponseList.md} +3 -3
  26. data/docs/PatchedostreeOstreeDistribution.md +2 -2
  27. data/docs/PatchedostreeOstreeRemote.md +4 -2
  28. data/docs/PatchedostreeOstreeRepository.md +3 -3
  29. data/docs/RemotesOstreeApi.md +4 -4
  30. data/docs/RepositoriesOstreeApi.md +60 -4
  31. data/docs/RepositoriesOstreeVersionsApi.md +3 -3
  32. data/lib/pulp_ostree_client/api/content_commits_api.rb +170 -0
  33. data/lib/pulp_ostree_client/api/content_configs_api.rb +170 -0
  34. data/lib/pulp_ostree_client/api/content_objects_api.rb +170 -0
  35. data/lib/pulp_ostree_client/api/content_refs_api.rb +170 -0
  36. data/lib/pulp_ostree_client/api/{content_ostree_api.rb → content_summaries_api.rb} +29 -93
  37. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +4 -4
  38. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +6 -6
  39. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +76 -6
  40. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +4 -4
  41. data/lib/pulp_ostree_client/configuration.rb +2 -2
  42. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +256 -0
  43. data/lib/pulp_ostree_client/models/{ostree_ostree_publication_response.rb → ostree_ostree_config_response.rb} +17 -21
  44. data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +10 -10
  45. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +10 -10
  46. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +275 -0
  47. data/lib/pulp_ostree_client/models/{ostree_ostree_content.rb → ostree_ostree_ref_response.rb} +47 -15
  48. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +34 -7
  49. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +34 -7
  50. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +18 -17
  51. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +18 -17
  52. data/lib/pulp_ostree_client/models/{ostree_ostree_content_response.rb → ostree_ostree_summary_response.rb} +4 -4
  53. data/lib/pulp_ostree_client/models/ostree_repo_import.rb +248 -0
  54. data/lib/pulp_ostree_client/models/{paginatedostree_ostree_publication_response_list.rb → paginatedostree_ostree_commit_response_list.rb} +4 -4
  55. data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +237 -0
  56. data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +237 -0
  57. data/lib/pulp_ostree_client/models/{ostree_ostree_publication.rb → paginatedostree_ostree_ref_response_list.rb} +38 -18
  58. data/lib/pulp_ostree_client/models/{paginatedostree_ostree_content_response_list.rb → paginatedostree_ostree_summary_response_list.rb} +4 -4
  59. data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +10 -10
  60. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +34 -7
  61. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +18 -17
  62. data/lib/pulp_ostree_client/models/policy_enum.rb +1 -1
  63. data/lib/pulp_ostree_client/version.rb +1 -1
  64. data/lib/pulp_ostree_client.rb +16 -8
  65. data/spec/api/{content_ostree_api_spec.rb → content_commits_api_spec.rb} +13 -25
  66. data/spec/api/content_configs_api_spec.rb +68 -0
  67. data/spec/api/content_objects_api_spec.rb +68 -0
  68. data/spec/api/content_refs_api_spec.rb +68 -0
  69. data/spec/api/content_summaries_api_spec.rb +68 -0
  70. data/spec/api/distributions_ostree_api_spec.rb +2 -2
  71. data/spec/api/remotes_ostree_api_spec.rb +3 -3
  72. data/spec/api/repositories_ostree_api_spec.rb +16 -3
  73. data/spec/api/repositories_ostree_versions_api_spec.rb +2 -2
  74. data/spec/configuration_spec.rb +3 -3
  75. data/spec/models/ostree_ostree_commit_response_spec.rb +65 -0
  76. data/spec/models/{ostree_ostree_content_spec.rb → ostree_ostree_config_response_spec.rb} +14 -8
  77. data/spec/models/ostree_ostree_distribution_response_spec.rb +1 -1
  78. data/spec/models/ostree_ostree_distribution_spec.rb +1 -1
  79. data/spec/models/ostree_ostree_object_response_spec.rb +71 -0
  80. data/spec/models/{ostree_ostree_publication_response_spec.rb → ostree_ostree_ref_response_spec.rb} +14 -8
  81. data/spec/models/ostree_ostree_remote_response_spec.rb +6 -0
  82. data/spec/models/ostree_ostree_remote_spec.rb +6 -0
  83. data/spec/models/ostree_ostree_repository_response_spec.rb +1 -1
  84. data/spec/models/ostree_ostree_repository_spec.rb +1 -1
  85. data/spec/models/{ostree_ostree_content_response_spec.rb → ostree_ostree_summary_response_spec.rb} +6 -6
  86. data/spec/models/ostree_repo_import_spec.rb +59 -0
  87. data/spec/models/{paginatedostree_ostree_publication_response_list_spec.rb → paginatedostree_ostree_commit_response_list_spec.rb} +6 -6
  88. data/spec/models/paginatedostree_ostree_config_response_list_spec.rb +59 -0
  89. data/spec/models/paginatedostree_ostree_object_response_list_spec.rb +59 -0
  90. data/spec/models/paginatedostree_ostree_ref_response_list_spec.rb +59 -0
  91. data/spec/models/{paginatedostree_ostree_content_response_list_spec.rb → paginatedostree_ostree_summary_response_list_spec.rb} +6 -6
  92. data/spec/models/patchedostree_ostree_distribution_spec.rb +1 -1
  93. data/spec/models/patchedostree_ostree_remote_spec.rb +6 -0
  94. data/spec/models/patchedostree_ostree_repository_spec.rb +1 -1
  95. metadata +81 -49
  96. data/docs/OstreeOstreeContent.md +0 -19
  97. data/docs/OstreeOstreePublication.md +0 -19
  98. data/docs/OstreeOstreePublicationResponse.md +0 -23
  99. data/docs/PublicationsOstreeApi.md +0 -257
  100. data/lib/pulp_ostree_client/api/publications_ostree_api.rb +0 -312
  101. data/spec/api/publications_ostree_api_spec.rb +0 -98
  102. data/spec/models/ostree_ostree_publication_spec.rb +0 -47
@@ -50,7 +50,7 @@ describe 'PatchedostreeOstreeRepository' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "retained_versions"' do
53
+ describe 'test attribute "retain_repo_versions"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_ostree_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0a1.dev1626751709
4
+ version: 2.0.0a1.dev1631416829
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-20 00:00:00.000000000 Z
11
+ date: 2021-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -75,31 +75,39 @@ files:
75
75
  - README.md
76
76
  - Rakefile
77
77
  - docs/AsyncOperationResponse.md
78
- - docs/ContentOstreeApi.md
78
+ - docs/ContentCommitsApi.md
79
+ - docs/ContentConfigsApi.md
80
+ - docs/ContentObjectsApi.md
81
+ - docs/ContentRefsApi.md
82
+ - docs/ContentSummariesApi.md
79
83
  - docs/ContentSummary.md
80
84
  - docs/ContentSummaryResponse.md
81
85
  - docs/DistributionsOstreeApi.md
82
- - docs/OstreeOstreeContent.md
83
- - docs/OstreeOstreeContentResponse.md
86
+ - docs/OstreeOstreeCommitResponse.md
87
+ - docs/OstreeOstreeConfigResponse.md
84
88
  - docs/OstreeOstreeDistribution.md
85
89
  - docs/OstreeOstreeDistributionResponse.md
86
- - docs/OstreeOstreePublication.md
87
- - docs/OstreeOstreePublicationResponse.md
90
+ - docs/OstreeOstreeObjectResponse.md
91
+ - docs/OstreeOstreeRefResponse.md
88
92
  - docs/OstreeOstreeRemote.md
89
93
  - docs/OstreeOstreeRemoteResponse.md
90
94
  - docs/OstreeOstreeRepository.md
91
95
  - docs/OstreeOstreeRepositoryResponse.md
96
+ - docs/OstreeOstreeSummaryResponse.md
97
+ - docs/OstreeRepoImport.md
92
98
  - docs/PaginatedRepositoryVersionResponseList.md
93
- - docs/PaginatedostreeOstreeContentResponseList.md
99
+ - docs/PaginatedostreeOstreeCommitResponseList.md
100
+ - docs/PaginatedostreeOstreeConfigResponseList.md
94
101
  - docs/PaginatedostreeOstreeDistributionResponseList.md
95
- - docs/PaginatedostreeOstreePublicationResponseList.md
102
+ - docs/PaginatedostreeOstreeObjectResponseList.md
103
+ - docs/PaginatedostreeOstreeRefResponseList.md
96
104
  - docs/PaginatedostreeOstreeRemoteResponseList.md
97
105
  - docs/PaginatedostreeOstreeRepositoryResponseList.md
106
+ - docs/PaginatedostreeOstreeSummaryResponseList.md
98
107
  - docs/PatchedostreeOstreeDistribution.md
99
108
  - docs/PatchedostreeOstreeRemote.md
100
109
  - docs/PatchedostreeOstreeRepository.md
101
110
  - docs/PolicyEnum.md
102
- - docs/PublicationsOstreeApi.md
103
111
  - docs/RemotesOstreeApi.md
104
112
  - docs/RepositoriesOstreeApi.md
105
113
  - docs/RepositoriesOstreeVersionsApi.md
@@ -109,9 +117,12 @@ files:
109
117
  - docs/RepositoryVersionResponse.md
110
118
  - git_push.sh
111
119
  - lib/pulp_ostree_client.rb
112
- - lib/pulp_ostree_client/api/content_ostree_api.rb
120
+ - lib/pulp_ostree_client/api/content_commits_api.rb
121
+ - lib/pulp_ostree_client/api/content_configs_api.rb
122
+ - lib/pulp_ostree_client/api/content_objects_api.rb
123
+ - lib/pulp_ostree_client/api/content_refs_api.rb
124
+ - lib/pulp_ostree_client/api/content_summaries_api.rb
113
125
  - lib/pulp_ostree_client/api/distributions_ostree_api.rb
114
- - lib/pulp_ostree_client/api/publications_ostree_api.rb
115
126
  - lib/pulp_ostree_client/api/remotes_ostree_api.rb
116
127
  - lib/pulp_ostree_client/api/repositories_ostree_api.rb
117
128
  - lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb
@@ -121,22 +132,27 @@ files:
121
132
  - lib/pulp_ostree_client/models/async_operation_response.rb
122
133
  - lib/pulp_ostree_client/models/content_summary.rb
123
134
  - lib/pulp_ostree_client/models/content_summary_response.rb
124
- - lib/pulp_ostree_client/models/ostree_ostree_content.rb
125
- - lib/pulp_ostree_client/models/ostree_ostree_content_response.rb
135
+ - lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb
136
+ - lib/pulp_ostree_client/models/ostree_ostree_config_response.rb
126
137
  - lib/pulp_ostree_client/models/ostree_ostree_distribution.rb
127
138
  - lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb
128
- - lib/pulp_ostree_client/models/ostree_ostree_publication.rb
129
- - lib/pulp_ostree_client/models/ostree_ostree_publication_response.rb
139
+ - lib/pulp_ostree_client/models/ostree_ostree_object_response.rb
140
+ - lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb
130
141
  - lib/pulp_ostree_client/models/ostree_ostree_remote.rb
131
142
  - lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb
132
143
  - lib/pulp_ostree_client/models/ostree_ostree_repository.rb
133
144
  - lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb
145
+ - lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb
146
+ - lib/pulp_ostree_client/models/ostree_repo_import.rb
134
147
  - lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb
135
- - lib/pulp_ostree_client/models/paginatedostree_ostree_content_response_list.rb
148
+ - lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb
149
+ - lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb
136
150
  - lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb
137
- - lib/pulp_ostree_client/models/paginatedostree_ostree_publication_response_list.rb
151
+ - lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb
152
+ - lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb
138
153
  - lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb
139
154
  - lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb
155
+ - lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb
140
156
  - lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb
141
157
  - lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb
142
158
  - lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb
@@ -147,9 +163,12 @@ files:
147
163
  - lib/pulp_ostree_client/models/repository_version_response.rb
148
164
  - lib/pulp_ostree_client/version.rb
149
165
  - pulp_ostree_client.gemspec
150
- - spec/api/content_ostree_api_spec.rb
166
+ - spec/api/content_commits_api_spec.rb
167
+ - spec/api/content_configs_api_spec.rb
168
+ - spec/api/content_objects_api_spec.rb
169
+ - spec/api/content_refs_api_spec.rb
170
+ - spec/api/content_summaries_api_spec.rb
151
171
  - spec/api/distributions_ostree_api_spec.rb
152
- - spec/api/publications_ostree_api_spec.rb
153
172
  - spec/api/remotes_ostree_api_spec.rb
154
173
  - spec/api/repositories_ostree_api_spec.rb
155
174
  - spec/api/repositories_ostree_versions_api_spec.rb
@@ -158,22 +177,27 @@ files:
158
177
  - spec/models/async_operation_response_spec.rb
159
178
  - spec/models/content_summary_response_spec.rb
160
179
  - spec/models/content_summary_spec.rb
161
- - spec/models/ostree_ostree_content_response_spec.rb
162
- - spec/models/ostree_ostree_content_spec.rb
180
+ - spec/models/ostree_ostree_commit_response_spec.rb
181
+ - spec/models/ostree_ostree_config_response_spec.rb
163
182
  - spec/models/ostree_ostree_distribution_response_spec.rb
164
183
  - spec/models/ostree_ostree_distribution_spec.rb
165
- - spec/models/ostree_ostree_publication_response_spec.rb
166
- - spec/models/ostree_ostree_publication_spec.rb
184
+ - spec/models/ostree_ostree_object_response_spec.rb
185
+ - spec/models/ostree_ostree_ref_response_spec.rb
167
186
  - spec/models/ostree_ostree_remote_response_spec.rb
168
187
  - spec/models/ostree_ostree_remote_spec.rb
169
188
  - spec/models/ostree_ostree_repository_response_spec.rb
170
189
  - spec/models/ostree_ostree_repository_spec.rb
190
+ - spec/models/ostree_ostree_summary_response_spec.rb
191
+ - spec/models/ostree_repo_import_spec.rb
171
192
  - spec/models/paginated_repository_version_response_list_spec.rb
172
- - spec/models/paginatedostree_ostree_content_response_list_spec.rb
193
+ - spec/models/paginatedostree_ostree_commit_response_list_spec.rb
194
+ - spec/models/paginatedostree_ostree_config_response_list_spec.rb
173
195
  - spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
174
- - spec/models/paginatedostree_ostree_publication_response_list_spec.rb
196
+ - spec/models/paginatedostree_ostree_object_response_list_spec.rb
197
+ - spec/models/paginatedostree_ostree_ref_response_list_spec.rb
175
198
  - spec/models/paginatedostree_ostree_remote_response_list_spec.rb
176
199
  - spec/models/paginatedostree_ostree_repository_response_list_spec.rb
200
+ - spec/models/paginatedostree_ostree_summary_response_list_spec.rb
177
201
  - spec/models/patchedostree_ostree_distribution_spec.rb
178
202
  - spec/models/patchedostree_ostree_remote_spec.rb
179
203
  - spec/models/patchedostree_ostree_repository_spec.rb
@@ -207,39 +231,47 @@ signing_key:
207
231
  specification_version: 4
208
232
  summary: Pulp 3 API Ruby Gem
209
233
  test_files:
210
- - spec/api/content_ostree_api_spec.rb
211
- - spec/api/distributions_ostree_api_spec.rb
234
+ - spec/api/content_refs_api_spec.rb
235
+ - spec/api/content_objects_api_spec.rb
212
236
  - spec/api/repositories_ostree_api_spec.rb
213
- - spec/api/remotes_ostree_api_spec.rb
214
- - spec/api/publications_ostree_api_spec.rb
237
+ - spec/api/content_configs_api_spec.rb
238
+ - spec/api/distributions_ostree_api_spec.rb
239
+ - spec/api/content_summaries_api_spec.rb
240
+ - spec/api/content_commits_api_spec.rb
215
241
  - spec/api/repositories_ostree_versions_api_spec.rb
242
+ - spec/api/remotes_ostree_api_spec.rb
216
243
  - spec/api_client_spec.rb
217
244
  - spec/configuration_spec.rb
218
- - spec/models/patchedostree_ostree_remote_spec.rb
219
- - spec/models/ostree_ostree_publication_response_spec.rb
220
245
  - spec/models/async_operation_response_spec.rb
221
- - spec/models/ostree_ostree_distribution_spec.rb
222
- - spec/models/content_summary_spec.rb
246
+ - spec/models/policy_enum_spec.rb
247
+ - spec/models/ostree_ostree_config_response_spec.rb
248
+ - spec/models/ostree_ostree_object_response_spec.rb
223
249
  - spec/models/patchedostree_ostree_repository_spec.rb
224
- - spec/models/content_summary_response_spec.rb
225
- - spec/models/ostree_ostree_repository_response_spec.rb
226
- - spec/models/paginatedostree_ostree_publication_response_list_spec.rb
250
+ - spec/models/repository_add_remove_content_spec.rb
251
+ - spec/models/paginatedostree_ostree_commit_response_list_spec.rb
252
+ - spec/models/patchedostree_ostree_remote_spec.rb
253
+ - spec/models/repository_version_response_spec.rb
254
+ - spec/models/ostree_ostree_ref_response_spec.rb
227
255
  - spec/models/paginated_repository_version_response_list_spec.rb
256
+ - spec/models/ostree_ostree_commit_response_spec.rb
228
257
  - spec/models/repository_version_spec.rb
258
+ - spec/models/ostree_ostree_repository_response_spec.rb
259
+ - spec/models/repository_sync_url_spec.rb
229
260
  - spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
230
- - spec/models/ostree_ostree_content_spec.rb
231
- - spec/models/ostree_ostree_content_response_spec.rb
232
- - spec/models/policy_enum_spec.rb
233
261
  - spec/models/ostree_ostree_repository_spec.rb
234
- - spec/models/repository_version_response_spec.rb
235
- - spec/models/paginatedostree_ostree_repository_response_list_spec.rb
236
- - spec/models/repository_sync_url_spec.rb
237
- - spec/models/ostree_ostree_publication_spec.rb
238
- - spec/models/paginatedostree_ostree_content_response_list_spec.rb
239
- - spec/models/ostree_ostree_remote_spec.rb
262
+ - spec/models/ostree_ostree_remote_response_spec.rb
263
+ - spec/models/ostree_repo_import_spec.rb
264
+ - spec/models/ostree_ostree_summary_response_spec.rb
265
+ - spec/models/paginatedostree_ostree_config_response_list_spec.rb
266
+ - spec/models/content_summary_spec.rb
240
267
  - spec/models/paginatedostree_ostree_remote_response_list_spec.rb
241
- - spec/models/patchedostree_ostree_distribution_spec.rb
242
- - spec/models/repository_add_remove_content_spec.rb
268
+ - spec/models/ostree_ostree_distribution_spec.rb
243
269
  - spec/models/ostree_ostree_distribution_response_spec.rb
244
- - spec/models/ostree_ostree_remote_response_spec.rb
270
+ - spec/models/paginatedostree_ostree_repository_response_list_spec.rb
271
+ - spec/models/content_summary_response_spec.rb
272
+ - spec/models/paginatedostree_ostree_summary_response_list_spec.rb
273
+ - spec/models/patchedostree_ostree_distribution_spec.rb
274
+ - spec/models/paginatedostree_ostree_ref_response_list_spec.rb
275
+ - spec/models/ostree_ostree_remote_spec.rb
276
+ - spec/models/paginatedostree_ostree_object_response_list_spec.rb
245
277
  - spec/spec_helper.rb
@@ -1,19 +0,0 @@
1
- # PulpOstreeClient::OstreeOstreeContent
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **artifact** | **String** | Artifact file representing the physical content |
8
- **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
9
-
10
- ## Code Sample
11
-
12
- ```ruby
13
- require 'PulpOstreeClient'
14
-
15
- instance = PulpOstreeClient::OstreeOstreeContent.new(artifact: null,
16
- relative_path: null)
17
- ```
18
-
19
-
@@ -1,19 +0,0 @@
1
- # PulpOstreeClient::OstreeOstreePublication
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **repository_version** | **String** | | [optional]
8
- **repository** | **String** | A URI of the repository to be published. | [optional]
9
-
10
- ## Code Sample
11
-
12
- ```ruby
13
- require 'PulpOstreeClient'
14
-
15
- instance = PulpOstreeClient::OstreeOstreePublication.new(repository_version: null,
16
- repository: null)
17
- ```
18
-
19
-
@@ -1,23 +0,0 @@
1
- # PulpOstreeClient::OstreeOstreePublicationResponse
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
-
12
- ## Code Sample
13
-
14
- ```ruby
15
- require 'PulpOstreeClient'
16
-
17
- instance = PulpOstreeClient::OstreeOstreePublicationResponse.new(pulp_href: null,
18
- pulp_created: null,
19
- repository_version: null,
20
- repository: null)
21
- ```
22
-
23
-
@@ -1,257 +0,0 @@
1
- # PulpOstreeClient::PublicationsOstreeApi
2
-
3
- All URIs are relative to *http://pulp*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](PublicationsOstreeApi.md#create) | **POST** /pulp/api/v3/publications/ostree/ostree/ | Create an ostree publication
8
- [**delete**](PublicationsOstreeApi.md#delete) | **DELETE** {ostree_ostree_publication_href} | Delete an ostree publication
9
- [**list**](PublicationsOstreeApi.md#list) | **GET** /pulp/api/v3/publications/ostree/ostree/ | List ostree publications
10
- [**read**](PublicationsOstreeApi.md#read) | **GET** {ostree_ostree_publication_href} | Inspect an ostree publication
11
-
12
-
13
-
14
- ## create
15
-
16
- > AsyncOperationResponse create(ostree_ostree_publication)
17
-
18
- Create an ostree publication
19
-
20
- Trigger an asynchronous task to publish content
21
-
22
- ### Example
23
-
24
- ```ruby
25
- # load the gem
26
- require 'pulp_ostree_client'
27
- # setup authorization
28
- PulpOstreeClient.configure do |config|
29
- # Configure HTTP basic authorization: basicAuth
30
- config.username = 'YOUR USERNAME'
31
- config.password = 'YOUR PASSWORD'
32
- end
33
-
34
- api_instance = PulpOstreeClient::PublicationsOstreeApi.new
35
- ostree_ostree_publication = PulpOstreeClient::OstreeOstreePublication.new # OstreeOstreePublication |
36
-
37
- begin
38
- #Create an ostree publication
39
- result = api_instance.create(ostree_ostree_publication)
40
- p result
41
- rescue PulpOstreeClient::ApiError => e
42
- puts "Exception when calling PublicationsOstreeApi->create: #{e}"
43
- end
44
- ```
45
-
46
- ### Parameters
47
-
48
-
49
- Name | Type | Description | Notes
50
- ------------- | ------------- | ------------- | -------------
51
- **ostree_ostree_publication** | [**OstreeOstreePublication**](OstreeOstreePublication.md)| |
52
-
53
- ### Return type
54
-
55
- [**AsyncOperationResponse**](AsyncOperationResponse.md)
56
-
57
- ### Authorization
58
-
59
- [basicAuth](../README.md#basicAuth)
60
-
61
- ### HTTP request headers
62
-
63
- - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
64
- - **Accept**: application/json
65
-
66
-
67
- ## delete
68
-
69
- > delete(ostree_ostree_publication_href)
70
-
71
- Delete an ostree publication
72
-
73
- A ViewSet for OstreePublication. Similar to the OstreeContentViewSet above, define endpoint_name, queryset and serializer, at a minimum.
74
-
75
- ### Example
76
-
77
- ```ruby
78
- # load the gem
79
- require 'pulp_ostree_client'
80
- # setup authorization
81
- PulpOstreeClient.configure do |config|
82
- # Configure HTTP basic authorization: basicAuth
83
- config.username = 'YOUR USERNAME'
84
- config.password = 'YOUR PASSWORD'
85
- end
86
-
87
- api_instance = PulpOstreeClient::PublicationsOstreeApi.new
88
- ostree_ostree_publication_href = 'ostree_ostree_publication_href_example' # String |
89
-
90
- begin
91
- #Delete an ostree publication
92
- api_instance.delete(ostree_ostree_publication_href)
93
- rescue PulpOstreeClient::ApiError => e
94
- puts "Exception when calling PublicationsOstreeApi->delete: #{e}"
95
- end
96
- ```
97
-
98
- ### Parameters
99
-
100
-
101
- Name | Type | Description | Notes
102
- ------------- | ------------- | ------------- | -------------
103
- **ostree_ostree_publication_href** | **String**| |
104
-
105
- ### Return type
106
-
107
- nil (empty response body)
108
-
109
- ### Authorization
110
-
111
- [basicAuth](../README.md#basicAuth)
112
-
113
- ### HTTP request headers
114
-
115
- - **Content-Type**: Not defined
116
- - **Accept**: Not defined
117
-
118
-
119
- ## list
120
-
121
- > PaginatedostreeOstreePublicationResponseList list(opts)
122
-
123
- List ostree publications
124
-
125
- A ViewSet for OstreePublication. Similar to the OstreeContentViewSet above, define endpoint_name, queryset and serializer, at a minimum.
126
-
127
- ### Example
128
-
129
- ```ruby
130
- # load the gem
131
- require 'pulp_ostree_client'
132
- # setup authorization
133
- PulpOstreeClient.configure do |config|
134
- # Configure HTTP basic authorization: basicAuth
135
- config.username = 'YOUR USERNAME'
136
- config.password = 'YOUR PASSWORD'
137
- end
138
-
139
- api_instance = PulpOstreeClient::PublicationsOstreeApi.new
140
- opts = {
141
- content: 'content_example', # String | Content Unit referenced by HREF
142
- content__in: 'content__in_example', # String | Content Unit referenced by HREF
143
- limit: 56, # Integer | Number of results to return per page.
144
- offset: 56, # Integer | The initial index from which to return the results.
145
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
146
- pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
147
- pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
148
- pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
149
- pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
150
- pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
151
- pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
152
- repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
153
- fields: 'fields_example', # String | A list of fields to include in the response.
154
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
155
- }
156
-
157
- begin
158
- #List ostree publications
159
- result = api_instance.list(opts)
160
- p result
161
- rescue PulpOstreeClient::ApiError => e
162
- puts "Exception when calling PublicationsOstreeApi->list: #{e}"
163
- end
164
- ```
165
-
166
- ### Parameters
167
-
168
-
169
- Name | Type | Description | Notes
170
- ------------- | ------------- | ------------- | -------------
171
- **content** | **String**| Content Unit referenced by HREF | [optional]
172
- **content__in** | **String**| Content Unit referenced by HREF | [optional]
173
- **limit** | **Integer**| Number of results to return per page. | [optional]
174
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
175
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
176
- **pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
177
- **pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
178
- **pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
179
- **pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
180
- **pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
181
- **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
182
- **repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
183
- **fields** | **String**| A list of fields to include in the response. | [optional]
184
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
185
-
186
- ### Return type
187
-
188
- [**PaginatedostreeOstreePublicationResponseList**](PaginatedostreeOstreePublicationResponseList.md)
189
-
190
- ### Authorization
191
-
192
- [basicAuth](../README.md#basicAuth)
193
-
194
- ### HTTP request headers
195
-
196
- - **Content-Type**: Not defined
197
- - **Accept**: application/json
198
-
199
-
200
- ## read
201
-
202
- > OstreeOstreePublicationResponse read(ostree_ostree_publication_href, opts)
203
-
204
- Inspect an ostree publication
205
-
206
- A ViewSet for OstreePublication. Similar to the OstreeContentViewSet above, define endpoint_name, queryset and serializer, at a minimum.
207
-
208
- ### Example
209
-
210
- ```ruby
211
- # load the gem
212
- require 'pulp_ostree_client'
213
- # setup authorization
214
- PulpOstreeClient.configure do |config|
215
- # Configure HTTP basic authorization: basicAuth
216
- config.username = 'YOUR USERNAME'
217
- config.password = 'YOUR PASSWORD'
218
- end
219
-
220
- api_instance = PulpOstreeClient::PublicationsOstreeApi.new
221
- ostree_ostree_publication_href = 'ostree_ostree_publication_href_example' # String |
222
- opts = {
223
- fields: 'fields_example', # String | A list of fields to include in the response.
224
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
225
- }
226
-
227
- begin
228
- #Inspect an ostree publication
229
- result = api_instance.read(ostree_ostree_publication_href, opts)
230
- p result
231
- rescue PulpOstreeClient::ApiError => e
232
- puts "Exception when calling PublicationsOstreeApi->read: #{e}"
233
- end
234
- ```
235
-
236
- ### Parameters
237
-
238
-
239
- Name | Type | Description | Notes
240
- ------------- | ------------- | ------------- | -------------
241
- **ostree_ostree_publication_href** | **String**| |
242
- **fields** | **String**| A list of fields to include in the response. | [optional]
243
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
244
-
245
- ### Return type
246
-
247
- [**OstreeOstreePublicationResponse**](OstreeOstreePublicationResponse.md)
248
-
249
- ### Authorization
250
-
251
- [basicAuth](../README.md#basicAuth)
252
-
253
- ### HTTP request headers
254
-
255
- - **Content-Type**: Not defined
256
- - **Accept**: application/json
257
-