pulp_container_client 2.22.1 → 2.23.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 +17 -14
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContainerBlobResponse.md +18 -17
- data/docs/ContainerContainerDistribution.md +24 -23
- data/docs/ContainerContainerDistributionResponse.md +40 -39
- data/docs/ContainerContainerNamespace.md +8 -7
- data/docs/ContainerContainerNamespaceResponse.md +16 -15
- data/docs/ContainerContainerPullThroughDistribution.md +26 -25
- data/docs/ContainerContainerPullThroughDistributionResponse.md +38 -37
- data/docs/ContainerContainerPullThroughRemote.md +52 -51
- data/docs/ContainerContainerPullThroughRemoteResponse.md +52 -51
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/ContainerContainerPushRepository.md +16 -15
- data/docs/ContainerContainerPushRepositoryResponse.md +28 -27
- data/docs/ContainerContainerRemote.md +56 -55
- data/docs/ContainerContainerRemoteResponse.md +56 -55
- data/docs/ContainerContainerRepository.md +18 -17
- data/docs/ContainerContainerRepositoryResponse.md +30 -29
- data/docs/ContainerManifestResponse.md +42 -41
- data/docs/ContainerManifestSignatureResponse.md +28 -27
- data/docs/ContainerRepositorySyncURL.md +12 -11
- data/docs/ContainerTagResponse.md +18 -17
- data/docs/ContentBlobsApi.md +82 -49
- data/docs/ContentManifestsApi.md +86 -53
- data/docs/ContentSignaturesApi.md +97 -64
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/ContentTagsApi.md +86 -53
- data/docs/DistributionsContainerApi.md +386 -183
- data/docs/DistributionsPullThroughApi.md +385 -182
- data/docs/ManifestCopy.md +14 -13
- data/docs/MediaTypesEnum.md +4 -5
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedcontainerBlobResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerDistributionResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerNamespaceResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerRemoteResponseList.md +14 -13
- data/docs/PaginatedcontainerContainerRepositoryResponseList.md +14 -13
- data/docs/PaginatedcontainerManifestResponseList.md +14 -13
- data/docs/PaginatedcontainerManifestSignatureResponseList.md +14 -13
- data/docs/PaginatedcontainerTagResponseList.md +14 -13
- data/docs/PatchedcontainerContainerDistribution.md +24 -23
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +26 -25
- data/docs/PatchedcontainerContainerPullThroughRemote.md +52 -51
- data/docs/PatchedcontainerContainerPushRepository.md +16 -15
- data/docs/PatchedcontainerContainerRemote.md +56 -55
- data/docs/PatchedcontainerContainerRepository.md +18 -17
- data/docs/Policy692Enum.md +4 -5
- data/docs/Policy7e0Enum.md +4 -5
- data/docs/PulpContainerNamespacesApi.md +259 -124
- data/docs/RecursiveManage.md +8 -7
- data/docs/RemotesContainerApi.md +389 -184
- data/docs/RemotesPullThroughApi.md +389 -184
- data/docs/RemoveImage.md +8 -7
- data/docs/RemoveSignatures.md +8 -7
- data/docs/RemoveSignaturesResponse.md +8 -7
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesContainerApi.md +647 -291
- data/docs/RepositoriesContainerPushApi.md +419 -198
- data/docs/RepositoriesContainerPushVersionsApi.md +152 -82
- data/docs/RepositoriesContainerVersionsApi.md +152 -82
- data/docs/RepositorySign.md +12 -11
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/TagCopy.md +12 -11
- data/docs/TagImage.md +10 -9
- data/docs/TokenApi.md +25 -7
- data/docs/UnTagImage.md +8 -7
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_container_client/api/content_blobs_api.rb +11 -9
- data/lib/pulp_container_client/api/content_manifests_api.rb +11 -9
- data/lib/pulp_container_client/api/content_signatures_api.rb +11 -9
- data/lib/pulp_container_client/api/content_tags_api.rb +11 -9
- data/lib/pulp_container_client/api/distributions_container_api.rb +89 -56
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +89 -56
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +53 -36
- data/lib/pulp_container_client/api/remotes_container_api.rb +104 -68
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +104 -68
- data/lib/pulp_container_client/api/repositories_container_api.rb +171 -102
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +102 -62
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +40 -30
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +40 -30
- data/lib/pulp_container_client/api/token_api.rb +5 -4
- data/lib/pulp_container_client/api_client.rb +137 -102
- data/lib/pulp_container_client/api_error.rb +2 -1
- data/lib/pulp_container_client/configuration.rb +162 -21
- data/lib/pulp_container_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_container_client/models/container_blob_response.rb +37 -29
- data/lib/pulp_container_client/models/container_container_distribution.rb +86 -74
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +95 -83
- data/lib/pulp_container_client/models/container_container_namespace.rb +32 -22
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +34 -24
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +88 -74
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +97 -83
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +56 -22
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +59 -25
- data/lib/pulp_container_client/models/{container_container_pull_through_remote_response_hidden_fields.rb → container_container_pull_through_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_container_client/models/container_container_push_repository.rb +83 -73
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +91 -81
- data/lib/pulp_container_client/models/container_container_remote.rb +63 -23
- data/lib/pulp_container_client/models/container_container_remote_response.rb +61 -25
- data/lib/pulp_container_client/models/container_container_repository.rb +32 -22
- data/lib/pulp_container_client/models/container_container_repository_response.rb +34 -24
- data/lib/pulp_container_client/models/container_manifest_response.rb +42 -24
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +46 -24
- data/lib/pulp_container_client/models/container_repository_sync_url.rb +30 -22
- data/lib/pulp_container_client/models/container_tag_response.rb +36 -24
- data/lib/pulp_container_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_container_client/models/manifest_copy.rb +31 -23
- data/lib/pulp_container_client/models/media_types_enum.rb +8 -4
- data/lib/pulp_container_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_container_client/models/nested_role.rb +32 -22
- data/lib/pulp_container_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_container_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +34 -22
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +34 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +81 -65
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +81 -65
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +62 -24
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +77 -65
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +72 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +35 -23
- data/lib/pulp_container_client/models/policy692_enum.rb +8 -4
- data/lib/pulp_container_client/models/policy7e0_enum.rb +8 -4
- data/lib/pulp_container_client/models/recursive_manage.rb +31 -23
- data/lib/pulp_container_client/models/remove_image.rb +32 -22
- data/lib/pulp_container_client/models/remove_signatures.rb +32 -22
- data/lib/pulp_container_client/models/remove_signatures_response.rb +32 -22
- data/lib/pulp_container_client/models/repair.rb +30 -22
- data/lib/pulp_container_client/models/repository_sign.rb +36 -24
- data/lib/pulp_container_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_container_client/models/set_label.rb +34 -22
- data/lib/pulp_container_client/models/set_label_response.rb +34 -22
- data/lib/pulp_container_client/models/tag_copy.rb +31 -23
- data/lib/pulp_container_client/models/tag_image.rb +34 -22
- data/lib/pulp_container_client/models/un_tag_image.rb +32 -22
- data/lib/pulp_container_client/models/unset_label.rb +32 -22
- data/lib/pulp_container_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_container_client/version.rb +2 -2
- data/lib/pulp_container_client.rb +2 -3
- data/pulp_container_client.gemspec +9 -6
- data/spec/api/content_blobs_api_spec.rb +3 -3
- data/spec/api/content_manifests_api_spec.rb +3 -3
- data/spec/api/content_signatures_api_spec.rb +3 -3
- data/spec/api/content_tags_api_spec.rb +3 -3
- data/spec/api/distributions_container_api_spec.rb +13 -13
- data/spec/api/distributions_pull_through_api_spec.rb +13 -13
- data/spec/api/pulp_container_namespaces_api_spec.rb +9 -9
- data/spec/api/remotes_container_api_spec.rb +20 -19
- data/spec/api/remotes_pull_through_api_spec.rb +20 -19
- data/spec/api/repositories_container_api_spec.rb +22 -22
- data/spec/api/repositories_container_push_api_spec.rb +14 -14
- data/spec/api/repositories_container_push_versions_api_spec.rb +12 -11
- data/spec/api/repositories_container_versions_api_spec.rb +12 -11
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/container_blob_response_spec.rb +12 -17
- data/spec/models/container_container_distribution_response_spec.rb +34 -39
- data/spec/models/container_container_distribution_spec.rb +20 -25
- data/spec/models/container_container_namespace_response_spec.rb +11 -16
- data/spec/models/container_container_namespace_spec.rb +7 -12
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +33 -38
- data/spec/models/container_container_pull_through_distribution_spec.rb +21 -26
- data/spec/models/{container_container_pull_through_remote_response_hidden_fields_spec.rb → container_container_pull_through_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/container_container_pull_through_remote_response_spec.rb +29 -34
- data/spec/models/container_container_pull_through_remote_spec.rb +29 -34
- data/spec/models/container_container_push_repository_response_spec.rb +28 -33
- data/spec/models/container_container_push_repository_spec.rb +15 -20
- data/spec/models/container_container_remote_response_spec.rb +31 -36
- data/spec/models/container_container_remote_spec.rb +31 -36
- data/spec/models/container_container_repository_response_spec.rb +18 -23
- data/spec/models/container_container_repository_spec.rb +12 -17
- data/spec/models/container_manifest_response_spec.rb +24 -29
- data/spec/models/container_manifest_signature_response_spec.rb +17 -22
- data/spec/models/container_repository_sync_url_spec.rb +9 -14
- data/spec/models/container_tag_response_spec.rb +12 -17
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/manifest_copy_spec.rb +10 -15
- data/spec/models/media_types_enum_spec.rb +6 -11
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_blob_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_namespace_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_pull_through_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_pull_through_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_container_repository_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_manifest_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_manifest_signature_response_list_spec.rb +10 -15
- data/spec/models/paginatedcontainer_tag_response_list_spec.rb +10 -15
- data/spec/models/patchedcontainer_container_distribution_spec.rb +20 -25
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +21 -26
- data/spec/models/patchedcontainer_container_pull_through_remote_spec.rb +29 -34
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +15 -20
- data/spec/models/patchedcontainer_container_remote_spec.rb +31 -36
- data/spec/models/patchedcontainer_container_repository_spec.rb +12 -17
- data/spec/models/policy692_enum_spec.rb +6 -11
- data/spec/models/policy7e0_enum_spec.rb +6 -11
- data/spec/models/recursive_manage_spec.rb +7 -12
- data/spec/models/remove_image_spec.rb +7 -12
- data/spec/models/remove_signatures_response_spec.rb +7 -12
- data/spec/models/remove_signatures_spec.rb +7 -12
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_sign_spec.rb +9 -14
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/tag_copy_spec.rb +9 -14
- data/spec/models/tag_image_spec.rb +8 -13
- data/spec/models/un_tag_image_spec.rb +7 -12
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +105 -85
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +0 -19
- data/docs/OCIBuildImage.md +0 -23
- data/lib/pulp_container_client/models/oci_build_image.rb +0 -256
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/oci_build_image_spec.rb +0 -59
@@ -2,36 +2,35 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**add_role**](RepositoriesContainerPushApi.md#add_role) | **POST** {container_container_push_repository_href}add_role/ | Add a role
|
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/ | List roles
|
10
|
-
[**my_permissions**](RepositoriesContainerPushApi.md#my_permissions) | **GET** {container_container_push_repository_href}my_permissions/ | List user permissions
|
11
|
-
[**partial_update**](RepositoriesContainerPushApi.md#partial_update) | **PATCH** {container_container_push_repository_href} | Update a container push repository
|
12
|
-
[**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
|
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/ | Remove a 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
|
17
|
-
[**tag**](RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag
|
18
|
-
[**untag**](RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag
|
19
|
-
[**update**](RepositoriesContainerPushApi.md#update) | **PUT** {container_container_push_repository_href} | Update a container push repository
|
20
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**add_role**](RepositoriesContainerPushApi.md#add_role) | **POST** {container_container_push_repository_href}add_role/ | Add a role |
|
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/ | List roles |
|
10
|
+
| [**my_permissions**](RepositoriesContainerPushApi.md#my_permissions) | **GET** {container_container_push_repository_href}my_permissions/ | List user permissions |
|
11
|
+
| [**partial_update**](RepositoriesContainerPushApi.md#partial_update) | **PATCH** {container_container_push_repository_href} | Update a container push repository |
|
12
|
+
| [**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository |
|
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/ | Remove a 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 |
|
17
|
+
| [**tag**](RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag |
|
18
|
+
| [**untag**](RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag |
|
19
|
+
| [**update**](RepositoriesContainerPushApi.md#update) | **PUT** {container_container_push_repository_href} | Update a container push repository |
|
21
20
|
|
22
21
|
|
23
22
|
## add_role
|
24
23
|
|
25
|
-
> NestedRoleResponse add_role(container_container_push_repository_href, nested_role)
|
24
|
+
> <NestedRoleResponse> add_role(container_container_push_repository_href, nested_role)
|
26
25
|
|
27
26
|
Add a role
|
28
27
|
|
29
28
|
Add a role for this object to users/groups.
|
30
29
|
|
31
|
-
###
|
30
|
+
### Examples
|
32
31
|
|
33
32
|
```ruby
|
34
|
-
|
33
|
+
require 'time'
|
35
34
|
require 'pulp_container_client'
|
36
35
|
# setup authorization
|
37
36
|
PulpContainerClient.configure do |config|
|
@@ -42,24 +41,41 @@ end
|
|
42
41
|
|
43
42
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
44
43
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
45
|
-
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
44
|
+
nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
46
45
|
|
47
46
|
begin
|
48
|
-
#Add a role
|
47
|
+
# Add a role
|
49
48
|
result = api_instance.add_role(container_container_push_repository_href, nested_role)
|
50
49
|
p result
|
51
50
|
rescue PulpContainerClient::ApiError => e
|
52
|
-
puts "
|
51
|
+
puts "Error when calling RepositoriesContainerPushApi->add_role: #{e}"
|
53
52
|
end
|
54
53
|
```
|
55
54
|
|
56
|
-
|
55
|
+
#### Using the add_role_with_http_info variant
|
57
56
|
|
57
|
+
This returns an Array which contains the response data, status code and headers.
|
58
58
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
59
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_push_repository_href, nested_role)
|
60
|
+
|
61
|
+
```ruby
|
62
|
+
begin
|
63
|
+
# Add a role
|
64
|
+
data, status_code, headers = api_instance.add_role_with_http_info(container_container_push_repository_href, nested_role)
|
65
|
+
p status_code # => 2xx
|
66
|
+
p headers # => { ... }
|
67
|
+
p data # => <NestedRoleResponse>
|
68
|
+
rescue PulpContainerClient::ApiError => e
|
69
|
+
puts "Error when calling RepositoriesContainerPushApi->add_role_with_http_info: #{e}"
|
70
|
+
end
|
71
|
+
```
|
72
|
+
|
73
|
+
### Parameters
|
74
|
+
|
75
|
+
| Name | Type | Description | Notes |
|
76
|
+
| ---- | ---- | ----------- | ----- |
|
77
|
+
| **container_container_push_repository_href** | **String** | | |
|
78
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
63
79
|
|
64
80
|
### Return type
|
65
81
|
|
@@ -77,16 +93,16 @@ Name | Type | Description | Notes
|
|
77
93
|
|
78
94
|
## list
|
79
95
|
|
80
|
-
> PaginatedcontainerContainerPushRepositoryResponseList list(opts)
|
96
|
+
> <PaginatedcontainerContainerPushRepositoryResponseList> list(opts)
|
81
97
|
|
82
98
|
List container push repositorys
|
83
99
|
|
84
100
|
ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
85
101
|
|
86
|
-
###
|
102
|
+
### Examples
|
87
103
|
|
88
104
|
```ruby
|
89
|
-
|
105
|
+
require 'time'
|
90
106
|
require 'pulp_container_client'
|
91
107
|
# setup authorization
|
92
108
|
PulpContainerClient.configure do |config|
|
@@ -103,19 +119,19 @@ opts = {
|
|
103
119
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
104
120
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
105
121
|
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
106
|
-
name__in: ['
|
122
|
+
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
107
123
|
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
108
124
|
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
109
125
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
110
126
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
111
127
|
offset: 56, # Integer | The initial index from which to return the results.
|
112
|
-
ordering: ['
|
113
|
-
prn__in: ['
|
114
|
-
pulp_href__in: ['
|
115
|
-
pulp_id__in: ['
|
128
|
+
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
129
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
130
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
131
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
116
132
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
117
133
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
118
|
-
remote: '
|
134
|
+
remote: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Foreign Key referenced by HREF
|
119
135
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
120
136
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
121
137
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
@@ -123,56 +139,73 @@ opts = {
|
|
123
139
|
retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
|
124
140
|
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
125
141
|
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
126
|
-
retain_repo_versions__range: [
|
142
|
+
retain_repo_versions__range: [37], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
127
143
|
with_content: 'with_content_example', # String | Content Unit referenced by HREF/PRN
|
128
|
-
fields: ['
|
129
|
-
exclude_fields: ['
|
144
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
145
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
130
146
|
}
|
131
147
|
|
132
148
|
begin
|
133
|
-
#List container push repositorys
|
149
|
+
# List container push repositorys
|
134
150
|
result = api_instance.list(opts)
|
135
151
|
p result
|
136
152
|
rescue PulpContainerClient::ApiError => e
|
137
|
-
puts "
|
153
|
+
puts "Error when calling RepositoriesContainerPushApi->list: #{e}"
|
138
154
|
end
|
139
155
|
```
|
140
156
|
|
141
|
-
|
157
|
+
#### Using the list_with_http_info variant
|
142
158
|
|
159
|
+
This returns an Array which contains the response data, status code and headers.
|
143
160
|
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
**
|
163
|
-
**
|
164
|
-
**
|
165
|
-
**
|
166
|
-
**
|
167
|
-
**
|
168
|
-
**
|
169
|
-
**
|
170
|
-
**
|
171
|
-
**
|
172
|
-
**
|
173
|
-
**
|
174
|
-
**
|
175
|
-
**
|
161
|
+
> <Array(<PaginatedcontainerContainerPushRepositoryResponseList>, Integer, Hash)> list_with_http_info(opts)
|
162
|
+
|
163
|
+
```ruby
|
164
|
+
begin
|
165
|
+
# List container push repositorys
|
166
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
167
|
+
p status_code # => 2xx
|
168
|
+
p headers # => { ... }
|
169
|
+
p data # => <PaginatedcontainerContainerPushRepositoryResponseList>
|
170
|
+
rescue PulpContainerClient::ApiError => e
|
171
|
+
puts "Error when calling RepositoriesContainerPushApi->list_with_http_info: #{e}"
|
172
|
+
end
|
173
|
+
```
|
174
|
+
|
175
|
+
### Parameters
|
176
|
+
|
177
|
+
| Name | Type | Description | Notes |
|
178
|
+
| ---- | ---- | ----------- | ----- |
|
179
|
+
| **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
180
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
181
|
+
| **name** | **String** | Filter results where name matches value | [optional] |
|
182
|
+
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
183
|
+
| **name__icontains** | **String** | Filter results where name contains value | [optional] |
|
184
|
+
| **name__iexact** | **String** | Filter results where name matches value | [optional] |
|
185
|
+
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
186
|
+
| **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
|
187
|
+
| **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
|
188
|
+
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
189
|
+
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
190
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
191
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
192
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
193
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
194
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
195
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
196
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
197
|
+
| **remote** | **String** | Foreign Key referenced by HREF | [optional] |
|
198
|
+
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
199
|
+
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
200
|
+
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
201
|
+
| **retain_repo_versions__isnull** | **Boolean** | Filter results where retain_repo_versions has a null value | [optional] |
|
202
|
+
| **retain_repo_versions__lt** | **Integer** | Filter results where retain_repo_versions is less than value | [optional] |
|
203
|
+
| **retain_repo_versions__lte** | **Integer** | Filter results where retain_repo_versions is less than or equal to value | [optional] |
|
204
|
+
| **retain_repo_versions__ne** | **Integer** | Filter results where retain_repo_versions not equal to value | [optional] |
|
205
|
+
| **retain_repo_versions__range** | [**Array<Integer>**](Integer.md) | Filter results where retain_repo_versions is between two comma separated values | [optional] |
|
206
|
+
| **with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
207
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
208
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
176
209
|
|
177
210
|
### Return type
|
178
211
|
|
@@ -190,16 +223,16 @@ Name | Type | Description | Notes
|
|
190
223
|
|
191
224
|
## list_roles
|
192
225
|
|
193
|
-
> ObjectRolesResponse list_roles(container_container_push_repository_href, opts)
|
226
|
+
> <ObjectRolesResponse> list_roles(container_container_push_repository_href, opts)
|
194
227
|
|
195
228
|
List roles
|
196
229
|
|
197
230
|
List roles assigned to this object.
|
198
231
|
|
199
|
-
###
|
232
|
+
### Examples
|
200
233
|
|
201
234
|
```ruby
|
202
|
-
|
235
|
+
require 'time'
|
203
236
|
require 'pulp_container_client'
|
204
237
|
# setup authorization
|
205
238
|
PulpContainerClient.configure do |config|
|
@@ -211,27 +244,44 @@ end
|
|
211
244
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
212
245
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
213
246
|
opts = {
|
214
|
-
fields: ['
|
215
|
-
exclude_fields: ['
|
247
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
248
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
216
249
|
}
|
217
250
|
|
218
251
|
begin
|
219
|
-
#List roles
|
252
|
+
# List roles
|
220
253
|
result = api_instance.list_roles(container_container_push_repository_href, opts)
|
221
254
|
p result
|
222
255
|
rescue PulpContainerClient::ApiError => e
|
223
|
-
puts "
|
256
|
+
puts "Error when calling RepositoriesContainerPushApi->list_roles: #{e}"
|
224
257
|
end
|
225
258
|
```
|
226
259
|
|
227
|
-
|
260
|
+
#### Using the list_roles_with_http_info variant
|
261
|
+
|
262
|
+
This returns an Array which contains the response data, status code and headers.
|
263
|
+
|
264
|
+
> <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(container_container_push_repository_href, opts)
|
265
|
+
|
266
|
+
```ruby
|
267
|
+
begin
|
268
|
+
# List roles
|
269
|
+
data, status_code, headers = api_instance.list_roles_with_http_info(container_container_push_repository_href, opts)
|
270
|
+
p status_code # => 2xx
|
271
|
+
p headers # => { ... }
|
272
|
+
p data # => <ObjectRolesResponse>
|
273
|
+
rescue PulpContainerClient::ApiError => e
|
274
|
+
puts "Error when calling RepositoriesContainerPushApi->list_roles_with_http_info: #{e}"
|
275
|
+
end
|
276
|
+
```
|
228
277
|
|
278
|
+
### Parameters
|
229
279
|
|
230
|
-
Name | Type | Description
|
231
|
-
|
232
|
-
**container_container_push_repository_href** | **String
|
233
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
234
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
280
|
+
| Name | Type | Description | Notes |
|
281
|
+
| ---- | ---- | ----------- | ----- |
|
282
|
+
| **container_container_push_repository_href** | **String** | | |
|
283
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
284
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
235
285
|
|
236
286
|
### Return type
|
237
287
|
|
@@ -249,16 +299,16 @@ Name | Type | Description | Notes
|
|
249
299
|
|
250
300
|
## my_permissions
|
251
301
|
|
252
|
-
> MyPermissionsResponse my_permissions(container_container_push_repository_href, opts)
|
302
|
+
> <MyPermissionsResponse> my_permissions(container_container_push_repository_href, opts)
|
253
303
|
|
254
304
|
List user permissions
|
255
305
|
|
256
306
|
List permissions available to the current user on this object.
|
257
307
|
|
258
|
-
###
|
308
|
+
### Examples
|
259
309
|
|
260
310
|
```ruby
|
261
|
-
|
311
|
+
require 'time'
|
262
312
|
require 'pulp_container_client'
|
263
313
|
# setup authorization
|
264
314
|
PulpContainerClient.configure do |config|
|
@@ -270,27 +320,44 @@ end
|
|
270
320
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
271
321
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
272
322
|
opts = {
|
273
|
-
fields: ['
|
274
|
-
exclude_fields: ['
|
323
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
324
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
275
325
|
}
|
276
326
|
|
277
327
|
begin
|
278
|
-
#List user permissions
|
328
|
+
# List user permissions
|
279
329
|
result = api_instance.my_permissions(container_container_push_repository_href, opts)
|
280
330
|
p result
|
281
331
|
rescue PulpContainerClient::ApiError => e
|
282
|
-
puts "
|
332
|
+
puts "Error when calling RepositoriesContainerPushApi->my_permissions: #{e}"
|
283
333
|
end
|
284
334
|
```
|
285
335
|
|
286
|
-
|
336
|
+
#### Using the my_permissions_with_http_info variant
|
337
|
+
|
338
|
+
This returns an Array which contains the response data, status code and headers.
|
287
339
|
|
340
|
+
> <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(container_container_push_repository_href, opts)
|
288
341
|
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
342
|
+
```ruby
|
343
|
+
begin
|
344
|
+
# List user permissions
|
345
|
+
data, status_code, headers = api_instance.my_permissions_with_http_info(container_container_push_repository_href, opts)
|
346
|
+
p status_code # => 2xx
|
347
|
+
p headers # => { ... }
|
348
|
+
p data # => <MyPermissionsResponse>
|
349
|
+
rescue PulpContainerClient::ApiError => e
|
350
|
+
puts "Error when calling RepositoriesContainerPushApi->my_permissions_with_http_info: #{e}"
|
351
|
+
end
|
352
|
+
```
|
353
|
+
|
354
|
+
### Parameters
|
355
|
+
|
356
|
+
| Name | Type | Description | Notes |
|
357
|
+
| ---- | ---- | ----------- | ----- |
|
358
|
+
| **container_container_push_repository_href** | **String** | | |
|
359
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
360
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
294
361
|
|
295
362
|
### Return type
|
296
363
|
|
@@ -308,16 +375,16 @@ Name | Type | Description | Notes
|
|
308
375
|
|
309
376
|
## partial_update
|
310
377
|
|
311
|
-
> AsyncOperationResponse partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository)
|
378
|
+
> <AsyncOperationResponse> partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository)
|
312
379
|
|
313
380
|
Update a container push repository
|
314
381
|
|
315
382
|
Trigger an asynchronous partial update task
|
316
383
|
|
317
|
-
###
|
384
|
+
### Examples
|
318
385
|
|
319
386
|
```ruby
|
320
|
-
|
387
|
+
require 'time'
|
321
388
|
require 'pulp_container_client'
|
322
389
|
# setup authorization
|
323
390
|
PulpContainerClient.configure do |config|
|
@@ -331,21 +398,38 @@ container_container_push_repository_href = 'container_container_push_repository_
|
|
331
398
|
patchedcontainer_container_push_repository = PulpContainerClient::PatchedcontainerContainerPushRepository.new # PatchedcontainerContainerPushRepository |
|
332
399
|
|
333
400
|
begin
|
334
|
-
#Update a container push repository
|
401
|
+
# Update a container push repository
|
335
402
|
result = api_instance.partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository)
|
336
403
|
p result
|
337
404
|
rescue PulpContainerClient::ApiError => e
|
338
|
-
puts "
|
405
|
+
puts "Error when calling RepositoriesContainerPushApi->partial_update: #{e}"
|
339
406
|
end
|
340
407
|
```
|
341
408
|
|
342
|
-
|
409
|
+
#### Using the partial_update_with_http_info variant
|
343
410
|
|
411
|
+
This returns an Array which contains the response data, status code and headers.
|
344
412
|
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
413
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository)
|
414
|
+
|
415
|
+
```ruby
|
416
|
+
begin
|
417
|
+
# Update a container push repository
|
418
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository)
|
419
|
+
p status_code # => 2xx
|
420
|
+
p headers # => { ... }
|
421
|
+
p data # => <AsyncOperationResponse>
|
422
|
+
rescue PulpContainerClient::ApiError => e
|
423
|
+
puts "Error when calling RepositoriesContainerPushApi->partial_update_with_http_info: #{e}"
|
424
|
+
end
|
425
|
+
```
|
426
|
+
|
427
|
+
### Parameters
|
428
|
+
|
429
|
+
| Name | Type | Description | Notes |
|
430
|
+
| ---- | ---- | ----------- | ----- |
|
431
|
+
| **container_container_push_repository_href** | **String** | | |
|
432
|
+
| **patchedcontainer_container_push_repository** | [**PatchedcontainerContainerPushRepository**](PatchedcontainerContainerPushRepository.md) | | |
|
349
433
|
|
350
434
|
### Return type
|
351
435
|
|
@@ -363,16 +447,16 @@ Name | Type | Description | Notes
|
|
363
447
|
|
364
448
|
## read
|
365
449
|
|
366
|
-
> ContainerContainerPushRepositoryResponse read(container_container_push_repository_href, opts)
|
450
|
+
> <ContainerContainerPushRepositoryResponse> read(container_container_push_repository_href, opts)
|
367
451
|
|
368
452
|
Inspect a container push repository
|
369
453
|
|
370
454
|
ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
371
455
|
|
372
|
-
###
|
456
|
+
### Examples
|
373
457
|
|
374
458
|
```ruby
|
375
|
-
|
459
|
+
require 'time'
|
376
460
|
require 'pulp_container_client'
|
377
461
|
# setup authorization
|
378
462
|
PulpContainerClient.configure do |config|
|
@@ -384,27 +468,44 @@ end
|
|
384
468
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
385
469
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
386
470
|
opts = {
|
387
|
-
fields: ['
|
388
|
-
exclude_fields: ['
|
471
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
472
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
389
473
|
}
|
390
474
|
|
391
475
|
begin
|
392
|
-
#Inspect a container push repository
|
476
|
+
# Inspect a container push repository
|
393
477
|
result = api_instance.read(container_container_push_repository_href, opts)
|
394
478
|
p result
|
395
479
|
rescue PulpContainerClient::ApiError => e
|
396
|
-
puts "
|
480
|
+
puts "Error when calling RepositoriesContainerPushApi->read: #{e}"
|
397
481
|
end
|
398
482
|
```
|
399
483
|
|
400
|
-
|
484
|
+
#### Using the read_with_http_info variant
|
485
|
+
|
486
|
+
This returns an Array which contains the response data, status code and headers.
|
487
|
+
|
488
|
+
> <Array(<ContainerContainerPushRepositoryResponse>, Integer, Hash)> read_with_http_info(container_container_push_repository_href, opts)
|
489
|
+
|
490
|
+
```ruby
|
491
|
+
begin
|
492
|
+
# Inspect a container push repository
|
493
|
+
data, status_code, headers = api_instance.read_with_http_info(container_container_push_repository_href, opts)
|
494
|
+
p status_code # => 2xx
|
495
|
+
p headers # => { ... }
|
496
|
+
p data # => <ContainerContainerPushRepositoryResponse>
|
497
|
+
rescue PulpContainerClient::ApiError => e
|
498
|
+
puts "Error when calling RepositoriesContainerPushApi->read_with_http_info: #{e}"
|
499
|
+
end
|
500
|
+
```
|
401
501
|
|
502
|
+
### Parameters
|
402
503
|
|
403
|
-
Name | Type | Description
|
404
|
-
|
405
|
-
**container_container_push_repository_href** | **String
|
406
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
407
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
504
|
+
| Name | Type | Description | Notes |
|
505
|
+
| ---- | ---- | ----------- | ----- |
|
506
|
+
| **container_container_push_repository_href** | **String** | | |
|
507
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
508
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
408
509
|
|
409
510
|
### Return type
|
410
511
|
|
@@ -422,16 +523,16 @@ Name | Type | Description | Notes
|
|
422
523
|
|
423
524
|
## remove_image
|
424
525
|
|
425
|
-
> AsyncOperationResponse remove_image(container_container_push_repository_href, remove_image)
|
526
|
+
> <AsyncOperationResponse> remove_image(container_container_push_repository_href, remove_image)
|
426
527
|
|
427
528
|
Delete an image from a repository
|
428
529
|
|
429
530
|
Trigger an asynchronous task to remove a manifest and all its associated data by a digest
|
430
531
|
|
431
|
-
###
|
532
|
+
### Examples
|
432
533
|
|
433
534
|
```ruby
|
434
|
-
|
535
|
+
require 'time'
|
435
536
|
require 'pulp_container_client'
|
436
537
|
# setup authorization
|
437
538
|
PulpContainerClient.configure do |config|
|
@@ -442,24 +543,41 @@ end
|
|
442
543
|
|
443
544
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
444
545
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
445
|
-
remove_image = PulpContainerClient::RemoveImage.new # RemoveImage |
|
546
|
+
remove_image = PulpContainerClient::RemoveImage.new({digest: 'digest_example'}) # RemoveImage |
|
446
547
|
|
447
548
|
begin
|
448
|
-
#Delete an image from a repository
|
549
|
+
# Delete an image from a repository
|
449
550
|
result = api_instance.remove_image(container_container_push_repository_href, remove_image)
|
450
551
|
p result
|
451
552
|
rescue PulpContainerClient::ApiError => e
|
452
|
-
puts "
|
553
|
+
puts "Error when calling RepositoriesContainerPushApi->remove_image: #{e}"
|
453
554
|
end
|
454
555
|
```
|
455
556
|
|
456
|
-
|
557
|
+
#### Using the remove_image_with_http_info variant
|
457
558
|
|
559
|
+
This returns an Array which contains the response data, status code and headers.
|
458
560
|
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
561
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> remove_image_with_http_info(container_container_push_repository_href, remove_image)
|
562
|
+
|
563
|
+
```ruby
|
564
|
+
begin
|
565
|
+
# Delete an image from a repository
|
566
|
+
data, status_code, headers = api_instance.remove_image_with_http_info(container_container_push_repository_href, remove_image)
|
567
|
+
p status_code # => 2xx
|
568
|
+
p headers # => { ... }
|
569
|
+
p data # => <AsyncOperationResponse>
|
570
|
+
rescue PulpContainerClient::ApiError => e
|
571
|
+
puts "Error when calling RepositoriesContainerPushApi->remove_image_with_http_info: #{e}"
|
572
|
+
end
|
573
|
+
```
|
574
|
+
|
575
|
+
### Parameters
|
576
|
+
|
577
|
+
| Name | Type | Description | Notes |
|
578
|
+
| ---- | ---- | ----------- | ----- |
|
579
|
+
| **container_container_push_repository_href** | **String** | | |
|
580
|
+
| **remove_image** | [**RemoveImage**](RemoveImage.md) | | |
|
463
581
|
|
464
582
|
### Return type
|
465
583
|
|
@@ -477,16 +595,16 @@ Name | Type | Description | Notes
|
|
477
595
|
|
478
596
|
## remove_role
|
479
597
|
|
480
|
-
> NestedRoleResponse remove_role(container_container_push_repository_href, nested_role)
|
598
|
+
> <NestedRoleResponse> remove_role(container_container_push_repository_href, nested_role)
|
481
599
|
|
482
600
|
Remove a role
|
483
601
|
|
484
602
|
Remove a role for this object from users/groups.
|
485
603
|
|
486
|
-
###
|
604
|
+
### Examples
|
487
605
|
|
488
606
|
```ruby
|
489
|
-
|
607
|
+
require 'time'
|
490
608
|
require 'pulp_container_client'
|
491
609
|
# setup authorization
|
492
610
|
PulpContainerClient.configure do |config|
|
@@ -497,24 +615,41 @@ end
|
|
497
615
|
|
498
616
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
499
617
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
500
|
-
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
618
|
+
nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
501
619
|
|
502
620
|
begin
|
503
|
-
#Remove a role
|
621
|
+
# Remove a role
|
504
622
|
result = api_instance.remove_role(container_container_push_repository_href, nested_role)
|
505
623
|
p result
|
506
624
|
rescue PulpContainerClient::ApiError => e
|
507
|
-
puts "
|
625
|
+
puts "Error when calling RepositoriesContainerPushApi->remove_role: #{e}"
|
508
626
|
end
|
509
627
|
```
|
510
628
|
|
511
|
-
|
629
|
+
#### Using the remove_role_with_http_info variant
|
512
630
|
|
631
|
+
This returns an Array which contains the response data, status code and headers.
|
513
632
|
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
633
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_push_repository_href, nested_role)
|
634
|
+
|
635
|
+
```ruby
|
636
|
+
begin
|
637
|
+
# Remove a role
|
638
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_push_repository_href, nested_role)
|
639
|
+
p status_code # => 2xx
|
640
|
+
p headers # => { ... }
|
641
|
+
p data # => <NestedRoleResponse>
|
642
|
+
rescue PulpContainerClient::ApiError => e
|
643
|
+
puts "Error when calling RepositoriesContainerPushApi->remove_role_with_http_info: #{e}"
|
644
|
+
end
|
645
|
+
```
|
646
|
+
|
647
|
+
### Parameters
|
648
|
+
|
649
|
+
| Name | Type | Description | Notes |
|
650
|
+
| ---- | ---- | ----------- | ----- |
|
651
|
+
| **container_container_push_repository_href** | **String** | | |
|
652
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
518
653
|
|
519
654
|
### Return type
|
520
655
|
|
@@ -532,16 +667,16 @@ Name | Type | Description | Notes
|
|
532
667
|
|
533
668
|
## remove_signatures
|
534
669
|
|
535
|
-
> RemoveSignaturesResponse remove_signatures(container_container_push_repository_href, remove_signatures)
|
670
|
+
> <RemoveSignaturesResponse> remove_signatures(container_container_push_repository_href, remove_signatures)
|
536
671
|
|
537
672
|
|
538
673
|
|
539
674
|
Create a task which deletes signatures by the passed key_id.
|
540
675
|
|
541
|
-
###
|
676
|
+
### Examples
|
542
677
|
|
543
678
|
```ruby
|
544
|
-
|
679
|
+
require 'time'
|
545
680
|
require 'pulp_container_client'
|
546
681
|
# setup authorization
|
547
682
|
PulpContainerClient.configure do |config|
|
@@ -552,23 +687,41 @@ end
|
|
552
687
|
|
553
688
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
554
689
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
555
|
-
remove_signatures = PulpContainerClient::RemoveSignatures.new # RemoveSignatures |
|
690
|
+
remove_signatures = PulpContainerClient::RemoveSignatures.new({signed_with_key_id: 'signed_with_key_id_example'}) # RemoveSignatures |
|
556
691
|
|
557
692
|
begin
|
693
|
+
|
558
694
|
result = api_instance.remove_signatures(container_container_push_repository_href, remove_signatures)
|
559
695
|
p result
|
560
696
|
rescue PulpContainerClient::ApiError => e
|
561
|
-
puts "
|
697
|
+
puts "Error when calling RepositoriesContainerPushApi->remove_signatures: #{e}"
|
562
698
|
end
|
563
699
|
```
|
564
700
|
|
565
|
-
|
701
|
+
#### Using the remove_signatures_with_http_info variant
|
566
702
|
|
703
|
+
This returns an Array which contains the response data, status code and headers.
|
567
704
|
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
705
|
+
> <Array(<RemoveSignaturesResponse>, Integer, Hash)> remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures)
|
706
|
+
|
707
|
+
```ruby
|
708
|
+
begin
|
709
|
+
|
710
|
+
data, status_code, headers = api_instance.remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures)
|
711
|
+
p status_code # => 2xx
|
712
|
+
p headers # => { ... }
|
713
|
+
p data # => <RemoveSignaturesResponse>
|
714
|
+
rescue PulpContainerClient::ApiError => e
|
715
|
+
puts "Error when calling RepositoriesContainerPushApi->remove_signatures_with_http_info: #{e}"
|
716
|
+
end
|
717
|
+
```
|
718
|
+
|
719
|
+
### Parameters
|
720
|
+
|
721
|
+
| Name | Type | Description | Notes |
|
722
|
+
| ---- | ---- | ----------- | ----- |
|
723
|
+
| **container_container_push_repository_href** | **String** | | |
|
724
|
+
| **remove_signatures** | [**RemoveSignatures**](RemoveSignatures.md) | | |
|
572
725
|
|
573
726
|
### Return type
|
574
727
|
|
@@ -586,16 +739,16 @@ Name | Type | Description | Notes
|
|
586
739
|
|
587
740
|
## sign
|
588
741
|
|
589
|
-
> AsyncOperationResponse sign(container_container_push_repository_href, repository_sign)
|
742
|
+
> <AsyncOperationResponse> sign(container_container_push_repository_href, repository_sign)
|
590
743
|
|
591
744
|
Sign images in the repo
|
592
745
|
|
593
746
|
Trigger an asynchronous task to sign content.
|
594
747
|
|
595
|
-
###
|
748
|
+
### Examples
|
596
749
|
|
597
750
|
```ruby
|
598
|
-
|
751
|
+
require 'time'
|
599
752
|
require 'pulp_container_client'
|
600
753
|
# setup authorization
|
601
754
|
PulpContainerClient.configure do |config|
|
@@ -609,21 +762,38 @@ container_container_push_repository_href = 'container_container_push_repository_
|
|
609
762
|
repository_sign = PulpContainerClient::RepositorySign.new # RepositorySign |
|
610
763
|
|
611
764
|
begin
|
612
|
-
#Sign images in the repo
|
765
|
+
# Sign images in the repo
|
613
766
|
result = api_instance.sign(container_container_push_repository_href, repository_sign)
|
614
767
|
p result
|
615
768
|
rescue PulpContainerClient::ApiError => e
|
616
|
-
puts "
|
769
|
+
puts "Error when calling RepositoriesContainerPushApi->sign: #{e}"
|
617
770
|
end
|
618
771
|
```
|
619
772
|
|
620
|
-
|
773
|
+
#### Using the sign_with_http_info variant
|
774
|
+
|
775
|
+
This returns an Array which contains the response data, status code and headers.
|
621
776
|
|
777
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> sign_with_http_info(container_container_push_repository_href, repository_sign)
|
622
778
|
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
779
|
+
```ruby
|
780
|
+
begin
|
781
|
+
# Sign images in the repo
|
782
|
+
data, status_code, headers = api_instance.sign_with_http_info(container_container_push_repository_href, repository_sign)
|
783
|
+
p status_code # => 2xx
|
784
|
+
p headers # => { ... }
|
785
|
+
p data # => <AsyncOperationResponse>
|
786
|
+
rescue PulpContainerClient::ApiError => e
|
787
|
+
puts "Error when calling RepositoriesContainerPushApi->sign_with_http_info: #{e}"
|
788
|
+
end
|
789
|
+
```
|
790
|
+
|
791
|
+
### Parameters
|
792
|
+
|
793
|
+
| Name | Type | Description | Notes |
|
794
|
+
| ---- | ---- | ----------- | ----- |
|
795
|
+
| **container_container_push_repository_href** | **String** | | |
|
796
|
+
| **repository_sign** | [**RepositorySign**](RepositorySign.md) | | |
|
627
797
|
|
628
798
|
### Return type
|
629
799
|
|
@@ -641,16 +811,16 @@ Name | Type | Description | Notes
|
|
641
811
|
|
642
812
|
## tag
|
643
813
|
|
644
|
-
> AsyncOperationResponse tag(container_container_push_repository_href, tag_image)
|
814
|
+
> <AsyncOperationResponse> tag(container_container_push_repository_href, tag_image)
|
645
815
|
|
646
816
|
Create a Tag
|
647
817
|
|
648
818
|
Trigger an asynchronous task to tag an image in the repository
|
649
819
|
|
650
|
-
###
|
820
|
+
### Examples
|
651
821
|
|
652
822
|
```ruby
|
653
|
-
|
823
|
+
require 'time'
|
654
824
|
require 'pulp_container_client'
|
655
825
|
# setup authorization
|
656
826
|
PulpContainerClient.configure do |config|
|
@@ -661,24 +831,41 @@ end
|
|
661
831
|
|
662
832
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
663
833
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
664
|
-
tag_image = PulpContainerClient::TagImage.new # TagImage |
|
834
|
+
tag_image = PulpContainerClient::TagImage.new({tag: 'tag_example', digest: 'digest_example'}) # TagImage |
|
665
835
|
|
666
836
|
begin
|
667
|
-
#Create a Tag
|
837
|
+
# Create a Tag
|
668
838
|
result = api_instance.tag(container_container_push_repository_href, tag_image)
|
669
839
|
p result
|
670
840
|
rescue PulpContainerClient::ApiError => e
|
671
|
-
puts "
|
841
|
+
puts "Error when calling RepositoriesContainerPushApi->tag: #{e}"
|
672
842
|
end
|
673
843
|
```
|
674
844
|
|
675
|
-
|
845
|
+
#### Using the tag_with_http_info variant
|
846
|
+
|
847
|
+
This returns an Array which contains the response data, status code and headers.
|
848
|
+
|
849
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> tag_with_http_info(container_container_push_repository_href, tag_image)
|
850
|
+
|
851
|
+
```ruby
|
852
|
+
begin
|
853
|
+
# Create a Tag
|
854
|
+
data, status_code, headers = api_instance.tag_with_http_info(container_container_push_repository_href, tag_image)
|
855
|
+
p status_code # => 2xx
|
856
|
+
p headers # => { ... }
|
857
|
+
p data # => <AsyncOperationResponse>
|
858
|
+
rescue PulpContainerClient::ApiError => e
|
859
|
+
puts "Error when calling RepositoriesContainerPushApi->tag_with_http_info: #{e}"
|
860
|
+
end
|
861
|
+
```
|
676
862
|
|
863
|
+
### Parameters
|
677
864
|
|
678
|
-
Name | Type | Description
|
679
|
-
|
680
|
-
**container_container_push_repository_href** | **String
|
681
|
-
**tag_image** | [**TagImage**](TagImage.md)| |
|
865
|
+
| Name | Type | Description | Notes |
|
866
|
+
| ---- | ---- | ----------- | ----- |
|
867
|
+
| **container_container_push_repository_href** | **String** | | |
|
868
|
+
| **tag_image** | [**TagImage**](TagImage.md) | | |
|
682
869
|
|
683
870
|
### Return type
|
684
871
|
|
@@ -696,16 +883,16 @@ Name | Type | Description | Notes
|
|
696
883
|
|
697
884
|
## untag
|
698
885
|
|
699
|
-
> AsyncOperationResponse untag(container_container_push_repository_href, un_tag_image)
|
886
|
+
> <AsyncOperationResponse> untag(container_container_push_repository_href, un_tag_image)
|
700
887
|
|
701
888
|
Delete a tag
|
702
889
|
|
703
890
|
Trigger an asynchronous task to untag an image in the repository
|
704
891
|
|
705
|
-
###
|
892
|
+
### Examples
|
706
893
|
|
707
894
|
```ruby
|
708
|
-
|
895
|
+
require 'time'
|
709
896
|
require 'pulp_container_client'
|
710
897
|
# setup authorization
|
711
898
|
PulpContainerClient.configure do |config|
|
@@ -716,24 +903,41 @@ end
|
|
716
903
|
|
717
904
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
718
905
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
719
|
-
un_tag_image = PulpContainerClient::UnTagImage.new # UnTagImage |
|
906
|
+
un_tag_image = PulpContainerClient::UnTagImage.new({tag: 'tag_example'}) # UnTagImage |
|
720
907
|
|
721
908
|
begin
|
722
|
-
#Delete a tag
|
909
|
+
# Delete a tag
|
723
910
|
result = api_instance.untag(container_container_push_repository_href, un_tag_image)
|
724
911
|
p result
|
725
912
|
rescue PulpContainerClient::ApiError => e
|
726
|
-
puts "
|
913
|
+
puts "Error when calling RepositoriesContainerPushApi->untag: #{e}"
|
727
914
|
end
|
728
915
|
```
|
729
916
|
|
730
|
-
|
917
|
+
#### Using the untag_with_http_info variant
|
918
|
+
|
919
|
+
This returns an Array which contains the response data, status code and headers.
|
920
|
+
|
921
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> untag_with_http_info(container_container_push_repository_href, un_tag_image)
|
922
|
+
|
923
|
+
```ruby
|
924
|
+
begin
|
925
|
+
# Delete a tag
|
926
|
+
data, status_code, headers = api_instance.untag_with_http_info(container_container_push_repository_href, un_tag_image)
|
927
|
+
p status_code # => 2xx
|
928
|
+
p headers # => { ... }
|
929
|
+
p data # => <AsyncOperationResponse>
|
930
|
+
rescue PulpContainerClient::ApiError => e
|
931
|
+
puts "Error when calling RepositoriesContainerPushApi->untag_with_http_info: #{e}"
|
932
|
+
end
|
933
|
+
```
|
731
934
|
|
935
|
+
### Parameters
|
732
936
|
|
733
|
-
Name | Type | Description
|
734
|
-
|
735
|
-
**container_container_push_repository_href** | **String
|
736
|
-
**un_tag_image** | [**UnTagImage**](UnTagImage.md)| |
|
937
|
+
| Name | Type | Description | Notes |
|
938
|
+
| ---- | ---- | ----------- | ----- |
|
939
|
+
| **container_container_push_repository_href** | **String** | | |
|
940
|
+
| **un_tag_image** | [**UnTagImage**](UnTagImage.md) | | |
|
737
941
|
|
738
942
|
### Return type
|
739
943
|
|
@@ -751,16 +955,16 @@ Name | Type | Description | Notes
|
|
751
955
|
|
752
956
|
## update
|
753
957
|
|
754
|
-
> AsyncOperationResponse update(container_container_push_repository_href, container_container_push_repository)
|
958
|
+
> <AsyncOperationResponse> update(container_container_push_repository_href, container_container_push_repository)
|
755
959
|
|
756
960
|
Update a container push repository
|
757
961
|
|
758
962
|
Trigger an asynchronous update task
|
759
963
|
|
760
|
-
###
|
964
|
+
### Examples
|
761
965
|
|
762
966
|
```ruby
|
763
|
-
|
967
|
+
require 'time'
|
764
968
|
require 'pulp_container_client'
|
765
969
|
# setup authorization
|
766
970
|
PulpContainerClient.configure do |config|
|
@@ -771,24 +975,41 @@ end
|
|
771
975
|
|
772
976
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
773
977
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
774
|
-
container_container_push_repository = PulpContainerClient::ContainerContainerPushRepository.new # ContainerContainerPushRepository |
|
978
|
+
container_container_push_repository = PulpContainerClient::ContainerContainerPushRepository.new({name: 'name_example'}) # ContainerContainerPushRepository |
|
775
979
|
|
776
980
|
begin
|
777
|
-
#Update a container push repository
|
981
|
+
# Update a container push repository
|
778
982
|
result = api_instance.update(container_container_push_repository_href, container_container_push_repository)
|
779
983
|
p result
|
780
984
|
rescue PulpContainerClient::ApiError => e
|
781
|
-
puts "
|
985
|
+
puts "Error when calling RepositoriesContainerPushApi->update: #{e}"
|
782
986
|
end
|
783
987
|
```
|
784
988
|
|
785
|
-
|
989
|
+
#### Using the update_with_http_info variant
|
990
|
+
|
991
|
+
This returns an Array which contains the response data, status code and headers.
|
786
992
|
|
993
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_push_repository_href, container_container_push_repository)
|
994
|
+
|
995
|
+
```ruby
|
996
|
+
begin
|
997
|
+
# Update a container push repository
|
998
|
+
data, status_code, headers = api_instance.update_with_http_info(container_container_push_repository_href, container_container_push_repository)
|
999
|
+
p status_code # => 2xx
|
1000
|
+
p headers # => { ... }
|
1001
|
+
p data # => <AsyncOperationResponse>
|
1002
|
+
rescue PulpContainerClient::ApiError => e
|
1003
|
+
puts "Error when calling RepositoriesContainerPushApi->update_with_http_info: #{e}"
|
1004
|
+
end
|
1005
|
+
```
|
1006
|
+
|
1007
|
+
### Parameters
|
787
1008
|
|
788
|
-
Name | Type | Description
|
789
|
-
|
790
|
-
**container_container_push_repository_href** | **String
|
791
|
-
**container_container_push_repository** | [**ContainerContainerPushRepository**](ContainerContainerPushRepository.md)| |
|
1009
|
+
| Name | Type | Description | Notes |
|
1010
|
+
| ---- | ---- | ----------- | ----- |
|
1011
|
+
| **container_container_push_repository_href** | **String** | | |
|
1012
|
+
| **container_container_push_repository** | [**ContainerContainerPushRepository**](ContainerContainerPushRepository.md) | | |
|
792
1013
|
|
793
1014
|
### Return type
|
794
1015
|
|