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