pulpcore_client 3.0.0rc7 → 3.0.0rc8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -22
  3. data/docs/ArtifactsApi.md +4 -4
  4. data/docs/InlineResponse2001.md +1 -1
  5. data/docs/InlineResponse2002.md +1 -1
  6. data/docs/InlineResponse2003.md +1 -1
  7. data/docs/Status.md +3 -1
  8. data/docs/Storage.md +21 -0
  9. data/docs/TasksApi.md +2 -2
  10. data/docs/UploadsApi.md +2 -2
  11. data/docs/WorkersApi.md +2 -2
  12. data/lib/pulpcore_client/api/artifacts_api.rb +11 -7
  13. data/lib/pulpcore_client/api/orphans_api.rb +1 -1
  14. data/lib/pulpcore_client/api/status_api.rb +1 -1
  15. data/lib/pulpcore_client/api/tasks_api.rb +4 -4
  16. data/lib/pulpcore_client/api/uploads_api.rb +4 -4
  17. data/lib/pulpcore_client/api/workers_api.rb +4 -4
  18. data/lib/pulpcore_client/api_client.rb +1 -1
  19. data/lib/pulpcore_client/api_error.rb +1 -1
  20. data/lib/pulpcore_client/configuration.rb +1 -1
  21. data/lib/pulpcore_client/models/artifact.rb +18 -2
  22. data/lib/pulpcore_client/models/async_operation_response.rb +12 -2
  23. data/lib/pulpcore_client/models/content_app_status.rb +12 -2
  24. data/lib/pulpcore_client/models/database_connection.rb +12 -2
  25. data/lib/pulpcore_client/models/inline_response200.rb +14 -2
  26. data/lib/pulpcore_client/models/inline_response2001.rb +15 -3
  27. data/lib/pulpcore_client/models/inline_response2002.rb +15 -3
  28. data/lib/pulpcore_client/models/inline_response2003.rb +15 -3
  29. data/lib/pulpcore_client/models/progress_report.rb +13 -2
  30. data/lib/pulpcore_client/models/redis_connection.rb +12 -2
  31. data/lib/pulpcore_client/models/status.rb +25 -6
  32. data/lib/pulpcore_client/models/{inline_response2004.rb → storage.rb} +106 -41
  33. data/lib/pulpcore_client/models/task.rb +12 -2
  34. data/lib/pulpcore_client/models/task_cancel.rb +12 -2
  35. data/lib/pulpcore_client/models/upload.rb +12 -2
  36. data/lib/pulpcore_client/models/upload_chunk.rb +13 -2
  37. data/lib/pulpcore_client/models/upload_commit.rb +12 -2
  38. data/lib/pulpcore_client/models/upload_detail.rb +12 -2
  39. data/lib/pulpcore_client/models/version.rb +12 -2
  40. data/lib/pulpcore_client/models/worker.rb +12 -2
  41. data/lib/pulpcore_client/version.rb +2 -2
  42. data/lib/pulpcore_client.rb +2 -9
  43. data/pulpcore_client.gemspec +1 -1
  44. data/spec/api/artifacts_api_spec.rb +2 -2
  45. data/spec/api/orphans_api_spec.rb +1 -1
  46. data/spec/api/status_api_spec.rb +1 -1
  47. data/spec/api/tasks_api_spec.rb +2 -2
  48. data/spec/api/uploads_api_spec.rb +2 -2
  49. data/spec/api/workers_api_spec.rb +2 -2
  50. data/spec/api_client_spec.rb +1 -1
  51. data/spec/configuration_spec.rb +1 -1
  52. data/spec/models/artifact_spec.rb +1 -1
  53. data/spec/models/async_operation_response_spec.rb +1 -1
  54. data/spec/models/content_app_status_spec.rb +1 -1
  55. data/spec/models/database_connection_spec.rb +1 -1
  56. data/spec/models/inline_response2001_spec.rb +1 -1
  57. data/spec/models/inline_response2002_spec.rb +1 -1
  58. data/spec/models/inline_response2003_spec.rb +1 -1
  59. data/spec/models/inline_response200_spec.rb +1 -1
  60. data/spec/models/progress_report_spec.rb +1 -1
  61. data/spec/models/redis_connection_spec.rb +1 -1
  62. data/spec/models/status_spec.rb +7 -1
  63. data/spec/models/{content_summary_spec.rb → storage_spec.rb} +10 -10
  64. data/spec/models/task_cancel_spec.rb +1 -1
  65. data/spec/models/task_spec.rb +1 -1
  66. data/spec/models/upload_chunk_spec.rb +1 -1
  67. data/spec/models/upload_commit_spec.rb +1 -1
  68. data/spec/models/upload_detail_spec.rb +1 -1
  69. data/spec/models/upload_spec.rb +1 -1
  70. data/spec/models/version_spec.rb +1 -1
  71. data/spec/models/worker_spec.rb +1 -1
  72. data/spec/spec_helper.rb +1 -1
  73. metadata +6 -34
  74. data/docs/ContentSummary.md +0 -21
  75. data/docs/InlineResponse2004.md +0 -23
  76. data/docs/InlineResponse2005.md +0 -23
  77. data/docs/RepositoriesApi.md +0 -346
  78. data/docs/RepositoriesVersionsApi.md +0 -266
  79. data/docs/Repository.md +0 -29
  80. data/docs/RepositoryVersion.md +0 -25
  81. data/docs/RepositoryVersionCreate.md +0 -21
  82. data/lib/pulpcore_client/api/repositories_api.rb +0 -422
  83. data/lib/pulpcore_client/api/repositories_versions_api.rb +0 -334
  84. data/lib/pulpcore_client/models/content_summary.rb +0 -236
  85. data/lib/pulpcore_client/models/inline_response2005.rb +0 -235
  86. data/lib/pulpcore_client/models/repository.rb +0 -293
  87. data/lib/pulpcore_client/models/repository_version.rb +0 -234
  88. data/lib/pulpcore_client/models/repository_version_create.rb +0 -221
  89. data/spec/api/repositories_api_spec.rb +0 -112
  90. data/spec/api/repositories_versions_api_spec.rb +0 -102
  91. data/spec/models/inline_response2004_spec.rb +0 -59
  92. data/spec/models/inline_response2005_spec.rb +0 -59
  93. data/spec/models/repository_spec.rb +0 -77
  94. data/spec/models/repository_version_create_spec.rb +0 -53
  95. data/spec/models/repository_version_spec.rb +0 -65
