pulp_container_client 2.24.6 → 2.25.0
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 +4 -5
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +16 -16
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/ContentBlobsApi.md +8 -20
- data/docs/ContentManifestsApi.md +8 -20
- data/docs/ContentSignaturesApi.md +8 -20
- data/docs/ContentTagsApi.md +8 -20
- data/docs/DistributionsContainerApi.md +32 -72
- data/docs/DistributionsPullThroughApi.md +32 -72
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PulpContainerNamespacesApi.md +16 -40
- data/docs/RemotesContainerApi.md +32 -72
- data/docs/RemotesPullThroughApi.md +32 -72
- data/docs/RepositoriesContainerApi.md +64 -138
- data/docs/RepositoriesContainerPushApi.md +36 -80
- data/docs/RepositoriesContainerPushVersionsApi.md +10 -22
- data/docs/RepositoriesContainerVersionsApi.md +10 -22
- data/docs/TokenApi.md +5 -14
- data/lib/pulp_container_client/api/content_blobs_api.rb +0 -12
- data/lib/pulp_container_client/api/content_manifests_api.rb +0 -12
- data/lib/pulp_container_client/api/content_signatures_api.rb +0 -12
- data/lib/pulp_container_client/api/content_tags_api.rb +0 -12
- data/lib/pulp_container_client/api/distributions_container_api.rb +0 -36
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +0 -36
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +0 -24
- data/lib/pulp_container_client/api/remotes_container_api.rb +0 -36
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +0 -36
- data/lib/pulp_container_client/api/repositories_container_api.rb +0 -63
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -39
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +3 -15
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +3 -15
- data/lib/pulp_container_client/api/token_api.rb +0 -9
- data/lib/pulp_container_client/models/container_container_distribution.rb +31 -31
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +73 -73
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +31 -31
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +73 -73
- data/lib/pulp_container_client/models/container_container_push_repository.rb +43 -43
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +66 -66
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +29 -29
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +29 -29
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +41 -41
- data/lib/pulp_container_client/version.rb +1 -1
- data/pulp_container_client.gemspec +1 -0
- data/spec/api/content_blobs_api_spec.rb +0 -4
- data/spec/api/content_manifests_api_spec.rb +0 -4
- data/spec/api/content_signatures_api_spec.rb +0 -4
- data/spec/api/content_tags_api_spec.rb +0 -4
- data/spec/api/distributions_container_api_spec.rb +0 -12
- data/spec/api/distributions_pull_through_api_spec.rb +0 -12
- data/spec/api/pulp_container_namespaces_api_spec.rb +0 -8
- data/spec/api/remotes_container_api_spec.rb +0 -12
- data/spec/api/remotes_pull_through_api_spec.rb +0 -12
- data/spec/api/repositories_container_api_spec.rb +0 -21
- data/spec/api/repositories_container_push_api_spec.rb +0 -13
- data/spec/api/repositories_container_push_versions_api_spec.rb +1 -5
- data/spec/api/repositories_container_versions_api_spec.rb +1 -5
- data/spec/api/token_api_spec.rb +0 -3
- 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 +5 -5
- 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 +5 -5
- metadata +80 -60
|
@@ -29,7 +29,7 @@ All URIs are relative to *http://localhost:24817*
|
|
|
29
29
|
|
|
30
30
|
## add
|
|
31
31
|
|
|
32
|
-
> <AsyncOperationResponse> add(container_container_repository_href, recursive_manage
|
|
32
|
+
> <AsyncOperationResponse> add(container_container_repository_href, recursive_manage)
|
|
33
33
|
|
|
34
34
|
Add content
|
|
35
35
|
|
|
@@ -50,13 +50,10 @@ end
|
|
|
50
50
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
51
51
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
52
52
|
recursive_manage = PulpContainerClient::RecursiveManage.new # RecursiveManage |
|
|
53
|
-
opts = {
|
|
54
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
55
|
-
}
|
|
56
53
|
|
|
57
54
|
begin
|
|
58
55
|
# Add content
|
|
59
|
-
result = api_instance.add(container_container_repository_href, recursive_manage
|
|
56
|
+
result = api_instance.add(container_container_repository_href, recursive_manage)
|
|
60
57
|
p result
|
|
61
58
|
rescue PulpContainerClient::ApiError => e
|
|
62
59
|
puts "Error when calling RepositoriesContainerApi->add: #{e}"
|
|
@@ -67,12 +64,12 @@ end
|
|
|
67
64
|
|
|
68
65
|
This returns an Array which contains the response data, status code and headers.
|
|
69
66
|
|
|
70
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> add_with_http_info(container_container_repository_href, recursive_manage
|
|
67
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> add_with_http_info(container_container_repository_href, recursive_manage)
|
|
71
68
|
|
|
72
69
|
```ruby
|
|
73
70
|
begin
|
|
74
71
|
# Add content
|
|
75
|
-
data, status_code, headers = api_instance.add_with_http_info(container_container_repository_href, recursive_manage
|
|
72
|
+
data, status_code, headers = api_instance.add_with_http_info(container_container_repository_href, recursive_manage)
|
|
76
73
|
p status_code # => 2xx
|
|
77
74
|
p headers # => { ... }
|
|
78
75
|
p data # => <AsyncOperationResponse>
|
|
@@ -87,7 +84,6 @@ end
|
|
|
87
84
|
| ---- | ---- | ----------- | ----- |
|
|
88
85
|
| **container_container_repository_href** | **String** | | |
|
|
89
86
|
| **recursive_manage** | [**RecursiveManage**](RecursiveManage.md) | | |
|
|
90
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
91
87
|
|
|
92
88
|
### Return type
|
|
93
89
|
|
|
@@ -105,7 +101,7 @@ end
|
|
|
105
101
|
|
|
106
102
|
## add_role
|
|
107
103
|
|
|
108
|
-
> <NestedRoleResponse> add_role(container_container_repository_href, nested_role
|
|
104
|
+
> <NestedRoleResponse> add_role(container_container_repository_href, nested_role)
|
|
109
105
|
|
|
110
106
|
Add a role
|
|
111
107
|
|
|
@@ -126,13 +122,10 @@ end
|
|
|
126
122
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
127
123
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
128
124
|
nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
129
|
-
opts = {
|
|
130
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
131
|
-
}
|
|
132
125
|
|
|
133
126
|
begin
|
|
134
127
|
# Add a role
|
|
135
|
-
result = api_instance.add_role(container_container_repository_href, nested_role
|
|
128
|
+
result = api_instance.add_role(container_container_repository_href, nested_role)
|
|
136
129
|
p result
|
|
137
130
|
rescue PulpContainerClient::ApiError => e
|
|
138
131
|
puts "Error when calling RepositoriesContainerApi->add_role: #{e}"
|
|
@@ -143,12 +136,12 @@ end
|
|
|
143
136
|
|
|
144
137
|
This returns an Array which contains the response data, status code and headers.
|
|
145
138
|
|
|
146
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_repository_href, nested_role
|
|
139
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_repository_href, nested_role)
|
|
147
140
|
|
|
148
141
|
```ruby
|
|
149
142
|
begin
|
|
150
143
|
# Add a role
|
|
151
|
-
data, status_code, headers = api_instance.add_role_with_http_info(container_container_repository_href, nested_role
|
|
144
|
+
data, status_code, headers = api_instance.add_role_with_http_info(container_container_repository_href, nested_role)
|
|
152
145
|
p status_code # => 2xx
|
|
153
146
|
p headers # => { ... }
|
|
154
147
|
p data # => <NestedRoleResponse>
|
|
@@ -163,7 +156,6 @@ end
|
|
|
163
156
|
| ---- | ---- | ----------- | ----- |
|
|
164
157
|
| **container_container_repository_href** | **String** | | |
|
|
165
158
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
|
166
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
167
159
|
|
|
168
160
|
### Return type
|
|
169
161
|
|
|
@@ -202,7 +194,6 @@ end
|
|
|
202
194
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
203
195
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
204
196
|
opts = {
|
|
205
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
206
197
|
containerfile_name: 'containerfile_name_example', # String | Name of the Containerfile, from build_context, that should be used to run podman-build.
|
|
207
198
|
containerfile: File.new('/path/to/some/file'), # File | An uploaded Containerfile that should be used to run podman-build.
|
|
208
199
|
tag: 'tag_example', # String | A tag name for the new image being built.
|
|
@@ -241,7 +232,6 @@ end
|
|
|
241
232
|
| Name | Type | Description | Notes |
|
|
242
233
|
| ---- | ---- | ----------- | ----- |
|
|
243
234
|
| **container_container_repository_href** | **String** | | |
|
|
244
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
245
235
|
| **containerfile_name** | **String** | Name of the Containerfile, from build_context, that should be used to run podman-build. | [optional] |
|
|
246
236
|
| **containerfile** | **File** | An uploaded Containerfile that should be used to run podman-build. | [optional] |
|
|
247
237
|
| **tag** | **String** | A tag name for the new image being built. | [optional][default to 'latest'] |
|
|
@@ -263,7 +253,7 @@ end
|
|
|
263
253
|
|
|
264
254
|
## copy_manifests
|
|
265
255
|
|
|
266
|
-
> <AsyncOperationResponse> copy_manifests(container_container_repository_href, manifest_copy
|
|
256
|
+
> <AsyncOperationResponse> copy_manifests(container_container_repository_href, manifest_copy)
|
|
267
257
|
|
|
268
258
|
Copy manifests
|
|
269
259
|
|
|
@@ -284,13 +274,10 @@ end
|
|
|
284
274
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
285
275
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
286
276
|
manifest_copy = PulpContainerClient::ManifestCopy.new # ManifestCopy |
|
|
287
|
-
opts = {
|
|
288
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
289
|
-
}
|
|
290
277
|
|
|
291
278
|
begin
|
|
292
279
|
# Copy manifests
|
|
293
|
-
result = api_instance.copy_manifests(container_container_repository_href, manifest_copy
|
|
280
|
+
result = api_instance.copy_manifests(container_container_repository_href, manifest_copy)
|
|
294
281
|
p result
|
|
295
282
|
rescue PulpContainerClient::ApiError => e
|
|
296
283
|
puts "Error when calling RepositoriesContainerApi->copy_manifests: #{e}"
|
|
@@ -301,12 +288,12 @@ end
|
|
|
301
288
|
|
|
302
289
|
This returns an Array which contains the response data, status code and headers.
|
|
303
290
|
|
|
304
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> copy_manifests_with_http_info(container_container_repository_href, manifest_copy
|
|
291
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> copy_manifests_with_http_info(container_container_repository_href, manifest_copy)
|
|
305
292
|
|
|
306
293
|
```ruby
|
|
307
294
|
begin
|
|
308
295
|
# Copy manifests
|
|
309
|
-
data, status_code, headers = api_instance.copy_manifests_with_http_info(container_container_repository_href, manifest_copy
|
|
296
|
+
data, status_code, headers = api_instance.copy_manifests_with_http_info(container_container_repository_href, manifest_copy)
|
|
310
297
|
p status_code # => 2xx
|
|
311
298
|
p headers # => { ... }
|
|
312
299
|
p data # => <AsyncOperationResponse>
|
|
@@ -321,7 +308,6 @@ end
|
|
|
321
308
|
| ---- | ---- | ----------- | ----- |
|
|
322
309
|
| **container_container_repository_href** | **String** | | |
|
|
323
310
|
| **manifest_copy** | [**ManifestCopy**](ManifestCopy.md) | | |
|
|
324
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
325
311
|
|
|
326
312
|
### Return type
|
|
327
313
|
|
|
@@ -339,7 +325,7 @@ end
|
|
|
339
325
|
|
|
340
326
|
## copy_tags
|
|
341
327
|
|
|
342
|
-
> <AsyncOperationResponse> copy_tags(container_container_repository_href, tag_copy
|
|
328
|
+
> <AsyncOperationResponse> copy_tags(container_container_repository_href, tag_copy)
|
|
343
329
|
|
|
344
330
|
Copy tags
|
|
345
331
|
|
|
@@ -360,13 +346,10 @@ end
|
|
|
360
346
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
361
347
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
362
348
|
tag_copy = PulpContainerClient::TagCopy.new # TagCopy |
|
|
363
|
-
opts = {
|
|
364
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
365
|
-
}
|
|
366
349
|
|
|
367
350
|
begin
|
|
368
351
|
# Copy tags
|
|
369
|
-
result = api_instance.copy_tags(container_container_repository_href, tag_copy
|
|
352
|
+
result = api_instance.copy_tags(container_container_repository_href, tag_copy)
|
|
370
353
|
p result
|
|
371
354
|
rescue PulpContainerClient::ApiError => e
|
|
372
355
|
puts "Error when calling RepositoriesContainerApi->copy_tags: #{e}"
|
|
@@ -377,12 +360,12 @@ end
|
|
|
377
360
|
|
|
378
361
|
This returns an Array which contains the response data, status code and headers.
|
|
379
362
|
|
|
380
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> copy_tags_with_http_info(container_container_repository_href, tag_copy
|
|
363
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> copy_tags_with_http_info(container_container_repository_href, tag_copy)
|
|
381
364
|
|
|
382
365
|
```ruby
|
|
383
366
|
begin
|
|
384
367
|
# Copy tags
|
|
385
|
-
data, status_code, headers = api_instance.copy_tags_with_http_info(container_container_repository_href, tag_copy
|
|
368
|
+
data, status_code, headers = api_instance.copy_tags_with_http_info(container_container_repository_href, tag_copy)
|
|
386
369
|
p status_code # => 2xx
|
|
387
370
|
p headers # => { ... }
|
|
388
371
|
p data # => <AsyncOperationResponse>
|
|
@@ -397,7 +380,6 @@ end
|
|
|
397
380
|
| ---- | ---- | ----------- | ----- |
|
|
398
381
|
| **container_container_repository_href** | **String** | | |
|
|
399
382
|
| **tag_copy** | [**TagCopy**](TagCopy.md) | | |
|
|
400
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
401
383
|
|
|
402
384
|
### Return type
|
|
403
385
|
|
|
@@ -415,7 +397,7 @@ end
|
|
|
415
397
|
|
|
416
398
|
## create
|
|
417
399
|
|
|
418
|
-
> <ContainerContainerRepositoryResponse> create(container_container_repository
|
|
400
|
+
> <ContainerContainerRepositoryResponse> create(container_container_repository)
|
|
419
401
|
|
|
420
402
|
Create a container repository
|
|
421
403
|
|
|
@@ -435,13 +417,10 @@ end
|
|
|
435
417
|
|
|
436
418
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
437
419
|
container_container_repository = PulpContainerClient::ContainerContainerRepository.new({name: 'name_example'}) # ContainerContainerRepository |
|
|
438
|
-
opts = {
|
|
439
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
440
|
-
}
|
|
441
420
|
|
|
442
421
|
begin
|
|
443
422
|
# Create a container repository
|
|
444
|
-
result = api_instance.create(container_container_repository
|
|
423
|
+
result = api_instance.create(container_container_repository)
|
|
445
424
|
p result
|
|
446
425
|
rescue PulpContainerClient::ApiError => e
|
|
447
426
|
puts "Error when calling RepositoriesContainerApi->create: #{e}"
|
|
@@ -452,12 +431,12 @@ end
|
|
|
452
431
|
|
|
453
432
|
This returns an Array which contains the response data, status code and headers.
|
|
454
433
|
|
|
455
|
-
> <Array(<ContainerContainerRepositoryResponse>, Integer, Hash)> create_with_http_info(container_container_repository
|
|
434
|
+
> <Array(<ContainerContainerRepositoryResponse>, Integer, Hash)> create_with_http_info(container_container_repository)
|
|
456
435
|
|
|
457
436
|
```ruby
|
|
458
437
|
begin
|
|
459
438
|
# Create a container repository
|
|
460
|
-
data, status_code, headers = api_instance.create_with_http_info(container_container_repository
|
|
439
|
+
data, status_code, headers = api_instance.create_with_http_info(container_container_repository)
|
|
461
440
|
p status_code # => 2xx
|
|
462
441
|
p headers # => { ... }
|
|
463
442
|
p data # => <ContainerContainerRepositoryResponse>
|
|
@@ -471,7 +450,6 @@ end
|
|
|
471
450
|
| Name | Type | Description | Notes |
|
|
472
451
|
| ---- | ---- | ----------- | ----- |
|
|
473
452
|
| **container_container_repository** | [**ContainerContainerRepository**](ContainerContainerRepository.md) | | |
|
|
474
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
475
453
|
|
|
476
454
|
### Return type
|
|
477
455
|
|
|
@@ -489,7 +467,7 @@ end
|
|
|
489
467
|
|
|
490
468
|
## delete
|
|
491
469
|
|
|
492
|
-
> <AsyncOperationResponse> delete(container_container_repository_href
|
|
470
|
+
> <AsyncOperationResponse> delete(container_container_repository_href)
|
|
493
471
|
|
|
494
472
|
Delete a container repository
|
|
495
473
|
|
|
@@ -509,13 +487,10 @@ end
|
|
|
509
487
|
|
|
510
488
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
511
489
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
512
|
-
opts = {
|
|
513
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
514
|
-
}
|
|
515
490
|
|
|
516
491
|
begin
|
|
517
492
|
# Delete a container repository
|
|
518
|
-
result = api_instance.delete(container_container_repository_href
|
|
493
|
+
result = api_instance.delete(container_container_repository_href)
|
|
519
494
|
p result
|
|
520
495
|
rescue PulpContainerClient::ApiError => e
|
|
521
496
|
puts "Error when calling RepositoriesContainerApi->delete: #{e}"
|
|
@@ -526,12 +501,12 @@ end
|
|
|
526
501
|
|
|
527
502
|
This returns an Array which contains the response data, status code and headers.
|
|
528
503
|
|
|
529
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(container_container_repository_href
|
|
504
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(container_container_repository_href)
|
|
530
505
|
|
|
531
506
|
```ruby
|
|
532
507
|
begin
|
|
533
508
|
# Delete a container repository
|
|
534
|
-
data, status_code, headers = api_instance.delete_with_http_info(container_container_repository_href
|
|
509
|
+
data, status_code, headers = api_instance.delete_with_http_info(container_container_repository_href)
|
|
535
510
|
p status_code # => 2xx
|
|
536
511
|
p headers # => { ... }
|
|
537
512
|
p data # => <AsyncOperationResponse>
|
|
@@ -545,7 +520,6 @@ end
|
|
|
545
520
|
| Name | Type | Description | Notes |
|
|
546
521
|
| ---- | ---- | ----------- | ----- |
|
|
547
522
|
| **container_container_repository_href** | **String** | | |
|
|
548
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
549
523
|
|
|
550
524
|
### Return type
|
|
551
525
|
|
|
@@ -583,7 +557,6 @@ end
|
|
|
583
557
|
|
|
584
558
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
585
559
|
opts = {
|
|
586
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
587
560
|
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF/PRN
|
|
588
561
|
limit: 56, # Integer | Number of results to return per page.
|
|
589
562
|
name: 'name_example', # String | Filter results where name matches value
|
|
@@ -647,7 +620,6 @@ end
|
|
|
647
620
|
|
|
648
621
|
| Name | Type | Description | Notes |
|
|
649
622
|
| ---- | ---- | ----------- | ----- |
|
|
650
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
651
623
|
| **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
|
652
624
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
653
625
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
@@ -716,7 +688,6 @@ end
|
|
|
716
688
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
717
689
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
718
690
|
opts = {
|
|
719
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
720
691
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
721
692
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
722
693
|
}
|
|
@@ -753,7 +724,6 @@ end
|
|
|
753
724
|
| Name | Type | Description | Notes |
|
|
754
725
|
| ---- | ---- | ----------- | ----- |
|
|
755
726
|
| **container_container_repository_href** | **String** | | |
|
|
756
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
757
727
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
758
728
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
759
729
|
|
|
@@ -794,7 +764,6 @@ end
|
|
|
794
764
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
795
765
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
796
766
|
opts = {
|
|
797
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
798
767
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
799
768
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
800
769
|
}
|
|
@@ -831,7 +800,6 @@ end
|
|
|
831
800
|
| Name | Type | Description | Notes |
|
|
832
801
|
| ---- | ---- | ----------- | ----- |
|
|
833
802
|
| **container_container_repository_href** | **String** | | |
|
|
834
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
835
803
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
836
804
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
837
805
|
|
|
@@ -851,7 +819,7 @@ end
|
|
|
851
819
|
|
|
852
820
|
## partial_update
|
|
853
821
|
|
|
854
|
-
> <AsyncOperationResponse> partial_update(container_container_repository_href, patchedcontainer_container_repository
|
|
822
|
+
> <AsyncOperationResponse> partial_update(container_container_repository_href, patchedcontainer_container_repository)
|
|
855
823
|
|
|
856
824
|
Update a container repository
|
|
857
825
|
|
|
@@ -872,13 +840,10 @@ end
|
|
|
872
840
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
873
841
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
874
842
|
patchedcontainer_container_repository = PulpContainerClient::PatchedcontainerContainerRepository.new # PatchedcontainerContainerRepository |
|
|
875
|
-
opts = {
|
|
876
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
877
|
-
}
|
|
878
843
|
|
|
879
844
|
begin
|
|
880
845
|
# Update a container repository
|
|
881
|
-
result = api_instance.partial_update(container_container_repository_href, patchedcontainer_container_repository
|
|
846
|
+
result = api_instance.partial_update(container_container_repository_href, patchedcontainer_container_repository)
|
|
882
847
|
p result
|
|
883
848
|
rescue PulpContainerClient::ApiError => e
|
|
884
849
|
puts "Error when calling RepositoriesContainerApi->partial_update: #{e}"
|
|
@@ -889,12 +854,12 @@ end
|
|
|
889
854
|
|
|
890
855
|
This returns an Array which contains the response data, status code and headers.
|
|
891
856
|
|
|
892
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository
|
|
857
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository)
|
|
893
858
|
|
|
894
859
|
```ruby
|
|
895
860
|
begin
|
|
896
861
|
# Update a container repository
|
|
897
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository
|
|
862
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository)
|
|
898
863
|
p status_code # => 2xx
|
|
899
864
|
p headers # => { ... }
|
|
900
865
|
p data # => <AsyncOperationResponse>
|
|
@@ -909,7 +874,6 @@ end
|
|
|
909
874
|
| ---- | ---- | ----------- | ----- |
|
|
910
875
|
| **container_container_repository_href** | **String** | | |
|
|
911
876
|
| **patchedcontainer_container_repository** | [**PatchedcontainerContainerRepository**](PatchedcontainerContainerRepository.md) | | |
|
|
912
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
913
877
|
|
|
914
878
|
### Return type
|
|
915
879
|
|
|
@@ -948,7 +912,6 @@ end
|
|
|
948
912
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
949
913
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
950
914
|
opts = {
|
|
951
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
952
915
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
953
916
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
954
917
|
}
|
|
@@ -985,7 +948,6 @@ end
|
|
|
985
948
|
| Name | Type | Description | Notes |
|
|
986
949
|
| ---- | ---- | ----------- | ----- |
|
|
987
950
|
| **container_container_repository_href** | **String** | | |
|
|
988
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
989
951
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
990
952
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
991
953
|
|
|
@@ -1005,7 +967,7 @@ end
|
|
|
1005
967
|
|
|
1006
968
|
## remove
|
|
1007
969
|
|
|
1008
|
-
> <AsyncOperationResponse> remove(container_container_repository_href, recursive_manage
|
|
970
|
+
> <AsyncOperationResponse> remove(container_container_repository_href, recursive_manage)
|
|
1009
971
|
|
|
1010
972
|
Remove content
|
|
1011
973
|
|
|
@@ -1026,13 +988,10 @@ end
|
|
|
1026
988
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
1027
989
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
1028
990
|
recursive_manage = PulpContainerClient::RecursiveManage.new # RecursiveManage |
|
|
1029
|
-
opts = {
|
|
1030
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
1031
|
-
}
|
|
1032
991
|
|
|
1033
992
|
begin
|
|
1034
993
|
# Remove content
|
|
1035
|
-
result = api_instance.remove(container_container_repository_href, recursive_manage
|
|
994
|
+
result = api_instance.remove(container_container_repository_href, recursive_manage)
|
|
1036
995
|
p result
|
|
1037
996
|
rescue PulpContainerClient::ApiError => e
|
|
1038
997
|
puts "Error when calling RepositoriesContainerApi->remove: #{e}"
|
|
@@ -1043,12 +1002,12 @@ end
|
|
|
1043
1002
|
|
|
1044
1003
|
This returns an Array which contains the response data, status code and headers.
|
|
1045
1004
|
|
|
1046
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> remove_with_http_info(container_container_repository_href, recursive_manage
|
|
1005
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> remove_with_http_info(container_container_repository_href, recursive_manage)
|
|
1047
1006
|
|
|
1048
1007
|
```ruby
|
|
1049
1008
|
begin
|
|
1050
1009
|
# Remove content
|
|
1051
|
-
data, status_code, headers = api_instance.remove_with_http_info(container_container_repository_href, recursive_manage
|
|
1010
|
+
data, status_code, headers = api_instance.remove_with_http_info(container_container_repository_href, recursive_manage)
|
|
1052
1011
|
p status_code # => 2xx
|
|
1053
1012
|
p headers # => { ... }
|
|
1054
1013
|
p data # => <AsyncOperationResponse>
|
|
@@ -1063,7 +1022,6 @@ end
|
|
|
1063
1022
|
| ---- | ---- | ----------- | ----- |
|
|
1064
1023
|
| **container_container_repository_href** | **String** | | |
|
|
1065
1024
|
| **recursive_manage** | [**RecursiveManage**](RecursiveManage.md) | | |
|
|
1066
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
1067
1025
|
|
|
1068
1026
|
### Return type
|
|
1069
1027
|
|
|
@@ -1081,7 +1039,7 @@ end
|
|
|
1081
1039
|
|
|
1082
1040
|
## remove_role
|
|
1083
1041
|
|
|
1084
|
-
> <NestedRoleResponse> remove_role(container_container_repository_href, nested_role
|
|
1042
|
+
> <NestedRoleResponse> remove_role(container_container_repository_href, nested_role)
|
|
1085
1043
|
|
|
1086
1044
|
Remove a role
|
|
1087
1045
|
|
|
@@ -1102,13 +1060,10 @@ end
|
|
|
1102
1060
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
1103
1061
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
1104
1062
|
nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
1105
|
-
opts = {
|
|
1106
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
1107
|
-
}
|
|
1108
1063
|
|
|
1109
1064
|
begin
|
|
1110
1065
|
# Remove a role
|
|
1111
|
-
result = api_instance.remove_role(container_container_repository_href, nested_role
|
|
1066
|
+
result = api_instance.remove_role(container_container_repository_href, nested_role)
|
|
1112
1067
|
p result
|
|
1113
1068
|
rescue PulpContainerClient::ApiError => e
|
|
1114
1069
|
puts "Error when calling RepositoriesContainerApi->remove_role: #{e}"
|
|
@@ -1119,12 +1074,12 @@ end
|
|
|
1119
1074
|
|
|
1120
1075
|
This returns an Array which contains the response data, status code and headers.
|
|
1121
1076
|
|
|
1122
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_repository_href, nested_role
|
|
1077
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_repository_href, nested_role)
|
|
1123
1078
|
|
|
1124
1079
|
```ruby
|
|
1125
1080
|
begin
|
|
1126
1081
|
# Remove a role
|
|
1127
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_repository_href, nested_role
|
|
1082
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_repository_href, nested_role)
|
|
1128
1083
|
p status_code # => 2xx
|
|
1129
1084
|
p headers # => { ... }
|
|
1130
1085
|
p data # => <NestedRoleResponse>
|
|
@@ -1139,7 +1094,6 @@ end
|
|
|
1139
1094
|
| ---- | ---- | ----------- | ----- |
|
|
1140
1095
|
| **container_container_repository_href** | **String** | | |
|
|
1141
1096
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
|
1142
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
1143
1097
|
|
|
1144
1098
|
### Return type
|
|
1145
1099
|
|
|
@@ -1157,7 +1111,7 @@ end
|
|
|
1157
1111
|
|
|
1158
1112
|
## set_label
|
|
1159
1113
|
|
|
1160
|
-
> <SetLabelResponse> set_label(container_container_repository_href, set_label
|
|
1114
|
+
> <SetLabelResponse> set_label(container_container_repository_href, set_label)
|
|
1161
1115
|
|
|
1162
1116
|
Set a label
|
|
1163
1117
|
|
|
@@ -1178,13 +1132,10 @@ end
|
|
|
1178
1132
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
1179
1133
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
1180
1134
|
set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
|
1181
|
-
opts = {
|
|
1182
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
1183
|
-
}
|
|
1184
1135
|
|
|
1185
1136
|
begin
|
|
1186
1137
|
# Set a label
|
|
1187
|
-
result = api_instance.set_label(container_container_repository_href, set_label
|
|
1138
|
+
result = api_instance.set_label(container_container_repository_href, set_label)
|
|
1188
1139
|
p result
|
|
1189
1140
|
rescue PulpContainerClient::ApiError => e
|
|
1190
1141
|
puts "Error when calling RepositoriesContainerApi->set_label: #{e}"
|
|
@@ -1195,12 +1146,12 @@ end
|
|
|
1195
1146
|
|
|
1196
1147
|
This returns an Array which contains the response data, status code and headers.
|
|
1197
1148
|
|
|
1198
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_container_repository_href, set_label
|
|
1149
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_container_repository_href, set_label)
|
|
1199
1150
|
|
|
1200
1151
|
```ruby
|
|
1201
1152
|
begin
|
|
1202
1153
|
# Set a label
|
|
1203
|
-
data, status_code, headers = api_instance.set_label_with_http_info(container_container_repository_href, set_label
|
|
1154
|
+
data, status_code, headers = api_instance.set_label_with_http_info(container_container_repository_href, set_label)
|
|
1204
1155
|
p status_code # => 2xx
|
|
1205
1156
|
p headers # => { ... }
|
|
1206
1157
|
p data # => <SetLabelResponse>
|
|
@@ -1215,7 +1166,6 @@ end
|
|
|
1215
1166
|
| ---- | ---- | ----------- | ----- |
|
|
1216
1167
|
| **container_container_repository_href** | **String** | | |
|
|
1217
1168
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
|
1218
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
1219
1169
|
|
|
1220
1170
|
### Return type
|
|
1221
1171
|
|
|
@@ -1233,7 +1183,7 @@ end
|
|
|
1233
1183
|
|
|
1234
1184
|
## sign
|
|
1235
1185
|
|
|
1236
|
-
> <AsyncOperationResponse> sign(container_container_repository_href, repository_sign
|
|
1186
|
+
> <AsyncOperationResponse> sign(container_container_repository_href, repository_sign)
|
|
1237
1187
|
|
|
1238
1188
|
Sign images in the repo
|
|
1239
1189
|
|
|
@@ -1254,13 +1204,10 @@ end
|
|
|
1254
1204
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
1255
1205
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
1256
1206
|
repository_sign = PulpContainerClient::RepositorySign.new # RepositorySign |
|
|
1257
|
-
opts = {
|
|
1258
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
1259
|
-
}
|
|
1260
1207
|
|
|
1261
1208
|
begin
|
|
1262
1209
|
# Sign images in the repo
|
|
1263
|
-
result = api_instance.sign(container_container_repository_href, repository_sign
|
|
1210
|
+
result = api_instance.sign(container_container_repository_href, repository_sign)
|
|
1264
1211
|
p result
|
|
1265
1212
|
rescue PulpContainerClient::ApiError => e
|
|
1266
1213
|
puts "Error when calling RepositoriesContainerApi->sign: #{e}"
|
|
@@ -1271,12 +1218,12 @@ end
|
|
|
1271
1218
|
|
|
1272
1219
|
This returns an Array which contains the response data, status code and headers.
|
|
1273
1220
|
|
|
1274
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> sign_with_http_info(container_container_repository_href, repository_sign
|
|
1221
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> sign_with_http_info(container_container_repository_href, repository_sign)
|
|
1275
1222
|
|
|
1276
1223
|
```ruby
|
|
1277
1224
|
begin
|
|
1278
1225
|
# Sign images in the repo
|
|
1279
|
-
data, status_code, headers = api_instance.sign_with_http_info(container_container_repository_href, repository_sign
|
|
1226
|
+
data, status_code, headers = api_instance.sign_with_http_info(container_container_repository_href, repository_sign)
|
|
1280
1227
|
p status_code # => 2xx
|
|
1281
1228
|
p headers # => { ... }
|
|
1282
1229
|
p data # => <AsyncOperationResponse>
|
|
@@ -1291,7 +1238,6 @@ end
|
|
|
1291
1238
|
| ---- | ---- | ----------- | ----- |
|
|
1292
1239
|
| **container_container_repository_href** | **String** | | |
|
|
1293
1240
|
| **repository_sign** | [**RepositorySign**](RepositorySign.md) | | |
|
|
1294
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
1295
1241
|
|
|
1296
1242
|
### Return type
|
|
1297
1243
|
|
|
@@ -1309,7 +1255,7 @@ end
|
|
|
1309
1255
|
|
|
1310
1256
|
## sync
|
|
1311
1257
|
|
|
1312
|
-
> <AsyncOperationResponse> sync(container_container_repository_href, container_repository_sync_url
|
|
1258
|
+
> <AsyncOperationResponse> sync(container_container_repository_href, container_repository_sync_url)
|
|
1313
1259
|
|
|
1314
1260
|
Sync from a remote
|
|
1315
1261
|
|
|
@@ -1330,13 +1276,10 @@ end
|
|
|
1330
1276
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
1331
1277
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
1332
1278
|
container_repository_sync_url = PulpContainerClient::ContainerRepositorySyncURL.new # ContainerRepositorySyncURL |
|
|
1333
|
-
opts = {
|
|
1334
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
1335
|
-
}
|
|
1336
1279
|
|
|
1337
1280
|
begin
|
|
1338
1281
|
# Sync from a remote
|
|
1339
|
-
result = api_instance.sync(container_container_repository_href, container_repository_sync_url
|
|
1282
|
+
result = api_instance.sync(container_container_repository_href, container_repository_sync_url)
|
|
1340
1283
|
p result
|
|
1341
1284
|
rescue PulpContainerClient::ApiError => e
|
|
1342
1285
|
puts "Error when calling RepositoriesContainerApi->sync: #{e}"
|
|
@@ -1347,12 +1290,12 @@ end
|
|
|
1347
1290
|
|
|
1348
1291
|
This returns an Array which contains the response data, status code and headers.
|
|
1349
1292
|
|
|
1350
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(container_container_repository_href, container_repository_sync_url
|
|
1293
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(container_container_repository_href, container_repository_sync_url)
|
|
1351
1294
|
|
|
1352
1295
|
```ruby
|
|
1353
1296
|
begin
|
|
1354
1297
|
# Sync from a remote
|
|
1355
|
-
data, status_code, headers = api_instance.sync_with_http_info(container_container_repository_href, container_repository_sync_url
|
|
1298
|
+
data, status_code, headers = api_instance.sync_with_http_info(container_container_repository_href, container_repository_sync_url)
|
|
1356
1299
|
p status_code # => 2xx
|
|
1357
1300
|
p headers # => { ... }
|
|
1358
1301
|
p data # => <AsyncOperationResponse>
|
|
@@ -1367,7 +1310,6 @@ end
|
|
|
1367
1310
|
| ---- | ---- | ----------- | ----- |
|
|
1368
1311
|
| **container_container_repository_href** | **String** | | |
|
|
1369
1312
|
| **container_repository_sync_url** | [**ContainerRepositorySyncURL**](ContainerRepositorySyncURL.md) | | |
|
|
1370
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
1371
1313
|
|
|
1372
1314
|
### Return type
|
|
1373
1315
|
|
|
@@ -1385,7 +1327,7 @@ end
|
|
|
1385
1327
|
|
|
1386
1328
|
## tag
|
|
1387
1329
|
|
|
1388
|
-
> <AsyncOperationResponse> tag(container_container_repository_href, tag_image
|
|
1330
|
+
> <AsyncOperationResponse> tag(container_container_repository_href, tag_image)
|
|
1389
1331
|
|
|
1390
1332
|
Create a Tag
|
|
1391
1333
|
|
|
@@ -1406,13 +1348,10 @@ end
|
|
|
1406
1348
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
1407
1349
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
1408
1350
|
tag_image = PulpContainerClient::TagImage.new({tag: 'tag_example', digest: 'digest_example'}) # TagImage |
|
|
1409
|
-
opts = {
|
|
1410
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
1411
|
-
}
|
|
1412
1351
|
|
|
1413
1352
|
begin
|
|
1414
1353
|
# Create a Tag
|
|
1415
|
-
result = api_instance.tag(container_container_repository_href, tag_image
|
|
1354
|
+
result = api_instance.tag(container_container_repository_href, tag_image)
|
|
1416
1355
|
p result
|
|
1417
1356
|
rescue PulpContainerClient::ApiError => e
|
|
1418
1357
|
puts "Error when calling RepositoriesContainerApi->tag: #{e}"
|
|
@@ -1423,12 +1362,12 @@ end
|
|
|
1423
1362
|
|
|
1424
1363
|
This returns an Array which contains the response data, status code and headers.
|
|
1425
1364
|
|
|
1426
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> tag_with_http_info(container_container_repository_href, tag_image
|
|
1365
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> tag_with_http_info(container_container_repository_href, tag_image)
|
|
1427
1366
|
|
|
1428
1367
|
```ruby
|
|
1429
1368
|
begin
|
|
1430
1369
|
# Create a Tag
|
|
1431
|
-
data, status_code, headers = api_instance.tag_with_http_info(container_container_repository_href, tag_image
|
|
1370
|
+
data, status_code, headers = api_instance.tag_with_http_info(container_container_repository_href, tag_image)
|
|
1432
1371
|
p status_code # => 2xx
|
|
1433
1372
|
p headers # => { ... }
|
|
1434
1373
|
p data # => <AsyncOperationResponse>
|
|
@@ -1443,7 +1382,6 @@ end
|
|
|
1443
1382
|
| ---- | ---- | ----------- | ----- |
|
|
1444
1383
|
| **container_container_repository_href** | **String** | | |
|
|
1445
1384
|
| **tag_image** | [**TagImage**](TagImage.md) | | |
|
|
1446
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
1447
1385
|
|
|
1448
1386
|
### Return type
|
|
1449
1387
|
|
|
@@ -1461,7 +1399,7 @@ end
|
|
|
1461
1399
|
|
|
1462
1400
|
## unset_label
|
|
1463
1401
|
|
|
1464
|
-
> <UnsetLabelResponse> unset_label(container_container_repository_href, unset_label
|
|
1402
|
+
> <UnsetLabelResponse> unset_label(container_container_repository_href, unset_label)
|
|
1465
1403
|
|
|
1466
1404
|
Unset a label
|
|
1467
1405
|
|
|
@@ -1482,13 +1420,10 @@ end
|
|
|
1482
1420
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
1483
1421
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
1484
1422
|
unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
|
1485
|
-
opts = {
|
|
1486
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
1487
|
-
}
|
|
1488
1423
|
|
|
1489
1424
|
begin
|
|
1490
1425
|
# Unset a label
|
|
1491
|
-
result = api_instance.unset_label(container_container_repository_href, unset_label
|
|
1426
|
+
result = api_instance.unset_label(container_container_repository_href, unset_label)
|
|
1492
1427
|
p result
|
|
1493
1428
|
rescue PulpContainerClient::ApiError => e
|
|
1494
1429
|
puts "Error when calling RepositoriesContainerApi->unset_label: #{e}"
|
|
@@ -1499,12 +1434,12 @@ end
|
|
|
1499
1434
|
|
|
1500
1435
|
This returns an Array which contains the response data, status code and headers.
|
|
1501
1436
|
|
|
1502
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_container_repository_href, unset_label
|
|
1437
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_container_repository_href, unset_label)
|
|
1503
1438
|
|
|
1504
1439
|
```ruby
|
|
1505
1440
|
begin
|
|
1506
1441
|
# Unset a label
|
|
1507
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(container_container_repository_href, unset_label
|
|
1442
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(container_container_repository_href, unset_label)
|
|
1508
1443
|
p status_code # => 2xx
|
|
1509
1444
|
p headers # => { ... }
|
|
1510
1445
|
p data # => <UnsetLabelResponse>
|
|
@@ -1519,7 +1454,6 @@ end
|
|
|
1519
1454
|
| ---- | ---- | ----------- | ----- |
|
|
1520
1455
|
| **container_container_repository_href** | **String** | | |
|
|
1521
1456
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
|
1522
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
1523
1457
|
|
|
1524
1458
|
### Return type
|
|
1525
1459
|
|
|
@@ -1537,7 +1471,7 @@ end
|
|
|
1537
1471
|
|
|
1538
1472
|
## untag
|
|
1539
1473
|
|
|
1540
|
-
> <AsyncOperationResponse> untag(container_container_repository_href, un_tag_image
|
|
1474
|
+
> <AsyncOperationResponse> untag(container_container_repository_href, un_tag_image)
|
|
1541
1475
|
|
|
1542
1476
|
Delete a tag
|
|
1543
1477
|
|
|
@@ -1558,13 +1492,10 @@ end
|
|
|
1558
1492
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
1559
1493
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
1560
1494
|
un_tag_image = PulpContainerClient::UnTagImage.new({tag: 'tag_example'}) # UnTagImage |
|
|
1561
|
-
opts = {
|
|
1562
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
1563
|
-
}
|
|
1564
1495
|
|
|
1565
1496
|
begin
|
|
1566
1497
|
# Delete a tag
|
|
1567
|
-
result = api_instance.untag(container_container_repository_href, un_tag_image
|
|
1498
|
+
result = api_instance.untag(container_container_repository_href, un_tag_image)
|
|
1568
1499
|
p result
|
|
1569
1500
|
rescue PulpContainerClient::ApiError => e
|
|
1570
1501
|
puts "Error when calling RepositoriesContainerApi->untag: #{e}"
|
|
@@ -1575,12 +1506,12 @@ end
|
|
|
1575
1506
|
|
|
1576
1507
|
This returns an Array which contains the response data, status code and headers.
|
|
1577
1508
|
|
|
1578
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> untag_with_http_info(container_container_repository_href, un_tag_image
|
|
1509
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> untag_with_http_info(container_container_repository_href, un_tag_image)
|
|
1579
1510
|
|
|
1580
1511
|
```ruby
|
|
1581
1512
|
begin
|
|
1582
1513
|
# Delete a tag
|
|
1583
|
-
data, status_code, headers = api_instance.untag_with_http_info(container_container_repository_href, un_tag_image
|
|
1514
|
+
data, status_code, headers = api_instance.untag_with_http_info(container_container_repository_href, un_tag_image)
|
|
1584
1515
|
p status_code # => 2xx
|
|
1585
1516
|
p headers # => { ... }
|
|
1586
1517
|
p data # => <AsyncOperationResponse>
|
|
@@ -1595,7 +1526,6 @@ end
|
|
|
1595
1526
|
| ---- | ---- | ----------- | ----- |
|
|
1596
1527
|
| **container_container_repository_href** | **String** | | |
|
|
1597
1528
|
| **un_tag_image** | [**UnTagImage**](UnTagImage.md) | | |
|
|
1598
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
1599
1529
|
|
|
1600
1530
|
### Return type
|
|
1601
1531
|
|
|
@@ -1613,7 +1543,7 @@ end
|
|
|
1613
1543
|
|
|
1614
1544
|
## update
|
|
1615
1545
|
|
|
1616
|
-
> <AsyncOperationResponse> update(container_container_repository_href, container_container_repository
|
|
1546
|
+
> <AsyncOperationResponse> update(container_container_repository_href, container_container_repository)
|
|
1617
1547
|
|
|
1618
1548
|
Update a container repository
|
|
1619
1549
|
|
|
@@ -1634,13 +1564,10 @@ end
|
|
|
1634
1564
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
1635
1565
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
|
1636
1566
|
container_container_repository = PulpContainerClient::ContainerContainerRepository.new({name: 'name_example'}) # ContainerContainerRepository |
|
|
1637
|
-
opts = {
|
|
1638
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
1639
|
-
}
|
|
1640
1567
|
|
|
1641
1568
|
begin
|
|
1642
1569
|
# Update a container repository
|
|
1643
|
-
result = api_instance.update(container_container_repository_href, container_container_repository
|
|
1570
|
+
result = api_instance.update(container_container_repository_href, container_container_repository)
|
|
1644
1571
|
p result
|
|
1645
1572
|
rescue PulpContainerClient::ApiError => e
|
|
1646
1573
|
puts "Error when calling RepositoriesContainerApi->update: #{e}"
|
|
@@ -1651,12 +1578,12 @@ end
|
|
|
1651
1578
|
|
|
1652
1579
|
This returns an Array which contains the response data, status code and headers.
|
|
1653
1580
|
|
|
1654
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_repository_href, container_container_repository
|
|
1581
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_repository_href, container_container_repository)
|
|
1655
1582
|
|
|
1656
1583
|
```ruby
|
|
1657
1584
|
begin
|
|
1658
1585
|
# Update a container repository
|
|
1659
|
-
data, status_code, headers = api_instance.update_with_http_info(container_container_repository_href, container_container_repository
|
|
1586
|
+
data, status_code, headers = api_instance.update_with_http_info(container_container_repository_href, container_container_repository)
|
|
1660
1587
|
p status_code # => 2xx
|
|
1661
1588
|
p headers # => { ... }
|
|
1662
1589
|
p data # => <AsyncOperationResponse>
|
|
@@ -1671,7 +1598,6 @@ end
|
|
|
1671
1598
|
| ---- | ---- | ----------- | ----- |
|
|
1672
1599
|
| **container_container_repository_href** | **String** | | |
|
|
1673
1600
|
| **container_container_repository** | [**ContainerContainerRepository**](ContainerContainerRepository.md) | | |
|
|
1674
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
1675
1601
|
|
|
1676
1602
|
### Return type
|
|
1677
1603
|
|