pulp_container_client 2.24.1 → 2.24.3
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 +13 -4
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
- data/docs/ContentBlobsApi.md +158 -0
- data/docs/ContentManifestsApi.md +158 -0
- data/docs/ContentSignaturesApi.md +158 -0
- data/docs/ContentTagsApi.md +158 -0
- data/docs/DistributionsContainerApi.md +76 -34
- data/docs/DistributionsPullThroughApi.md +76 -34
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PulpContainerNamespacesApi.md +40 -16
- data/docs/RemotesContainerApi.md +72 -32
- data/docs/RemotesPullThroughApi.md +72 -32
- data/docs/RepositoriesContainerApi.md +138 -64
- data/docs/RepositoriesContainerPushApi.md +80 -36
- data/docs/RepositoriesContainerPushVersionsApi.md +22 -10
- data/docs/RepositoriesContainerVersionsApi.md +22 -10
- data/docs/TokenApi.md +14 -5
- data/lib/pulp_container_client/api/content_blobs_api.rb +160 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +160 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +160 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +160 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +42 -3
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +42 -3
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +63 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +15 -3
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +15 -3
- data/lib/pulp_container_client/api/token_api.rb +9 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +49 -49
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +49 -49
- data/lib/pulp_container_client/models/container_container_push_repository.rb +46 -46
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +69 -69
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +46 -46
- data/lib/pulp_container_client/models/unset_label.rb +1 -1
- data/lib/pulp_container_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/pulp_container_client.gemspec +0 -1
- data/spec/api/content_blobs_api_spec.rb +30 -0
- data/spec/api/content_manifests_api_spec.rb +30 -0
- data/spec/api/content_signatures_api_spec.rb +30 -0
- data/spec/api/content_tags_api_spec.rb +30 -0
- data/spec/api/distributions_container_api_spec.rb +14 -1
- data/spec/api/distributions_pull_through_api_spec.rb +14 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
- data/spec/api/remotes_container_api_spec.rb +12 -0
- data/spec/api/remotes_pull_through_api_spec.rb +12 -0
- data/spec/api/repositories_container_api_spec.rb +21 -0
- data/spec/api/repositories_container_push_api_spec.rb +13 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +5 -1
- data/spec/api/repositories_container_versions_api_spec.rb +5 -1
- data/spec/api/token_api_spec.rb +3 -0
- data/spec/models/container_container_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +11 -11
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +60 -80
|
@@ -20,7 +20,7 @@ All URIs are relative to *http://localhost:24817*
|
|
|
20
20
|
|
|
21
21
|
## add_role
|
|
22
22
|
|
|
23
|
-
> <NestedRoleResponse> add_role(container_container_distribution_href, nested_role)
|
|
23
|
+
> <NestedRoleResponse> add_role(container_container_distribution_href, nested_role, opts)
|
|
24
24
|
|
|
25
25
|
Add a role
|
|
26
26
|
|
|
@@ -41,10 +41,13 @@ end
|
|
|
41
41
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
42
42
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
43
43
|
nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
44
|
+
opts = {
|
|
45
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
46
|
+
}
|
|
44
47
|
|
|
45
48
|
begin
|
|
46
49
|
# Add a role
|
|
47
|
-
result = api_instance.add_role(container_container_distribution_href, nested_role)
|
|
50
|
+
result = api_instance.add_role(container_container_distribution_href, nested_role, opts)
|
|
48
51
|
p result
|
|
49
52
|
rescue PulpContainerClient::ApiError => e
|
|
50
53
|
puts "Error when calling DistributionsContainerApi->add_role: #{e}"
|
|
@@ -55,12 +58,12 @@ end
|
|
|
55
58
|
|
|
56
59
|
This returns an Array which contains the response data, status code and headers.
|
|
57
60
|
|
|
58
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_distribution_href, nested_role)
|
|
61
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
|
59
62
|
|
|
60
63
|
```ruby
|
|
61
64
|
begin
|
|
62
65
|
# Add a role
|
|
63
|
-
data, status_code, headers = api_instance.add_role_with_http_info(container_container_distribution_href, nested_role)
|
|
66
|
+
data, status_code, headers = api_instance.add_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
|
64
67
|
p status_code # => 2xx
|
|
65
68
|
p headers # => { ... }
|
|
66
69
|
p data # => <NestedRoleResponse>
|
|
@@ -75,6 +78,7 @@ end
|
|
|
75
78
|
| ---- | ---- | ----------- | ----- |
|
|
76
79
|
| **container_container_distribution_href** | **String** | | |
|
|
77
80
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
|
81
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
78
82
|
|
|
79
83
|
### Return type
|
|
80
84
|
|
|
@@ -92,7 +96,7 @@ end
|
|
|
92
96
|
|
|
93
97
|
## create
|
|
94
98
|
|
|
95
|
-
> <AsyncOperationResponse> create(container_container_distribution)
|
|
99
|
+
> <AsyncOperationResponse> create(container_container_distribution, opts)
|
|
96
100
|
|
|
97
101
|
Create a container distribution
|
|
98
102
|
|
|
@@ -112,10 +116,13 @@ end
|
|
|
112
116
|
|
|
113
117
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
114
118
|
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # ContainerContainerDistribution |
|
|
119
|
+
opts = {
|
|
120
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
121
|
+
}
|
|
115
122
|
|
|
116
123
|
begin
|
|
117
124
|
# Create a container distribution
|
|
118
|
-
result = api_instance.create(container_container_distribution)
|
|
125
|
+
result = api_instance.create(container_container_distribution, opts)
|
|
119
126
|
p result
|
|
120
127
|
rescue PulpContainerClient::ApiError => e
|
|
121
128
|
puts "Error when calling DistributionsContainerApi->create: #{e}"
|
|
@@ -126,12 +133,12 @@ end
|
|
|
126
133
|
|
|
127
134
|
This returns an Array which contains the response data, status code and headers.
|
|
128
135
|
|
|
129
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(container_container_distribution)
|
|
136
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(container_container_distribution, opts)
|
|
130
137
|
|
|
131
138
|
```ruby
|
|
132
139
|
begin
|
|
133
140
|
# Create a container distribution
|
|
134
|
-
data, status_code, headers = api_instance.create_with_http_info(container_container_distribution)
|
|
141
|
+
data, status_code, headers = api_instance.create_with_http_info(container_container_distribution, opts)
|
|
135
142
|
p status_code # => 2xx
|
|
136
143
|
p headers # => { ... }
|
|
137
144
|
p data # => <AsyncOperationResponse>
|
|
@@ -145,6 +152,7 @@ end
|
|
|
145
152
|
| Name | Type | Description | Notes |
|
|
146
153
|
| ---- | ---- | ----------- | ----- |
|
|
147
154
|
| **container_container_distribution** | [**ContainerContainerDistribution**](ContainerContainerDistribution.md) | | |
|
|
155
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
148
156
|
|
|
149
157
|
### Return type
|
|
150
158
|
|
|
@@ -162,7 +170,7 @@ end
|
|
|
162
170
|
|
|
163
171
|
## delete
|
|
164
172
|
|
|
165
|
-
> <AsyncOperationResponse> delete(container_container_distribution_href)
|
|
173
|
+
> <AsyncOperationResponse> delete(container_container_distribution_href, opts)
|
|
166
174
|
|
|
167
175
|
Delete a container distribution
|
|
168
176
|
|
|
@@ -182,10 +190,13 @@ end
|
|
|
182
190
|
|
|
183
191
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
184
192
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
193
|
+
opts = {
|
|
194
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
195
|
+
}
|
|
185
196
|
|
|
186
197
|
begin
|
|
187
198
|
# Delete a container distribution
|
|
188
|
-
result = api_instance.delete(container_container_distribution_href)
|
|
199
|
+
result = api_instance.delete(container_container_distribution_href, opts)
|
|
189
200
|
p result
|
|
190
201
|
rescue PulpContainerClient::ApiError => e
|
|
191
202
|
puts "Error when calling DistributionsContainerApi->delete: #{e}"
|
|
@@ -196,12 +207,12 @@ end
|
|
|
196
207
|
|
|
197
208
|
This returns an Array which contains the response data, status code and headers.
|
|
198
209
|
|
|
199
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(container_container_distribution_href)
|
|
210
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(container_container_distribution_href, opts)
|
|
200
211
|
|
|
201
212
|
```ruby
|
|
202
213
|
begin
|
|
203
214
|
# Delete a container distribution
|
|
204
|
-
data, status_code, headers = api_instance.delete_with_http_info(container_container_distribution_href)
|
|
215
|
+
data, status_code, headers = api_instance.delete_with_http_info(container_container_distribution_href, opts)
|
|
205
216
|
p status_code # => 2xx
|
|
206
217
|
p headers # => { ... }
|
|
207
218
|
p data # => <AsyncOperationResponse>
|
|
@@ -215,6 +226,7 @@ end
|
|
|
215
226
|
| Name | Type | Description | Notes |
|
|
216
227
|
| ---- | ---- | ----------- | ----- |
|
|
217
228
|
| **container_container_distribution_href** | **String** | | |
|
|
229
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
218
230
|
|
|
219
231
|
### Return type
|
|
220
232
|
|
|
@@ -252,10 +264,12 @@ end
|
|
|
252
264
|
|
|
253
265
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
254
266
|
opts = {
|
|
267
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
255
268
|
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
|
256
269
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
|
257
270
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
|
258
271
|
base_path__in: ['inner_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
|
272
|
+
checkpoint: true, # Boolean | Filter results where checkpoint matches value
|
|
259
273
|
limit: 56, # Integer | Number of results to return per page.
|
|
260
274
|
name: 'name_example', # String | Filter results where name matches value
|
|
261
275
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
@@ -268,7 +282,7 @@ opts = {
|
|
|
268
282
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
269
283
|
namespace__name: 'namespace__name_example', # String |
|
|
270
284
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
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) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
285
|
+
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) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
272
286
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
273
287
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
274
288
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
@@ -312,10 +326,12 @@ end
|
|
|
312
326
|
|
|
313
327
|
| Name | Type | Description | Notes |
|
|
314
328
|
| ---- | ---- | ----------- | ----- |
|
|
329
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
315
330
|
| **base_path** | **String** | Filter results where base_path matches value | [optional] |
|
|
316
331
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
|
317
332
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
|
318
333
|
| **base_path__in** | [**Array<String>**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
|
|
334
|
+
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
|
319
335
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
320
336
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
321
337
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
|
@@ -328,7 +344,7 @@ end
|
|
|
328
344
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
329
345
|
| **namespace__name** | **String** | | [optional] |
|
|
330
346
|
| **offset** | **Integer** | The initial index from which to return the results. | [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) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
347
|
+
| **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) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
332
348
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
333
349
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
334
350
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
@@ -377,6 +393,7 @@ end
|
|
|
377
393
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
378
394
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
379
395
|
opts = {
|
|
396
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
380
397
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
381
398
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
382
399
|
}
|
|
@@ -413,6 +430,7 @@ end
|
|
|
413
430
|
| Name | Type | Description | Notes |
|
|
414
431
|
| ---- | ---- | ----------- | ----- |
|
|
415
432
|
| **container_container_distribution_href** | **String** | | |
|
|
433
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
416
434
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
417
435
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
418
436
|
|
|
@@ -453,6 +471,7 @@ end
|
|
|
453
471
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
454
472
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
455
473
|
opts = {
|
|
474
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
456
475
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
457
476
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
458
477
|
}
|
|
@@ -489,6 +508,7 @@ end
|
|
|
489
508
|
| Name | Type | Description | Notes |
|
|
490
509
|
| ---- | ---- | ----------- | ----- |
|
|
491
510
|
| **container_container_distribution_href** | **String** | | |
|
|
511
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
492
512
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
493
513
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
494
514
|
|
|
@@ -508,7 +528,7 @@ end
|
|
|
508
528
|
|
|
509
529
|
## partial_update
|
|
510
530
|
|
|
511
|
-
> <AsyncOperationResponse> partial_update(container_container_distribution_href, patchedcontainer_container_distribution)
|
|
531
|
+
> <AsyncOperationResponse> partial_update(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
|
512
532
|
|
|
513
533
|
Update a container distribution
|
|
514
534
|
|
|
@@ -529,10 +549,13 @@ end
|
|
|
529
549
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
530
550
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
531
551
|
patchedcontainer_container_distribution = PulpContainerClient::PatchedcontainerContainerDistribution.new # PatchedcontainerContainerDistribution |
|
|
552
|
+
opts = {
|
|
553
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
554
|
+
}
|
|
532
555
|
|
|
533
556
|
begin
|
|
534
557
|
# Update a container distribution
|
|
535
|
-
result = api_instance.partial_update(container_container_distribution_href, patchedcontainer_container_distribution)
|
|
558
|
+
result = api_instance.partial_update(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
|
536
559
|
p result
|
|
537
560
|
rescue PulpContainerClient::ApiError => e
|
|
538
561
|
puts "Error when calling DistributionsContainerApi->partial_update: #{e}"
|
|
@@ -543,12 +566,12 @@ end
|
|
|
543
566
|
|
|
544
567
|
This returns an Array which contains the response data, status code and headers.
|
|
545
568
|
|
|
546
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution)
|
|
569
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
|
547
570
|
|
|
548
571
|
```ruby
|
|
549
572
|
begin
|
|
550
573
|
# Update a container distribution
|
|
551
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution)
|
|
574
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
|
552
575
|
p status_code # => 2xx
|
|
553
576
|
p headers # => { ... }
|
|
554
577
|
p data # => <AsyncOperationResponse>
|
|
@@ -563,6 +586,7 @@ end
|
|
|
563
586
|
| ---- | ---- | ----------- | ----- |
|
|
564
587
|
| **container_container_distribution_href** | **String** | | |
|
|
565
588
|
| **patchedcontainer_container_distribution** | [**PatchedcontainerContainerDistribution**](PatchedcontainerContainerDistribution.md) | | |
|
|
589
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
566
590
|
|
|
567
591
|
### Return type
|
|
568
592
|
|
|
@@ -601,6 +625,7 @@ end
|
|
|
601
625
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
602
626
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
603
627
|
opts = {
|
|
628
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
604
629
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
605
630
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
606
631
|
}
|
|
@@ -637,6 +662,7 @@ end
|
|
|
637
662
|
| Name | Type | Description | Notes |
|
|
638
663
|
| ---- | ---- | ----------- | ----- |
|
|
639
664
|
| **container_container_distribution_href** | **String** | | |
|
|
665
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
640
666
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
641
667
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
642
668
|
|
|
@@ -656,7 +682,7 @@ end
|
|
|
656
682
|
|
|
657
683
|
## remove_role
|
|
658
684
|
|
|
659
|
-
> <NestedRoleResponse> remove_role(container_container_distribution_href, nested_role)
|
|
685
|
+
> <NestedRoleResponse> remove_role(container_container_distribution_href, nested_role, opts)
|
|
660
686
|
|
|
661
687
|
Remove a role
|
|
662
688
|
|
|
@@ -677,10 +703,13 @@ end
|
|
|
677
703
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
678
704
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
679
705
|
nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
706
|
+
opts = {
|
|
707
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
708
|
+
}
|
|
680
709
|
|
|
681
710
|
begin
|
|
682
711
|
# Remove a role
|
|
683
|
-
result = api_instance.remove_role(container_container_distribution_href, nested_role)
|
|
712
|
+
result = api_instance.remove_role(container_container_distribution_href, nested_role, opts)
|
|
684
713
|
p result
|
|
685
714
|
rescue PulpContainerClient::ApiError => e
|
|
686
715
|
puts "Error when calling DistributionsContainerApi->remove_role: #{e}"
|
|
@@ -691,12 +720,12 @@ end
|
|
|
691
720
|
|
|
692
721
|
This returns an Array which contains the response data, status code and headers.
|
|
693
722
|
|
|
694
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_distribution_href, nested_role)
|
|
723
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
|
695
724
|
|
|
696
725
|
```ruby
|
|
697
726
|
begin
|
|
698
727
|
# Remove a role
|
|
699
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_distribution_href, nested_role)
|
|
728
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
|
700
729
|
p status_code # => 2xx
|
|
701
730
|
p headers # => { ... }
|
|
702
731
|
p data # => <NestedRoleResponse>
|
|
@@ -711,6 +740,7 @@ end
|
|
|
711
740
|
| ---- | ---- | ----------- | ----- |
|
|
712
741
|
| **container_container_distribution_href** | **String** | | |
|
|
713
742
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
|
743
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
714
744
|
|
|
715
745
|
### Return type
|
|
716
746
|
|
|
@@ -728,7 +758,7 @@ end
|
|
|
728
758
|
|
|
729
759
|
## set_label
|
|
730
760
|
|
|
731
|
-
> <SetLabelResponse> set_label(container_container_distribution_href, set_label)
|
|
761
|
+
> <SetLabelResponse> set_label(container_container_distribution_href, set_label, opts)
|
|
732
762
|
|
|
733
763
|
Set a label
|
|
734
764
|
|
|
@@ -749,10 +779,13 @@ end
|
|
|
749
779
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
750
780
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
751
781
|
set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
|
782
|
+
opts = {
|
|
783
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
784
|
+
}
|
|
752
785
|
|
|
753
786
|
begin
|
|
754
787
|
# Set a label
|
|
755
|
-
result = api_instance.set_label(container_container_distribution_href, set_label)
|
|
788
|
+
result = api_instance.set_label(container_container_distribution_href, set_label, opts)
|
|
756
789
|
p result
|
|
757
790
|
rescue PulpContainerClient::ApiError => e
|
|
758
791
|
puts "Error when calling DistributionsContainerApi->set_label: #{e}"
|
|
@@ -763,12 +796,12 @@ end
|
|
|
763
796
|
|
|
764
797
|
This returns an Array which contains the response data, status code and headers.
|
|
765
798
|
|
|
766
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_container_distribution_href, set_label)
|
|
799
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_container_distribution_href, set_label, opts)
|
|
767
800
|
|
|
768
801
|
```ruby
|
|
769
802
|
begin
|
|
770
803
|
# Set a label
|
|
771
|
-
data, status_code, headers = api_instance.set_label_with_http_info(container_container_distribution_href, set_label)
|
|
804
|
+
data, status_code, headers = api_instance.set_label_with_http_info(container_container_distribution_href, set_label, opts)
|
|
772
805
|
p status_code # => 2xx
|
|
773
806
|
p headers # => { ... }
|
|
774
807
|
p data # => <SetLabelResponse>
|
|
@@ -783,6 +816,7 @@ end
|
|
|
783
816
|
| ---- | ---- | ----------- | ----- |
|
|
784
817
|
| **container_container_distribution_href** | **String** | | |
|
|
785
818
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
|
819
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
786
820
|
|
|
787
821
|
### Return type
|
|
788
822
|
|
|
@@ -800,7 +834,7 @@ end
|
|
|
800
834
|
|
|
801
835
|
## unset_label
|
|
802
836
|
|
|
803
|
-
> <UnsetLabelResponse> unset_label(container_container_distribution_href, unset_label)
|
|
837
|
+
> <UnsetLabelResponse> unset_label(container_container_distribution_href, unset_label, opts)
|
|
804
838
|
|
|
805
839
|
Unset a label
|
|
806
840
|
|
|
@@ -821,10 +855,13 @@ end
|
|
|
821
855
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
822
856
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
823
857
|
unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
|
858
|
+
opts = {
|
|
859
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
860
|
+
}
|
|
824
861
|
|
|
825
862
|
begin
|
|
826
863
|
# Unset a label
|
|
827
|
-
result = api_instance.unset_label(container_container_distribution_href, unset_label)
|
|
864
|
+
result = api_instance.unset_label(container_container_distribution_href, unset_label, opts)
|
|
828
865
|
p result
|
|
829
866
|
rescue PulpContainerClient::ApiError => e
|
|
830
867
|
puts "Error when calling DistributionsContainerApi->unset_label: #{e}"
|
|
@@ -835,12 +872,12 @@ end
|
|
|
835
872
|
|
|
836
873
|
This returns an Array which contains the response data, status code and headers.
|
|
837
874
|
|
|
838
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_container_distribution_href, unset_label)
|
|
875
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_container_distribution_href, unset_label, opts)
|
|
839
876
|
|
|
840
877
|
```ruby
|
|
841
878
|
begin
|
|
842
879
|
# Unset a label
|
|
843
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(container_container_distribution_href, unset_label)
|
|
880
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(container_container_distribution_href, unset_label, opts)
|
|
844
881
|
p status_code # => 2xx
|
|
845
882
|
p headers # => { ... }
|
|
846
883
|
p data # => <UnsetLabelResponse>
|
|
@@ -855,6 +892,7 @@ end
|
|
|
855
892
|
| ---- | ---- | ----------- | ----- |
|
|
856
893
|
| **container_container_distribution_href** | **String** | | |
|
|
857
894
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
|
895
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
858
896
|
|
|
859
897
|
### Return type
|
|
860
898
|
|
|
@@ -872,7 +910,7 @@ end
|
|
|
872
910
|
|
|
873
911
|
## update
|
|
874
912
|
|
|
875
|
-
> <AsyncOperationResponse> update(container_container_distribution_href, container_container_distribution)
|
|
913
|
+
> <AsyncOperationResponse> update(container_container_distribution_href, container_container_distribution, opts)
|
|
876
914
|
|
|
877
915
|
Update a container distribution
|
|
878
916
|
|
|
@@ -893,10 +931,13 @@ end
|
|
|
893
931
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
894
932
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
895
933
|
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # ContainerContainerDistribution |
|
|
934
|
+
opts = {
|
|
935
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
936
|
+
}
|
|
896
937
|
|
|
897
938
|
begin
|
|
898
939
|
# Update a container distribution
|
|
899
|
-
result = api_instance.update(container_container_distribution_href, container_container_distribution)
|
|
940
|
+
result = api_instance.update(container_container_distribution_href, container_container_distribution, opts)
|
|
900
941
|
p result
|
|
901
942
|
rescue PulpContainerClient::ApiError => e
|
|
902
943
|
puts "Error when calling DistributionsContainerApi->update: #{e}"
|
|
@@ -907,12 +948,12 @@ end
|
|
|
907
948
|
|
|
908
949
|
This returns an Array which contains the response data, status code and headers.
|
|
909
950
|
|
|
910
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_distribution_href, container_container_distribution)
|
|
951
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_distribution_href, container_container_distribution, opts)
|
|
911
952
|
|
|
912
953
|
```ruby
|
|
913
954
|
begin
|
|
914
955
|
# Update a container distribution
|
|
915
|
-
data, status_code, headers = api_instance.update_with_http_info(container_container_distribution_href, container_container_distribution)
|
|
956
|
+
data, status_code, headers = api_instance.update_with_http_info(container_container_distribution_href, container_container_distribution, opts)
|
|
916
957
|
p status_code # => 2xx
|
|
917
958
|
p headers # => { ... }
|
|
918
959
|
p data # => <AsyncOperationResponse>
|
|
@@ -927,6 +968,7 @@ end
|
|
|
927
968
|
| ---- | ---- | ----------- | ----- |
|
|
928
969
|
| **container_container_distribution_href** | **String** | | |
|
|
929
970
|
| **container_container_distribution** | [**ContainerContainerDistribution**](ContainerContainerDistribution.md) | | |
|
|
971
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
930
972
|
|
|
931
973
|
### Return type
|
|
932
974
|
|