pulp_container_client 2.15.6 → 2.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +27 -36
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/ContentBlobsApi.md +1 -3
- data/docs/ContentManifestsApi.md +1 -3
- data/docs/ContentSignaturesApi.md +1 -11
- data/docs/ContentTagsApi.md +1 -3
- data/docs/DistributionsContainerApi.md +10 -136
- data/docs/IndexDynamicApi.md +50 -0
- data/docs/IndexStaticApi.md +50 -0
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/docs/PulpContainerNamespacesApi.md +9 -23
- data/docs/RemotesContainerApi.md +9 -135
- data/docs/RepositoriesContainerApi.md +11 -137
- data/docs/RepositoriesContainerPushApi.md +10 -24
- data/docs/RepositoriesContainerPushVersionsApi.md +1 -3
- data/docs/RepositoriesContainerVersionsApi.md +1 -3
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +0 -3
- data/lib/pulp_container_client/api/content_manifests_api.rb +0 -3
- data/lib/pulp_container_client/api/content_signatures_api.rb +0 -15
- data/lib/pulp_container_client/api/content_tags_api.rb +0 -3
- data/lib/pulp_container_client/api/distributions_container_api.rb +0 -163
- data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
- data/lib/pulp_container_client/api/index_static_api.rb +74 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +0 -23
- data/lib/pulp_container_client/api/remotes_container_api.rb +0 -163
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -165
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -23
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +0 -3
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +0 -3
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +29 -29
- data/lib/pulp_container_client/models/container_container_push_repository.rb +26 -26
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +26 -26
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +2 -4
- data/spec/api/content_blobs_api_spec.rb +0 -1
- data/spec/api/content_manifests_api_spec.rb +0 -1
- data/spec/api/content_signatures_api_spec.rb +0 -5
- data/spec/api/content_tags_api_spec.rb +0 -1
- data/spec/api/distributions_container_api_spec.rb +0 -35
- data/spec/{models/set_label_spec.rb → api/index_dynamic_api_spec.rb} +11 -13
- data/spec/{models/unset_label_spec.rb → api/index_static_api_spec.rb} +12 -8
- data/spec/api/pulp_container_namespaces_api_spec.rb +0 -9
- data/spec/api/remotes_container_api_spec.rb +0 -35
- data/spec/api/repositories_container_api_spec.rb +1 -36
- data/spec/api/repositories_container_push_api_spec.rb +0 -9
- data/spec/api/repositories_container_push_versions_api_spec.rb +0 -1
- data/spec/api/repositories_container_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +4 -4
- data/spec/models/container_container_distribution_spec.rb +4 -4
- 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 +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +57 -65
- data/docs/SetLabel.md +0 -19
- data/docs/SetLabelResponse.md +0 -19
- data/docs/UnsetLabel.md +0 -17
- data/docs/UnsetLabelResponse.md +0 -19
- data/lib/pulp_container_client/models/set_label.rb +0 -252
- data/lib/pulp_container_client/models/set_label_response.rb +0 -243
- data/lib/pulp_container_client/models/unset_label.rb +0 -242
- data/lib/pulp_container_client/models/unset_label_response.rb +0 -242
- data/spec/models/set_label_response_spec.rb +0 -47
- data/spec/models/unset_label_response_spec.rb +0 -47
@@ -1,20 +1,18 @@
|
|
1
1
|
# PulpContainerClient::DistributionsContainerApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://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/ |
|
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/ |
|
12
|
+
[**my_permissions**](DistributionsContainerApi.md#my_permissions) | **GET** {container_container_distribution_href}my_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/ |
|
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
|
15
|
+
[**remove_role**](DistributionsContainerApi.md#remove_role) | **POST** {container_container_distribution_href}remove_role/ |
|
18
16
|
[**update**](DistributionsContainerApi.md#update) | **PUT** {container_container_distribution_href} | Update a container distribution
|
19
17
|
|
20
18
|
|
@@ -23,7 +21,7 @@ Method | HTTP request | Description
|
|
23
21
|
|
24
22
|
> NestedRoleResponse add_role(container_container_distribution_href, nested_role)
|
25
23
|
|
26
|
-
|
24
|
+
|
27
25
|
|
28
26
|
Add a role for this object to users/groups.
|
29
27
|
|
@@ -44,7 +42,6 @@ container_container_distribution_href = 'container_container_distribution_href_e
|
|
44
42
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
45
43
|
|
46
44
|
begin
|
47
|
-
#Add a role
|
48
45
|
result = api_instance.add_role(container_container_distribution_href, nested_role)
|
49
46
|
p result
|
50
47
|
rescue PulpContainerClient::ApiError => e
|
@@ -210,11 +207,7 @@ opts = {
|
|
210
207
|
name: 'name_example', # String | Filter results where name matches value
|
211
208
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
212
209
|
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
|
214
210
|
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
|
218
211
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
219
212
|
namespace__name: 'namespace__name_example', # String |
|
220
213
|
offset: 56, # Integer | The initial index from which to return the results.
|
@@ -222,7 +215,6 @@ opts = {
|
|
222
215
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
223
216
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
224
217
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
225
|
-
q: 'q_example', # String |
|
226
218
|
repository: 'repository_example', # String | Filter results where repository matches value
|
227
219
|
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
228
220
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
@@ -252,11 +244,7 @@ Name | Type | Description | Notes
|
|
252
244
|
**name** | **String**| Filter results where name matches value | [optional]
|
253
245
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
254
246
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
255
|
-
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
256
247
|
**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]
|
260
248
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
261
249
|
**namespace__name** | **String**| | [optional]
|
262
250
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
@@ -264,8 +252,7 @@ Name | Type | Description | Notes
|
|
264
252
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
265
253
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
266
254
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
267
|
-
**
|
268
|
-
**repository** | [**String**](.md)| Filter results where repository matches value | [optional]
|
255
|
+
**repository** | **String**| Filter results where repository matches value | [optional]
|
269
256
|
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
270
257
|
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
271
258
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
@@ -289,7 +276,7 @@ Name | Type | Description | Notes
|
|
289
276
|
|
290
277
|
> ObjectRolesResponse list_roles(container_container_distribution_href, opts)
|
291
278
|
|
292
|
-
|
279
|
+
|
293
280
|
|
294
281
|
List roles assigned to this object.
|
295
282
|
|
@@ -313,7 +300,6 @@ opts = {
|
|
313
300
|
}
|
314
301
|
|
315
302
|
begin
|
316
|
-
#List roles
|
317
303
|
result = api_instance.list_roles(container_container_distribution_href, opts)
|
318
304
|
p result
|
319
305
|
rescue PulpContainerClient::ApiError => e
|
@@ -348,7 +334,7 @@ Name | Type | Description | Notes
|
|
348
334
|
|
349
335
|
> MyPermissionsResponse my_permissions(container_container_distribution_href, opts)
|
350
336
|
|
351
|
-
|
337
|
+
|
352
338
|
|
353
339
|
List permissions available to the current user on this object.
|
354
340
|
|
@@ -372,7 +358,6 @@ opts = {
|
|
372
358
|
}
|
373
359
|
|
374
360
|
begin
|
375
|
-
#List user permissions
|
376
361
|
result = api_instance.my_permissions(container_container_distribution_href, opts)
|
377
362
|
p result
|
378
363
|
rescue PulpContainerClient::ApiError => e
|
@@ -521,7 +506,7 @@ Name | Type | Description | Notes
|
|
521
506
|
|
522
507
|
> NestedRoleResponse remove_role(container_container_distribution_href, nested_role)
|
523
508
|
|
524
|
-
|
509
|
+
|
525
510
|
|
526
511
|
Remove a role for this object from users/groups.
|
527
512
|
|
@@ -542,7 +527,6 @@ container_container_distribution_href = 'container_container_distribution_href_e
|
|
542
527
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
543
528
|
|
544
529
|
begin
|
545
|
-
#Remove a role
|
546
530
|
result = api_instance.remove_role(container_container_distribution_href, nested_role)
|
547
531
|
p result
|
548
532
|
rescue PulpContainerClient::ApiError => e
|
@@ -572,116 +556,6 @@ Name | Type | Description | Notes
|
|
572
556
|
- **Accept**: application/json
|
573
557
|
|
574
558
|
|
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
|
-
|
685
559
|
## update
|
686
560
|
|
687
561
|
> AsyncOperationResponse update(container_container_distribution_href, container_container_distribution)
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# PulpContainerClient::IndexDynamicApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**get**](IndexDynamicApi.md#get) | **GET** /index/dynamic |
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## get
|
12
|
+
|
13
|
+
> get
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
Handles requests to the /index/dynamic endpoint
|
18
|
+
|
19
|
+
### Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'pulp_container_client'
|
24
|
+
|
25
|
+
api_instance = PulpContainerClient::IndexDynamicApi.new
|
26
|
+
|
27
|
+
begin
|
28
|
+
api_instance.get
|
29
|
+
rescue PulpContainerClient::ApiError => e
|
30
|
+
puts "Exception when calling IndexDynamicApi->get: #{e}"
|
31
|
+
end
|
32
|
+
```
|
33
|
+
|
34
|
+
### Parameters
|
35
|
+
|
36
|
+
This endpoint does not need any parameter.
|
37
|
+
|
38
|
+
### Return type
|
39
|
+
|
40
|
+
nil (empty response body)
|
41
|
+
|
42
|
+
### Authorization
|
43
|
+
|
44
|
+
No authorization required
|
45
|
+
|
46
|
+
### HTTP request headers
|
47
|
+
|
48
|
+
- **Content-Type**: Not defined
|
49
|
+
- **Accept**: Not defined
|
50
|
+
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# PulpContainerClient::IndexStaticApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**get**](IndexStaticApi.md#get) | **GET** /index/static |
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## get
|
12
|
+
|
13
|
+
> get
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
Handles requests to the /index/static endpoint
|
18
|
+
|
19
|
+
### Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'pulp_container_client'
|
24
|
+
|
25
|
+
api_instance = PulpContainerClient::IndexStaticApi.new
|
26
|
+
|
27
|
+
begin
|
28
|
+
api_instance.get
|
29
|
+
rescue PulpContainerClient::ApiError => e
|
30
|
+
puts "Exception when calling IndexStaticApi->get: #{e}"
|
31
|
+
end
|
32
|
+
```
|
33
|
+
|
34
|
+
### Parameters
|
35
|
+
|
36
|
+
This endpoint does not need any parameter.
|
37
|
+
|
38
|
+
### Return type
|
39
|
+
|
40
|
+
nil (empty response body)
|
41
|
+
|
42
|
+
### Authorization
|
43
|
+
|
44
|
+
No authorization required
|
45
|
+
|
46
|
+
### HTTP request headers
|
47
|
+
|
48
|
+
- **Content-Type**: Not defined
|
49
|
+
- **Accept**: Not defined
|
50
|
+
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**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]
|
8
7
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
9
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
10
|
**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
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]
|
@@ -19,11 +19,11 @@ Name | Type | Description | Notes
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
23
|
-
hidden: null,
|
24
|
-
repository: null,
|
22
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(hidden: null,
|
25
23
|
pulp_labels: null,
|
24
|
+
repository: null,
|
26
25
|
content_guard: null,
|
26
|
+
base_path: null,
|
27
27
|
name: null,
|
28
28
|
repository_version: null,
|
29
29
|
private: null,
|
@@ -4,22 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
8
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
7
9
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
8
10
|
**description** | **String** | An optional description. | [optional]
|
9
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
11
|
**name** | **String** | A unique name for this repository. | [optional]
|
11
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
19
|
-
description: null,
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(manifest_signing_service: null,
|
20
19
|
pulp_labels: null,
|
21
|
-
|
22
|
-
|
20
|
+
retain_repo_versions: null,
|
21
|
+
description: 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 *https://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/ |
|
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/ |
|
12
|
+
[**my_permissions**](PulpContainerNamespacesApi.md#my_permissions) | **GET** {container_container_namespace_href}my_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/ |
|
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
|
+
|
23
23
|
|
24
24
|
Add a role for this object to users/groups.
|
25
25
|
|
@@ -40,7 +40,6 @@ 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
|
44
43
|
result = api_instance.add_role(container_container_namespace_href, nested_role)
|
45
44
|
p result
|
46
45
|
rescue PulpContainerClient::ApiError => e
|
@@ -202,17 +201,12 @@ opts = {
|
|
202
201
|
name: 'name_example', # String | Filter results where name matches value
|
203
202
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
204
203
|
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
|
206
204
|
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
|
210
205
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
211
206
|
offset: 56, # Integer | The initial index from which to return the results.
|
212
207
|
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)
|
213
208
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
214
209
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
215
|
-
q: 'q_example', # String |
|
216
210
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
217
211
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
218
212
|
}
|
@@ -235,17 +229,12 @@ Name | Type | Description | Notes
|
|
235
229
|
**name** | **String**| Filter results where name matches value | [optional]
|
236
230
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
237
231
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
238
|
-
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
239
232
|
**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]
|
243
233
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
244
234
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
245
235
|
**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]
|
246
236
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
247
237
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
248
|
-
**q** | **String**| | [optional]
|
249
238
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
250
239
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
251
240
|
|
@@ -267,7 +256,7 @@ Name | Type | Description | Notes
|
|
267
256
|
|
268
257
|
> ObjectRolesResponse list_roles(container_container_namespace_href, opts)
|
269
258
|
|
270
|
-
|
259
|
+
|
271
260
|
|
272
261
|
List roles assigned to this object.
|
273
262
|
|
@@ -291,7 +280,6 @@ opts = {
|
|
291
280
|
}
|
292
281
|
|
293
282
|
begin
|
294
|
-
#List roles
|
295
283
|
result = api_instance.list_roles(container_container_namespace_href, opts)
|
296
284
|
p result
|
297
285
|
rescue PulpContainerClient::ApiError => e
|
@@ -326,7 +314,7 @@ Name | Type | Description | Notes
|
|
326
314
|
|
327
315
|
> MyPermissionsResponse my_permissions(container_container_namespace_href, opts)
|
328
316
|
|
329
|
-
|
317
|
+
|
330
318
|
|
331
319
|
List permissions available to the current user on this object.
|
332
320
|
|
@@ -350,7 +338,6 @@ opts = {
|
|
350
338
|
}
|
351
339
|
|
352
340
|
begin
|
353
|
-
#List user permissions
|
354
341
|
result = api_instance.my_permissions(container_container_namespace_href, opts)
|
355
342
|
p result
|
356
343
|
rescue PulpContainerClient::ApiError => e
|
@@ -444,7 +431,7 @@ Name | Type | Description | Notes
|
|
444
431
|
|
445
432
|
> NestedRoleResponse remove_role(container_container_namespace_href, nested_role)
|
446
433
|
|
447
|
-
|
434
|
+
|
448
435
|
|
449
436
|
Remove a role for this object from users/groups.
|
450
437
|
|
@@ -465,7 +452,6 @@ container_container_namespace_href = 'container_container_namespace_href_example
|
|
465
452
|
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
466
453
|
|
467
454
|
begin
|
468
|
-
#Remove a role
|
469
455
|
result = api_instance.remove_role(container_container_namespace_href, nested_role)
|
470
456
|
p result
|
471
457
|
rescue PulpContainerClient::ApiError => e
|