pulp_container_client 2.10.13 → 2.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +41 -17
  3. data/docs/ContainerBlobResponse.md +1 -3
  4. data/docs/ContainerContainerDistribution.md +5 -5
  5. data/docs/ContainerContainerDistributionResponse.md +9 -9
  6. data/docs/ContainerContainerPushRepository.md +7 -5
  7. data/docs/ContainerContainerPushRepositoryResponse.md +14 -12
  8. data/docs/ContainerContainerRemote.md +3 -1
  9. data/docs/ContainerContainerRemoteResponse.md +3 -1
  10. data/docs/ContainerContainerRepository.md +3 -1
  11. data/docs/ContainerContainerRepositoryResponse.md +3 -1
  12. data/docs/ContainerManifestSignatureResponse.md +33 -0
  13. data/docs/{RepositorySyncURL.md → ContainerRepositorySyncURL.md} +5 -3
  14. data/docs/ContentBlobsApi.md +0 -2
  15. data/docs/ContentSignaturesApi.md +158 -0
  16. data/docs/ContentSummary.md +21 -0
  17. data/docs/DistributionsContainerApi.md +228 -0
  18. data/docs/MyPermissionsResponse.md +17 -0
  19. data/docs/NestedRole.md +21 -0
  20. data/docs/NestedRoleResponse.md +21 -0
  21. data/docs/ObjectRolesResponse.md +17 -0
  22. data/docs/{PaginatedcontainerContentRedirectContentGuardResponseList.md → PaginatedcontainerManifestSignatureResponseList.md} +3 -3
  23. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  24. data/docs/PatchedcontainerContainerPushRepository.md +7 -5
  25. data/docs/PatchedcontainerContainerRemote.md +3 -1
  26. data/docs/PatchedcontainerContainerRepository.md +3 -1
  27. data/docs/PulpContainerNamespacesApi.md +228 -0
  28. data/docs/RemotesContainerApi.md +228 -0
  29. data/docs/RemoveSignatures.md +17 -0
  30. data/docs/RemoveSignaturesResponse.md +17 -0
  31. data/docs/RepositoriesContainerApi.md +288 -4
  32. data/docs/RepositoriesContainerPushApi.md +339 -0
  33. data/docs/RepositoriesContainerPushVersionsApi.md +4 -4
  34. data/docs/RepositoriesContainerVersionsApi.md +4 -4
  35. data/docs/RepositorySign.md +21 -0
  36. data/docs/RepositoryVersion.md +17 -0
  37. data/git_push.sh +58 -0
  38. data/lib/pulp_container_client/api/content_blobs_api.rb +0 -7
  39. data/lib/pulp_container_client/api/content_signatures_api.rb +200 -0
  40. data/lib/pulp_container_client/api/distributions_container_api.rb +268 -0
  41. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +268 -0
  42. data/lib/pulp_container_client/api/remotes_container_api.rb +268 -0
  43. data/lib/pulp_container_client/api/repositories_container_api.rb +347 -9
  44. data/lib/pulp_container_client/api/repositories_container_push_api.rb +406 -0
  45. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +9 -9
  46. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +9 -9
  47. data/lib/pulp_container_client/api_client.rb +5 -2
  48. data/lib/pulp_container_client/configuration.rb +0 -1
  49. data/lib/pulp_container_client/models/container_blob_response.rb +4 -19
  50. data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
  51. data/lib/pulp_container_client/models/container_container_distribution_response.rb +34 -34
  52. data/lib/pulp_container_client/models/container_container_push_repository.rb +44 -33
  53. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -44
  54. data/lib/pulp_container_client/models/container_container_remote.rb +30 -5
  55. data/lib/pulp_container_client/models/container_container_remote_response.rb +15 -5
  56. data/lib/pulp_container_client/models/container_container_repository.rb +16 -5
  57. data/lib/pulp_container_client/models/container_container_repository_response.rb +16 -5
  58. data/lib/pulp_container_client/models/{container_content_redirect_content_guard.rb → container_manifest_signature_response.rb} +108 -44
  59. data/lib/pulp_container_client/models/{repository_sync_url.rb → container_repository_sync_url.rb} +20 -8
  60. data/lib/pulp_container_client/models/content_summary.rb +246 -0
  61. data/lib/pulp_container_client/models/my_permissions_response.rb +213 -0
  62. data/lib/pulp_container_client/models/{container_content_redirect_content_guard_response.rb → nested_role.rb} +30 -39
  63. data/lib/pulp_container_client/models/nested_role_response.rb +234 -0
  64. data/lib/pulp_container_client/models/{repair.rb → object_roles_response.rb} +17 -13
  65. data/lib/pulp_container_client/models/{paginatedcontainer_content_redirect_content_guard_response_list.rb → paginatedcontainer_manifest_signature_response_list.rb} +4 -4
  66. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
  67. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +44 -33
  68. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +30 -5
  69. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +16 -5
  70. data/lib/pulp_container_client/models/remove_signatures.rb +232 -0
  71. data/lib/pulp_container_client/models/remove_signatures_response.rb +213 -0
  72. data/lib/pulp_container_client/models/{patchedcontainer_content_redirect_content_guard.rb → repository_sign.rb} +40 -43
  73. data/lib/pulp_container_client/models/repository_version.rb +208 -0
  74. data/lib/pulp_container_client/version.rb +1 -1
  75. data/lib/pulp_container_client.rb +13 -7
  76. data/pulp_container_client.gemspec +3 -3
  77. data/spec/api/content_blobs_api_spec.rb +0 -1
  78. data/spec/api/content_signatures_api_spec.rb +78 -0
  79. data/spec/api/distributions_container_api_spec.rb +50 -0
  80. data/spec/api/pulp_container_namespaces_api_spec.rb +50 -0
  81. data/spec/api/remotes_container_api_spec.rb +50 -0
  82. data/spec/api/repositories_container_api_spec.rb +64 -1
  83. data/spec/api/repositories_container_push_api_spec.rb +75 -0
  84. data/spec/api/repositories_container_push_versions_api_spec.rb +1 -1
  85. data/spec/api/repositories_container_versions_api_spec.rb +1 -1
  86. data/spec/models/container_blob_response_spec.rb +0 -6
  87. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  88. data/spec/models/container_container_distribution_spec.rb +5 -5
  89. data/spec/models/container_container_push_repository_response_spec.rb +13 -7
  90. data/spec/models/container_container_push_repository_spec.rb +9 -3
  91. data/spec/models/container_container_remote_response_spec.rb +6 -0
  92. data/spec/models/container_container_remote_spec.rb +6 -0
  93. data/spec/models/container_container_repository_response_spec.rb +6 -0
  94. data/spec/models/container_container_repository_spec.rb +6 -0
  95. data/spec/models/container_manifest_signature_response_spec.rb +89 -0
  96. data/spec/models/{container_content_redirect_content_guard_response_spec.rb → container_repository_sync_url_spec.rb} +9 -15
  97. data/spec/models/{container_content_redirect_content_guard_spec.rb → content_summary_spec.rb} +14 -8
  98. data/spec/models/my_permissions_response_spec.rb +41 -0
  99. data/spec/models/nested_role_response_spec.rb +53 -0
  100. data/spec/models/{patchedcontainer_content_redirect_content_guard_spec.rb → nested_role_spec.rb} +14 -8
  101. data/spec/models/object_roles_response_spec.rb +41 -0
  102. data/spec/models/{paginatedcontainer_content_redirect_content_guard_response_list_spec.rb → paginatedcontainer_manifest_signature_response_list_spec.rb} +6 -6
  103. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  104. data/spec/models/patchedcontainer_container_push_repository_spec.rb +9 -3
  105. data/spec/models/patchedcontainer_container_remote_spec.rb +6 -0
  106. data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
  107. data/spec/models/remove_signatures_response_spec.rb +41 -0
  108. data/spec/models/{repair_spec.rb → remove_signatures_spec.rb} +7 -7
  109. data/spec/models/{repository_sync_url_spec.rb → repository_sign_spec.rb} +14 -8
  110. data/spec/models/repository_version_spec.rb +41 -0
  111. metadata +99 -74
  112. data/docs/ContainerContentRedirectContentGuard.md +0 -19
  113. data/docs/ContainerContentRedirectContentGuardResponse.md +0 -23
  114. data/docs/ContentguardsContentRedirectApi.md +0 -361
  115. data/docs/PatchedcontainerContentRedirectContentGuard.md +0 -19
  116. data/docs/Repair.md +0 -17
  117. data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +0 -440
  118. data/spec/api/contentguards_content_redirect_api_spec.rb +0 -120
