pulp_container_client 2.15.1 → 2.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +36 -25
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/ContentBlobsApi.md +3 -1
- data/docs/ContentManifestsApi.md +5 -3
- data/docs/ContentSignaturesApi.md +11 -1
- data/docs/ContentTagsApi.md +5 -3
- data/docs/DistributionsContainerApi.md +136 -10
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PulpContainerNamespacesApi.md +23 -9
- data/docs/RemotesContainerApi.md +135 -9
- data/docs/RepositoriesContainerApi.md +136 -10
- data/docs/RepositoriesContainerPushApi.md +24 -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 +5 -2
- data/lib/pulp_container_client/api/content_signatures_api.rb +15 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +5 -2
- data/lib/pulp_container_client/api/distributions_container_api.rb +163 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +23 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +163 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +163 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +23 -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 +27 -27
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +45 -45
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +52 -52
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +27 -27
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
- 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 +2 -1
- data/spec/api/content_signatures_api_spec.rb +5 -0
- data/spec/api/content_tags_api_spec.rb +2 -1
- data/spec/api/distributions_container_api_spec.rb +35 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +9 -0
- data/spec/api/remotes_container_api_spec.rb +35 -0
- data/spec/api/repositories_container_api_spec.rb +35 -0
- data/spec/api/repositories_container_push_api_spec.rb +9 -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 +8 -8
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_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 +64 -48
@@ -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,11 @@ 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__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
216
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
217
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
211
218
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
212
219
|
namespace__name: 'namespace__name_example', # String |
|
213
220
|
offset: 56, # Integer | The initial index from which to return the results.
|
@@ -215,6 +222,7 @@ opts = {
|
|
215
222
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
216
223
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
217
224
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
225
|
+
q: 'q_example', # String |
|
218
226
|
repository: 'repository_example', # String | Filter results where repository matches value
|
219
227
|
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
220
228
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
@@ -244,7 +252,11 @@ Name | Type | Description | Notes
|
|
244
252
|
**name** | **String**| Filter results where name matches value | [optional]
|
245
253
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
246
254
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
255
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
247
256
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
257
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
258
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
259
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
248
260
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
249
261
|
**namespace__name** | **String**| | [optional]
|
250
262
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
@@ -252,7 +264,8 @@ Name | Type | Description | Notes
|
|
252
264
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
253
265
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
254
266
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
255
|
-
**
|
267
|
+
**q** | **String**| | [optional]
|
268
|
+
**repository** | [**String**](.md)| Filter results where repository matches value | [optional]
|
256
269
|
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
257
270
|
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
258
271
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
@@ -276,7 +289,7 @@ Name | Type | Description | Notes
|
|
276
289
|
|
277
290
|
> ObjectRolesResponse list_roles(container_container_distribution_href, opts)
|
278
291
|
|
279
|
-
|
292
|
+
List roles
|
280
293
|
|
281
294
|
List roles assigned to this object.
|
282
295
|
|
@@ -300,6 +313,7 @@ opts = {
|
|
300
313
|
}
|
301
314
|
|
302
315
|
begin
|
316
|
+
#List roles
|
303
317
|
result = api_instance.list_roles(container_container_distribution_href, opts)
|
304
318
|
p result
|
305
319
|
rescue PulpContainerClient::ApiError => e
|
@@ -334,7 +348,7 @@ Name | Type | Description | Notes
|
|
334
348
|
|
335
349
|
> MyPermissionsResponse my_permissions(container_container_distribution_href, opts)
|
336
350
|
|
337
|
-
|
351
|
+
List user permissions
|
338
352
|
|
339
353
|
List permissions available to the current user on this object.
|
340
354
|
|
@@ -358,6 +372,7 @@ opts = {
|
|
358
372
|
}
|
359
373
|
|
360
374
|
begin
|
375
|
+
#List user permissions
|
361
376
|
result = api_instance.my_permissions(container_container_distribution_href, opts)
|
362
377
|
p result
|
363
378
|
rescue PulpContainerClient::ApiError => e
|
@@ -506,7 +521,7 @@ Name | Type | Description | Notes
|
|
506
521
|
|
507
522
|
> NestedRoleResponse remove_role(container_container_distribution_href, nested_role)
|
508
523
|
|
509
|
-
|
524
|
+
Remove a role
|
510
525
|
|
511
526
|
Remove a role for this object from users/groups.
|
512
527
|
|
@@ -527,6 +542,7 @@ container_container_distribution_href = 'container_container_distribution_href_e
|
|
527
542
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
528
543
|
|
529
544
|
begin
|
545
|
+
#Remove a role
|
530
546
|
result = api_instance.remove_role(container_container_distribution_href, nested_role)
|
531
547
|
p result
|
532
548
|
rescue PulpContainerClient::ApiError => e
|
@@ -556,6 +572,116 @@ Name | Type | Description | Notes
|
|
556
572
|
- **Accept**: application/json
|
557
573
|
|
558
574
|
|
575
|
+
## set_label
|
576
|
+
|
577
|
+
> SetLabelResponse set_label(container_container_distribution_href, set_label)
|
578
|
+
|
579
|
+
Set a label
|
580
|
+
|
581
|
+
Set a single pulp_label on the object to a specific value or null.
|
582
|
+
|
583
|
+
### Example
|
584
|
+
|
585
|
+
```ruby
|
586
|
+
# load the gem
|
587
|
+
require 'pulp_container_client'
|
588
|
+
# setup authorization
|
589
|
+
PulpContainerClient.configure do |config|
|
590
|
+
# Configure HTTP basic authorization: basicAuth
|
591
|
+
config.username = 'YOUR USERNAME'
|
592
|
+
config.password = 'YOUR PASSWORD'
|
593
|
+
end
|
594
|
+
|
595
|
+
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
596
|
+
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
597
|
+
set_label = PulpContainerClient::SetLabel.new # SetLabel |
|
598
|
+
|
599
|
+
begin
|
600
|
+
#Set a label
|
601
|
+
result = api_instance.set_label(container_container_distribution_href, set_label)
|
602
|
+
p result
|
603
|
+
rescue PulpContainerClient::ApiError => e
|
604
|
+
puts "Exception when calling DistributionsContainerApi->set_label: #{e}"
|
605
|
+
end
|
606
|
+
```
|
607
|
+
|
608
|
+
### Parameters
|
609
|
+
|
610
|
+
|
611
|
+
Name | Type | Description | Notes
|
612
|
+
------------- | ------------- | ------------- | -------------
|
613
|
+
**container_container_distribution_href** | **String**| |
|
614
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
615
|
+
|
616
|
+
### Return type
|
617
|
+
|
618
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
619
|
+
|
620
|
+
### Authorization
|
621
|
+
|
622
|
+
[basicAuth](../README.md#basicAuth)
|
623
|
+
|
624
|
+
### HTTP request headers
|
625
|
+
|
626
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
627
|
+
- **Accept**: application/json
|
628
|
+
|
629
|
+
|
630
|
+
## unset_label
|
631
|
+
|
632
|
+
> UnsetLabelResponse unset_label(container_container_distribution_href, unset_label)
|
633
|
+
|
634
|
+
Unset a label
|
635
|
+
|
636
|
+
Unset a single pulp_label on the object.
|
637
|
+
|
638
|
+
### Example
|
639
|
+
|
640
|
+
```ruby
|
641
|
+
# load the gem
|
642
|
+
require 'pulp_container_client'
|
643
|
+
# setup authorization
|
644
|
+
PulpContainerClient.configure do |config|
|
645
|
+
# Configure HTTP basic authorization: basicAuth
|
646
|
+
config.username = 'YOUR USERNAME'
|
647
|
+
config.password = 'YOUR PASSWORD'
|
648
|
+
end
|
649
|
+
|
650
|
+
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
651
|
+
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
652
|
+
unset_label = PulpContainerClient::UnsetLabel.new # UnsetLabel |
|
653
|
+
|
654
|
+
begin
|
655
|
+
#Unset a label
|
656
|
+
result = api_instance.unset_label(container_container_distribution_href, unset_label)
|
657
|
+
p result
|
658
|
+
rescue PulpContainerClient::ApiError => e
|
659
|
+
puts "Exception when calling DistributionsContainerApi->unset_label: #{e}"
|
660
|
+
end
|
661
|
+
```
|
662
|
+
|
663
|
+
### Parameters
|
664
|
+
|
665
|
+
|
666
|
+
Name | Type | Description | Notes
|
667
|
+
------------- | ------------- | ------------- | -------------
|
668
|
+
**container_container_distribution_href** | **String**| |
|
669
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
670
|
+
|
671
|
+
### Return type
|
672
|
+
|
673
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
674
|
+
|
675
|
+
### Authorization
|
676
|
+
|
677
|
+
[basicAuth](../README.md#basicAuth)
|
678
|
+
|
679
|
+
### HTTP request headers
|
680
|
+
|
681
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
682
|
+
- **Accept**: application/json
|
683
|
+
|
684
|
+
|
559
685
|
## update
|
560
686
|
|
561
687
|
> AsyncOperationResponse update(container_container_distribution_href, container_container_distribution)
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
7
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
9
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
10
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
11
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
12
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [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]
|
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
22
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(hidden: null,
|
23
|
+
repository: null,
|
23
24
|
base_path: null,
|
24
|
-
name: null,
|
25
|
-
hidden: null,
|
26
|
-
pulp_labels: null,
|
27
25
|
content_guard: null,
|
26
|
+
pulp_labels: null,
|
27
|
+
name: 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]
|
8
|
-
**name** | **String** | A unique name for this repository. | [optional]
|
9
|
-
**description** | **String** | An optional description. | [optional]
|
10
7
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
9
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
11
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
19
|
-
name: null,
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(manifest_signing_service: null,
|
20
19
|
description: null,
|
21
|
-
|
22
|
-
pulp_labels: null
|
20
|
+
retain_repo_versions: null,
|
21
|
+
pulp_labels: null,
|
22
|
+
name: 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,17 @@ 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__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
208
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
209
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
205
210
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
206
211
|
offset: 56, # Integer | The initial index from which to return the results.
|
207
212
|
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
213
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
209
214
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
215
|
+
q: 'q_example', # String |
|
210
216
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
211
217
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
212
218
|
}
|
@@ -229,12 +235,17 @@ Name | Type | Description | Notes
|
|
229
235
|
**name** | **String**| Filter results where name matches value | [optional]
|
230
236
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
231
237
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
238
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
232
239
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
240
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
241
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
242
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
233
243
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
234
244
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
235
245
|
**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
246
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
237
247
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
248
|
+
**q** | **String**| | [optional]
|
238
249
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
239
250
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
240
251
|
|
@@ -256,7 +267,7 @@ Name | Type | Description | Notes
|
|
256
267
|
|
257
268
|
> ObjectRolesResponse list_roles(container_container_namespace_href, opts)
|
258
269
|
|
259
|
-
|
270
|
+
List roles
|
260
271
|
|
261
272
|
List roles assigned to this object.
|
262
273
|
|
@@ -280,6 +291,7 @@ opts = {
|
|
280
291
|
}
|
281
292
|
|
282
293
|
begin
|
294
|
+
#List roles
|
283
295
|
result = api_instance.list_roles(container_container_namespace_href, opts)
|
284
296
|
p result
|
285
297
|
rescue PulpContainerClient::ApiError => e
|
@@ -314,7 +326,7 @@ Name | Type | Description | Notes
|
|
314
326
|
|
315
327
|
> MyPermissionsResponse my_permissions(container_container_namespace_href, opts)
|
316
328
|
|
317
|
-
|
329
|
+
List user permissions
|
318
330
|
|
319
331
|
List permissions available to the current user on this object.
|
320
332
|
|
@@ -338,6 +350,7 @@ opts = {
|
|
338
350
|
}
|
339
351
|
|
340
352
|
begin
|
353
|
+
#List user permissions
|
341
354
|
result = api_instance.my_permissions(container_container_namespace_href, opts)
|
342
355
|
p result
|
343
356
|
rescue PulpContainerClient::ApiError => e
|
@@ -431,7 +444,7 @@ Name | Type | Description | Notes
|
|
431
444
|
|
432
445
|
> NestedRoleResponse remove_role(container_container_namespace_href, nested_role)
|
433
446
|
|
434
|
-
|
447
|
+
Remove a role
|
435
448
|
|
436
449
|
Remove a role for this object from users/groups.
|
437
450
|
|
@@ -452,6 +465,7 @@ container_container_namespace_href = 'container_container_namespace_href_example
|
|
452
465
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
453
466
|
|
454
467
|
begin
|
468
|
+
#Remove a role
|
455
469
|
result = api_instance.remove_role(container_container_namespace_href, nested_role)
|
456
470
|
p result
|
457
471
|
rescue PulpContainerClient::ApiError => e
|