pulp_ostree_client 2.4.6 → 2.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +18 -5
- data/docs/ContentCommitsApi.md +150 -2
- data/docs/ContentConfigsApi.md +148 -0
- data/docs/ContentContentApi.md +148 -0
- data/docs/ContentObjectsApi.md +150 -2
- data/docs/ContentRefsApi.md +150 -2
- data/docs/ContentSummariesApi.md +148 -0
- data/docs/DistributionsOstreeApi.md +4 -2
- data/docs/OstreeOstreeCommitResponse.md +2 -0
- data/docs/OstreeOstreeConfigResponse.md +2 -0
- data/docs/OstreeOstreeContent.md +2 -0
- data/docs/OstreeOstreeContentResponse.md +2 -0
- data/docs/OstreeOstreeObjectResponse.md +2 -0
- data/docs/OstreeOstreeRefResponse.md +2 -0
- data/docs/OstreeOstreeSummaryResponse.md +2 -0
- data/lib/pulp_ostree_client/api/content_commits_api.rb +154 -3
- data/lib/pulp_ostree_client/api/content_configs_api.rb +151 -0
- data/lib/pulp_ostree_client/api/content_content_api.rb +151 -0
- data/lib/pulp_ostree_client/api/content_objects_api.rb +154 -3
- data/lib/pulp_ostree_client/api/content_refs_api.rb +154 -3
- data/lib/pulp_ostree_client/api/content_summaries_api.rb +151 -0
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +6 -3
- data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_content.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +13 -1
- data/lib/pulp_ostree_client/models/unset_label.rb +1 -1
- data/lib/pulp_ostree_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/spec/api/content_commits_api_spec.rb +28 -1
- data/spec/api/content_configs_api_spec.rb +27 -0
- data/spec/api/content_content_api_spec.rb +27 -0
- data/spec/api/content_objects_api_spec.rb +28 -1
- data/spec/api/content_refs_api_spec.rb +28 -1
- data/spec/api/content_summaries_api_spec.rb +27 -0
- data/spec/api/distributions_ostree_api_spec.rb +2 -1
- data/spec/models/ostree_ostree_commit_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_config_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_content_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_content_spec.rb +6 -0
- data/spec/models/ostree_ostree_object_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_ref_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_summary_response_spec.rb +6 -0
- metadata +42 -42
data/docs/ContentObjectsApi.md
CHANGED
@@ -6,6 +6,8 @@ All URIs are relative to *http://localhost:24817*
|
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**list**](ContentObjectsApi.md#list) | **GET** /pulp/api/v3/content/ostree/objects/ | List ostree objects |
|
8
8
|
| [**read**](ContentObjectsApi.md#read) | **GET** {ostree_ostree_object_href} | Inspect an ostree object |
|
9
|
+
| [**set_label**](ContentObjectsApi.md#set_label) | **POST** {ostree_ostree_object_href}set_label/ | Set a label |
|
10
|
+
| [**unset_label**](ContentObjectsApi.md#unset_label) | **POST** {ostree_ostree_object_href}unset_label/ | Unset a label |
|
9
11
|
|
10
12
|
|
11
13
|
## list
|
@@ -33,11 +35,12 @@ opts = {
|
|
33
35
|
checksum: 'checksum_example', # String | Filter results where checksum matches value
|
34
36
|
limit: 56, # Integer | Number of results to return per page.
|
35
37
|
offset: 56, # Integer | The initial index from which to return the results.
|
36
|
-
ordering: ['-checksum'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `typ` - Typ * `-typ` - Typ (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
38
|
+
ordering: ['-checksum'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `typ` - Typ * `-typ` - Typ (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
37
39
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
38
40
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
39
41
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
40
42
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
43
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
41
44
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
42
45
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
43
46
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
@@ -80,11 +83,12 @@ end
|
|
80
83
|
| **checksum** | **String** | Filter results where checksum matches value | [optional] |
|
81
84
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
82
85
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
83
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `typ` - Typ * `-typ` - Typ (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
86
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `typ` - Typ * `-typ` - Typ (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
84
87
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
85
88
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
86
89
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
87
90
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
91
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
88
92
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
89
93
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
90
94
|
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -181,3 +185,147 @@ end
|
|
181
185
|
- **Content-Type**: Not defined
|
182
186
|
- **Accept**: application/json
|
183
187
|
|
188
|
+
|
189
|
+
## set_label
|
190
|
+
|
191
|
+
> <SetLabelResponse> set_label(ostree_ostree_object_href, set_label)
|
192
|
+
|
193
|
+
Set a label
|
194
|
+
|
195
|
+
Set a single pulp_label on the object to a specific value or null.
|
196
|
+
|
197
|
+
### Examples
|
198
|
+
|
199
|
+
```ruby
|
200
|
+
require 'time'
|
201
|
+
require 'pulp_ostree_client'
|
202
|
+
# setup authorization
|
203
|
+
PulpOstreeClient.configure do |config|
|
204
|
+
# Configure HTTP basic authorization: basicAuth
|
205
|
+
config.username = 'YOUR USERNAME'
|
206
|
+
config.password = 'YOUR PASSWORD'
|
207
|
+
end
|
208
|
+
|
209
|
+
api_instance = PulpOstreeClient::ContentObjectsApi.new
|
210
|
+
ostree_ostree_object_href = 'ostree_ostree_object_href_example' # String |
|
211
|
+
set_label = PulpOstreeClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
212
|
+
|
213
|
+
begin
|
214
|
+
# Set a label
|
215
|
+
result = api_instance.set_label(ostree_ostree_object_href, set_label)
|
216
|
+
p result
|
217
|
+
rescue PulpOstreeClient::ApiError => e
|
218
|
+
puts "Error when calling ContentObjectsApi->set_label: #{e}"
|
219
|
+
end
|
220
|
+
```
|
221
|
+
|
222
|
+
#### Using the set_label_with_http_info variant
|
223
|
+
|
224
|
+
This returns an Array which contains the response data, status code and headers.
|
225
|
+
|
226
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_object_href, set_label)
|
227
|
+
|
228
|
+
```ruby
|
229
|
+
begin
|
230
|
+
# Set a label
|
231
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_object_href, set_label)
|
232
|
+
p status_code # => 2xx
|
233
|
+
p headers # => { ... }
|
234
|
+
p data # => <SetLabelResponse>
|
235
|
+
rescue PulpOstreeClient::ApiError => e
|
236
|
+
puts "Error when calling ContentObjectsApi->set_label_with_http_info: #{e}"
|
237
|
+
end
|
238
|
+
```
|
239
|
+
|
240
|
+
### Parameters
|
241
|
+
|
242
|
+
| Name | Type | Description | Notes |
|
243
|
+
| ---- | ---- | ----------- | ----- |
|
244
|
+
| **ostree_ostree_object_href** | **String** | | |
|
245
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
246
|
+
|
247
|
+
### Return type
|
248
|
+
|
249
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
250
|
+
|
251
|
+
### Authorization
|
252
|
+
|
253
|
+
[basicAuth](../README.md#basicAuth)
|
254
|
+
|
255
|
+
### HTTP request headers
|
256
|
+
|
257
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
258
|
+
- **Accept**: application/json
|
259
|
+
|
260
|
+
|
261
|
+
## unset_label
|
262
|
+
|
263
|
+
> <UnsetLabelResponse> unset_label(ostree_ostree_object_href, unset_label)
|
264
|
+
|
265
|
+
Unset a label
|
266
|
+
|
267
|
+
Unset a single pulp_label on the object.
|
268
|
+
|
269
|
+
### Examples
|
270
|
+
|
271
|
+
```ruby
|
272
|
+
require 'time'
|
273
|
+
require 'pulp_ostree_client'
|
274
|
+
# setup authorization
|
275
|
+
PulpOstreeClient.configure do |config|
|
276
|
+
# Configure HTTP basic authorization: basicAuth
|
277
|
+
config.username = 'YOUR USERNAME'
|
278
|
+
config.password = 'YOUR PASSWORD'
|
279
|
+
end
|
280
|
+
|
281
|
+
api_instance = PulpOstreeClient::ContentObjectsApi.new
|
282
|
+
ostree_ostree_object_href = 'ostree_ostree_object_href_example' # String |
|
283
|
+
unset_label = PulpOstreeClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
284
|
+
|
285
|
+
begin
|
286
|
+
# Unset a label
|
287
|
+
result = api_instance.unset_label(ostree_ostree_object_href, unset_label)
|
288
|
+
p result
|
289
|
+
rescue PulpOstreeClient::ApiError => e
|
290
|
+
puts "Error when calling ContentObjectsApi->unset_label: #{e}"
|
291
|
+
end
|
292
|
+
```
|
293
|
+
|
294
|
+
#### Using the unset_label_with_http_info variant
|
295
|
+
|
296
|
+
This returns an Array which contains the response data, status code and headers.
|
297
|
+
|
298
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_object_href, unset_label)
|
299
|
+
|
300
|
+
```ruby
|
301
|
+
begin
|
302
|
+
# Unset a label
|
303
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_object_href, unset_label)
|
304
|
+
p status_code # => 2xx
|
305
|
+
p headers # => { ... }
|
306
|
+
p data # => <UnsetLabelResponse>
|
307
|
+
rescue PulpOstreeClient::ApiError => e
|
308
|
+
puts "Error when calling ContentObjectsApi->unset_label_with_http_info: #{e}"
|
309
|
+
end
|
310
|
+
```
|
311
|
+
|
312
|
+
### Parameters
|
313
|
+
|
314
|
+
| Name | Type | Description | Notes |
|
315
|
+
| ---- | ---- | ----------- | ----- |
|
316
|
+
| **ostree_ostree_object_href** | **String** | | |
|
317
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
318
|
+
|
319
|
+
### Return type
|
320
|
+
|
321
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
322
|
+
|
323
|
+
### Authorization
|
324
|
+
|
325
|
+
[basicAuth](../README.md#basicAuth)
|
326
|
+
|
327
|
+
### HTTP request headers
|
328
|
+
|
329
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
330
|
+
- **Accept**: application/json
|
331
|
+
|
data/docs/ContentRefsApi.md
CHANGED
@@ -6,6 +6,8 @@ All URIs are relative to *http://localhost:24817*
|
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**list**](ContentRefsApi.md#list) | **GET** /pulp/api/v3/content/ostree/refs/ | List ostree refs |
|
8
8
|
| [**read**](ContentRefsApi.md#read) | **GET** {ostree_ostree_ref_href} | Inspect an ostree ref |
|
9
|
+
| [**set_label**](ContentRefsApi.md#set_label) | **POST** {ostree_ostree_ref_href}set_label/ | Set a label |
|
10
|
+
| [**unset_label**](ContentRefsApi.md#unset_label) | **POST** {ostree_ostree_ref_href}unset_label/ | Unset a label |
|
9
11
|
|
10
12
|
|
11
13
|
## list
|
@@ -42,11 +44,12 @@ opts = {
|
|
42
44
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
43
45
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
44
46
|
offset: 56, # Integer | The initial index from which to return the results.
|
45
|
-
ordering: ['-name'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
47
|
+
ordering: ['-name'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
46
48
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
47
49
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
48
50
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
49
51
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
52
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
50
53
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
51
54
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
52
55
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
@@ -98,11 +101,12 @@ end
|
|
98
101
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
99
102
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
100
103
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
101
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
104
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
102
105
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
103
106
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
104
107
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
105
108
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
109
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
106
110
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
107
111
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
108
112
|
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -199,3 +203,147 @@ end
|
|
199
203
|
- **Content-Type**: Not defined
|
200
204
|
- **Accept**: application/json
|
201
205
|
|
206
|
+
|
207
|
+
## set_label
|
208
|
+
|
209
|
+
> <SetLabelResponse> set_label(ostree_ostree_ref_href, set_label)
|
210
|
+
|
211
|
+
Set a label
|
212
|
+
|
213
|
+
Set a single pulp_label on the object to a specific value or null.
|
214
|
+
|
215
|
+
### Examples
|
216
|
+
|
217
|
+
```ruby
|
218
|
+
require 'time'
|
219
|
+
require 'pulp_ostree_client'
|
220
|
+
# setup authorization
|
221
|
+
PulpOstreeClient.configure do |config|
|
222
|
+
# Configure HTTP basic authorization: basicAuth
|
223
|
+
config.username = 'YOUR USERNAME'
|
224
|
+
config.password = 'YOUR PASSWORD'
|
225
|
+
end
|
226
|
+
|
227
|
+
api_instance = PulpOstreeClient::ContentRefsApi.new
|
228
|
+
ostree_ostree_ref_href = 'ostree_ostree_ref_href_example' # String |
|
229
|
+
set_label = PulpOstreeClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
230
|
+
|
231
|
+
begin
|
232
|
+
# Set a label
|
233
|
+
result = api_instance.set_label(ostree_ostree_ref_href, set_label)
|
234
|
+
p result
|
235
|
+
rescue PulpOstreeClient::ApiError => e
|
236
|
+
puts "Error when calling ContentRefsApi->set_label: #{e}"
|
237
|
+
end
|
238
|
+
```
|
239
|
+
|
240
|
+
#### Using the set_label_with_http_info variant
|
241
|
+
|
242
|
+
This returns an Array which contains the response data, status code and headers.
|
243
|
+
|
244
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_ref_href, set_label)
|
245
|
+
|
246
|
+
```ruby
|
247
|
+
begin
|
248
|
+
# Set a label
|
249
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_ref_href, set_label)
|
250
|
+
p status_code # => 2xx
|
251
|
+
p headers # => { ... }
|
252
|
+
p data # => <SetLabelResponse>
|
253
|
+
rescue PulpOstreeClient::ApiError => e
|
254
|
+
puts "Error when calling ContentRefsApi->set_label_with_http_info: #{e}"
|
255
|
+
end
|
256
|
+
```
|
257
|
+
|
258
|
+
### Parameters
|
259
|
+
|
260
|
+
| Name | Type | Description | Notes |
|
261
|
+
| ---- | ---- | ----------- | ----- |
|
262
|
+
| **ostree_ostree_ref_href** | **String** | | |
|
263
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
264
|
+
|
265
|
+
### Return type
|
266
|
+
|
267
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
268
|
+
|
269
|
+
### Authorization
|
270
|
+
|
271
|
+
[basicAuth](../README.md#basicAuth)
|
272
|
+
|
273
|
+
### HTTP request headers
|
274
|
+
|
275
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
276
|
+
- **Accept**: application/json
|
277
|
+
|
278
|
+
|
279
|
+
## unset_label
|
280
|
+
|
281
|
+
> <UnsetLabelResponse> unset_label(ostree_ostree_ref_href, unset_label)
|
282
|
+
|
283
|
+
Unset a label
|
284
|
+
|
285
|
+
Unset a single pulp_label on the object.
|
286
|
+
|
287
|
+
### Examples
|
288
|
+
|
289
|
+
```ruby
|
290
|
+
require 'time'
|
291
|
+
require 'pulp_ostree_client'
|
292
|
+
# setup authorization
|
293
|
+
PulpOstreeClient.configure do |config|
|
294
|
+
# Configure HTTP basic authorization: basicAuth
|
295
|
+
config.username = 'YOUR USERNAME'
|
296
|
+
config.password = 'YOUR PASSWORD'
|
297
|
+
end
|
298
|
+
|
299
|
+
api_instance = PulpOstreeClient::ContentRefsApi.new
|
300
|
+
ostree_ostree_ref_href = 'ostree_ostree_ref_href_example' # String |
|
301
|
+
unset_label = PulpOstreeClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
302
|
+
|
303
|
+
begin
|
304
|
+
# Unset a label
|
305
|
+
result = api_instance.unset_label(ostree_ostree_ref_href, unset_label)
|
306
|
+
p result
|
307
|
+
rescue PulpOstreeClient::ApiError => e
|
308
|
+
puts "Error when calling ContentRefsApi->unset_label: #{e}"
|
309
|
+
end
|
310
|
+
```
|
311
|
+
|
312
|
+
#### Using the unset_label_with_http_info variant
|
313
|
+
|
314
|
+
This returns an Array which contains the response data, status code and headers.
|
315
|
+
|
316
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_ref_href, unset_label)
|
317
|
+
|
318
|
+
```ruby
|
319
|
+
begin
|
320
|
+
# Unset a label
|
321
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_ref_href, unset_label)
|
322
|
+
p status_code # => 2xx
|
323
|
+
p headers # => { ... }
|
324
|
+
p data # => <UnsetLabelResponse>
|
325
|
+
rescue PulpOstreeClient::ApiError => e
|
326
|
+
puts "Error when calling ContentRefsApi->unset_label_with_http_info: #{e}"
|
327
|
+
end
|
328
|
+
```
|
329
|
+
|
330
|
+
### Parameters
|
331
|
+
|
332
|
+
| Name | Type | Description | Notes |
|
333
|
+
| ---- | ---- | ----------- | ----- |
|
334
|
+
| **ostree_ostree_ref_href** | **String** | | |
|
335
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
336
|
+
|
337
|
+
### Return type
|
338
|
+
|
339
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
340
|
+
|
341
|
+
### Authorization
|
342
|
+
|
343
|
+
[basicAuth](../README.md#basicAuth)
|
344
|
+
|
345
|
+
### HTTP request headers
|
346
|
+
|
347
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
348
|
+
- **Accept**: application/json
|
349
|
+
|
data/docs/ContentSummariesApi.md
CHANGED
@@ -6,6 +6,8 @@ All URIs are relative to *http://localhost:24817*
|
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**list**](ContentSummariesApi.md#list) | **GET** /pulp/api/v3/content/ostree/summaries/ | List ostree summarys |
|
8
8
|
| [**read**](ContentSummariesApi.md#read) | **GET** {ostree_ostree_summary_href} | Inspect an ostree summary |
|
9
|
+
| [**set_label**](ContentSummariesApi.md#set_label) | **POST** {ostree_ostree_summary_href}set_label/ | Set a label |
|
10
|
+
| [**unset_label**](ContentSummariesApi.md#unset_label) | **POST** {ostree_ostree_summary_href}unset_label/ | Unset a label |
|
9
11
|
|
10
12
|
|
11
13
|
## list
|
@@ -37,6 +39,7 @@ opts = {
|
|
37
39
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
38
40
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
39
41
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
42
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
40
43
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
41
44
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
42
45
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
@@ -83,6 +86,7 @@ end
|
|
83
86
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
84
87
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
85
88
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
89
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
86
90
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
87
91
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
88
92
|
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -179,3 +183,147 @@ end
|
|
179
183
|
- **Content-Type**: Not defined
|
180
184
|
- **Accept**: application/json
|
181
185
|
|
186
|
+
|
187
|
+
## set_label
|
188
|
+
|
189
|
+
> <SetLabelResponse> set_label(ostree_ostree_summary_href, set_label)
|
190
|
+
|
191
|
+
Set a label
|
192
|
+
|
193
|
+
Set a single pulp_label on the object to a specific value or null.
|
194
|
+
|
195
|
+
### Examples
|
196
|
+
|
197
|
+
```ruby
|
198
|
+
require 'time'
|
199
|
+
require 'pulp_ostree_client'
|
200
|
+
# setup authorization
|
201
|
+
PulpOstreeClient.configure do |config|
|
202
|
+
# Configure HTTP basic authorization: basicAuth
|
203
|
+
config.username = 'YOUR USERNAME'
|
204
|
+
config.password = 'YOUR PASSWORD'
|
205
|
+
end
|
206
|
+
|
207
|
+
api_instance = PulpOstreeClient::ContentSummariesApi.new
|
208
|
+
ostree_ostree_summary_href = 'ostree_ostree_summary_href_example' # String |
|
209
|
+
set_label = PulpOstreeClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
210
|
+
|
211
|
+
begin
|
212
|
+
# Set a label
|
213
|
+
result = api_instance.set_label(ostree_ostree_summary_href, set_label)
|
214
|
+
p result
|
215
|
+
rescue PulpOstreeClient::ApiError => e
|
216
|
+
puts "Error when calling ContentSummariesApi->set_label: #{e}"
|
217
|
+
end
|
218
|
+
```
|
219
|
+
|
220
|
+
#### Using the set_label_with_http_info variant
|
221
|
+
|
222
|
+
This returns an Array which contains the response data, status code and headers.
|
223
|
+
|
224
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_summary_href, set_label)
|
225
|
+
|
226
|
+
```ruby
|
227
|
+
begin
|
228
|
+
# Set a label
|
229
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_summary_href, set_label)
|
230
|
+
p status_code # => 2xx
|
231
|
+
p headers # => { ... }
|
232
|
+
p data # => <SetLabelResponse>
|
233
|
+
rescue PulpOstreeClient::ApiError => e
|
234
|
+
puts "Error when calling ContentSummariesApi->set_label_with_http_info: #{e}"
|
235
|
+
end
|
236
|
+
```
|
237
|
+
|
238
|
+
### Parameters
|
239
|
+
|
240
|
+
| Name | Type | Description | Notes |
|
241
|
+
| ---- | ---- | ----------- | ----- |
|
242
|
+
| **ostree_ostree_summary_href** | **String** | | |
|
243
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
244
|
+
|
245
|
+
### Return type
|
246
|
+
|
247
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
248
|
+
|
249
|
+
### Authorization
|
250
|
+
|
251
|
+
[basicAuth](../README.md#basicAuth)
|
252
|
+
|
253
|
+
### HTTP request headers
|
254
|
+
|
255
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
256
|
+
- **Accept**: application/json
|
257
|
+
|
258
|
+
|
259
|
+
## unset_label
|
260
|
+
|
261
|
+
> <UnsetLabelResponse> unset_label(ostree_ostree_summary_href, unset_label)
|
262
|
+
|
263
|
+
Unset a label
|
264
|
+
|
265
|
+
Unset a single pulp_label on the object.
|
266
|
+
|
267
|
+
### Examples
|
268
|
+
|
269
|
+
```ruby
|
270
|
+
require 'time'
|
271
|
+
require 'pulp_ostree_client'
|
272
|
+
# setup authorization
|
273
|
+
PulpOstreeClient.configure do |config|
|
274
|
+
# Configure HTTP basic authorization: basicAuth
|
275
|
+
config.username = 'YOUR USERNAME'
|
276
|
+
config.password = 'YOUR PASSWORD'
|
277
|
+
end
|
278
|
+
|
279
|
+
api_instance = PulpOstreeClient::ContentSummariesApi.new
|
280
|
+
ostree_ostree_summary_href = 'ostree_ostree_summary_href_example' # String |
|
281
|
+
unset_label = PulpOstreeClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
282
|
+
|
283
|
+
begin
|
284
|
+
# Unset a label
|
285
|
+
result = api_instance.unset_label(ostree_ostree_summary_href, unset_label)
|
286
|
+
p result
|
287
|
+
rescue PulpOstreeClient::ApiError => e
|
288
|
+
puts "Error when calling ContentSummariesApi->unset_label: #{e}"
|
289
|
+
end
|
290
|
+
```
|
291
|
+
|
292
|
+
#### Using the unset_label_with_http_info variant
|
293
|
+
|
294
|
+
This returns an Array which contains the response data, status code and headers.
|
295
|
+
|
296
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_summary_href, unset_label)
|
297
|
+
|
298
|
+
```ruby
|
299
|
+
begin
|
300
|
+
# Unset a label
|
301
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_summary_href, unset_label)
|
302
|
+
p status_code # => 2xx
|
303
|
+
p headers # => { ... }
|
304
|
+
p data # => <UnsetLabelResponse>
|
305
|
+
rescue PulpOstreeClient::ApiError => e
|
306
|
+
puts "Error when calling ContentSummariesApi->unset_label_with_http_info: #{e}"
|
307
|
+
end
|
308
|
+
```
|
309
|
+
|
310
|
+
### Parameters
|
311
|
+
|
312
|
+
| Name | Type | Description | Notes |
|
313
|
+
| ---- | ---- | ----------- | ----- |
|
314
|
+
| **ostree_ostree_summary_href** | **String** | | |
|
315
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
316
|
+
|
317
|
+
### Return type
|
318
|
+
|
319
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
320
|
+
|
321
|
+
### Authorization
|
322
|
+
|
323
|
+
[basicAuth](../README.md#basicAuth)
|
324
|
+
|
325
|
+
### HTTP request headers
|
326
|
+
|
327
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
328
|
+
- **Accept**: application/json
|
329
|
+
|
@@ -256,6 +256,7 @@ opts = {
|
|
256
256
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
257
257
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
258
258
|
base_path__in: ['inner_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
259
|
+
checkpoint: true, # Boolean | Filter results where checkpoint matches value
|
259
260
|
limit: 56, # Integer | Number of results to return per page.
|
260
261
|
name: 'name_example', # String | Filter results where name matches value
|
261
262
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -267,7 +268,7 @@ opts = {
|
|
267
268
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
268
269
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
269
270
|
offset: 56, # Integer | The initial index from which to return the results.
|
270
|
-
ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
271
|
+
ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
271
272
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
272
273
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
273
274
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -315,6 +316,7 @@ end
|
|
315
316
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
316
317
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
317
318
|
| **base_path__in** | [**Array<String>**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
|
319
|
+
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
318
320
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
319
321
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
320
322
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -326,7 +328,7 @@ end
|
|
326
328
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
327
329
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
328
330
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
329
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
331
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
330
332
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
331
333
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
332
334
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
12
13
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
|
13
14
|
| **parent_commit** | **String** | | [optional] |
|
@@ -24,6 +25,7 @@ instance = PulpOstreeClient::OstreeOstreeCommitResponse.new(
|
|
24
25
|
prn: null,
|
25
26
|
pulp_created: null,
|
26
27
|
pulp_last_updated: null,
|
28
|
+
pulp_labels: null,
|
27
29
|
artifact: null,
|
28
30
|
relative_path: null,
|
29
31
|
parent_commit: null,
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
12
13
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
|
13
14
|
|
@@ -21,6 +22,7 @@ instance = PulpOstreeClient::OstreeOstreeConfigResponse.new(
|
|
21
22
|
prn: null,
|
22
23
|
pulp_created: null,
|
23
24
|
pulp_last_updated: null,
|
25
|
+
pulp_labels: null,
|
24
26
|
artifact: null,
|
25
27
|
relative_path: null
|
26
28
|
)
|
data/docs/OstreeOstreeContent.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
8
9
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
9
10
|
| **relative_path** | **String** | | |
|
10
11
|
| **digest** | **String** | | |
|
@@ -16,6 +17,7 @@ require 'pulp_ostree_client'
|
|
16
17
|
|
17
18
|
instance = PulpOstreeClient::OstreeOstreeContent.new(
|
18
19
|
repository: null,
|
20
|
+
pulp_labels: null,
|
19
21
|
artifact: null,
|
20
22
|
relative_path: null,
|
21
23
|
digest: null
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
12
13
|
| **relative_path** | **String** | | |
|
13
14
|
| **digest** | **String** | | |
|
@@ -22,6 +23,7 @@ instance = PulpOstreeClient::OstreeOstreeContentResponse.new(
|
|
22
23
|
prn: null,
|
23
24
|
pulp_created: null,
|
24
25
|
pulp_last_updated: null,
|
26
|
+
pulp_labels: null,
|
25
27
|
artifact: null,
|
26
28
|
relative_path: null,
|
27
29
|
digest: null
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
12
13
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
|
13
14
|
| **checksum** | **String** | | |
|
@@ -23,6 +24,7 @@ instance = PulpOstreeClient::OstreeOstreeObjectResponse.new(
|
|
23
24
|
prn: null,
|
24
25
|
pulp_created: null,
|
25
26
|
pulp_last_updated: null,
|
27
|
+
pulp_labels: null,
|
26
28
|
artifact: null,
|
27
29
|
relative_path: null,
|
28
30
|
checksum: null,
|