@@ -5,15 +5,20 @@ All URIs are relative to *https://pulp*
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
9
  [**build_image**](RepositoriesContainerApi.md#build_image) | **POST** {container_container_repository_href}build_image/ | Build an Image
9
10
  [**copy_manifests**](RepositoriesContainerApi.md#copy_manifests) | **POST** {container_container_repository_href}copy_manifests/ | Copy manifests
10
11
  [**copy_tags**](RepositoriesContainerApi.md#copy_tags) | **POST** {container_container_repository_href}copy_tags/ | Copy tags
11
12
  [**create**](RepositoriesContainerApi.md#create) | **POST** /pulp/api/v3/repositories/container/container/ | Create a container repository
12
13
  [**delete**](RepositoriesContainerApi.md#delete) | **DELETE** {container_container_repository_href} | Delete a container repository
13
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/ |
14
17
  [**partial_update**](RepositoriesContainerApi.md#partial_update) | **PATCH** {container_container_repository_href} | Update a container repository
15
18
  [**read**](RepositoriesContainerApi.md#read) | **GET** {container_container_repository_href} | Inspect a container repository
16
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/ |
21
+ [**sign**](RepositoriesContainerApi.md#sign) | **POST** {container_container_repository_href}sign/ | Sign images in the repo
17
22
  [**sync**](RepositoriesContainerApi.md#sync) | **POST** {container_container_repository_href}sync/ | Sync from a remote
18
23
  [**tag**](RepositoriesContainerApi.md#tag) | **POST** {container_container_repository_href}tag/ | Create a Tag
19
24
  [**untag**](RepositoriesContainerApi.md#untag) | **POST** {container_container_repository_href}untag/ | Delete a tag
@@ -76,6 +81,60 @@ Name | Type | Description | Notes
76
81
  - **Accept**: application/json
77
82
 
78
83
 
84
+ ## add_role
85
+
86
+ > NestedRoleResponse add_role(container_container_repository_href, nested_role)
87
+
88
+
89
+
90
+ Add a role for this object to users/groups.
91
+
92
+ ### Example
93
+
94
+ ```ruby
95
+ # load the gem
96
+ require 'pulp_container_client'
97
+ # setup authorization
98
+ PulpContainerClient.configure do |config|
99
+ # Configure HTTP basic authorization: basicAuth
100
+ config.username = 'YOUR USERNAME'
101
+ config.password = 'YOUR PASSWORD'
102
+ end
103
+
104
+ api_instance = PulpContainerClient::RepositoriesContainerApi.new
105
+ container_container_repository_href = 'container_container_repository_href_example' # String |
106
+ nested_role = PulpContainerClient::NestedRole.new # NestedRole |
107
+
108
+ begin
109
+ result = api_instance.add_role(container_container_repository_href, nested_role)
110
+ p result
111
+ rescue PulpContainerClient::ApiError => e
112
+ puts "Exception when calling RepositoriesContainerApi->add_role: #{e}"
113
+ end
114
+ ```
115
+
116
+ ### Parameters
117
+
118
+
119
+ Name | Type | Description | Notes
120
+ ------------- | ------------- | ------------- | -------------
121
+ **container_container_repository_href** | **String**| |
122
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
123
+
124
+ ### Return type
125
+
126
+ [**NestedRoleResponse**](NestedRoleResponse.md)
127
+
128
+ ### Authorization
129
+
130
+ [basicAuth](../README.md#basicAuth)
131
+
132
+ ### HTTP request headers
133
+
134
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
135
+ - **Accept**: application/json
136
+
137
+
79
138
  ## build_image
80
139
 
81
140
  > AsyncOperationResponse build_image(container_container_repository_href, opts)
@@ -430,6 +489,122 @@ Name | Type | Description | Notes
430
489
  - **Accept**: application/json
431
490
 
432
491
 
492
+ ## list_roles
493
+
494
+ > ObjectRolesResponse list_roles(container_container_repository_href, opts)
495
+
496
+
497
+
498
+ List roles assigned to this object.
499
+
500
+ ### Example
501
+
502
+ ```ruby
503
+ # load the gem
504
+ require 'pulp_container_client'
505
+ # setup authorization
506
+ PulpContainerClient.configure do |config|
507
+ # Configure HTTP basic authorization: basicAuth
508
+ config.username = 'YOUR USERNAME'
509
+ config.password = 'YOUR PASSWORD'
510
+ end
511
+
512
+ api_instance = PulpContainerClient::RepositoriesContainerApi.new
513
+ container_container_repository_href = 'container_container_repository_href_example' # String |
514
+ opts = {
515
+ fields: 'fields_example', # String | A list of fields to include in the response.
516
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
517
+ }
518
+
519
+ begin
520
+ result = api_instance.list_roles(container_container_repository_href, opts)
521
+ p result
522
+ rescue PulpContainerClient::ApiError => e
523
+ puts "Exception when calling RepositoriesContainerApi->list_roles: #{e}"
524
+ end
525
+ ```
526
+
527
+ ### Parameters
528
+
529
+
530
+ Name | Type | Description | Notes
531
+ ------------- | ------------- | ------------- | -------------
532
+ **container_container_repository_href** | **String**| |
533
+ **fields** | **String**| A list of fields to include in the response. | [optional]
534
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
535
+
536
+ ### Return type
537
+
538
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
539
+
540
+ ### Authorization
541
+
542
+ [basicAuth](../README.md#basicAuth)
543
+
544
+ ### HTTP request headers
545
+
546
+ - **Content-Type**: Not defined
547
+ - **Accept**: application/json
548
+
549
+
550
+ ## my_permissions
551
+
552
+ > MyPermissionsResponse my_permissions(container_container_repository_href, opts)
553
+
554
+
555
+
556
+ List permissions available to the current user on this object.
557
+
558
+ ### Example
559
+
560
+ ```ruby
561
+ # load the gem
562
+ require 'pulp_container_client'
563
+ # setup authorization
564
+ PulpContainerClient.configure do |config|
565
+ # Configure HTTP basic authorization: basicAuth
566
+ config.username = 'YOUR USERNAME'
567
+ config.password = 'YOUR PASSWORD'
568
+ end
569
+
570
+ api_instance = PulpContainerClient::RepositoriesContainerApi.new
571
+ container_container_repository_href = 'container_container_repository_href_example' # String |
572
+ opts = {
573
+ fields: 'fields_example', # String | A list of fields to include in the response.
574
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
575
+ }
576
+
577
+ begin
578
+ result = api_instance.my_permissions(container_container_repository_href, opts)
579
+ p result
580
+ rescue PulpContainerClient::ApiError => e
581
+ puts "Exception when calling RepositoriesContainerApi->my_permissions: #{e}"
582
+ end
583
+ ```
584
+
585
+ ### Parameters
586
+
587
+
588
+ Name | Type | Description | Notes
589
+ ------------- | ------------- | ------------- | -------------
590
+ **container_container_repository_href** | **String**| |
591
+ **fields** | **String**| A list of fields to include in the response. | [optional]
592
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
593
+
594
+ ### Return type
595
+
596
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
597
+
598
+ ### Authorization
599
+
600
+ [basicAuth](../README.md#basicAuth)
601
+
602
+ ### HTTP request headers
603
+
604
+ - **Content-Type**: Not defined
605
+ - **Accept**: application/json
606
+
607
+
433
608
  ## partial_update
434
609
 
435
610
  > AsyncOperationResponse partial_update(container_container_repository_href, patchedcontainer_container_repository)
@@ -599,9 +774,118 @@ Name | Type | Description | Notes
599
774
  - **Accept**: application/json
600
775
 
601
776
 
777
+ ## remove_role
778
+
779
+ > NestedRoleResponse remove_role(container_container_repository_href, nested_role)
780
+
781
+
782
+
783
+ Remove a role for this object from users/groups.
784
+
785
+ ### Example
786
+
787
+ ```ruby
788
+ # load the gem
789
+ require 'pulp_container_client'
790
+ # setup authorization
791
+ PulpContainerClient.configure do |config|
792
+ # Configure HTTP basic authorization: basicAuth
793
+ config.username = 'YOUR USERNAME'
794
+ config.password = 'YOUR PASSWORD'
795
+ end
796
+
797
+ api_instance = PulpContainerClient::RepositoriesContainerApi.new
798
+ container_container_repository_href = 'container_container_repository_href_example' # String |
799
+ nested_role = PulpContainerClient::NestedRole.new # NestedRole |
800
+
801
+ begin
802
+ result = api_instance.remove_role(container_container_repository_href, nested_role)
803
+ p result
804
+ rescue PulpContainerClient::ApiError => e
805
+ puts "Exception when calling RepositoriesContainerApi->remove_role: #{e}"
806
+ end
807
+ ```
808
+
809
+ ### Parameters
810
+
811
+
812
+ Name | Type | Description | Notes
813
+ ------------- | ------------- | ------------- | -------------
814
+ **container_container_repository_href** | **String**| |
815
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
816
+
817
+ ### Return type
818
+
819
+ [**NestedRoleResponse**](NestedRoleResponse.md)
820
+
821
+ ### Authorization
822
+
823
+ [basicAuth](../README.md#basicAuth)
824
+
825
+ ### HTTP request headers
826
+
827
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
828
+ - **Accept**: application/json
829
+
830
+
831
+ ## sign
832
+
833
+ > AsyncOperationResponse sign(container_container_repository_href, repository_sign)
834
+
835
+ Sign images in the repo
836
+
837
+ Trigger an asynchronous task to sign content.
838
+
839
+ ### Example
840
+
841
+ ```ruby
842
+ # load the gem
843
+ require 'pulp_container_client'
844
+ # setup authorization
845
+ PulpContainerClient.configure do |config|
846
+ # Configure HTTP basic authorization: basicAuth
847
+ config.username = 'YOUR USERNAME'
848
+ config.password = 'YOUR PASSWORD'
849
+ end
850
+
851
+ api_instance = PulpContainerClient::RepositoriesContainerApi.new
852
+ container_container_repository_href = 'container_container_repository_href_example' # String |
853
+ repository_sign = PulpContainerClient::RepositorySign.new # RepositorySign |
854
+
855
+ begin
856
+ #Sign images in the repo
857
+ result = api_instance.sign(container_container_repository_href, repository_sign)
858
+ p result
859
+ rescue PulpContainerClient::ApiError => e
860
+ puts "Exception when calling RepositoriesContainerApi->sign: #{e}"
861
+ end
862
+ ```
863
+
864
+ ### Parameters
865
+
866
+
867
+ Name | Type | Description | Notes
868
+ ------------- | ------------- | ------------- | -------------
869
+ **container_container_repository_href** | **String**| |
870
+ **repository_sign** | [**RepositorySign**](RepositorySign.md)| |
871
+
872
+ ### Return type
873
+
874
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
875
+
876
+ ### Authorization
877
+
878
+ [basicAuth](../README.md#basicAuth)
879
+
880
+ ### HTTP request headers
881
+
882
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
883
+ - **Accept**: application/json
884
+
885
+
602
886
  ## sync
603
887
 
604
- > AsyncOperationResponse sync(container_container_repository_href, repository_sync_url)
888
+ > AsyncOperationResponse sync(container_container_repository_href, container_repository_sync_url)
605
889
 
606
890
  Sync from a remote
607
891
 
@@ -621,11 +905,11 @@ end
621
905
 
622
906
  api_instance = PulpContainerClient::RepositoriesContainerApi.new
623
907
  container_container_repository_href = 'container_container_repository_href_example' # String |
624
- repository_sync_url = PulpContainerClient::RepositorySyncURL.new # RepositorySyncURL |
908
+ container_repository_sync_url = PulpContainerClient::ContainerRepositorySyncURL.new # ContainerRepositorySyncURL |
625
909
 
626
910
  begin
627
911
  #Sync from a remote
628
- result = api_instance.sync(container_container_repository_href, repository_sync_url)
912
+ result = api_instance.sync(container_container_repository_href, container_repository_sync_url)
629
913
  p result
630
914
  rescue PulpContainerClient::ApiError => e
631
915
  puts "Exception when calling RepositoriesContainerApi->sync: #{e}"
@@ -638,7 +922,7 @@ end
638
922
  Name | Type | Description | Notes
639
923
  ------------- | ------------- | ------------- | -------------
640
924
  **container_container_repository_href** | **String**| |
641
- **repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md)| |
925
+ **container_repository_sync_url** | [**ContainerRepositorySyncURL**](ContainerRepositorySyncURL.md)| |
642
926
 
643
927
  ### Return type
644
928
 
@@ -4,16 +4,76 @@ All URIs are relative to *https://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
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/ |
8
11
  [**partial_update**](RepositoriesContainerPushApi.md#partial_update) | **PATCH** {container_container_push_repository_href} | Update a container push repository
9
12
  [**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
10
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/ |
15
+ [**remove_signatures**](RepositoriesContainerPushApi.md#remove_signatures) | **POST** {container_container_push_repository_href}remove_signatures/ |
16
+ [**sign**](RepositoriesContainerPushApi.md#sign) | **POST** {container_container_push_repository_href}sign/ | Sign images in the repo
11
17
  [**tag**](RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag
12
18
  [**untag**](RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag
13
19
  [**update**](RepositoriesContainerPushApi.md#update) | **PUT** {container_container_push_repository_href} | Update a container push repository
14
20
 
15
21
 
16
22
 
23
+ ## add_role
24
+
25
+ > NestedRoleResponse add_role(container_container_push_repository_href, nested_role)
26
+
27
+
28
+
29
+ Add a role for this object to users/groups.
30
+
31
+ ### Example
32
+
33
+ ```ruby
34
+ # load the gem
35
+ require 'pulp_container_client'
36
+ # setup authorization
37
+ PulpContainerClient.configure do |config|
38
+ # Configure HTTP basic authorization: basicAuth
39
+ config.username = 'YOUR USERNAME'
40
+ config.password = 'YOUR PASSWORD'
41
+ end
42
+
43
+ api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
44
+ container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
45
+ nested_role = PulpContainerClient::NestedRole.new # NestedRole |
46
+
47
+ begin
48
+ result = api_instance.add_role(container_container_push_repository_href, nested_role)
49
+ p result
50
+ rescue PulpContainerClient::ApiError => e
51
+ puts "Exception when calling RepositoriesContainerPushApi->add_role: #{e}"
52
+ end
53
+ ```
54
+
55
+ ### Parameters
56
+
57
+
58
+ Name | Type | Description | Notes
59
+ ------------- | ------------- | ------------- | -------------
60
+ **container_container_push_repository_href** | **String**| |
61
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
62
+
63
+ ### Return type
64
+
65
+ [**NestedRoleResponse**](NestedRoleResponse.md)
66
+
67
+ ### Authorization
68
+
69
+ [basicAuth](../README.md#basicAuth)
70
+
71
+ ### HTTP request headers
72
+
73
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
74
+ - **Accept**: application/json
75
+
76
+
17
77
  ## list
18
78
 
19
79
  > PaginatedcontainerContainerPushRepositoryResponseList list(opts)
@@ -89,6 +149,122 @@ Name | Type | Description | Notes
89
149
  - **Accept**: application/json
90
150
 
91
151
 
152
+ ## list_roles
153
+
154
+ > ObjectRolesResponse list_roles(container_container_push_repository_href, opts)
155
+
156
+
157
+
158
+ List roles assigned to this object.
159
+
160
+ ### Example
161
+
162
+ ```ruby
163
+ # load the gem
164
+ require 'pulp_container_client'
165
+ # setup authorization
166
+ PulpContainerClient.configure do |config|
167
+ # Configure HTTP basic authorization: basicAuth
168
+ config.username = 'YOUR USERNAME'
169
+ config.password = 'YOUR PASSWORD'
170
+ end
171
+
172
+ api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
173
+ container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
174
+ opts = {
175
+ fields: 'fields_example', # String | A list of fields to include in the response.
176
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
177
+ }
178
+
179
+ begin
180
+ result = api_instance.list_roles(container_container_push_repository_href, opts)
181
+ p result
182
+ rescue PulpContainerClient::ApiError => e
183
+ puts "Exception when calling RepositoriesContainerPushApi->list_roles: #{e}"
184
+ end
185
+ ```
186
+
187
+ ### Parameters
188
+
189
+
190
+ Name | Type | Description | Notes
191
+ ------------- | ------------- | ------------- | -------------
192
+ **container_container_push_repository_href** | **String**| |
193
+ **fields** | **String**| A list of fields to include in the response. | [optional]
194
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
195
+
196
+ ### Return type
197
+
198
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
199
+
200
+ ### Authorization
201
+
202
+ [basicAuth](../README.md#basicAuth)
203
+
204
+ ### HTTP request headers
205
+
206
+ - **Content-Type**: Not defined
207
+ - **Accept**: application/json
208
+
209
+
210
+ ## my_permissions
211
+
212
+ > MyPermissionsResponse my_permissions(container_container_push_repository_href, opts)
213
+
214
+
215
+
216
+ List permissions available to the current user on this object.
217
+
218
+ ### Example
219
+
220
+ ```ruby
221
+ # load the gem
222
+ require 'pulp_container_client'
223
+ # setup authorization
224
+ PulpContainerClient.configure do |config|
225
+ # Configure HTTP basic authorization: basicAuth
226
+ config.username = 'YOUR USERNAME'
227
+ config.password = 'YOUR PASSWORD'
228
+ end
229
+
230
+ api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
231
+ container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
232
+ opts = {
233
+ fields: 'fields_example', # String | A list of fields to include in the response.
234
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
235
+ }
236
+
237
+ begin
238
+ result = api_instance.my_permissions(container_container_push_repository_href, opts)
239
+ p result
240
+ rescue PulpContainerClient::ApiError => e
241
+ puts "Exception when calling RepositoriesContainerPushApi->my_permissions: #{e}"
242
+ end
243
+ ```
244
+
245
+ ### Parameters
246
+
247
+
248
+ Name | Type | Description | Notes
249
+ ------------- | ------------- | ------------- | -------------
250
+ **container_container_push_repository_href** | **String**| |
251
+ **fields** | **String**| A list of fields to include in the response. | [optional]
252
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
253
+
254
+ ### Return type
255
+
256
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
257
+
258
+ ### Authorization
259
+
260
+ [basicAuth](../README.md#basicAuth)
261
+
262
+ ### HTTP request headers
263
+
264
+ - **Content-Type**: Not defined
265
+ - **Accept**: application/json
266
+
267
+
92
268
  ## partial_update
93
269
 
94
270
  > AsyncOperationResponse partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository)
@@ -258,6 +434,169 @@ Name | Type | Description | Notes
258
434
  - **Accept**: application/json
259
435
 
260
436
 
437
+ ## remove_role
438
+
439
+ > NestedRoleResponse remove_role(container_container_push_repository_href, nested_role)
440
+
441
+
442
+
443
+ Remove a role for this object from users/groups.
444
+
445
+ ### Example
446
+
447
+ ```ruby
448
+ # load the gem
449
+ require 'pulp_container_client'
450
+ # setup authorization
451
+ PulpContainerClient.configure do |config|
452
+ # Configure HTTP basic authorization: basicAuth
453
+ config.username = 'YOUR USERNAME'
454
+ config.password = 'YOUR PASSWORD'
455
+ end
456
+
457
+ api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
458
+ container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
459
+ nested_role = PulpContainerClient::NestedRole.new # NestedRole |
460
+
461
+ begin
462
+ result = api_instance.remove_role(container_container_push_repository_href, nested_role)
463
+ p result
464
+ rescue PulpContainerClient::ApiError => e
465
+ puts "Exception when calling RepositoriesContainerPushApi->remove_role: #{e}"
466
+ end
467
+ ```
468
+
469
+ ### Parameters
470
+
471
+
472
+ Name | Type | Description | Notes
473
+ ------------- | ------------- | ------------- | -------------
474
+ **container_container_push_repository_href** | **String**| |
475
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
476
+
477
+ ### Return type
478
+
479
+ [**NestedRoleResponse**](NestedRoleResponse.md)
480
+
481
+ ### Authorization
482
+
483
+ [basicAuth](../README.md#basicAuth)
484
+
485
+ ### HTTP request headers
486
+
487
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
488
+ - **Accept**: application/json
489
+
490
+
491
+ ## remove_signatures
492
+
493
+ > RemoveSignaturesResponse remove_signatures(container_container_push_repository_href, remove_signatures)
494
+
495
+
496
+
497
+ Create a task which deletes signatures by the passed key_id.
498
+
499
+ ### Example
500
+
501
+ ```ruby
502
+ # load the gem
503
+ require 'pulp_container_client'
504
+ # setup authorization
505
+ PulpContainerClient.configure do |config|
506
+ # Configure HTTP basic authorization: basicAuth
507
+ config.username = 'YOUR USERNAME'
508
+ config.password = 'YOUR PASSWORD'
509
+ end
510
+
511
+ api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
512
+ container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
513
+ remove_signatures = PulpContainerClient::RemoveSignatures.new # RemoveSignatures |
514
+
515
+ begin
516
+ result = api_instance.remove_signatures(container_container_push_repository_href, remove_signatures)
517
+ p result
518
+ rescue PulpContainerClient::ApiError => e
519
+ puts "Exception when calling RepositoriesContainerPushApi->remove_signatures: #{e}"
520
+ end
521
+ ```
522
+
523
+ ### Parameters
524
+
525
+
526
+ Name | Type | Description | Notes
527
+ ------------- | ------------- | ------------- | -------------
528
+ **container_container_push_repository_href** | **String**| |
529
+ **remove_signatures** | [**RemoveSignatures**](RemoveSignatures.md)| |
530
+
531
+ ### Return type
532
+
533
+ [**RemoveSignaturesResponse**](RemoveSignaturesResponse.md)
534
+
535
+ ### Authorization
536
+
537
+ [basicAuth](../README.md#basicAuth)
538
+
539
+ ### HTTP request headers
540
+
541
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
542
+ - **Accept**: application/json
543
+
544
+
545
+ ## sign
546
+
547
+ > AsyncOperationResponse sign(container_container_push_repository_href, repository_sign)
548
+
549
+ Sign images in the repo
550
+
551
+ Trigger an asynchronous task to sign content.
552
+
553
+ ### Example
554
+
555
+ ```ruby
556
+ # load the gem
557
+ require 'pulp_container_client'
558
+ # setup authorization
559
+ PulpContainerClient.configure do |config|
560
+ # Configure HTTP basic authorization: basicAuth
561
+ config.username = 'YOUR USERNAME'
562
+ config.password = 'YOUR PASSWORD'
563
+ end
564
+
565
+ api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
566
+ container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
567
+ repository_sign = PulpContainerClient::RepositorySign.new # RepositorySign |
568
+
569
+ begin
570
+ #Sign images in the repo
571
+ result = api_instance.sign(container_container_push_repository_href, repository_sign)
572
+ p result
573
+ rescue PulpContainerClient::ApiError => e
574
+ puts "Exception when calling RepositoriesContainerPushApi->sign: #{e}"
575
+ end
576
+ ```
577
+
578
+ ### Parameters
579
+
580
+
581
+ Name | Type | Description | Notes
582
+ ------------- | ------------- | ------------- | -------------
583
+ **container_container_push_repository_href** | **String**| |
584
+ **repository_sign** | [**RepositorySign**](RepositorySign.md)| |
585
+
586
+ ### Return type
587
+
588
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
589
+
590
+ ### Authorization
591
+
592
+ [basicAuth](../README.md#basicAuth)
593
+
594
+ ### HTTP request headers
595
+
596
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
597
+ - **Accept**: application/json
598
+
599
+
261
600
  ## tag
262
601
 
263
602
  > AsyncOperationResponse tag(container_container_push_repository_href, tag_image)