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_pull_through_distribution_href, nested_role)
|
|
23
|
+
> <NestedRoleResponse> add_role(container_container_pull_through_distribution_href, nested_role, opts)
|
|
24
24
|
|
|
25
25
|
Add a role
|
|
26
26
|
|
|
@@ -41,10 +41,13 @@ end
|
|
|
41
41
|
api_instance = PulpContainerClient::DistributionsPullThroughApi.new
|
|
42
42
|
container_container_pull_through_distribution_href = 'container_container_pull_through_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_pull_through_distribution_href, nested_role)
|
|
50
|
+
result = api_instance.add_role(container_container_pull_through_distribution_href, nested_role, opts)
|
|
48
51
|
p result
|
|
49
52
|
rescue PulpContainerClient::ApiError => e
|
|
50
53
|
puts "Error when calling DistributionsPullThroughApi->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_pull_through_distribution_href, nested_role)
|
|
61
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_pull_through_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_pull_through_distribution_href, nested_role)
|
|
66
|
+
data, status_code, headers = api_instance.add_role_with_http_info(container_container_pull_through_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_pull_through_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_pull_through_distribution)
|
|
99
|
+
> <AsyncOperationResponse> create(container_container_pull_through_distribution, opts)
|
|
96
100
|
|
|
97
101
|
Create a container pull through distribution
|
|
98
102
|
|
|
@@ -112,10 +116,13 @@ end
|
|
|
112
116
|
|
|
113
117
|
api_instance = PulpContainerClient::DistributionsPullThroughApi.new
|
|
114
118
|
container_container_pull_through_distribution = PulpContainerClient::ContainerContainerPullThroughDistribution.new({base_path: 'base_path_example', name: 'name_example', remote: 'remote_example'}) # ContainerContainerPullThroughDistribution |
|
|
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 pull through distribution
|
|
118
|
-
result = api_instance.create(container_container_pull_through_distribution)
|
|
125
|
+
result = api_instance.create(container_container_pull_through_distribution, opts)
|
|
119
126
|
p result
|
|
120
127
|
rescue PulpContainerClient::ApiError => e
|
|
121
128
|
puts "Error when calling DistributionsPullThroughApi->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_pull_through_distribution)
|
|
136
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(container_container_pull_through_distribution, opts)
|
|
130
137
|
|
|
131
138
|
```ruby
|
|
132
139
|
begin
|
|
133
140
|
# Create a container pull through distribution
|
|
134
|
-
data, status_code, headers = api_instance.create_with_http_info(container_container_pull_through_distribution)
|
|
141
|
+
data, status_code, headers = api_instance.create_with_http_info(container_container_pull_through_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_pull_through_distribution** | [**ContainerContainerPullThroughDistribution**](ContainerContainerPullThroughDistribution.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_pull_through_distribution_href)
|
|
173
|
+
> <AsyncOperationResponse> delete(container_container_pull_through_distribution_href, opts)
|
|
166
174
|
|
|
167
175
|
Delete a container pull through distribution
|
|
168
176
|
|
|
@@ -182,10 +190,13 @@ end
|
|
|
182
190
|
|
|
183
191
|
api_instance = PulpContainerClient::DistributionsPullThroughApi.new
|
|
184
192
|
container_container_pull_through_distribution_href = 'container_container_pull_through_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 pull through distribution
|
|
188
|
-
result = api_instance.delete(container_container_pull_through_distribution_href)
|
|
199
|
+
result = api_instance.delete(container_container_pull_through_distribution_href, opts)
|
|
189
200
|
p result
|
|
190
201
|
rescue PulpContainerClient::ApiError => e
|
|
191
202
|
puts "Error when calling DistributionsPullThroughApi->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_pull_through_distribution_href)
|
|
210
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(container_container_pull_through_distribution_href, opts)
|
|
200
211
|
|
|
201
212
|
```ruby
|
|
202
213
|
begin
|
|
203
214
|
# Delete a container pull through distribution
|
|
204
|
-
data, status_code, headers = api_instance.delete_with_http_info(container_container_pull_through_distribution_href)
|
|
215
|
+
data, status_code, headers = api_instance.delete_with_http_info(container_container_pull_through_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_pull_through_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::DistributionsPullThroughApi.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
|
|
@@ -267,7 +281,7 @@ opts = {
|
|
|
267
281
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
268
282
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
269
283
|
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)
|
|
284
|
+
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
285
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
272
286
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
273
287
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
@@ -311,10 +325,12 @@ end
|
|
|
311
325
|
|
|
312
326
|
| Name | Type | Description | Notes |
|
|
313
327
|
| ---- | ---- | ----------- | ----- |
|
|
328
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
314
329
|
| **base_path** | **String** | Filter results where base_path matches value | [optional] |
|
|
315
330
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
|
316
331
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
|
317
332
|
| **base_path__in** | [**Array<String>**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
|
|
333
|
+
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
|
318
334
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
319
335
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
320
336
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
|
@@ -326,7 +342,7 @@ end
|
|
|
326
342
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
327
343
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
328
344
|
| **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] |
|
|
345
|
+
| **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
346
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
331
347
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
332
348
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
@@ -375,6 +391,7 @@ end
|
|
|
375
391
|
api_instance = PulpContainerClient::DistributionsPullThroughApi.new
|
|
376
392
|
container_container_pull_through_distribution_href = 'container_container_pull_through_distribution_href_example' # String |
|
|
377
393
|
opts = {
|
|
394
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
378
395
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
379
396
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
380
397
|
}
|
|
@@ -411,6 +428,7 @@ end
|
|
|
411
428
|
| Name | Type | Description | Notes |
|
|
412
429
|
| ---- | ---- | ----------- | ----- |
|
|
413
430
|
| **container_container_pull_through_distribution_href** | **String** | | |
|
|
431
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
414
432
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
415
433
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
416
434
|
|
|
@@ -451,6 +469,7 @@ end
|
|
|
451
469
|
api_instance = PulpContainerClient::DistributionsPullThroughApi.new
|
|
452
470
|
container_container_pull_through_distribution_href = 'container_container_pull_through_distribution_href_example' # String |
|
|
453
471
|
opts = {
|
|
472
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
454
473
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
455
474
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
456
475
|
}
|
|
@@ -487,6 +506,7 @@ end
|
|
|
487
506
|
| Name | Type | Description | Notes |
|
|
488
507
|
| ---- | ---- | ----------- | ----- |
|
|
489
508
|
| **container_container_pull_through_distribution_href** | **String** | | |
|
|
509
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
490
510
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
491
511
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
492
512
|
|
|
@@ -506,7 +526,7 @@ end
|
|
|
506
526
|
|
|
507
527
|
## partial_update
|
|
508
528
|
|
|
509
|
-
> <AsyncOperationResponse> partial_update(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution)
|
|
529
|
+
> <AsyncOperationResponse> partial_update(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts)
|
|
510
530
|
|
|
511
531
|
Update a container pull through distribution
|
|
512
532
|
|
|
@@ -527,10 +547,13 @@ end
|
|
|
527
547
|
api_instance = PulpContainerClient::DistributionsPullThroughApi.new
|
|
528
548
|
container_container_pull_through_distribution_href = 'container_container_pull_through_distribution_href_example' # String |
|
|
529
549
|
patchedcontainer_container_pull_through_distribution = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new # PatchedcontainerContainerPullThroughDistribution |
|
|
550
|
+
opts = {
|
|
551
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
552
|
+
}
|
|
530
553
|
|
|
531
554
|
begin
|
|
532
555
|
# Update a container pull through distribution
|
|
533
|
-
result = api_instance.partial_update(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution)
|
|
556
|
+
result = api_instance.partial_update(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts)
|
|
534
557
|
p result
|
|
535
558
|
rescue PulpContainerClient::ApiError => e
|
|
536
559
|
puts "Error when calling DistributionsPullThroughApi->partial_update: #{e}"
|
|
@@ -541,12 +564,12 @@ end
|
|
|
541
564
|
|
|
542
565
|
This returns an Array which contains the response data, status code and headers.
|
|
543
566
|
|
|
544
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution)
|
|
567
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts)
|
|
545
568
|
|
|
546
569
|
```ruby
|
|
547
570
|
begin
|
|
548
571
|
# Update a container pull through distribution
|
|
549
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution)
|
|
572
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts)
|
|
550
573
|
p status_code # => 2xx
|
|
551
574
|
p headers # => { ... }
|
|
552
575
|
p data # => <AsyncOperationResponse>
|
|
@@ -561,6 +584,7 @@ end
|
|
|
561
584
|
| ---- | ---- | ----------- | ----- |
|
|
562
585
|
| **container_container_pull_through_distribution_href** | **String** | | |
|
|
563
586
|
| **patchedcontainer_container_pull_through_distribution** | [**PatchedcontainerContainerPullThroughDistribution**](PatchedcontainerContainerPullThroughDistribution.md) | | |
|
|
587
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
564
588
|
|
|
565
589
|
### Return type
|
|
566
590
|
|
|
@@ -599,6 +623,7 @@ end
|
|
|
599
623
|
api_instance = PulpContainerClient::DistributionsPullThroughApi.new
|
|
600
624
|
container_container_pull_through_distribution_href = 'container_container_pull_through_distribution_href_example' # String |
|
|
601
625
|
opts = {
|
|
626
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
602
627
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
603
628
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
604
629
|
}
|
|
@@ -635,6 +660,7 @@ end
|
|
|
635
660
|
| Name | Type | Description | Notes |
|
|
636
661
|
| ---- | ---- | ----------- | ----- |
|
|
637
662
|
| **container_container_pull_through_distribution_href** | **String** | | |
|
|
663
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
638
664
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
639
665
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
640
666
|
|
|
@@ -654,7 +680,7 @@ end
|
|
|
654
680
|
|
|
655
681
|
## remove_role
|
|
656
682
|
|
|
657
|
-
> <NestedRoleResponse> remove_role(container_container_pull_through_distribution_href, nested_role)
|
|
683
|
+
> <NestedRoleResponse> remove_role(container_container_pull_through_distribution_href, nested_role, opts)
|
|
658
684
|
|
|
659
685
|
Remove a role
|
|
660
686
|
|
|
@@ -675,10 +701,13 @@ end
|
|
|
675
701
|
api_instance = PulpContainerClient::DistributionsPullThroughApi.new
|
|
676
702
|
container_container_pull_through_distribution_href = 'container_container_pull_through_distribution_href_example' # String |
|
|
677
703
|
nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
704
|
+
opts = {
|
|
705
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
706
|
+
}
|
|
678
707
|
|
|
679
708
|
begin
|
|
680
709
|
# Remove a role
|
|
681
|
-
result = api_instance.remove_role(container_container_pull_through_distribution_href, nested_role)
|
|
710
|
+
result = api_instance.remove_role(container_container_pull_through_distribution_href, nested_role, opts)
|
|
682
711
|
p result
|
|
683
712
|
rescue PulpContainerClient::ApiError => e
|
|
684
713
|
puts "Error when calling DistributionsPullThroughApi->remove_role: #{e}"
|
|
@@ -689,12 +718,12 @@ end
|
|
|
689
718
|
|
|
690
719
|
This returns an Array which contains the response data, status code and headers.
|
|
691
720
|
|
|
692
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_pull_through_distribution_href, nested_role)
|
|
721
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts)
|
|
693
722
|
|
|
694
723
|
```ruby
|
|
695
724
|
begin
|
|
696
725
|
# Remove a role
|
|
697
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_pull_through_distribution_href, nested_role)
|
|
726
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts)
|
|
698
727
|
p status_code # => 2xx
|
|
699
728
|
p headers # => { ... }
|
|
700
729
|
p data # => <NestedRoleResponse>
|
|
@@ -709,6 +738,7 @@ end
|
|
|
709
738
|
| ---- | ---- | ----------- | ----- |
|
|
710
739
|
| **container_container_pull_through_distribution_href** | **String** | | |
|
|
711
740
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
|
741
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
712
742
|
|
|
713
743
|
### Return type
|
|
714
744
|
|
|
@@ -726,7 +756,7 @@ end
|
|
|
726
756
|
|
|
727
757
|
## set_label
|
|
728
758
|
|
|
729
|
-
> <SetLabelResponse> set_label(container_container_pull_through_distribution_href, set_label)
|
|
759
|
+
> <SetLabelResponse> set_label(container_container_pull_through_distribution_href, set_label, opts)
|
|
730
760
|
|
|
731
761
|
Set a label
|
|
732
762
|
|
|
@@ -747,10 +777,13 @@ end
|
|
|
747
777
|
api_instance = PulpContainerClient::DistributionsPullThroughApi.new
|
|
748
778
|
container_container_pull_through_distribution_href = 'container_container_pull_through_distribution_href_example' # String |
|
|
749
779
|
set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
|
780
|
+
opts = {
|
|
781
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
782
|
+
}
|
|
750
783
|
|
|
751
784
|
begin
|
|
752
785
|
# Set a label
|
|
753
|
-
result = api_instance.set_label(container_container_pull_through_distribution_href, set_label)
|
|
786
|
+
result = api_instance.set_label(container_container_pull_through_distribution_href, set_label, opts)
|
|
754
787
|
p result
|
|
755
788
|
rescue PulpContainerClient::ApiError => e
|
|
756
789
|
puts "Error when calling DistributionsPullThroughApi->set_label: #{e}"
|
|
@@ -761,12 +794,12 @@ end
|
|
|
761
794
|
|
|
762
795
|
This returns an Array which contains the response data, status code and headers.
|
|
763
796
|
|
|
764
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_container_pull_through_distribution_href, set_label)
|
|
797
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_container_pull_through_distribution_href, set_label, opts)
|
|
765
798
|
|
|
766
799
|
```ruby
|
|
767
800
|
begin
|
|
768
801
|
# Set a label
|
|
769
|
-
data, status_code, headers = api_instance.set_label_with_http_info(container_container_pull_through_distribution_href, set_label)
|
|
802
|
+
data, status_code, headers = api_instance.set_label_with_http_info(container_container_pull_through_distribution_href, set_label, opts)
|
|
770
803
|
p status_code # => 2xx
|
|
771
804
|
p headers # => { ... }
|
|
772
805
|
p data # => <SetLabelResponse>
|
|
@@ -781,6 +814,7 @@ end
|
|
|
781
814
|
| ---- | ---- | ----------- | ----- |
|
|
782
815
|
| **container_container_pull_through_distribution_href** | **String** | | |
|
|
783
816
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
|
817
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
784
818
|
|
|
785
819
|
### Return type
|
|
786
820
|
|
|
@@ -798,7 +832,7 @@ end
|
|
|
798
832
|
|
|
799
833
|
## unset_label
|
|
800
834
|
|
|
801
|
-
> <UnsetLabelResponse> unset_label(container_container_pull_through_distribution_href, unset_label)
|
|
835
|
+
> <UnsetLabelResponse> unset_label(container_container_pull_through_distribution_href, unset_label, opts)
|
|
802
836
|
|
|
803
837
|
Unset a label
|
|
804
838
|
|
|
@@ -819,10 +853,13 @@ end
|
|
|
819
853
|
api_instance = PulpContainerClient::DistributionsPullThroughApi.new
|
|
820
854
|
container_container_pull_through_distribution_href = 'container_container_pull_through_distribution_href_example' # String |
|
|
821
855
|
unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
|
856
|
+
opts = {
|
|
857
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
858
|
+
}
|
|
822
859
|
|
|
823
860
|
begin
|
|
824
861
|
# Unset a label
|
|
825
|
-
result = api_instance.unset_label(container_container_pull_through_distribution_href, unset_label)
|
|
862
|
+
result = api_instance.unset_label(container_container_pull_through_distribution_href, unset_label, opts)
|
|
826
863
|
p result
|
|
827
864
|
rescue PulpContainerClient::ApiError => e
|
|
828
865
|
puts "Error when calling DistributionsPullThroughApi->unset_label: #{e}"
|
|
@@ -833,12 +870,12 @@ end
|
|
|
833
870
|
|
|
834
871
|
This returns an Array which contains the response data, status code and headers.
|
|
835
872
|
|
|
836
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_container_pull_through_distribution_href, unset_label)
|
|
873
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_container_pull_through_distribution_href, unset_label, opts)
|
|
837
874
|
|
|
838
875
|
```ruby
|
|
839
876
|
begin
|
|
840
877
|
# Unset a label
|
|
841
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(container_container_pull_through_distribution_href, unset_label)
|
|
878
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(container_container_pull_through_distribution_href, unset_label, opts)
|
|
842
879
|
p status_code # => 2xx
|
|
843
880
|
p headers # => { ... }
|
|
844
881
|
p data # => <UnsetLabelResponse>
|
|
@@ -853,6 +890,7 @@ end
|
|
|
853
890
|
| ---- | ---- | ----------- | ----- |
|
|
854
891
|
| **container_container_pull_through_distribution_href** | **String** | | |
|
|
855
892
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
|
893
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
856
894
|
|
|
857
895
|
### Return type
|
|
858
896
|
|
|
@@ -870,7 +908,7 @@ end
|
|
|
870
908
|
|
|
871
909
|
## update
|
|
872
910
|
|
|
873
|
-
> <AsyncOperationResponse> update(container_container_pull_through_distribution_href, container_container_pull_through_distribution)
|
|
911
|
+
> <AsyncOperationResponse> update(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts)
|
|
874
912
|
|
|
875
913
|
Update a container pull through distribution
|
|
876
914
|
|
|
@@ -891,10 +929,13 @@ end
|
|
|
891
929
|
api_instance = PulpContainerClient::DistributionsPullThroughApi.new
|
|
892
930
|
container_container_pull_through_distribution_href = 'container_container_pull_through_distribution_href_example' # String |
|
|
893
931
|
container_container_pull_through_distribution = PulpContainerClient::ContainerContainerPullThroughDistribution.new({base_path: 'base_path_example', name: 'name_example', remote: 'remote_example'}) # ContainerContainerPullThroughDistribution |
|
|
932
|
+
opts = {
|
|
933
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
934
|
+
}
|
|
894
935
|
|
|
895
936
|
begin
|
|
896
937
|
# Update a container pull through distribution
|
|
897
|
-
result = api_instance.update(container_container_pull_through_distribution_href, container_container_pull_through_distribution)
|
|
938
|
+
result = api_instance.update(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts)
|
|
898
939
|
p result
|
|
899
940
|
rescue PulpContainerClient::ApiError => e
|
|
900
941
|
puts "Error when calling DistributionsPullThroughApi->update: #{e}"
|
|
@@ -905,12 +946,12 @@ end
|
|
|
905
946
|
|
|
906
947
|
This returns an Array which contains the response data, status code and headers.
|
|
907
948
|
|
|
908
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution)
|
|
949
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts)
|
|
909
950
|
|
|
910
951
|
```ruby
|
|
911
952
|
begin
|
|
912
953
|
# Update a container pull through distribution
|
|
913
|
-
data, status_code, headers = api_instance.update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution)
|
|
954
|
+
data, status_code, headers = api_instance.update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts)
|
|
914
955
|
p status_code # => 2xx
|
|
915
956
|
p headers # => { ... }
|
|
916
957
|
p data # => <AsyncOperationResponse>
|
|
@@ -925,6 +966,7 @@ end
|
|
|
925
966
|
| ---- | ---- | ----------- | ----- |
|
|
926
967
|
| **container_container_pull_through_distribution_href** | **String** | | |
|
|
927
968
|
| **container_container_pull_through_distribution** | [**ContainerContainerPullThroughDistribution**](ContainerContainerPullThroughDistribution.md) | | |
|
|
969
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
928
970
|
|
|
929
971
|
### Return type
|
|
930
972
|
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
8
7
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] |
|
|
9
8
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
|
10
|
-
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
|
11
9
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
+
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
|
12
11
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
12
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
13
13
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
14
14
|
| **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional] |
|
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
require 'pulp_container_client'
|
|
21
21
|
|
|
22
22
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
|
23
|
-
hidden: null,
|
|
24
23
|
base_path: null,
|
|
25
24
|
name: null,
|
|
26
|
-
content_guard: null,
|
|
27
25
|
pulp_labels: null,
|
|
26
|
+
content_guard: null,
|
|
28
27
|
repository: null,
|
|
28
|
+
hidden: null,
|
|
29
29
|
repository_version: null,
|
|
30
30
|
private: null,
|
|
31
31
|
description: null
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
8
7
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] |
|
|
9
8
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
|
10
|
-
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
|
11
9
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
+
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
|
12
11
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
12
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
13
13
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
14
14
|
| **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional] |
|
|
15
15
|
| **private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional] |
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
require 'pulp_container_client'
|
|
22
22
|
|
|
23
23
|
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(
|
|
24
|
-
hidden: null,
|
|
25
24
|
base_path: null,
|
|
26
25
|
name: null,
|
|
27
|
-
content_guard: null,
|
|
28
26
|
pulp_labels: null,
|
|
27
|
+
content_guard: null,
|
|
29
28
|
repository: null,
|
|
29
|
+
hidden: null,
|
|
30
30
|
remote: null,
|
|
31
31
|
distributions: null,
|
|
32
32
|
private: null,
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
|
8
|
-
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
9
7
|
| **name** | **String** | A unique name for this repository. | [optional] |
|
|
10
|
-
| **
|
|
8
|
+
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
9
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
+
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
|
11
|
+
| **description** | **String** | An optional description. | [optional] |
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
require 'pulp_container_client'
|
|
17
17
|
|
|
18
18
|
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
|
19
|
-
manifest_signing_service: null,
|
|
20
|
-
retain_repo_versions: null,
|
|
21
19
|
name: null,
|
|
22
|
-
|
|
23
|
-
pulp_labels: null
|
|
20
|
+
retain_repo_versions: null,
|
|
21
|
+
pulp_labels: null,
|
|
22
|
+
manifest_signing_service: null,
|
|
23
|
+
description: null
|
|
24
24
|
)
|
|
25
25
|
```
|
|
26
26
|
|