pulp_container_client 2.16.0 → 2.16.2
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 +36 -25
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
- data/docs/ContentBlobsApi.md +3 -1
- data/docs/ContentManifestsApi.md +3 -1
- data/docs/ContentSignaturesApi.md +7 -1
- data/docs/ContentTagsApi.md +3 -1
- data/docs/DistributionsContainerApi.md +132 -10
- data/docs/IndexDynamicApi.md +1 -1
- data/docs/IndexStaticApi.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/docs/PulpContainerNamespacesApi.md +19 -9
- data/docs/RemotesContainerApi.md +131 -9
- data/docs/RepositoriesContainerApi.md +132 -10
- data/docs/RepositoriesContainerPushApi.md +20 -10
- data/docs/RepositoriesContainerPushVersionsApi.md +3 -1
- data/docs/RepositoriesContainerVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/TokenApi.md +1 -1
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_container_client/api/content_blobs_api.rb +3 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +9 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +3 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +157 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +17 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +157 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +157 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +17 -0
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +3 -0
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +3 -0
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +42 -42
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +40 -40
- data/lib/pulp_container_client/models/container_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +42 -42
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +33 -33
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/models/set_label.rb +252 -0
- data/lib/pulp_container_client/models/set_label_response.rb +243 -0
- data/lib/pulp_container_client/models/unset_label.rb +242 -0
- data/lib/pulp_container_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +4 -0
- data/spec/api/content_blobs_api_spec.rb +1 -0
- data/spec/api/content_manifests_api_spec.rb +1 -0
- data/spec/api/content_signatures_api_spec.rb +3 -0
- data/spec/api/content_tags_api_spec.rb +1 -0
- data/spec/api/distributions_container_api_spec.rb +33 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +7 -0
- data/spec/api/remotes_container_api_spec.rb +33 -0
- data/spec/api/repositories_container_api_spec.rb +33 -0
- data/spec/api/repositories_container_push_api_spec.rb +7 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +1 -0
- data/spec/api/repositories_container_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +60 -44
data/docs/RemotesContainerApi.md
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
# PulpContainerClient::RemotesContainerApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**add_role**](RemotesContainerApi.md#add_role) | **POST** {container_container_remote_href}add_role/ |
|
7
|
+
[**add_role**](RemotesContainerApi.md#add_role) | **POST** {container_container_remote_href}add_role/ | Add a role
|
8
8
|
[**create**](RemotesContainerApi.md#create) | **POST** /pulp/api/v3/remotes/container/container/ | Create a container remote
|
9
9
|
[**delete**](RemotesContainerApi.md#delete) | **DELETE** {container_container_remote_href} | Delete a container remote
|
10
10
|
[**list**](RemotesContainerApi.md#list) | **GET** /pulp/api/v3/remotes/container/container/ | List container remotes
|
11
|
-
[**list_roles**](RemotesContainerApi.md#list_roles) | **GET** {container_container_remote_href}list_roles/ |
|
12
|
-
[**my_permissions**](RemotesContainerApi.md#my_permissions) | **GET** {container_container_remote_href}my_permissions/ |
|
11
|
+
[**list_roles**](RemotesContainerApi.md#list_roles) | **GET** {container_container_remote_href}list_roles/ | List roles
|
12
|
+
[**my_permissions**](RemotesContainerApi.md#my_permissions) | **GET** {container_container_remote_href}my_permissions/ | List user permissions
|
13
13
|
[**partial_update**](RemotesContainerApi.md#partial_update) | **PATCH** {container_container_remote_href} | Update a container remote
|
14
14
|
[**read**](RemotesContainerApi.md#read) | **GET** {container_container_remote_href} | Inspect a container remote
|
15
|
-
[**remove_role**](RemotesContainerApi.md#remove_role) | **POST** {container_container_remote_href}remove_role/ |
|
15
|
+
[**remove_role**](RemotesContainerApi.md#remove_role) | **POST** {container_container_remote_href}remove_role/ | Remove a role
|
16
|
+
[**set_label**](RemotesContainerApi.md#set_label) | **POST** {container_container_remote_href}set_label/ | Set a label
|
17
|
+
[**unset_label**](RemotesContainerApi.md#unset_label) | **POST** {container_container_remote_href}unset_label/ | Unset a label
|
16
18
|
[**update**](RemotesContainerApi.md#update) | **PUT** {container_container_remote_href} | Update a container remote
|
17
19
|
|
18
20
|
|
@@ -21,7 +23,7 @@ Method | HTTP request | Description
|
|
21
23
|
|
22
24
|
> NestedRoleResponse add_role(container_container_remote_href, nested_role)
|
23
25
|
|
24
|
-
|
26
|
+
Add a role
|
25
27
|
|
26
28
|
Add a role for this object to users/groups.
|
27
29
|
|
@@ -42,6 +44,7 @@ container_container_remote_href = 'container_container_remote_href_example' # St
|
|
42
44
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
43
45
|
|
44
46
|
begin
|
47
|
+
#Add a role
|
45
48
|
result = api_instance.add_role(container_container_remote_href, nested_role)
|
46
49
|
p result
|
47
50
|
rescue PulpContainerClient::ApiError => e
|
@@ -203,7 +206,9 @@ opts = {
|
|
203
206
|
name: 'name_example', # String | Filter results where name matches value
|
204
207
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
205
208
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
209
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
206
210
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
211
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
207
212
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
208
213
|
offset: 56, # Integer | The initial index from which to return the results.
|
209
214
|
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -216,6 +221,7 @@ opts = {
|
|
216
221
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
217
222
|
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
218
223
|
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
224
|
+
q: 'q_example', # String |
|
219
225
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
220
226
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
221
227
|
}
|
@@ -238,7 +244,9 @@ Name | Type | Description | Notes
|
|
238
244
|
**name** | **String**| Filter results where name matches value | [optional]
|
239
245
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
240
246
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
247
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
241
248
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
249
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
242
250
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
243
251
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
244
252
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
@@ -251,6 +259,7 @@ Name | Type | Description | Notes
|
|
251
259
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
252
260
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
253
261
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
262
|
+
**q** | **String**| | [optional]
|
254
263
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
255
264
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
256
265
|
|
@@ -272,7 +281,7 @@ Name | Type | Description | Notes
|
|
272
281
|
|
273
282
|
> ObjectRolesResponse list_roles(container_container_remote_href, opts)
|
274
283
|
|
275
|
-
|
284
|
+
List roles
|
276
285
|
|
277
286
|
List roles assigned to this object.
|
278
287
|
|
@@ -296,6 +305,7 @@ opts = {
|
|
296
305
|
}
|
297
306
|
|
298
307
|
begin
|
308
|
+
#List roles
|
299
309
|
result = api_instance.list_roles(container_container_remote_href, opts)
|
300
310
|
p result
|
301
311
|
rescue PulpContainerClient::ApiError => e
|
@@ -330,7 +340,7 @@ Name | Type | Description | Notes
|
|
330
340
|
|
331
341
|
> MyPermissionsResponse my_permissions(container_container_remote_href, opts)
|
332
342
|
|
333
|
-
|
343
|
+
List user permissions
|
334
344
|
|
335
345
|
List permissions available to the current user on this object.
|
336
346
|
|
@@ -354,6 +364,7 @@ opts = {
|
|
354
364
|
}
|
355
365
|
|
356
366
|
begin
|
367
|
+
#List user permissions
|
357
368
|
result = api_instance.my_permissions(container_container_remote_href, opts)
|
358
369
|
p result
|
359
370
|
rescue PulpContainerClient::ApiError => e
|
@@ -502,7 +513,7 @@ Name | Type | Description | Notes
|
|
502
513
|
|
503
514
|
> NestedRoleResponse remove_role(container_container_remote_href, nested_role)
|
504
515
|
|
505
|
-
|
516
|
+
Remove a role
|
506
517
|
|
507
518
|
Remove a role for this object from users/groups.
|
508
519
|
|
@@ -523,6 +534,7 @@ container_container_remote_href = 'container_container_remote_href_example' # St
|
|
523
534
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
524
535
|
|
525
536
|
begin
|
537
|
+
#Remove a role
|
526
538
|
result = api_instance.remove_role(container_container_remote_href, nested_role)
|
527
539
|
p result
|
528
540
|
rescue PulpContainerClient::ApiError => e
|
@@ -552,6 +564,116 @@ Name | Type | Description | Notes
|
|
552
564
|
- **Accept**: application/json
|
553
565
|
|
554
566
|
|
567
|
+
## set_label
|
568
|
+
|
569
|
+
> SetLabelResponse set_label(container_container_remote_href, set_label)
|
570
|
+
|
571
|
+
Set a label
|
572
|
+
|
573
|
+
Set a single pulp_label on the object to a specific value or null.
|
574
|
+
|
575
|
+
### Example
|
576
|
+
|
577
|
+
```ruby
|
578
|
+
# load the gem
|
579
|
+
require 'pulp_container_client'
|
580
|
+
# setup authorization
|
581
|
+
PulpContainerClient.configure do |config|
|
582
|
+
# Configure HTTP basic authorization: basicAuth
|
583
|
+
config.username = 'YOUR USERNAME'
|
584
|
+
config.password = 'YOUR PASSWORD'
|
585
|
+
end
|
586
|
+
|
587
|
+
api_instance = PulpContainerClient::RemotesContainerApi.new
|
588
|
+
container_container_remote_href = 'container_container_remote_href_example' # String |
|
589
|
+
set_label = PulpContainerClient::SetLabel.new # SetLabel |
|
590
|
+
|
591
|
+
begin
|
592
|
+
#Set a label
|
593
|
+
result = api_instance.set_label(container_container_remote_href, set_label)
|
594
|
+
p result
|
595
|
+
rescue PulpContainerClient::ApiError => e
|
596
|
+
puts "Exception when calling RemotesContainerApi->set_label: #{e}"
|
597
|
+
end
|
598
|
+
```
|
599
|
+
|
600
|
+
### Parameters
|
601
|
+
|
602
|
+
|
603
|
+
Name | Type | Description | Notes
|
604
|
+
------------- | ------------- | ------------- | -------------
|
605
|
+
**container_container_remote_href** | **String**| |
|
606
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
607
|
+
|
608
|
+
### Return type
|
609
|
+
|
610
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
611
|
+
|
612
|
+
### Authorization
|
613
|
+
|
614
|
+
[basicAuth](../README.md#basicAuth)
|
615
|
+
|
616
|
+
### HTTP request headers
|
617
|
+
|
618
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
619
|
+
- **Accept**: application/json
|
620
|
+
|
621
|
+
|
622
|
+
## unset_label
|
623
|
+
|
624
|
+
> UnsetLabelResponse unset_label(container_container_remote_href, unset_label)
|
625
|
+
|
626
|
+
Unset a label
|
627
|
+
|
628
|
+
Unset a single pulp_label on the object.
|
629
|
+
|
630
|
+
### Example
|
631
|
+
|
632
|
+
```ruby
|
633
|
+
# load the gem
|
634
|
+
require 'pulp_container_client'
|
635
|
+
# setup authorization
|
636
|
+
PulpContainerClient.configure do |config|
|
637
|
+
# Configure HTTP basic authorization: basicAuth
|
638
|
+
config.username = 'YOUR USERNAME'
|
639
|
+
config.password = 'YOUR PASSWORD'
|
640
|
+
end
|
641
|
+
|
642
|
+
api_instance = PulpContainerClient::RemotesContainerApi.new
|
643
|
+
container_container_remote_href = 'container_container_remote_href_example' # String |
|
644
|
+
unset_label = PulpContainerClient::UnsetLabel.new # UnsetLabel |
|
645
|
+
|
646
|
+
begin
|
647
|
+
#Unset a label
|
648
|
+
result = api_instance.unset_label(container_container_remote_href, unset_label)
|
649
|
+
p result
|
650
|
+
rescue PulpContainerClient::ApiError => e
|
651
|
+
puts "Exception when calling RemotesContainerApi->unset_label: #{e}"
|
652
|
+
end
|
653
|
+
```
|
654
|
+
|
655
|
+
### Parameters
|
656
|
+
|
657
|
+
|
658
|
+
Name | Type | Description | Notes
|
659
|
+
------------- | ------------- | ------------- | -------------
|
660
|
+
**container_container_remote_href** | **String**| |
|
661
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
662
|
+
|
663
|
+
### Return type
|
664
|
+
|
665
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
666
|
+
|
667
|
+
### Authorization
|
668
|
+
|
669
|
+
[basicAuth](../README.md#basicAuth)
|
670
|
+
|
671
|
+
### HTTP request headers
|
672
|
+
|
673
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
674
|
+
- **Accept**: application/json
|
675
|
+
|
676
|
+
|
555
677
|
## update
|
556
678
|
|
557
679
|
> AsyncOperationResponse update(container_container_remote_href, container_container_remote)
|
@@ -1,26 +1,28 @@
|
|
1
1
|
# PulpContainerClient::RepositoriesContainerApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**add**](RepositoriesContainerApi.md#add) | **POST** {container_container_repository_href}add/ | Add content
|
8
|
-
[**add_role**](RepositoriesContainerApi.md#add_role) | **POST** {container_container_repository_href}add_role/ |
|
8
|
+
[**add_role**](RepositoriesContainerApi.md#add_role) | **POST** {container_container_repository_href}add_role/ | Add a role
|
9
9
|
[**build_image**](RepositoriesContainerApi.md#build_image) | **POST** {container_container_repository_href}build_image/ | Build an Image
|
10
10
|
[**copy_manifests**](RepositoriesContainerApi.md#copy_manifests) | **POST** {container_container_repository_href}copy_manifests/ | Copy manifests
|
11
11
|
[**copy_tags**](RepositoriesContainerApi.md#copy_tags) | **POST** {container_container_repository_href}copy_tags/ | Copy tags
|
12
12
|
[**create**](RepositoriesContainerApi.md#create) | **POST** /pulp/api/v3/repositories/container/container/ | Create a container repository
|
13
13
|
[**delete**](RepositoriesContainerApi.md#delete) | **DELETE** {container_container_repository_href} | Delete a container repository
|
14
14
|
[**list**](RepositoriesContainerApi.md#list) | **GET** /pulp/api/v3/repositories/container/container/ | List container repositorys
|
15
|
-
[**list_roles**](RepositoriesContainerApi.md#list_roles) | **GET** {container_container_repository_href}list_roles/ |
|
16
|
-
[**my_permissions**](RepositoriesContainerApi.md#my_permissions) | **GET** {container_container_repository_href}my_permissions/ |
|
15
|
+
[**list_roles**](RepositoriesContainerApi.md#list_roles) | **GET** {container_container_repository_href}list_roles/ | List roles
|
16
|
+
[**my_permissions**](RepositoriesContainerApi.md#my_permissions) | **GET** {container_container_repository_href}my_permissions/ | List user permissions
|
17
17
|
[**partial_update**](RepositoriesContainerApi.md#partial_update) | **PATCH** {container_container_repository_href} | Update a container repository
|
18
18
|
[**read**](RepositoriesContainerApi.md#read) | **GET** {container_container_repository_href} | Inspect a container repository
|
19
19
|
[**remove**](RepositoriesContainerApi.md#remove) | **POST** {container_container_repository_href}remove/ | Remove content
|
20
|
-
[**remove_role**](RepositoriesContainerApi.md#remove_role) | **POST** {container_container_repository_href}remove_role/ |
|
20
|
+
[**remove_role**](RepositoriesContainerApi.md#remove_role) | **POST** {container_container_repository_href}remove_role/ | Remove a role
|
21
|
+
[**set_label**](RepositoriesContainerApi.md#set_label) | **POST** {container_container_repository_href}set_label/ | Set a label
|
21
22
|
[**sign**](RepositoriesContainerApi.md#sign) | **POST** {container_container_repository_href}sign/ | Sign images in the repo
|
22
23
|
[**sync**](RepositoriesContainerApi.md#sync) | **POST** {container_container_repository_href}sync/ | Sync from a remote
|
23
24
|
[**tag**](RepositoriesContainerApi.md#tag) | **POST** {container_container_repository_href}tag/ | Create a Tag
|
25
|
+
[**unset_label**](RepositoriesContainerApi.md#unset_label) | **POST** {container_container_repository_href}unset_label/ | Unset a label
|
24
26
|
[**untag**](RepositoriesContainerApi.md#untag) | **POST** {container_container_repository_href}untag/ | Delete a tag
|
25
27
|
[**update**](RepositoriesContainerApi.md#update) | **PUT** {container_container_repository_href} | Update a container repository
|
26
28
|
|
@@ -85,7 +87,7 @@ Name | Type | Description | Notes
|
|
85
87
|
|
86
88
|
> NestedRoleResponse add_role(container_container_repository_href, nested_role)
|
87
89
|
|
88
|
-
|
90
|
+
Add a role
|
89
91
|
|
90
92
|
Add a role for this object to users/groups.
|
91
93
|
|
@@ -106,6 +108,7 @@ container_container_repository_href = 'container_container_repository_href_examp
|
|
106
108
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
107
109
|
|
108
110
|
begin
|
111
|
+
#Add a role
|
109
112
|
result = api_instance.add_role(container_container_repository_href, nested_role)
|
110
113
|
p result
|
111
114
|
rescue PulpContainerClient::ApiError => e
|
@@ -441,13 +444,16 @@ opts = {
|
|
441
444
|
name: 'name_example', # String | Filter results where name matches value
|
442
445
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
443
446
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
447
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
444
448
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
449
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
445
450
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
446
451
|
offset: 56, # Integer | The initial index from which to return the results.
|
447
452
|
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
448
453
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
449
454
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
450
455
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
456
|
+
q: 'q_example', # String |
|
451
457
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
452
458
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
453
459
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
@@ -481,14 +487,17 @@ Name | Type | Description | Notes
|
|
481
487
|
**name** | **String**| Filter results where name matches value | [optional]
|
482
488
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
483
489
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
490
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
484
491
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
492
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
485
493
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
486
494
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
487
495
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
488
496
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
489
497
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
490
498
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
491
|
-
**
|
499
|
+
**q** | **String**| | [optional]
|
500
|
+
**remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
|
492
501
|
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
493
502
|
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
494
503
|
**retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
|
@@ -519,7 +528,7 @@ Name | Type | Description | Notes
|
|
519
528
|
|
520
529
|
> ObjectRolesResponse list_roles(container_container_repository_href, opts)
|
521
530
|
|
522
|
-
|
531
|
+
List roles
|
523
532
|
|
524
533
|
List roles assigned to this object.
|
525
534
|
|
@@ -543,6 +552,7 @@ opts = {
|
|
543
552
|
}
|
544
553
|
|
545
554
|
begin
|
555
|
+
#List roles
|
546
556
|
result = api_instance.list_roles(container_container_repository_href, opts)
|
547
557
|
p result
|
548
558
|
rescue PulpContainerClient::ApiError => e
|
@@ -577,7 +587,7 @@ Name | Type | Description | Notes
|
|
577
587
|
|
578
588
|
> MyPermissionsResponse my_permissions(container_container_repository_href, opts)
|
579
589
|
|
580
|
-
|
590
|
+
List user permissions
|
581
591
|
|
582
592
|
List permissions available to the current user on this object.
|
583
593
|
|
@@ -601,6 +611,7 @@ opts = {
|
|
601
611
|
}
|
602
612
|
|
603
613
|
begin
|
614
|
+
#List user permissions
|
604
615
|
result = api_instance.my_permissions(container_container_repository_href, opts)
|
605
616
|
p result
|
606
617
|
rescue PulpContainerClient::ApiError => e
|
@@ -804,7 +815,7 @@ Name | Type | Description | Notes
|
|
804
815
|
|
805
816
|
> NestedRoleResponse remove_role(container_container_repository_href, nested_role)
|
806
817
|
|
807
|
-
|
818
|
+
Remove a role
|
808
819
|
|
809
820
|
Remove a role for this object from users/groups.
|
810
821
|
|
@@ -825,6 +836,7 @@ container_container_repository_href = 'container_container_repository_href_examp
|
|
825
836
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
826
837
|
|
827
838
|
begin
|
839
|
+
#Remove a role
|
828
840
|
result = api_instance.remove_role(container_container_repository_href, nested_role)
|
829
841
|
p result
|
830
842
|
rescue PulpContainerClient::ApiError => e
|
@@ -854,6 +866,61 @@ Name | Type | Description | Notes
|
|
854
866
|
- **Accept**: application/json
|
855
867
|
|
856
868
|
|
869
|
+
## set_label
|
870
|
+
|
871
|
+
> SetLabelResponse set_label(container_container_repository_href, set_label)
|
872
|
+
|
873
|
+
Set a label
|
874
|
+
|
875
|
+
Set a single pulp_label on the object to a specific value or null.
|
876
|
+
|
877
|
+
### Example
|
878
|
+
|
879
|
+
```ruby
|
880
|
+
# load the gem
|
881
|
+
require 'pulp_container_client'
|
882
|
+
# setup authorization
|
883
|
+
PulpContainerClient.configure do |config|
|
884
|
+
# Configure HTTP basic authorization: basicAuth
|
885
|
+
config.username = 'YOUR USERNAME'
|
886
|
+
config.password = 'YOUR PASSWORD'
|
887
|
+
end
|
888
|
+
|
889
|
+
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
890
|
+
container_container_repository_href = 'container_container_repository_href_example' # String |
|
891
|
+
set_label = PulpContainerClient::SetLabel.new # SetLabel |
|
892
|
+
|
893
|
+
begin
|
894
|
+
#Set a label
|
895
|
+
result = api_instance.set_label(container_container_repository_href, set_label)
|
896
|
+
p result
|
897
|
+
rescue PulpContainerClient::ApiError => e
|
898
|
+
puts "Exception when calling RepositoriesContainerApi->set_label: #{e}"
|
899
|
+
end
|
900
|
+
```
|
901
|
+
|
902
|
+
### Parameters
|
903
|
+
|
904
|
+
|
905
|
+
Name | Type | Description | Notes
|
906
|
+
------------- | ------------- | ------------- | -------------
|
907
|
+
**container_container_repository_href** | **String**| |
|
908
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
909
|
+
|
910
|
+
### Return type
|
911
|
+
|
912
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
913
|
+
|
914
|
+
### Authorization
|
915
|
+
|
916
|
+
[basicAuth](../README.md#basicAuth)
|
917
|
+
|
918
|
+
### HTTP request headers
|
919
|
+
|
920
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
921
|
+
- **Accept**: application/json
|
922
|
+
|
923
|
+
|
857
924
|
## sign
|
858
925
|
|
859
926
|
> AsyncOperationResponse sign(container_container_repository_href, repository_sign)
|
@@ -1019,6 +1086,61 @@ Name | Type | Description | Notes
|
|
1019
1086
|
- **Accept**: application/json
|
1020
1087
|
|
1021
1088
|
|
1089
|
+
## unset_label
|
1090
|
+
|
1091
|
+
> UnsetLabelResponse unset_label(container_container_repository_href, unset_label)
|
1092
|
+
|
1093
|
+
Unset a label
|
1094
|
+
|
1095
|
+
Unset a single pulp_label on the object.
|
1096
|
+
|
1097
|
+
### Example
|
1098
|
+
|
1099
|
+
```ruby
|
1100
|
+
# load the gem
|
1101
|
+
require 'pulp_container_client'
|
1102
|
+
# setup authorization
|
1103
|
+
PulpContainerClient.configure do |config|
|
1104
|
+
# Configure HTTP basic authorization: basicAuth
|
1105
|
+
config.username = 'YOUR USERNAME'
|
1106
|
+
config.password = 'YOUR PASSWORD'
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
1110
|
+
container_container_repository_href = 'container_container_repository_href_example' # String |
|
1111
|
+
unset_label = PulpContainerClient::UnsetLabel.new # UnsetLabel |
|
1112
|
+
|
1113
|
+
begin
|
1114
|
+
#Unset a label
|
1115
|
+
result = api_instance.unset_label(container_container_repository_href, unset_label)
|
1116
|
+
p result
|
1117
|
+
rescue PulpContainerClient::ApiError => e
|
1118
|
+
puts "Exception when calling RepositoriesContainerApi->unset_label: #{e}"
|
1119
|
+
end
|
1120
|
+
```
|
1121
|
+
|
1122
|
+
### Parameters
|
1123
|
+
|
1124
|
+
|
1125
|
+
Name | Type | Description | Notes
|
1126
|
+
------------- | ------------- | ------------- | -------------
|
1127
|
+
**container_container_repository_href** | **String**| |
|
1128
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
1129
|
+
|
1130
|
+
### Return type
|
1131
|
+
|
1132
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
1133
|
+
|
1134
|
+
### Authorization
|
1135
|
+
|
1136
|
+
[basicAuth](../README.md#basicAuth)
|
1137
|
+
|
1138
|
+
### HTTP request headers
|
1139
|
+
|
1140
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
1141
|
+
- **Accept**: application/json
|
1142
|
+
|
1143
|
+
|
1022
1144
|
## untag
|
1023
1145
|
|
1024
1146
|
> AsyncOperationResponse untag(container_container_repository_href, un_tag_image)
|
@@ -1,17 +1,17 @@
|
|
1
1
|
# PulpContainerClient::RepositoriesContainerPushApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**add_role**](RepositoriesContainerPushApi.md#add_role) | **POST** {container_container_push_repository_href}add_role/ |
|
7
|
+
[**add_role**](RepositoriesContainerPushApi.md#add_role) | **POST** {container_container_push_repository_href}add_role/ | Add a role
|
8
8
|
[**list**](RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
|
9
|
-
[**list_roles**](RepositoriesContainerPushApi.md#list_roles) | **GET** {container_container_push_repository_href}list_roles/ |
|
10
|
-
[**my_permissions**](RepositoriesContainerPushApi.md#my_permissions) | **GET** {container_container_push_repository_href}my_permissions/ |
|
9
|
+
[**list_roles**](RepositoriesContainerPushApi.md#list_roles) | **GET** {container_container_push_repository_href}list_roles/ | List roles
|
10
|
+
[**my_permissions**](RepositoriesContainerPushApi.md#my_permissions) | **GET** {container_container_push_repository_href}my_permissions/ | List user permissions
|
11
11
|
[**partial_update**](RepositoriesContainerPushApi.md#partial_update) | **PATCH** {container_container_push_repository_href} | Update a container push repository
|
12
12
|
[**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
|
13
13
|
[**remove_image**](RepositoriesContainerPushApi.md#remove_image) | **POST** {container_container_push_repository_href}remove_image/ | Delete an image from a repository
|
14
|
-
[**remove_role**](RepositoriesContainerPushApi.md#remove_role) | **POST** {container_container_push_repository_href}remove_role/ |
|
14
|
+
[**remove_role**](RepositoriesContainerPushApi.md#remove_role) | **POST** {container_container_push_repository_href}remove_role/ | Remove a role
|
15
15
|
[**remove_signatures**](RepositoriesContainerPushApi.md#remove_signatures) | **POST** {container_container_push_repository_href}remove_signatures/ |
|
16
16
|
[**sign**](RepositoriesContainerPushApi.md#sign) | **POST** {container_container_push_repository_href}sign/ | Sign images in the repo
|
17
17
|
[**tag**](RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag
|
@@ -24,7 +24,7 @@ Method | HTTP request | Description
|
|
24
24
|
|
25
25
|
> NestedRoleResponse add_role(container_container_push_repository_href, nested_role)
|
26
26
|
|
27
|
-
|
27
|
+
Add a role
|
28
28
|
|
29
29
|
Add a role for this object to users/groups.
|
30
30
|
|
@@ -45,6 +45,7 @@ container_container_push_repository_href = 'container_container_push_repository_
|
|
45
45
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
46
46
|
|
47
47
|
begin
|
48
|
+
#Add a role
|
48
49
|
result = api_instance.add_role(container_container_push_repository_href, nested_role)
|
49
50
|
p result
|
50
51
|
rescue PulpContainerClient::ApiError => e
|
@@ -101,13 +102,16 @@ opts = {
|
|
101
102
|
name: 'name_example', # String | Filter results where name matches value
|
102
103
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
103
104
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
105
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
104
106
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
107
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
105
108
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
106
109
|
offset: 56, # Integer | The initial index from which to return the results.
|
107
110
|
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
108
111
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
109
112
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
110
113
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
114
|
+
q: 'q_example', # String |
|
111
115
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
112
116
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
113
117
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
@@ -141,14 +145,17 @@ Name | Type | Description | Notes
|
|
141
145
|
**name** | **String**| Filter results where name matches value | [optional]
|
142
146
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
143
147
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
148
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
144
149
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
150
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
145
151
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
146
152
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
147
153
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
148
154
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
149
155
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
150
156
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
151
|
-
**
|
157
|
+
**q** | **String**| | [optional]
|
158
|
+
**remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
|
152
159
|
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
153
160
|
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
154
161
|
**retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
|
@@ -179,7 +186,7 @@ Name | Type | Description | Notes
|
|
179
186
|
|
180
187
|
> ObjectRolesResponse list_roles(container_container_push_repository_href, opts)
|
181
188
|
|
182
|
-
|
189
|
+
List roles
|
183
190
|
|
184
191
|
List roles assigned to this object.
|
185
192
|
|
@@ -203,6 +210,7 @@ opts = {
|
|
203
210
|
}
|
204
211
|
|
205
212
|
begin
|
213
|
+
#List roles
|
206
214
|
result = api_instance.list_roles(container_container_push_repository_href, opts)
|
207
215
|
p result
|
208
216
|
rescue PulpContainerClient::ApiError => e
|
@@ -237,7 +245,7 @@ Name | Type | Description | Notes
|
|
237
245
|
|
238
246
|
> MyPermissionsResponse my_permissions(container_container_push_repository_href, opts)
|
239
247
|
|
240
|
-
|
248
|
+
List user permissions
|
241
249
|
|
242
250
|
List permissions available to the current user on this object.
|
243
251
|
|
@@ -261,6 +269,7 @@ opts = {
|
|
261
269
|
}
|
262
270
|
|
263
271
|
begin
|
272
|
+
#List user permissions
|
264
273
|
result = api_instance.my_permissions(container_container_push_repository_href, opts)
|
265
274
|
p result
|
266
275
|
rescue PulpContainerClient::ApiError => e
|
@@ -464,7 +473,7 @@ Name | Type | Description | Notes
|
|
464
473
|
|
465
474
|
> NestedRoleResponse remove_role(container_container_push_repository_href, nested_role)
|
466
475
|
|
467
|
-
|
476
|
+
Remove a role
|
468
477
|
|
469
478
|
Remove a role for this object from users/groups.
|
470
479
|
|
@@ -485,6 +494,7 @@ container_container_push_repository_href = 'container_container_push_repository_
|
|
485
494
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
486
495
|
|
487
496
|
begin
|
497
|
+
#Remove a role
|
488
498
|
result = api_instance.remove_role(container_container_push_repository_href, nested_role)
|
489
499
|
p result
|
490
500
|
rescue PulpContainerClient::ApiError => e
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpContainerClient::RepositoriesContainerPushVersionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -105,6 +105,7 @@ opts = {
|
|
105
105
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
106
106
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
107
107
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
108
|
+
q: 'q_example', # String |
|
108
109
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
109
110
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
110
111
|
}
|
@@ -142,6 +143,7 @@ Name | Type | Description | Notes
|
|
142
143
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
143
144
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
144
145
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
146
|
+
**q** | **String**| | [optional]
|
145
147
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
146
148
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
147
149
|
|