@@ -1,266 +0,0 @@
1
- # PulpcoreClient::RepositoriesVersionsApi
2
-
3
- All URIs are relative to *http://localhost:24817*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](RepositoriesVersionsApi.md#create) | **POST** {repository_href}versions/ | Create a repository version
8
- [**delete**](RepositoriesVersionsApi.md#delete) | **DELETE** {repository_version_href} | Delete a repository version
9
- [**list**](RepositoriesVersionsApi.md#list) | **GET** {repository_href}versions/ | List repository versions
10
- [**read**](RepositoriesVersionsApi.md#read) | **GET** {repository_version_href} | Inspect a repository version
11
-
12
-
13
-
14
- ## create
15
-
16
- > AsyncOperationResponse create(repository_href, data)
17
-
18
- Create a repository version
19
-
20
- Trigger an asynchronous task to create a new repository version.
21
-
22
- ### Example
23
-
24
- ```ruby
25
- # load the gem
26
- require 'pulpcore_client'
27
- # setup authorization
28
- PulpcoreClient.configure do |config|
29
- # Configure HTTP basic authorization: Basic
30
- config.username = 'YOUR USERNAME'
31
- config.password = 'YOUR PASSWORD'
32
- end
33
-
34
- api_instance = PulpcoreClient::RepositoriesVersionsApi.new
35
- repository_href = 'repository_href_example' # String | URI of Repository. e.g.: /pulp/api/v3/repositories/1/
36
- data = PulpcoreClient::RepositoryVersionCreate.new # RepositoryVersionCreate |
37
-
38
- begin
39
- #Create a repository version
40
- result = api_instance.create(repository_href, data)
41
- p result
42
- rescue PulpcoreClient::ApiError => e
43
- puts "Exception when calling RepositoriesVersionsApi->create: #{e}"
44
- end
45
- ```
46
-
47
- ### Parameters
48
-
49
-
50
- Name | Type | Description | Notes
51
- ------------- | ------------- | ------------- | -------------
52
- **repository_href** | **String**| URI of Repository. e.g.: /pulp/api/v3/repositories/1/ |
53
- **data** | [**RepositoryVersionCreate**](RepositoryVersionCreate.md)| |
54
-
55
- ### Return type
56
-
57
- [**AsyncOperationResponse**](AsyncOperationResponse.md)
58
-
59
- ### Authorization
60
-
61
- [Basic](../README.md#Basic)
62
-
63
- ### HTTP request headers
64
-
65
- - **Content-Type**: application/json
66
- - **Accept**: application/json
67
-
68
-
69
- ## delete
70
-
71
- > AsyncOperationResponse delete(repository_version_href)
72
-
73
- Delete a repository version
74
-
75
- Trigger an asynchronous task to delete a repositroy version.
76
-
77
- ### Example
78
-
79
- ```ruby
80
- # load the gem
81
- require 'pulpcore_client'
82
- # setup authorization
83
- PulpcoreClient.configure do |config|
84
- # Configure HTTP basic authorization: Basic
85
- config.username = 'YOUR USERNAME'
86
- config.password = 'YOUR PASSWORD'
87
- end
88
-
89
- api_instance = PulpcoreClient::RepositoriesVersionsApi.new
90
- repository_version_href = 'repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/
91
-
92
- begin
93
- #Delete a repository version
94
- result = api_instance.delete(repository_version_href)
95
- p result
96
- rescue PulpcoreClient::ApiError => e
97
- puts "Exception when calling RepositoriesVersionsApi->delete: #{e}"
98
- end
99
- ```
100
-
101
- ### Parameters
102
-
103
-
104
- Name | Type | Description | Notes
105
- ------------- | ------------- | ------------- | -------------
106
- **repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/ |
107
-
108
- ### Return type
109
-
110
- [**AsyncOperationResponse**](AsyncOperationResponse.md)
111
-
112
- ### Authorization
113
-
114
- [Basic](../README.md#Basic)
115
-
116
- ### HTTP request headers
117
-
118
- - **Content-Type**: Not defined
119
- - **Accept**: application/json
120
-
121
-
122
- ## list
123
-
124
- > InlineResponse2002 list(repository_href, opts)
125
-
126
- List repository versions
127
-
128
- ### Example
129
-
130
- ```ruby
131
- # load the gem
132
- require 'pulpcore_client'
133
- # setup authorization
134
- PulpcoreClient.configure do |config|
135
- # Configure HTTP basic authorization: Basic
136
- config.username = 'YOUR USERNAME'
137
- config.password = 'YOUR PASSWORD'
138
- end
139
-
140
- api_instance = PulpcoreClient::RepositoriesVersionsApi.new
141
- repository_href = 'repository_href_example' # String | URI of Repository. e.g.: /pulp/api/v3/repositories/1/
142
- opts = {
143
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
144
- number: 3.4, # Float |
145
- number__lt: 3.4, # Float | Filter results where number is less than value
146
- number__lte: 3.4, # Float | Filter results where number is less than or equal to value
147
- number__gt: 3.4, # Float | Filter results where number is greater than value
148
- number__gte: 3.4, # Float | Filter results where number is greater than or equal to value
149
- number__range: 3.4, # Float | Filter results where number is between two comma separated values
150
- pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
151
- pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
152
- pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
153
- pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
154
- pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
155
- content: 'content_example', # String | Content Unit referenced by HREF
156
- pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
157
- limit: 56, # Integer | Number of results to return per page.
158
- offset: 56, # Integer | The initial index from which to return the results.
159
- fields: 'fields_example', # String | A list of fields to include in the response.
160
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
161
- }
162
-
163
- begin
164
- #List repository versions
165
- result = api_instance.list(repository_href, opts)
166
- p result
167
- rescue PulpcoreClient::ApiError => e
168
- puts "Exception when calling RepositoriesVersionsApi->list: #{e}"
169
- end
170
- ```
171
-
172
- ### Parameters
173
-
174
-
175
- Name | Type | Description | Notes
176
- ------------- | ------------- | ------------- | -------------
177
- **repository_href** | **String**| URI of Repository. e.g.: /pulp/api/v3/repositories/1/ |
178
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
179
- **number** | **Float**| | [optional]
180
- **number__lt** | **Float**| Filter results where number is less than value | [optional]
181
- **number__lte** | **Float**| Filter results where number is less than or equal to value | [optional]
182
- **number__gt** | **Float**| Filter results where number is greater than value | [optional]
183
- **number__gte** | **Float**| Filter results where number is greater than or equal to value | [optional]
184
- **number__range** | **Float**| Filter results where number is between two comma separated values | [optional]
185
- **pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
186
- **pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
187
- **pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
188
- **pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
189
- **pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
190
- **content** | **String**| Content Unit referenced by HREF | [optional]
191
- **pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
192
- **limit** | **Integer**| Number of results to return per page. | [optional]
193
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
194
- **fields** | **String**| A list of fields to include in the response. | [optional]
195
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
196
-
197
- ### Return type
198
-
199
- [**InlineResponse2002**](InlineResponse2002.md)
200
-
201
- ### Authorization
202
-
203
- [Basic](../README.md#Basic)
204
-
205
- ### HTTP request headers
206
-
207
- - **Content-Type**: Not defined
208
- - **Accept**: application/json
209
-
210
-
211
- ## read
212
-
213
- > RepositoryVersion read(repository_version_href, opts)
214
-
215
- Inspect a repository version
216
-
217
- ### Example
218
-
219
- ```ruby
220
- # load the gem
221
- require 'pulpcore_client'
222
- # setup authorization
223
- PulpcoreClient.configure do |config|
224
- # Configure HTTP basic authorization: Basic
225
- config.username = 'YOUR USERNAME'
226
- config.password = 'YOUR PASSWORD'
227
- end
228
-
229
- api_instance = PulpcoreClient::RepositoriesVersionsApi.new
230
- repository_version_href = 'repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/
231
- opts = {
232
- fields: 'fields_example', # String | A list of fields to include in the response.
233
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
234
- }
235
-
236
- begin
237
- #Inspect a repository version
238
- result = api_instance.read(repository_version_href, opts)
239
- p result
240
- rescue PulpcoreClient::ApiError => e
241
- puts "Exception when calling RepositoriesVersionsApi->read: #{e}"
242
- end
243
- ```
244
-
245
- ### Parameters
246
-
247
-
248
- Name | Type | Description | Notes
249
- ------------- | ------------- | ------------- | -------------
250
- **repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/ |
251
- **fields** | **String**| A list of fields to include in the response. | [optional]
252
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
253
-
254
- ### Return type
255
-
256
- [**RepositoryVersion**](RepositoryVersion.md)
257
-
258
- ### Authorization
259
-
260
- [Basic](../README.md#Basic)
261
-
262
- ### HTTP request headers
263
-
264
- - **Content-Type**: Not defined
265
- - **Accept**: application/json
266
-
data/docs/Repository.md DELETED
@@ -1,29 +0,0 @@
1
- # PulpcoreClient::Repository
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
- **versions_href** | **String** | | [optional] [readonly]
10
- **latest_version_href** | **String** | | [optional] [readonly]
11
- **name** | **String** | A unique name for this repository. |
12
- **plugin_managed** | **Boolean** | True if the plugin manages this repository, users typically do not interact with it. | [optional] [readonly]
13
- **description** | **String** | An optional description. | [optional]
14
-
15
- ## Code Sample
16
-
17
- ```ruby
18
- require 'PulpcoreClient'
19
-
20
- instance = PulpcoreClient::Repository.new(pulp_href: null,
21
- pulp_created: null,
22
- versions_href: null,
23
- latest_version_href: null,
24
- name: null,
25
- plugin_managed: null,
26
- description: null)
27
- ```
28
-
29
-
@@ -1,25 +0,0 @@
1
- # PulpcoreClient::RepositoryVersion
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
- **number** | **Integer** | | [optional] [readonly]
10
- **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
- **content_summary** | [**ContentSummary**](ContentSummary.md) | | [optional]
12
-
13
- ## Code Sample
14
-
15
- ```ruby
16
- require 'PulpcoreClient'
17
-
18
- instance = PulpcoreClient::RepositoryVersion.new(pulp_href: null,
19
- pulp_created: null,
20
- number: null,
21
- base_version: null,
22
- content_summary: null)
23
- ```
24
-
25
-
@@ -1,21 +0,0 @@
1
- # PulpcoreClient::RepositoryVersionCreate
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
8
- **remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
9
- **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
10
-
11
- ## Code Sample
12
-
13
- ```ruby
14
- require 'PulpcoreClient'
15
-
16
- instance = PulpcoreClient::RepositoryVersionCreate.new(add_content_units: null,
17
- remove_content_units: null,
18
- base_version: null)
19
- ```
20
-
21
-