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
@@ -1,18 +1,20 @@
|
|
1
1
|
# PulpContainerClient::DistributionsContainerApi
|
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**](DistributionsContainerApi.md#add_role) | **POST** {container_container_distribution_href}add_role/ |
|
7
|
+
[**add_role**](DistributionsContainerApi.md#add_role) | **POST** {container_container_distribution_href}add_role/ | Add a role
|
8
8
|
[**create**](DistributionsContainerApi.md#create) | **POST** /pulp/api/v3/distributions/container/container/ | Create a container distribution
|
9
9
|
[**delete**](DistributionsContainerApi.md#delete) | **DELETE** {container_container_distribution_href} | Delete a container distribution
|
10
10
|
[**list**](DistributionsContainerApi.md#list) | **GET** /pulp/api/v3/distributions/container/container/ | List container distributions
|
11
|
-
[**list_roles**](DistributionsContainerApi.md#list_roles) | **GET** {container_container_distribution_href}list_roles/ |
|
12
|
-
[**my_permissions**](DistributionsContainerApi.md#my_permissions) | **GET** {container_container_distribution_href}my_permissions/ |
|
11
|
+
[**list_roles**](DistributionsContainerApi.md#list_roles) | **GET** {container_container_distribution_href}list_roles/ | List roles
|
12
|
+
[**my_permissions**](DistributionsContainerApi.md#my_permissions) | **GET** {container_container_distribution_href}my_permissions/ | List user permissions
|
13
13
|
[**partial_update**](DistributionsContainerApi.md#partial_update) | **PATCH** {container_container_distribution_href} | Update a container distribution
|
14
14
|
[**read**](DistributionsContainerApi.md#read) | **GET** {container_container_distribution_href} | Inspect a container distribution
|
15
|
-
[**remove_role**](DistributionsContainerApi.md#remove_role) | **POST** {container_container_distribution_href}remove_role/ |
|
15
|
+
[**remove_role**](DistributionsContainerApi.md#remove_role) | **POST** {container_container_distribution_href}remove_role/ | Remove a role
|
16
|
+
[**set_label**](DistributionsContainerApi.md#set_label) | **POST** {container_container_distribution_href}set_label/ | Set a label
|
17
|
+
[**unset_label**](DistributionsContainerApi.md#unset_label) | **POST** {container_container_distribution_href}unset_label/ | Unset a label
|
16
18
|
[**update**](DistributionsContainerApi.md#update) | **PUT** {container_container_distribution_href} | Update a container distribution
|
17
19
|
|
18
20
|
|
@@ -21,7 +23,7 @@ Method | HTTP request | Description
|
|
21
23
|
|
22
24
|
> NestedRoleResponse add_role(container_container_distribution_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_distribution_href = 'container_container_distribution_href_e
|
|
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_distribution_href, nested_role)
|
46
49
|
p result
|
47
50
|
rescue PulpContainerClient::ApiError => e
|
@@ -207,7 +210,9 @@ opts = {
|
|
207
210
|
name: 'name_example', # String | Filter results where name matches value
|
208
211
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
209
212
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
213
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
210
214
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
215
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
211
216
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
212
217
|
namespace__name: 'namespace__name_example', # String |
|
213
218
|
offset: 56, # Integer | The initial index from which to return the results.
|
@@ -215,6 +220,7 @@ opts = {
|
|
215
220
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
216
221
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
217
222
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
223
|
+
q: 'q_example', # String |
|
218
224
|
repository: 'repository_example', # String | Filter results where repository matches value
|
219
225
|
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
220
226
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
@@ -244,7 +250,9 @@ Name | Type | Description | Notes
|
|
244
250
|
**name** | **String**| Filter results where name matches value | [optional]
|
245
251
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
246
252
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
253
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
247
254
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
255
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
248
256
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
249
257
|
**namespace__name** | **String**| | [optional]
|
250
258
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
@@ -252,7 +260,8 @@ Name | Type | Description | Notes
|
|
252
260
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
253
261
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
254
262
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
255
|
-
**
|
263
|
+
**q** | **String**| | [optional]
|
264
|
+
**repository** | [**String**](.md)| Filter results where repository matches value | [optional]
|
256
265
|
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
257
266
|
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
258
267
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
@@ -276,7 +285,7 @@ Name | Type | Description | Notes
|
|
276
285
|
|
277
286
|
> ObjectRolesResponse list_roles(container_container_distribution_href, opts)
|
278
287
|
|
279
|
-
|
288
|
+
List roles
|
280
289
|
|
281
290
|
List roles assigned to this object.
|
282
291
|
|
@@ -300,6 +309,7 @@ opts = {
|
|
300
309
|
}
|
301
310
|
|
302
311
|
begin
|
312
|
+
#List roles
|
303
313
|
result = api_instance.list_roles(container_container_distribution_href, opts)
|
304
314
|
p result
|
305
315
|
rescue PulpContainerClient::ApiError => e
|
@@ -334,7 +344,7 @@ Name | Type | Description | Notes
|
|
334
344
|
|
335
345
|
> MyPermissionsResponse my_permissions(container_container_distribution_href, opts)
|
336
346
|
|
337
|
-
|
347
|
+
List user permissions
|
338
348
|
|
339
349
|
List permissions available to the current user on this object.
|
340
350
|
|
@@ -358,6 +368,7 @@ opts = {
|
|
358
368
|
}
|
359
369
|
|
360
370
|
begin
|
371
|
+
#List user permissions
|
361
372
|
result = api_instance.my_permissions(container_container_distribution_href, opts)
|
362
373
|
p result
|
363
374
|
rescue PulpContainerClient::ApiError => e
|
@@ -506,7 +517,7 @@ Name | Type | Description | Notes
|
|
506
517
|
|
507
518
|
> NestedRoleResponse remove_role(container_container_distribution_href, nested_role)
|
508
519
|
|
509
|
-
|
520
|
+
Remove a role
|
510
521
|
|
511
522
|
Remove a role for this object from users/groups.
|
512
523
|
|
@@ -527,6 +538,7 @@ container_container_distribution_href = 'container_container_distribution_href_e
|
|
527
538
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
528
539
|
|
529
540
|
begin
|
541
|
+
#Remove a role
|
530
542
|
result = api_instance.remove_role(container_container_distribution_href, nested_role)
|
531
543
|
p result
|
532
544
|
rescue PulpContainerClient::ApiError => e
|
@@ -556,6 +568,116 @@ Name | Type | Description | Notes
|
|
556
568
|
- **Accept**: application/json
|
557
569
|
|
558
570
|
|
571
|
+
## set_label
|
572
|
+
|
573
|
+
> SetLabelResponse set_label(container_container_distribution_href, set_label)
|
574
|
+
|
575
|
+
Set a label
|
576
|
+
|
577
|
+
Set a single pulp_label on the object to a specific value or null.
|
578
|
+
|
579
|
+
### Example
|
580
|
+
|
581
|
+
```ruby
|
582
|
+
# load the gem
|
583
|
+
require 'pulp_container_client'
|
584
|
+
# setup authorization
|
585
|
+
PulpContainerClient.configure do |config|
|
586
|
+
# Configure HTTP basic authorization: basicAuth
|
587
|
+
config.username = 'YOUR USERNAME'
|
588
|
+
config.password = 'YOUR PASSWORD'
|
589
|
+
end
|
590
|
+
|
591
|
+
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
592
|
+
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
593
|
+
set_label = PulpContainerClient::SetLabel.new # SetLabel |
|
594
|
+
|
595
|
+
begin
|
596
|
+
#Set a label
|
597
|
+
result = api_instance.set_label(container_container_distribution_href, set_label)
|
598
|
+
p result
|
599
|
+
rescue PulpContainerClient::ApiError => e
|
600
|
+
puts "Exception when calling DistributionsContainerApi->set_label: #{e}"
|
601
|
+
end
|
602
|
+
```
|
603
|
+
|
604
|
+
### Parameters
|
605
|
+
|
606
|
+
|
607
|
+
Name | Type | Description | Notes
|
608
|
+
------------- | ------------- | ------------- | -------------
|
609
|
+
**container_container_distribution_href** | **String**| |
|
610
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
611
|
+
|
612
|
+
### Return type
|
613
|
+
|
614
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
615
|
+
|
616
|
+
### Authorization
|
617
|
+
|
618
|
+
[basicAuth](../README.md#basicAuth)
|
619
|
+
|
620
|
+
### HTTP request headers
|
621
|
+
|
622
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
623
|
+
- **Accept**: application/json
|
624
|
+
|
625
|
+
|
626
|
+
## unset_label
|
627
|
+
|
628
|
+
> UnsetLabelResponse unset_label(container_container_distribution_href, unset_label)
|
629
|
+
|
630
|
+
Unset a label
|
631
|
+
|
632
|
+
Unset a single pulp_label on the object.
|
633
|
+
|
634
|
+
### Example
|
635
|
+
|
636
|
+
```ruby
|
637
|
+
# load the gem
|
638
|
+
require 'pulp_container_client'
|
639
|
+
# setup authorization
|
640
|
+
PulpContainerClient.configure do |config|
|
641
|
+
# Configure HTTP basic authorization: basicAuth
|
642
|
+
config.username = 'YOUR USERNAME'
|
643
|
+
config.password = 'YOUR PASSWORD'
|
644
|
+
end
|
645
|
+
|
646
|
+
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
647
|
+
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
648
|
+
unset_label = PulpContainerClient::UnsetLabel.new # UnsetLabel |
|
649
|
+
|
650
|
+
begin
|
651
|
+
#Unset a label
|
652
|
+
result = api_instance.unset_label(container_container_distribution_href, unset_label)
|
653
|
+
p result
|
654
|
+
rescue PulpContainerClient::ApiError => e
|
655
|
+
puts "Exception when calling DistributionsContainerApi->unset_label: #{e}"
|
656
|
+
end
|
657
|
+
```
|
658
|
+
|
659
|
+
### Parameters
|
660
|
+
|
661
|
+
|
662
|
+
Name | Type | Description | Notes
|
663
|
+
------------- | ------------- | ------------- | -------------
|
664
|
+
**container_container_distribution_href** | **String**| |
|
665
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
666
|
+
|
667
|
+
### Return type
|
668
|
+
|
669
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
670
|
+
|
671
|
+
### Authorization
|
672
|
+
|
673
|
+
[basicAuth](../README.md#basicAuth)
|
674
|
+
|
675
|
+
### HTTP request headers
|
676
|
+
|
677
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
678
|
+
- **Accept**: application/json
|
679
|
+
|
680
|
+
|
559
681
|
## update
|
560
682
|
|
561
683
|
> AsyncOperationResponse update(container_container_distribution_href, container_container_distribution)
|
data/docs/IndexDynamicApi.md
CHANGED
data/docs/IndexStaticApi.md
CHANGED
@@ -6,10 +6,10 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
8
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
12
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
12
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
14
14
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
15
15
|
**description** | **String** | An optional description. | [optional]
|
@@ -21,10 +21,10 @@ require 'PulpContainerClient'
|
|
21
21
|
|
22
22
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(hidden: null,
|
23
23
|
pulp_labels: null,
|
24
|
-
repository: null,
|
25
24
|
content_guard: null,
|
26
|
-
base_path: null,
|
27
25
|
name: null,
|
26
|
+
base_path: null,
|
27
|
+
repository: null,
|
28
28
|
repository_version: null,
|
29
29
|
private: null,
|
30
30
|
description: null)
|
@@ -4,22 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
7
8
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
8
9
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
10
|
-
**description** | **String** | An optional description. | [optional]
|
11
10
|
**name** | **String** | A unique name for this repository. | [optional]
|
11
|
+
**description** | **String** | An optional description. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
|
19
|
+
manifest_signing_service: null,
|
19
20
|
pulp_labels: null,
|
20
|
-
|
21
|
-
description: null
|
22
|
-
name: null)
|
21
|
+
name: null,
|
22
|
+
description: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -1,17 +1,17 @@
|
|
1
1
|
# PulpContainerClient::PulpContainerNamespacesApi
|
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**](PulpContainerNamespacesApi.md#add_role) | **POST** {container_container_namespace_href}add_role/ |
|
7
|
+
[**add_role**](PulpContainerNamespacesApi.md#add_role) | **POST** {container_container_namespace_href}add_role/ | Add a role
|
8
8
|
[**create**](PulpContainerNamespacesApi.md#create) | **POST** /pulp/api/v3/pulp_container/namespaces/ | Create a container namespace
|
9
9
|
[**delete**](PulpContainerNamespacesApi.md#delete) | **DELETE** {container_container_namespace_href} | Delete a container namespace
|
10
10
|
[**list**](PulpContainerNamespacesApi.md#list) | **GET** /pulp/api/v3/pulp_container/namespaces/ | List container namespaces
|
11
|
-
[**list_roles**](PulpContainerNamespacesApi.md#list_roles) | **GET** {container_container_namespace_href}list_roles/ |
|
12
|
-
[**my_permissions**](PulpContainerNamespacesApi.md#my_permissions) | **GET** {container_container_namespace_href}my_permissions/ |
|
11
|
+
[**list_roles**](PulpContainerNamespacesApi.md#list_roles) | **GET** {container_container_namespace_href}list_roles/ | List roles
|
12
|
+
[**my_permissions**](PulpContainerNamespacesApi.md#my_permissions) | **GET** {container_container_namespace_href}my_permissions/ | List user permissions
|
13
13
|
[**read**](PulpContainerNamespacesApi.md#read) | **GET** {container_container_namespace_href} | Inspect a container namespace
|
14
|
-
[**remove_role**](PulpContainerNamespacesApi.md#remove_role) | **POST** {container_container_namespace_href}remove_role/ |
|
14
|
+
[**remove_role**](PulpContainerNamespacesApi.md#remove_role) | **POST** {container_container_namespace_href}remove_role/ | Remove a role
|
15
15
|
|
16
16
|
|
17
17
|
|
@@ -19,7 +19,7 @@ Method | HTTP request | Description
|
|
19
19
|
|
20
20
|
> NestedRoleResponse add_role(container_container_namespace_href, nested_role)
|
21
21
|
|
22
|
-
|
22
|
+
Add a role
|
23
23
|
|
24
24
|
Add a role for this object to users/groups.
|
25
25
|
|
@@ -40,6 +40,7 @@ container_container_namespace_href = 'container_container_namespace_href_example
|
|
40
40
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
41
41
|
|
42
42
|
begin
|
43
|
+
#Add a role
|
43
44
|
result = api_instance.add_role(container_container_namespace_href, nested_role)
|
44
45
|
p result
|
45
46
|
rescue PulpContainerClient::ApiError => e
|
@@ -201,12 +202,15 @@ opts = {
|
|
201
202
|
name: 'name_example', # String | Filter results where name matches value
|
202
203
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
203
204
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
205
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
204
206
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
207
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
205
208
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
206
209
|
offset: 56, # Integer | The initial index from which to return the results.
|
207
210
|
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) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
208
211
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
209
212
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
213
|
+
q: 'q_example', # String |
|
210
214
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
211
215
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
212
216
|
}
|
@@ -229,12 +233,15 @@ Name | Type | Description | Notes
|
|
229
233
|
**name** | **String**| Filter results where name matches value | [optional]
|
230
234
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
231
235
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
236
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
232
237
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
238
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
233
239
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
234
240
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
235
241
|
**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) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
236
242
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
237
243
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
244
|
+
**q** | **String**| | [optional]
|
238
245
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
239
246
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
240
247
|
|
@@ -256,7 +263,7 @@ Name | Type | Description | Notes
|
|
256
263
|
|
257
264
|
> ObjectRolesResponse list_roles(container_container_namespace_href, opts)
|
258
265
|
|
259
|
-
|
266
|
+
List roles
|
260
267
|
|
261
268
|
List roles assigned to this object.
|
262
269
|
|
@@ -280,6 +287,7 @@ opts = {
|
|
280
287
|
}
|
281
288
|
|
282
289
|
begin
|
290
|
+
#List roles
|
283
291
|
result = api_instance.list_roles(container_container_namespace_href, opts)
|
284
292
|
p result
|
285
293
|
rescue PulpContainerClient::ApiError => e
|
@@ -314,7 +322,7 @@ Name | Type | Description | Notes
|
|
314
322
|
|
315
323
|
> MyPermissionsResponse my_permissions(container_container_namespace_href, opts)
|
316
324
|
|
317
|
-
|
325
|
+
List user permissions
|
318
326
|
|
319
327
|
List permissions available to the current user on this object.
|
320
328
|
|
@@ -338,6 +346,7 @@ opts = {
|
|
338
346
|
}
|
339
347
|
|
340
348
|
begin
|
349
|
+
#List user permissions
|
341
350
|
result = api_instance.my_permissions(container_container_namespace_href, opts)
|
342
351
|
p result
|
343
352
|
rescue PulpContainerClient::ApiError => e
|
@@ -431,7 +440,7 @@ Name | Type | Description | Notes
|
|
431
440
|
|
432
441
|
> NestedRoleResponse remove_role(container_container_namespace_href, nested_role)
|
433
442
|
|
434
|
-
|
443
|
+
Remove a role
|
435
444
|
|
436
445
|
Remove a role for this object from users/groups.
|
437
446
|
|
@@ -452,6 +461,7 @@ container_container_namespace_href = 'container_container_namespace_href_example
|
|
452
461
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
453
462
|
|
454
463
|
begin
|
464
|
+
#Remove a role
|
455
465
|
result = api_instance.remove_role(container_container_namespace_href, nested_role)
|
456
466
|
p result
|
457
467
|
rescue PulpContainerClient::ApiError => e
|