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,44 +2,43 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
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/ | Add a role
|
9
|
-
[**build_image**](RepositoriesContainerApi.md#build_image) | **POST** {container_container_repository_href}build_image/ | Build an Image
|
10
|
-
[**copy_manifests**](RepositoriesContainerApi.md#copy_manifests) | **POST** {container_container_repository_href}copy_manifests/ | Copy manifests
|
11
|
-
[**copy_tags**](RepositoriesContainerApi.md#copy_tags) | **POST** {container_container_repository_href}copy_tags/ | Copy tags
|
12
|
-
[**create**](RepositoriesContainerApi.md#create) | **POST** /pulp/api/v3/repositories/container/container/ | Create a container repository
|
13
|
-
[**delete**](RepositoriesContainerApi.md#delete) | **DELETE** {container_container_repository_href} | Delete a container repository
|
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/ | List roles
|
16
|
-
[**my_permissions**](RepositoriesContainerApi.md#my_permissions) | **GET** {container_container_repository_href}my_permissions/ | List user permissions
|
17
|
-
[**partial_update**](RepositoriesContainerApi.md#partial_update) | **PATCH** {container_container_repository_href} | Update a container repository
|
18
|
-
[**read**](RepositoriesContainerApi.md#read) | **GET** {container_container_repository_href} | Inspect a container repository
|
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/ | Remove a role
|
21
|
-
[**set_label**](RepositoriesContainerApi.md#set_label) | **POST** {container_container_repository_href}set_label/ | Set a label
|
22
|
-
[**sign**](RepositoriesContainerApi.md#sign) | **POST** {container_container_repository_href}sign/ | Sign images in the repo
|
23
|
-
[**sync**](RepositoriesContainerApi.md#sync) | **POST** {container_container_repository_href}sync/ | Sync from a remote
|
24
|
-
[**tag**](RepositoriesContainerApi.md#tag) | **POST** {container_container_repository_href}tag/ | Create a Tag
|
25
|
-
[**unset_label**](RepositoriesContainerApi.md#unset_label) | **POST** {container_container_repository_href}unset_label/ | Unset a label
|
26
|
-
[**untag**](RepositoriesContainerApi.md#untag) | **POST** {container_container_repository_href}untag/ | Delete a tag
|
27
|
-
[**update**](RepositoriesContainerApi.md#update) | **PUT** {container_container_repository_href} | Update a container repository
|
28
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
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/ | Add a role |
|
9
|
+
| [**build_image**](RepositoriesContainerApi.md#build_image) | **POST** {container_container_repository_href}build_image/ | Build an Image |
|
10
|
+
| [**copy_manifests**](RepositoriesContainerApi.md#copy_manifests) | **POST** {container_container_repository_href}copy_manifests/ | Copy manifests |
|
11
|
+
| [**copy_tags**](RepositoriesContainerApi.md#copy_tags) | **POST** {container_container_repository_href}copy_tags/ | Copy tags |
|
12
|
+
| [**create**](RepositoriesContainerApi.md#create) | **POST** /pulp/api/v3/repositories/container/container/ | Create a container repository |
|
13
|
+
| [**delete**](RepositoriesContainerApi.md#delete) | **DELETE** {container_container_repository_href} | Delete a container repository |
|
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/ | List roles |
|
16
|
+
| [**my_permissions**](RepositoriesContainerApi.md#my_permissions) | **GET** {container_container_repository_href}my_permissions/ | List user permissions |
|
17
|
+
| [**partial_update**](RepositoriesContainerApi.md#partial_update) | **PATCH** {container_container_repository_href} | Update a container repository |
|
18
|
+
| [**read**](RepositoriesContainerApi.md#read) | **GET** {container_container_repository_href} | Inspect a container repository |
|
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/ | Remove a role |
|
21
|
+
| [**set_label**](RepositoriesContainerApi.md#set_label) | **POST** {container_container_repository_href}set_label/ | Set a label |
|
22
|
+
| [**sign**](RepositoriesContainerApi.md#sign) | **POST** {container_container_repository_href}sign/ | Sign images in the repo |
|
23
|
+
| [**sync**](RepositoriesContainerApi.md#sync) | **POST** {container_container_repository_href}sync/ | Sync from a remote |
|
24
|
+
| [**tag**](RepositoriesContainerApi.md#tag) | **POST** {container_container_repository_href}tag/ | Create a Tag |
|
25
|
+
| [**unset_label**](RepositoriesContainerApi.md#unset_label) | **POST** {container_container_repository_href}unset_label/ | Unset a label |
|
26
|
+
| [**untag**](RepositoriesContainerApi.md#untag) | **POST** {container_container_repository_href}untag/ | Delete a tag |
|
27
|
+
| [**update**](RepositoriesContainerApi.md#update) | **PUT** {container_container_repository_href} | Update a container repository |
|
29
28
|
|
30
29
|
|
31
30
|
## add
|
32
31
|
|
33
|
-
> AsyncOperationResponse add(container_container_repository_href, recursive_manage)
|
32
|
+
> <AsyncOperationResponse> add(container_container_repository_href, recursive_manage)
|
34
33
|
|
35
34
|
Add content
|
36
35
|
|
37
36
|
Trigger an asynchronous task to recursively add container content.
|
38
37
|
|
39
|
-
###
|
38
|
+
### Examples
|
40
39
|
|
41
40
|
```ruby
|
42
|
-
|
41
|
+
require 'time'
|
43
42
|
require 'pulp_container_client'
|
44
43
|
# setup authorization
|
45
44
|
PulpContainerClient.configure do |config|
|
@@ -53,21 +52,38 @@ container_container_repository_href = 'container_container_repository_href_examp
|
|
53
52
|
recursive_manage = PulpContainerClient::RecursiveManage.new # RecursiveManage |
|
54
53
|
|
55
54
|
begin
|
56
|
-
#Add content
|
55
|
+
# Add content
|
57
56
|
result = api_instance.add(container_container_repository_href, recursive_manage)
|
58
57
|
p result
|
59
58
|
rescue PulpContainerClient::ApiError => e
|
60
|
-
puts "
|
59
|
+
puts "Error when calling RepositoriesContainerApi->add: #{e}"
|
61
60
|
end
|
62
61
|
```
|
63
62
|
|
64
|
-
|
63
|
+
#### Using the add_with_http_info variant
|
64
|
+
|
65
|
+
This returns an Array which contains the response data, status code and headers.
|
66
|
+
|
67
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> add_with_http_info(container_container_repository_href, recursive_manage)
|
68
|
+
|
69
|
+
```ruby
|
70
|
+
begin
|
71
|
+
# Add content
|
72
|
+
data, status_code, headers = api_instance.add_with_http_info(container_container_repository_href, recursive_manage)
|
73
|
+
p status_code # => 2xx
|
74
|
+
p headers # => { ... }
|
75
|
+
p data # => <AsyncOperationResponse>
|
76
|
+
rescue PulpContainerClient::ApiError => e
|
77
|
+
puts "Error when calling RepositoriesContainerApi->add_with_http_info: #{e}"
|
78
|
+
end
|
79
|
+
```
|
65
80
|
|
81
|
+
### Parameters
|
66
82
|
|
67
|
-
Name | Type | Description
|
68
|
-
|
69
|
-
**container_container_repository_href** | **String
|
70
|
-
**recursive_manage** | [**RecursiveManage**](RecursiveManage.md)| |
|
83
|
+
| Name | Type | Description | Notes |
|
84
|
+
| ---- | ---- | ----------- | ----- |
|
85
|
+
| **container_container_repository_href** | **String** | | |
|
86
|
+
| **recursive_manage** | [**RecursiveManage**](RecursiveManage.md) | | |
|
71
87
|
|
72
88
|
### Return type
|
73
89
|
|
@@ -85,16 +101,16 @@ Name | Type | Description | Notes
|
|
85
101
|
|
86
102
|
## add_role
|
87
103
|
|
88
|
-
> NestedRoleResponse add_role(container_container_repository_href, nested_role)
|
104
|
+
> <NestedRoleResponse> add_role(container_container_repository_href, nested_role)
|
89
105
|
|
90
106
|
Add a role
|
91
107
|
|
92
108
|
Add a role for this object to users/groups.
|
93
109
|
|
94
|
-
###
|
110
|
+
### Examples
|
95
111
|
|
96
112
|
```ruby
|
97
|
-
|
113
|
+
require 'time'
|
98
114
|
require 'pulp_container_client'
|
99
115
|
# setup authorization
|
100
116
|
PulpContainerClient.configure do |config|
|
@@ -105,24 +121,41 @@ end
|
|
105
121
|
|
106
122
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
107
123
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
108
|
-
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
124
|
+
nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
109
125
|
|
110
126
|
begin
|
111
|
-
#Add a role
|
127
|
+
# Add a role
|
112
128
|
result = api_instance.add_role(container_container_repository_href, nested_role)
|
113
129
|
p result
|
114
130
|
rescue PulpContainerClient::ApiError => e
|
115
|
-
puts "
|
131
|
+
puts "Error when calling RepositoriesContainerApi->add_role: #{e}"
|
116
132
|
end
|
117
133
|
```
|
118
134
|
|
119
|
-
|
135
|
+
#### Using the add_role_with_http_info variant
|
120
136
|
|
137
|
+
This returns an Array which contains the response data, status code and headers.
|
121
138
|
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
139
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_repository_href, nested_role)
|
140
|
+
|
141
|
+
```ruby
|
142
|
+
begin
|
143
|
+
# Add a role
|
144
|
+
data, status_code, headers = api_instance.add_role_with_http_info(container_container_repository_href, nested_role)
|
145
|
+
p status_code # => 2xx
|
146
|
+
p headers # => { ... }
|
147
|
+
p data # => <NestedRoleResponse>
|
148
|
+
rescue PulpContainerClient::ApiError => e
|
149
|
+
puts "Error when calling RepositoriesContainerApi->add_role_with_http_info: #{e}"
|
150
|
+
end
|
151
|
+
```
|
152
|
+
|
153
|
+
### Parameters
|
154
|
+
|
155
|
+
| Name | Type | Description | Notes |
|
156
|
+
| ---- | ---- | ----------- | ----- |
|
157
|
+
| **container_container_repository_href** | **String** | | |
|
158
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
126
159
|
|
127
160
|
### Return type
|
128
161
|
|
@@ -140,16 +173,16 @@ Name | Type | Description | Notes
|
|
140
173
|
|
141
174
|
## build_image
|
142
175
|
|
143
|
-
> AsyncOperationResponse build_image(container_container_repository_href, opts)
|
176
|
+
> <AsyncOperationResponse> build_image(container_container_repository_href, opts)
|
144
177
|
|
145
178
|
Build an Image
|
146
179
|
|
147
180
|
Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
|
148
181
|
|
149
|
-
###
|
182
|
+
### Examples
|
150
183
|
|
151
184
|
```ruby
|
152
|
-
|
185
|
+
require 'time'
|
153
186
|
require 'pulp_container_client'
|
154
187
|
# setup authorization
|
155
188
|
PulpContainerClient.configure do |config|
|
@@ -162,30 +195,47 @@ api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
162
195
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
163
196
|
opts = {
|
164
197
|
containerfile_name: 'containerfile_name_example', # String | Name of the Containerfile, from build_context, that should be used to run podman-build.
|
165
|
-
containerfile: File.new('/path/to/file'), # File | An uploaded Containerfile that should be used to run podman-build.
|
166
|
-
tag: '
|
198
|
+
containerfile: File.new('/path/to/some/file'), # File | An uploaded Containerfile that should be used to run podman-build.
|
199
|
+
tag: 'tag_example', # String | A tag name for the new image being built.
|
167
200
|
build_context: 'build_context_example' # String | RepositoryVersion to be used as the build context for container images.
|
168
201
|
}
|
169
202
|
|
170
203
|
begin
|
171
|
-
#Build an Image
|
204
|
+
# Build an Image
|
172
205
|
result = api_instance.build_image(container_container_repository_href, opts)
|
173
206
|
p result
|
174
207
|
rescue PulpContainerClient::ApiError => e
|
175
|
-
puts "
|
208
|
+
puts "Error when calling RepositoriesContainerApi->build_image: #{e}"
|
176
209
|
end
|
177
210
|
```
|
178
211
|
|
179
|
-
|
212
|
+
#### Using the build_image_with_http_info variant
|
180
213
|
|
214
|
+
This returns an Array which contains the response data, status code and headers.
|
181
215
|
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
216
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> build_image_with_http_info(container_container_repository_href, opts)
|
217
|
+
|
218
|
+
```ruby
|
219
|
+
begin
|
220
|
+
# Build an Image
|
221
|
+
data, status_code, headers = api_instance.build_image_with_http_info(container_container_repository_href, opts)
|
222
|
+
p status_code # => 2xx
|
223
|
+
p headers # => { ... }
|
224
|
+
p data # => <AsyncOperationResponse>
|
225
|
+
rescue PulpContainerClient::ApiError => e
|
226
|
+
puts "Error when calling RepositoriesContainerApi->build_image_with_http_info: #{e}"
|
227
|
+
end
|
228
|
+
```
|
229
|
+
|
230
|
+
### Parameters
|
231
|
+
|
232
|
+
| Name | Type | Description | Notes |
|
233
|
+
| ---- | ---- | ----------- | ----- |
|
234
|
+
| **container_container_repository_href** | **String** | | |
|
235
|
+
| **containerfile_name** | **String** | Name of the Containerfile, from build_context, that should be used to run podman-build. | [optional] |
|
236
|
+
| **containerfile** | **File** | An uploaded Containerfile that should be used to run podman-build. | [optional] |
|
237
|
+
| **tag** | **String** | A tag name for the new image being built. | [optional][default to 'latest'] |
|
238
|
+
| **build_context** | **String** | RepositoryVersion to be used as the build context for container images. | [optional] |
|
189
239
|
|
190
240
|
### Return type
|
191
241
|
|
@@ -203,16 +253,16 @@ Name | Type | Description | Notes
|
|
203
253
|
|
204
254
|
## copy_manifests
|
205
255
|
|
206
|
-
> AsyncOperationResponse copy_manifests(container_container_repository_href, manifest_copy)
|
256
|
+
> <AsyncOperationResponse> copy_manifests(container_container_repository_href, manifest_copy)
|
207
257
|
|
208
258
|
Copy manifests
|
209
259
|
|
210
260
|
Trigger an asynchronous task to copy manifests
|
211
261
|
|
212
|
-
###
|
262
|
+
### Examples
|
213
263
|
|
214
264
|
```ruby
|
215
|
-
|
265
|
+
require 'time'
|
216
266
|
require 'pulp_container_client'
|
217
267
|
# setup authorization
|
218
268
|
PulpContainerClient.configure do |config|
|
@@ -226,21 +276,38 @@ container_container_repository_href = 'container_container_repository_href_examp
|
|
226
276
|
manifest_copy = PulpContainerClient::ManifestCopy.new # ManifestCopy |
|
227
277
|
|
228
278
|
begin
|
229
|
-
#Copy manifests
|
279
|
+
# Copy manifests
|
230
280
|
result = api_instance.copy_manifests(container_container_repository_href, manifest_copy)
|
231
281
|
p result
|
232
282
|
rescue PulpContainerClient::ApiError => e
|
233
|
-
puts "
|
283
|
+
puts "Error when calling RepositoriesContainerApi->copy_manifests: #{e}"
|
234
284
|
end
|
235
285
|
```
|
236
286
|
|
237
|
-
|
287
|
+
#### Using the copy_manifests_with_http_info variant
|
288
|
+
|
289
|
+
This returns an Array which contains the response data, status code and headers.
|
290
|
+
|
291
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> copy_manifests_with_http_info(container_container_repository_href, manifest_copy)
|
292
|
+
|
293
|
+
```ruby
|
294
|
+
begin
|
295
|
+
# Copy manifests
|
296
|
+
data, status_code, headers = api_instance.copy_manifests_with_http_info(container_container_repository_href, manifest_copy)
|
297
|
+
p status_code # => 2xx
|
298
|
+
p headers # => { ... }
|
299
|
+
p data # => <AsyncOperationResponse>
|
300
|
+
rescue PulpContainerClient::ApiError => e
|
301
|
+
puts "Error when calling RepositoriesContainerApi->copy_manifests_with_http_info: #{e}"
|
302
|
+
end
|
303
|
+
```
|
238
304
|
|
305
|
+
### Parameters
|
239
306
|
|
240
|
-
Name | Type | Description
|
241
|
-
|
242
|
-
**container_container_repository_href** | **String
|
243
|
-
**manifest_copy** | [**ManifestCopy**](ManifestCopy.md)| |
|
307
|
+
| Name | Type | Description | Notes |
|
308
|
+
| ---- | ---- | ----------- | ----- |
|
309
|
+
| **container_container_repository_href** | **String** | | |
|
310
|
+
| **manifest_copy** | [**ManifestCopy**](ManifestCopy.md) | | |
|
244
311
|
|
245
312
|
### Return type
|
246
313
|
|
@@ -258,16 +325,16 @@ Name | Type | Description | Notes
|
|
258
325
|
|
259
326
|
## copy_tags
|
260
327
|
|
261
|
-
> AsyncOperationResponse copy_tags(container_container_repository_href, tag_copy)
|
328
|
+
> <AsyncOperationResponse> copy_tags(container_container_repository_href, tag_copy)
|
262
329
|
|
263
330
|
Copy tags
|
264
331
|
|
265
332
|
Trigger an asynchronous task to copy tags
|
266
333
|
|
267
|
-
###
|
334
|
+
### Examples
|
268
335
|
|
269
336
|
```ruby
|
270
|
-
|
337
|
+
require 'time'
|
271
338
|
require 'pulp_container_client'
|
272
339
|
# setup authorization
|
273
340
|
PulpContainerClient.configure do |config|
|
@@ -281,21 +348,38 @@ container_container_repository_href = 'container_container_repository_href_examp
|
|
281
348
|
tag_copy = PulpContainerClient::TagCopy.new # TagCopy |
|
282
349
|
|
283
350
|
begin
|
284
|
-
#Copy tags
|
351
|
+
# Copy tags
|
285
352
|
result = api_instance.copy_tags(container_container_repository_href, tag_copy)
|
286
353
|
p result
|
287
354
|
rescue PulpContainerClient::ApiError => e
|
288
|
-
puts "
|
355
|
+
puts "Error when calling RepositoriesContainerApi->copy_tags: #{e}"
|
289
356
|
end
|
290
357
|
```
|
291
358
|
|
292
|
-
|
359
|
+
#### Using the copy_tags_with_http_info variant
|
293
360
|
|
361
|
+
This returns an Array which contains the response data, status code and headers.
|
294
362
|
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
363
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> copy_tags_with_http_info(container_container_repository_href, tag_copy)
|
364
|
+
|
365
|
+
```ruby
|
366
|
+
begin
|
367
|
+
# Copy tags
|
368
|
+
data, status_code, headers = api_instance.copy_tags_with_http_info(container_container_repository_href, tag_copy)
|
369
|
+
p status_code # => 2xx
|
370
|
+
p headers # => { ... }
|
371
|
+
p data # => <AsyncOperationResponse>
|
372
|
+
rescue PulpContainerClient::ApiError => e
|
373
|
+
puts "Error when calling RepositoriesContainerApi->copy_tags_with_http_info: #{e}"
|
374
|
+
end
|
375
|
+
```
|
376
|
+
|
377
|
+
### Parameters
|
378
|
+
|
379
|
+
| Name | Type | Description | Notes |
|
380
|
+
| ---- | ---- | ----------- | ----- |
|
381
|
+
| **container_container_repository_href** | **String** | | |
|
382
|
+
| **tag_copy** | [**TagCopy**](TagCopy.md) | | |
|
299
383
|
|
300
384
|
### Return type
|
301
385
|
|
@@ -313,16 +397,16 @@ Name | Type | Description | Notes
|
|
313
397
|
|
314
398
|
## create
|
315
399
|
|
316
|
-
> ContainerContainerRepositoryResponse create(container_container_repository)
|
400
|
+
> <ContainerContainerRepositoryResponse> create(container_container_repository)
|
317
401
|
|
318
402
|
Create a container repository
|
319
403
|
|
320
404
|
ViewSet for container repo.
|
321
405
|
|
322
|
-
###
|
406
|
+
### Examples
|
323
407
|
|
324
408
|
```ruby
|
325
|
-
|
409
|
+
require 'time'
|
326
410
|
require 'pulp_container_client'
|
327
411
|
# setup authorization
|
328
412
|
PulpContainerClient.configure do |config|
|
@@ -332,23 +416,40 @@ PulpContainerClient.configure do |config|
|
|
332
416
|
end
|
333
417
|
|
334
418
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
335
|
-
container_container_repository = PulpContainerClient::ContainerContainerRepository.new # ContainerContainerRepository |
|
419
|
+
container_container_repository = PulpContainerClient::ContainerContainerRepository.new({name: 'name_example'}) # ContainerContainerRepository |
|
336
420
|
|
337
421
|
begin
|
338
|
-
#Create a container repository
|
422
|
+
# Create a container repository
|
339
423
|
result = api_instance.create(container_container_repository)
|
340
424
|
p result
|
341
425
|
rescue PulpContainerClient::ApiError => e
|
342
|
-
puts "
|
426
|
+
puts "Error when calling RepositoriesContainerApi->create: #{e}"
|
343
427
|
end
|
344
428
|
```
|
345
429
|
|
346
|
-
|
430
|
+
#### Using the create_with_http_info variant
|
431
|
+
|
432
|
+
This returns an Array which contains the response data, status code and headers.
|
347
433
|
|
434
|
+
> <Array(<ContainerContainerRepositoryResponse>, Integer, Hash)> create_with_http_info(container_container_repository)
|
348
435
|
|
349
|
-
|
350
|
-
|
351
|
-
|
436
|
+
```ruby
|
437
|
+
begin
|
438
|
+
# Create a container repository
|
439
|
+
data, status_code, headers = api_instance.create_with_http_info(container_container_repository)
|
440
|
+
p status_code # => 2xx
|
441
|
+
p headers # => { ... }
|
442
|
+
p data # => <ContainerContainerRepositoryResponse>
|
443
|
+
rescue PulpContainerClient::ApiError => e
|
444
|
+
puts "Error when calling RepositoriesContainerApi->create_with_http_info: #{e}"
|
445
|
+
end
|
446
|
+
```
|
447
|
+
|
448
|
+
### Parameters
|
449
|
+
|
450
|
+
| Name | Type | Description | Notes |
|
451
|
+
| ---- | ---- | ----------- | ----- |
|
452
|
+
| **container_container_repository** | [**ContainerContainerRepository**](ContainerContainerRepository.md) | | |
|
352
453
|
|
353
454
|
### Return type
|
354
455
|
|
@@ -366,16 +467,16 @@ Name | Type | Description | Notes
|
|
366
467
|
|
367
468
|
## delete
|
368
469
|
|
369
|
-
> AsyncOperationResponse delete(container_container_repository_href)
|
470
|
+
> <AsyncOperationResponse> delete(container_container_repository_href)
|
370
471
|
|
371
472
|
Delete a container repository
|
372
473
|
|
373
474
|
Trigger an asynchronous delete task
|
374
475
|
|
375
|
-
###
|
476
|
+
### Examples
|
376
477
|
|
377
478
|
```ruby
|
378
|
-
|
479
|
+
require 'time'
|
379
480
|
require 'pulp_container_client'
|
380
481
|
# setup authorization
|
381
482
|
PulpContainerClient.configure do |config|
|
@@ -388,20 +489,37 @@ api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
|
388
489
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
389
490
|
|
390
491
|
begin
|
391
|
-
#Delete a container repository
|
492
|
+
# Delete a container repository
|
392
493
|
result = api_instance.delete(container_container_repository_href)
|
393
494
|
p result
|
394
495
|
rescue PulpContainerClient::ApiError => e
|
395
|
-
puts "
|
496
|
+
puts "Error when calling RepositoriesContainerApi->delete: #{e}"
|
396
497
|
end
|
397
498
|
```
|
398
499
|
|
399
|
-
|
500
|
+
#### Using the delete_with_http_info variant
|
400
501
|
|
502
|
+
This returns an Array which contains the response data, status code and headers.
|
401
503
|
|
402
|
-
|
403
|
-
|
404
|
-
|
504
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(container_container_repository_href)
|
505
|
+
|
506
|
+
```ruby
|
507
|
+
begin
|
508
|
+
# Delete a container repository
|
509
|
+
data, status_code, headers = api_instance.delete_with_http_info(container_container_repository_href)
|
510
|
+
p status_code # => 2xx
|
511
|
+
p headers # => { ... }
|
512
|
+
p data # => <AsyncOperationResponse>
|
513
|
+
rescue PulpContainerClient::ApiError => e
|
514
|
+
puts "Error when calling RepositoriesContainerApi->delete_with_http_info: #{e}"
|
515
|
+
end
|
516
|
+
```
|
517
|
+
|
518
|
+
### Parameters
|
519
|
+
|
520
|
+
| Name | Type | Description | Notes |
|
521
|
+
| ---- | ---- | ----------- | ----- |
|
522
|
+
| **container_container_repository_href** | **String** | | |
|
405
523
|
|
406
524
|
### Return type
|
407
525
|
|
@@ -419,16 +537,16 @@ Name | Type | Description | Notes
|
|
419
537
|
|
420
538
|
## list
|
421
539
|
|
422
|
-
> PaginatedcontainerContainerRepositoryResponseList list(opts)
|
540
|
+
> <PaginatedcontainerContainerRepositoryResponseList> list(opts)
|
423
541
|
|
424
542
|
List container repositorys
|
425
543
|
|
426
544
|
ViewSet for container repo.
|
427
545
|
|
428
|
-
###
|
546
|
+
### Examples
|
429
547
|
|
430
548
|
```ruby
|
431
|
-
|
549
|
+
require 'time'
|
432
550
|
require 'pulp_container_client'
|
433
551
|
# setup authorization
|
434
552
|
PulpContainerClient.configure do |config|
|
@@ -445,19 +563,19 @@ opts = {
|
|
445
563
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
446
564
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
447
565
|
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
448
|
-
name__in: ['
|
566
|
+
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
449
567
|
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
450
568
|
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
451
569
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
452
570
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
453
571
|
offset: 56, # Integer | The initial index from which to return the results.
|
454
|
-
ordering: ['
|
455
|
-
prn__in: ['
|
456
|
-
pulp_href__in: ['
|
457
|
-
pulp_id__in: ['
|
572
|
+
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)
|
573
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
574
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
575
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
458
576
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
459
577
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
460
|
-
remote: '
|
578
|
+
remote: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Foreign Key referenced by HREF
|
461
579
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
462
580
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
463
581
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
@@ -465,56 +583,73 @@ opts = {
|
|
465
583
|
retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
|
466
584
|
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
467
585
|
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
468
|
-
retain_repo_versions__range: [
|
586
|
+
retain_repo_versions__range: [37], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
469
587
|
with_content: 'with_content_example', # String | Content Unit referenced by HREF/PRN
|
470
|
-
fields: ['
|
471
|
-
exclude_fields: ['
|
588
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
589
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
472
590
|
}
|
473
591
|
|
474
592
|
begin
|
475
|
-
#List container repositorys
|
593
|
+
# List container repositorys
|
476
594
|
result = api_instance.list(opts)
|
477
595
|
p result
|
478
596
|
rescue PulpContainerClient::ApiError => e
|
479
|
-
puts "
|
597
|
+
puts "Error when calling RepositoriesContainerApi->list: #{e}"
|
480
598
|
end
|
481
599
|
```
|
482
600
|
|
483
|
-
|
601
|
+
#### Using the list_with_http_info variant
|
602
|
+
|
603
|
+
This returns an Array which contains the response data, status code and headers.
|
484
604
|
|
605
|
+
> <Array(<PaginatedcontainerContainerRepositoryResponseList>, Integer, Hash)> list_with_http_info(opts)
|
485
606
|
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
**
|
503
|
-
**
|
504
|
-
**
|
505
|
-
**
|
506
|
-
**
|
507
|
-
**
|
508
|
-
**
|
509
|
-
**
|
510
|
-
**
|
511
|
-
**
|
512
|
-
**
|
513
|
-
**
|
514
|
-
**
|
515
|
-
**
|
516
|
-
**
|
517
|
-
**
|
607
|
+
```ruby
|
608
|
+
begin
|
609
|
+
# List container repositorys
|
610
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
611
|
+
p status_code # => 2xx
|
612
|
+
p headers # => { ... }
|
613
|
+
p data # => <PaginatedcontainerContainerRepositoryResponseList>
|
614
|
+
rescue PulpContainerClient::ApiError => e
|
615
|
+
puts "Error when calling RepositoriesContainerApi->list_with_http_info: #{e}"
|
616
|
+
end
|
617
|
+
```
|
618
|
+
|
619
|
+
### Parameters
|
620
|
+
|
621
|
+
| Name | Type | Description | Notes |
|
622
|
+
| ---- | ---- | ----------- | ----- |
|
623
|
+
| **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
624
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
625
|
+
| **name** | **String** | Filter results where name matches value | [optional] |
|
626
|
+
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
627
|
+
| **name__icontains** | **String** | Filter results where name contains value | [optional] |
|
628
|
+
| **name__iexact** | **String** | Filter results where name matches value | [optional] |
|
629
|
+
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
630
|
+
| **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
|
631
|
+
| **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
|
632
|
+
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
633
|
+
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
634
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
635
|
+
| **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] |
|
636
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
637
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
638
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
639
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
640
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
641
|
+
| **remote** | **String** | Foreign Key referenced by HREF | [optional] |
|
642
|
+
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
643
|
+
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
644
|
+
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
645
|
+
| **retain_repo_versions__isnull** | **Boolean** | Filter results where retain_repo_versions has a null value | [optional] |
|
646
|
+
| **retain_repo_versions__lt** | **Integer** | Filter results where retain_repo_versions is less than value | [optional] |
|
647
|
+
| **retain_repo_versions__lte** | **Integer** | Filter results where retain_repo_versions is less than or equal to value | [optional] |
|
648
|
+
| **retain_repo_versions__ne** | **Integer** | Filter results where retain_repo_versions not equal to value | [optional] |
|
649
|
+
| **retain_repo_versions__range** | [**Array<Integer>**](Integer.md) | Filter results where retain_repo_versions is between two comma separated values | [optional] |
|
650
|
+
| **with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
651
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
652
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
518
653
|
|
519
654
|
### Return type
|
520
655
|
|
@@ -532,16 +667,16 @@ Name | Type | Description | Notes
|
|
532
667
|
|
533
668
|
## list_roles
|
534
669
|
|
535
|
-
> ObjectRolesResponse list_roles(container_container_repository_href, opts)
|
670
|
+
> <ObjectRolesResponse> list_roles(container_container_repository_href, opts)
|
536
671
|
|
537
672
|
List roles
|
538
673
|
|
539
674
|
List roles assigned to this object.
|
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|
|
@@ -553,27 +688,44 @@ end
|
|
553
688
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
554
689
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
555
690
|
opts = {
|
556
|
-
fields: ['
|
557
|
-
exclude_fields: ['
|
691
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
692
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
558
693
|
}
|
559
694
|
|
560
695
|
begin
|
561
|
-
#List roles
|
696
|
+
# List roles
|
562
697
|
result = api_instance.list_roles(container_container_repository_href, opts)
|
563
698
|
p result
|
564
699
|
rescue PulpContainerClient::ApiError => e
|
565
|
-
puts "
|
700
|
+
puts "Error when calling RepositoriesContainerApi->list_roles: #{e}"
|
566
701
|
end
|
567
702
|
```
|
568
703
|
|
569
|
-
|
704
|
+
#### Using the list_roles_with_http_info variant
|
570
705
|
|
706
|
+
This returns an Array which contains the response data, status code and headers.
|
571
707
|
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
708
|
+
> <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(container_container_repository_href, opts)
|
709
|
+
|
710
|
+
```ruby
|
711
|
+
begin
|
712
|
+
# List roles
|
713
|
+
data, status_code, headers = api_instance.list_roles_with_http_info(container_container_repository_href, opts)
|
714
|
+
p status_code # => 2xx
|
715
|
+
p headers # => { ... }
|
716
|
+
p data # => <ObjectRolesResponse>
|
717
|
+
rescue PulpContainerClient::ApiError => e
|
718
|
+
puts "Error when calling RepositoriesContainerApi->list_roles_with_http_info: #{e}"
|
719
|
+
end
|
720
|
+
```
|
721
|
+
|
722
|
+
### Parameters
|
723
|
+
|
724
|
+
| Name | Type | Description | Notes |
|
725
|
+
| ---- | ---- | ----------- | ----- |
|
726
|
+
| **container_container_repository_href** | **String** | | |
|
727
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
728
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
577
729
|
|
578
730
|
### Return type
|
579
731
|
|
@@ -591,16 +743,16 @@ Name | Type | Description | Notes
|
|
591
743
|
|
592
744
|
## my_permissions
|
593
745
|
|
594
|
-
> MyPermissionsResponse my_permissions(container_container_repository_href, opts)
|
746
|
+
> <MyPermissionsResponse> my_permissions(container_container_repository_href, opts)
|
595
747
|
|
596
748
|
List user permissions
|
597
749
|
|
598
750
|
List permissions available to the current user on this object.
|
599
751
|
|
600
|
-
###
|
752
|
+
### Examples
|
601
753
|
|
602
754
|
```ruby
|
603
|
-
|
755
|
+
require 'time'
|
604
756
|
require 'pulp_container_client'
|
605
757
|
# setup authorization
|
606
758
|
PulpContainerClient.configure do |config|
|
@@ -612,27 +764,44 @@ end
|
|
612
764
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
613
765
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
614
766
|
opts = {
|
615
|
-
fields: ['
|
616
|
-
exclude_fields: ['
|
767
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
768
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
617
769
|
}
|
618
770
|
|
619
771
|
begin
|
620
|
-
#List user permissions
|
772
|
+
# List user permissions
|
621
773
|
result = api_instance.my_permissions(container_container_repository_href, opts)
|
622
774
|
p result
|
623
775
|
rescue PulpContainerClient::ApiError => e
|
624
|
-
puts "
|
776
|
+
puts "Error when calling RepositoriesContainerApi->my_permissions: #{e}"
|
625
777
|
end
|
626
778
|
```
|
627
779
|
|
628
|
-
|
780
|
+
#### Using the my_permissions_with_http_info variant
|
781
|
+
|
782
|
+
This returns an Array which contains the response data, status code and headers.
|
629
783
|
|
784
|
+
> <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(container_container_repository_href, opts)
|
630
785
|
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
786
|
+
```ruby
|
787
|
+
begin
|
788
|
+
# List user permissions
|
789
|
+
data, status_code, headers = api_instance.my_permissions_with_http_info(container_container_repository_href, opts)
|
790
|
+
p status_code # => 2xx
|
791
|
+
p headers # => { ... }
|
792
|
+
p data # => <MyPermissionsResponse>
|
793
|
+
rescue PulpContainerClient::ApiError => e
|
794
|
+
puts "Error when calling RepositoriesContainerApi->my_permissions_with_http_info: #{e}"
|
795
|
+
end
|
796
|
+
```
|
797
|
+
|
798
|
+
### Parameters
|
799
|
+
|
800
|
+
| Name | Type | Description | Notes |
|
801
|
+
| ---- | ---- | ----------- | ----- |
|
802
|
+
| **container_container_repository_href** | **String** | | |
|
803
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
804
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
636
805
|
|
637
806
|
### Return type
|
638
807
|
|
@@ -650,16 +819,16 @@ Name | Type | Description | Notes
|
|
650
819
|
|
651
820
|
## partial_update
|
652
821
|
|
653
|
-
> AsyncOperationResponse partial_update(container_container_repository_href, patchedcontainer_container_repository)
|
822
|
+
> <AsyncOperationResponse> partial_update(container_container_repository_href, patchedcontainer_container_repository)
|
654
823
|
|
655
824
|
Update a container repository
|
656
825
|
|
657
826
|
Trigger an asynchronous partial update task
|
658
827
|
|
659
|
-
###
|
828
|
+
### Examples
|
660
829
|
|
661
830
|
```ruby
|
662
|
-
|
831
|
+
require 'time'
|
663
832
|
require 'pulp_container_client'
|
664
833
|
# setup authorization
|
665
834
|
PulpContainerClient.configure do |config|
|
@@ -673,21 +842,38 @@ container_container_repository_href = 'container_container_repository_href_examp
|
|
673
842
|
patchedcontainer_container_repository = PulpContainerClient::PatchedcontainerContainerRepository.new # PatchedcontainerContainerRepository |
|
674
843
|
|
675
844
|
begin
|
676
|
-
#Update a container repository
|
845
|
+
# Update a container repository
|
677
846
|
result = api_instance.partial_update(container_container_repository_href, patchedcontainer_container_repository)
|
678
847
|
p result
|
679
848
|
rescue PulpContainerClient::ApiError => e
|
680
|
-
puts "
|
849
|
+
puts "Error when calling RepositoriesContainerApi->partial_update: #{e}"
|
681
850
|
end
|
682
851
|
```
|
683
852
|
|
684
|
-
|
853
|
+
#### Using the partial_update_with_http_info variant
|
685
854
|
|
855
|
+
This returns an Array which contains the response data, status code and headers.
|
686
856
|
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
857
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository)
|
858
|
+
|
859
|
+
```ruby
|
860
|
+
begin
|
861
|
+
# Update a container repository
|
862
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_repository_href, patchedcontainer_container_repository)
|
863
|
+
p status_code # => 2xx
|
864
|
+
p headers # => { ... }
|
865
|
+
p data # => <AsyncOperationResponse>
|
866
|
+
rescue PulpContainerClient::ApiError => e
|
867
|
+
puts "Error when calling RepositoriesContainerApi->partial_update_with_http_info: #{e}"
|
868
|
+
end
|
869
|
+
```
|
870
|
+
|
871
|
+
### Parameters
|
872
|
+
|
873
|
+
| Name | Type | Description | Notes |
|
874
|
+
| ---- | ---- | ----------- | ----- |
|
875
|
+
| **container_container_repository_href** | **String** | | |
|
876
|
+
| **patchedcontainer_container_repository** | [**PatchedcontainerContainerRepository**](PatchedcontainerContainerRepository.md) | | |
|
691
877
|
|
692
878
|
### Return type
|
693
879
|
|
@@ -705,16 +891,16 @@ Name | Type | Description | Notes
|
|
705
891
|
|
706
892
|
## read
|
707
893
|
|
708
|
-
> ContainerContainerRepositoryResponse read(container_container_repository_href, opts)
|
894
|
+
> <ContainerContainerRepositoryResponse> read(container_container_repository_href, opts)
|
709
895
|
|
710
896
|
Inspect a container repository
|
711
897
|
|
712
898
|
ViewSet for container repo.
|
713
899
|
|
714
|
-
###
|
900
|
+
### Examples
|
715
901
|
|
716
902
|
```ruby
|
717
|
-
|
903
|
+
require 'time'
|
718
904
|
require 'pulp_container_client'
|
719
905
|
# setup authorization
|
720
906
|
PulpContainerClient.configure do |config|
|
@@ -726,27 +912,44 @@ end
|
|
726
912
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
727
913
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
728
914
|
opts = {
|
729
|
-
fields: ['
|
730
|
-
exclude_fields: ['
|
915
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
916
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
731
917
|
}
|
732
918
|
|
733
919
|
begin
|
734
|
-
#Inspect a container repository
|
920
|
+
# Inspect a container repository
|
735
921
|
result = api_instance.read(container_container_repository_href, opts)
|
736
922
|
p result
|
737
923
|
rescue PulpContainerClient::ApiError => e
|
738
|
-
puts "
|
924
|
+
puts "Error when calling RepositoriesContainerApi->read: #{e}"
|
739
925
|
end
|
740
926
|
```
|
741
927
|
|
742
|
-
|
928
|
+
#### Using the read_with_http_info variant
|
929
|
+
|
930
|
+
This returns an Array which contains the response data, status code and headers.
|
743
931
|
|
932
|
+
> <Array(<ContainerContainerRepositoryResponse>, Integer, Hash)> read_with_http_info(container_container_repository_href, opts)
|
744
933
|
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
934
|
+
```ruby
|
935
|
+
begin
|
936
|
+
# Inspect a container repository
|
937
|
+
data, status_code, headers = api_instance.read_with_http_info(container_container_repository_href, opts)
|
938
|
+
p status_code # => 2xx
|
939
|
+
p headers # => { ... }
|
940
|
+
p data # => <ContainerContainerRepositoryResponse>
|
941
|
+
rescue PulpContainerClient::ApiError => e
|
942
|
+
puts "Error when calling RepositoriesContainerApi->read_with_http_info: #{e}"
|
943
|
+
end
|
944
|
+
```
|
945
|
+
|
946
|
+
### Parameters
|
947
|
+
|
948
|
+
| Name | Type | Description | Notes |
|
949
|
+
| ---- | ---- | ----------- | ----- |
|
950
|
+
| **container_container_repository_href** | **String** | | |
|
951
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
952
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
750
953
|
|
751
954
|
### Return type
|
752
955
|
|
@@ -764,16 +967,16 @@ Name | Type | Description | Notes
|
|
764
967
|
|
765
968
|
## remove
|
766
969
|
|
767
|
-
> AsyncOperationResponse remove(container_container_repository_href, recursive_manage)
|
970
|
+
> <AsyncOperationResponse> remove(container_container_repository_href, recursive_manage)
|
768
971
|
|
769
972
|
Remove content
|
770
973
|
|
771
974
|
Trigger an async task to recursively remove container content.
|
772
975
|
|
773
|
-
###
|
976
|
+
### Examples
|
774
977
|
|
775
978
|
```ruby
|
776
|
-
|
979
|
+
require 'time'
|
777
980
|
require 'pulp_container_client'
|
778
981
|
# setup authorization
|
779
982
|
PulpContainerClient.configure do |config|
|
@@ -787,21 +990,38 @@ container_container_repository_href = 'container_container_repository_href_examp
|
|
787
990
|
recursive_manage = PulpContainerClient::RecursiveManage.new # RecursiveManage |
|
788
991
|
|
789
992
|
begin
|
790
|
-
#Remove content
|
993
|
+
# Remove content
|
791
994
|
result = api_instance.remove(container_container_repository_href, recursive_manage)
|
792
995
|
p result
|
793
996
|
rescue PulpContainerClient::ApiError => e
|
794
|
-
puts "
|
997
|
+
puts "Error when calling RepositoriesContainerApi->remove: #{e}"
|
795
998
|
end
|
796
999
|
```
|
797
1000
|
|
798
|
-
|
1001
|
+
#### Using the remove_with_http_info variant
|
799
1002
|
|
1003
|
+
This returns an Array which contains the response data, status code and headers.
|
800
1004
|
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
1005
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> remove_with_http_info(container_container_repository_href, recursive_manage)
|
1006
|
+
|
1007
|
+
```ruby
|
1008
|
+
begin
|
1009
|
+
# Remove content
|
1010
|
+
data, status_code, headers = api_instance.remove_with_http_info(container_container_repository_href, recursive_manage)
|
1011
|
+
p status_code # => 2xx
|
1012
|
+
p headers # => { ... }
|
1013
|
+
p data # => <AsyncOperationResponse>
|
1014
|
+
rescue PulpContainerClient::ApiError => e
|
1015
|
+
puts "Error when calling RepositoriesContainerApi->remove_with_http_info: #{e}"
|
1016
|
+
end
|
1017
|
+
```
|
1018
|
+
|
1019
|
+
### Parameters
|
1020
|
+
|
1021
|
+
| Name | Type | Description | Notes |
|
1022
|
+
| ---- | ---- | ----------- | ----- |
|
1023
|
+
| **container_container_repository_href** | **String** | | |
|
1024
|
+
| **recursive_manage** | [**RecursiveManage**](RecursiveManage.md) | | |
|
805
1025
|
|
806
1026
|
### Return type
|
807
1027
|
|
@@ -819,16 +1039,16 @@ Name | Type | Description | Notes
|
|
819
1039
|
|
820
1040
|
## remove_role
|
821
1041
|
|
822
|
-
> NestedRoleResponse remove_role(container_container_repository_href, nested_role)
|
1042
|
+
> <NestedRoleResponse> remove_role(container_container_repository_href, nested_role)
|
823
1043
|
|
824
1044
|
Remove a role
|
825
1045
|
|
826
1046
|
Remove a role for this object from users/groups.
|
827
1047
|
|
828
|
-
###
|
1048
|
+
### Examples
|
829
1049
|
|
830
1050
|
```ruby
|
831
|
-
|
1051
|
+
require 'time'
|
832
1052
|
require 'pulp_container_client'
|
833
1053
|
# setup authorization
|
834
1054
|
PulpContainerClient.configure do |config|
|
@@ -839,24 +1059,41 @@ end
|
|
839
1059
|
|
840
1060
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
841
1061
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
842
|
-
nested_role = PulpContainerClient::NestedRole.new # NestedRole |
|
1062
|
+
nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
843
1063
|
|
844
1064
|
begin
|
845
|
-
#Remove a role
|
1065
|
+
# Remove a role
|
846
1066
|
result = api_instance.remove_role(container_container_repository_href, nested_role)
|
847
1067
|
p result
|
848
1068
|
rescue PulpContainerClient::ApiError => e
|
849
|
-
puts "
|
1069
|
+
puts "Error when calling RepositoriesContainerApi->remove_role: #{e}"
|
850
1070
|
end
|
851
1071
|
```
|
852
1072
|
|
853
|
-
|
1073
|
+
#### Using the remove_role_with_http_info variant
|
854
1074
|
|
1075
|
+
This returns an Array which contains the response data, status code and headers.
|
855
1076
|
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
1077
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_repository_href, nested_role)
|
1078
|
+
|
1079
|
+
```ruby
|
1080
|
+
begin
|
1081
|
+
# Remove a role
|
1082
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_repository_href, nested_role)
|
1083
|
+
p status_code # => 2xx
|
1084
|
+
p headers # => { ... }
|
1085
|
+
p data # => <NestedRoleResponse>
|
1086
|
+
rescue PulpContainerClient::ApiError => e
|
1087
|
+
puts "Error when calling RepositoriesContainerApi->remove_role_with_http_info: #{e}"
|
1088
|
+
end
|
1089
|
+
```
|
1090
|
+
|
1091
|
+
### Parameters
|
1092
|
+
|
1093
|
+
| Name | Type | Description | Notes |
|
1094
|
+
| ---- | ---- | ----------- | ----- |
|
1095
|
+
| **container_container_repository_href** | **String** | | |
|
1096
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
860
1097
|
|
861
1098
|
### Return type
|
862
1099
|
|
@@ -874,16 +1111,16 @@ Name | Type | Description | Notes
|
|
874
1111
|
|
875
1112
|
## set_label
|
876
1113
|
|
877
|
-
> SetLabelResponse set_label(container_container_repository_href, set_label)
|
1114
|
+
> <SetLabelResponse> set_label(container_container_repository_href, set_label)
|
878
1115
|
|
879
1116
|
Set a label
|
880
1117
|
|
881
1118
|
Set a single pulp_label on the object to a specific value or null.
|
882
1119
|
|
883
|
-
###
|
1120
|
+
### Examples
|
884
1121
|
|
885
1122
|
```ruby
|
886
|
-
|
1123
|
+
require 'time'
|
887
1124
|
require 'pulp_container_client'
|
888
1125
|
# setup authorization
|
889
1126
|
PulpContainerClient.configure do |config|
|
@@ -894,24 +1131,41 @@ end
|
|
894
1131
|
|
895
1132
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
896
1133
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
897
|
-
set_label = PulpContainerClient::SetLabel.new # SetLabel |
|
1134
|
+
set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
898
1135
|
|
899
1136
|
begin
|
900
|
-
#Set a label
|
1137
|
+
# Set a label
|
901
1138
|
result = api_instance.set_label(container_container_repository_href, set_label)
|
902
1139
|
p result
|
903
1140
|
rescue PulpContainerClient::ApiError => e
|
904
|
-
puts "
|
1141
|
+
puts "Error when calling RepositoriesContainerApi->set_label: #{e}"
|
905
1142
|
end
|
906
1143
|
```
|
907
1144
|
|
908
|
-
|
1145
|
+
#### Using the set_label_with_http_info variant
|
1146
|
+
|
1147
|
+
This returns an Array which contains the response data, status code and headers.
|
1148
|
+
|
1149
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_container_repository_href, set_label)
|
1150
|
+
|
1151
|
+
```ruby
|
1152
|
+
begin
|
1153
|
+
# Set a label
|
1154
|
+
data, status_code, headers = api_instance.set_label_with_http_info(container_container_repository_href, set_label)
|
1155
|
+
p status_code # => 2xx
|
1156
|
+
p headers # => { ... }
|
1157
|
+
p data # => <SetLabelResponse>
|
1158
|
+
rescue PulpContainerClient::ApiError => e
|
1159
|
+
puts "Error when calling RepositoriesContainerApi->set_label_with_http_info: #{e}"
|
1160
|
+
end
|
1161
|
+
```
|
909
1162
|
|
1163
|
+
### Parameters
|
910
1164
|
|
911
|
-
Name | Type | Description
|
912
|
-
|
913
|
-
**container_container_repository_href** | **String
|
914
|
-
**set_label** | [**SetLabel**](SetLabel.md)| |
|
1165
|
+
| Name | Type | Description | Notes |
|
1166
|
+
| ---- | ---- | ----------- | ----- |
|
1167
|
+
| **container_container_repository_href** | **String** | | |
|
1168
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
915
1169
|
|
916
1170
|
### Return type
|
917
1171
|
|
@@ -929,16 +1183,16 @@ Name | Type | Description | Notes
|
|
929
1183
|
|
930
1184
|
## sign
|
931
1185
|
|
932
|
-
> AsyncOperationResponse sign(container_container_repository_href, repository_sign)
|
1186
|
+
> <AsyncOperationResponse> sign(container_container_repository_href, repository_sign)
|
933
1187
|
|
934
1188
|
Sign images in the repo
|
935
1189
|
|
936
1190
|
Trigger an asynchronous task to sign content.
|
937
1191
|
|
938
|
-
###
|
1192
|
+
### Examples
|
939
1193
|
|
940
1194
|
```ruby
|
941
|
-
|
1195
|
+
require 'time'
|
942
1196
|
require 'pulp_container_client'
|
943
1197
|
# setup authorization
|
944
1198
|
PulpContainerClient.configure do |config|
|
@@ -952,21 +1206,38 @@ container_container_repository_href = 'container_container_repository_href_examp
|
|
952
1206
|
repository_sign = PulpContainerClient::RepositorySign.new # RepositorySign |
|
953
1207
|
|
954
1208
|
begin
|
955
|
-
#Sign images in the repo
|
1209
|
+
# Sign images in the repo
|
956
1210
|
result = api_instance.sign(container_container_repository_href, repository_sign)
|
957
1211
|
p result
|
958
1212
|
rescue PulpContainerClient::ApiError => e
|
959
|
-
puts "
|
1213
|
+
puts "Error when calling RepositoriesContainerApi->sign: #{e}"
|
960
1214
|
end
|
961
1215
|
```
|
962
1216
|
|
963
|
-
|
1217
|
+
#### Using the sign_with_http_info variant
|
964
1218
|
|
1219
|
+
This returns an Array which contains the response data, status code and headers.
|
965
1220
|
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
1221
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> sign_with_http_info(container_container_repository_href, repository_sign)
|
1222
|
+
|
1223
|
+
```ruby
|
1224
|
+
begin
|
1225
|
+
# Sign images in the repo
|
1226
|
+
data, status_code, headers = api_instance.sign_with_http_info(container_container_repository_href, repository_sign)
|
1227
|
+
p status_code # => 2xx
|
1228
|
+
p headers # => { ... }
|
1229
|
+
p data # => <AsyncOperationResponse>
|
1230
|
+
rescue PulpContainerClient::ApiError => e
|
1231
|
+
puts "Error when calling RepositoriesContainerApi->sign_with_http_info: #{e}"
|
1232
|
+
end
|
1233
|
+
```
|
1234
|
+
|
1235
|
+
### Parameters
|
1236
|
+
|
1237
|
+
| Name | Type | Description | Notes |
|
1238
|
+
| ---- | ---- | ----------- | ----- |
|
1239
|
+
| **container_container_repository_href** | **String** | | |
|
1240
|
+
| **repository_sign** | [**RepositorySign**](RepositorySign.md) | | |
|
970
1241
|
|
971
1242
|
### Return type
|
972
1243
|
|
@@ -984,16 +1255,16 @@ Name | Type | Description | Notes
|
|
984
1255
|
|
985
1256
|
## sync
|
986
1257
|
|
987
|
-
> AsyncOperationResponse sync(container_container_repository_href, container_repository_sync_url)
|
1258
|
+
> <AsyncOperationResponse> sync(container_container_repository_href, container_repository_sync_url)
|
988
1259
|
|
989
1260
|
Sync from a remote
|
990
1261
|
|
991
1262
|
Trigger an asynchronous task to sync content.
|
992
1263
|
|
993
|
-
###
|
1264
|
+
### Examples
|
994
1265
|
|
995
1266
|
```ruby
|
996
|
-
|
1267
|
+
require 'time'
|
997
1268
|
require 'pulp_container_client'
|
998
1269
|
# setup authorization
|
999
1270
|
PulpContainerClient.configure do |config|
|
@@ -1007,21 +1278,38 @@ container_container_repository_href = 'container_container_repository_href_examp
|
|
1007
1278
|
container_repository_sync_url = PulpContainerClient::ContainerRepositorySyncURL.new # ContainerRepositorySyncURL |
|
1008
1279
|
|
1009
1280
|
begin
|
1010
|
-
#Sync from a remote
|
1281
|
+
# Sync from a remote
|
1011
1282
|
result = api_instance.sync(container_container_repository_href, container_repository_sync_url)
|
1012
1283
|
p result
|
1013
1284
|
rescue PulpContainerClient::ApiError => e
|
1014
|
-
puts "
|
1285
|
+
puts "Error when calling RepositoriesContainerApi->sync: #{e}"
|
1015
1286
|
end
|
1016
1287
|
```
|
1017
1288
|
|
1018
|
-
|
1289
|
+
#### Using the sync_with_http_info variant
|
1019
1290
|
|
1291
|
+
This returns an Array which contains the response data, status code and headers.
|
1020
1292
|
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1293
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(container_container_repository_href, container_repository_sync_url)
|
1294
|
+
|
1295
|
+
```ruby
|
1296
|
+
begin
|
1297
|
+
# Sync from a remote
|
1298
|
+
data, status_code, headers = api_instance.sync_with_http_info(container_container_repository_href, container_repository_sync_url)
|
1299
|
+
p status_code # => 2xx
|
1300
|
+
p headers # => { ... }
|
1301
|
+
p data # => <AsyncOperationResponse>
|
1302
|
+
rescue PulpContainerClient::ApiError => e
|
1303
|
+
puts "Error when calling RepositoriesContainerApi->sync_with_http_info: #{e}"
|
1304
|
+
end
|
1305
|
+
```
|
1306
|
+
|
1307
|
+
### Parameters
|
1308
|
+
|
1309
|
+
| Name | Type | Description | Notes |
|
1310
|
+
| ---- | ---- | ----------- | ----- |
|
1311
|
+
| **container_container_repository_href** | **String** | | |
|
1312
|
+
| **container_repository_sync_url** | [**ContainerRepositorySyncURL**](ContainerRepositorySyncURL.md) | | |
|
1025
1313
|
|
1026
1314
|
### Return type
|
1027
1315
|
|
@@ -1039,16 +1327,16 @@ Name | Type | Description | Notes
|
|
1039
1327
|
|
1040
1328
|
## tag
|
1041
1329
|
|
1042
|
-
> AsyncOperationResponse tag(container_container_repository_href, tag_image)
|
1330
|
+
> <AsyncOperationResponse> tag(container_container_repository_href, tag_image)
|
1043
1331
|
|
1044
1332
|
Create a Tag
|
1045
1333
|
|
1046
1334
|
Trigger an asynchronous task to tag an image in the repository
|
1047
1335
|
|
1048
|
-
###
|
1336
|
+
### Examples
|
1049
1337
|
|
1050
1338
|
```ruby
|
1051
|
-
|
1339
|
+
require 'time'
|
1052
1340
|
require 'pulp_container_client'
|
1053
1341
|
# setup authorization
|
1054
1342
|
PulpContainerClient.configure do |config|
|
@@ -1059,24 +1347,41 @@ end
|
|
1059
1347
|
|
1060
1348
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
1061
1349
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
1062
|
-
tag_image = PulpContainerClient::TagImage.new # TagImage |
|
1350
|
+
tag_image = PulpContainerClient::TagImage.new({tag: 'tag_example', digest: 'digest_example'}) # TagImage |
|
1063
1351
|
|
1064
1352
|
begin
|
1065
|
-
#Create a Tag
|
1353
|
+
# Create a Tag
|
1066
1354
|
result = api_instance.tag(container_container_repository_href, tag_image)
|
1067
1355
|
p result
|
1068
1356
|
rescue PulpContainerClient::ApiError => e
|
1069
|
-
puts "
|
1357
|
+
puts "Error when calling RepositoriesContainerApi->tag: #{e}"
|
1070
1358
|
end
|
1071
1359
|
```
|
1072
1360
|
|
1073
|
-
|
1361
|
+
#### Using the tag_with_http_info variant
|
1074
1362
|
|
1363
|
+
This returns an Array which contains the response data, status code and headers.
|
1075
1364
|
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1365
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> tag_with_http_info(container_container_repository_href, tag_image)
|
1366
|
+
|
1367
|
+
```ruby
|
1368
|
+
begin
|
1369
|
+
# Create a Tag
|
1370
|
+
data, status_code, headers = api_instance.tag_with_http_info(container_container_repository_href, tag_image)
|
1371
|
+
p status_code # => 2xx
|
1372
|
+
p headers # => { ... }
|
1373
|
+
p data # => <AsyncOperationResponse>
|
1374
|
+
rescue PulpContainerClient::ApiError => e
|
1375
|
+
puts "Error when calling RepositoriesContainerApi->tag_with_http_info: #{e}"
|
1376
|
+
end
|
1377
|
+
```
|
1378
|
+
|
1379
|
+
### Parameters
|
1380
|
+
|
1381
|
+
| Name | Type | Description | Notes |
|
1382
|
+
| ---- | ---- | ----------- | ----- |
|
1383
|
+
| **container_container_repository_href** | **String** | | |
|
1384
|
+
| **tag_image** | [**TagImage**](TagImage.md) | | |
|
1080
1385
|
|
1081
1386
|
### Return type
|
1082
1387
|
|
@@ -1094,16 +1399,16 @@ Name | Type | Description | Notes
|
|
1094
1399
|
|
1095
1400
|
## unset_label
|
1096
1401
|
|
1097
|
-
> UnsetLabelResponse unset_label(container_container_repository_href, unset_label)
|
1402
|
+
> <UnsetLabelResponse> unset_label(container_container_repository_href, unset_label)
|
1098
1403
|
|
1099
1404
|
Unset a label
|
1100
1405
|
|
1101
1406
|
Unset a single pulp_label on the object.
|
1102
1407
|
|
1103
|
-
###
|
1408
|
+
### Examples
|
1104
1409
|
|
1105
1410
|
```ruby
|
1106
|
-
|
1411
|
+
require 'time'
|
1107
1412
|
require 'pulp_container_client'
|
1108
1413
|
# setup authorization
|
1109
1414
|
PulpContainerClient.configure do |config|
|
@@ -1114,24 +1419,41 @@ end
|
|
1114
1419
|
|
1115
1420
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
1116
1421
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
1117
|
-
unset_label = PulpContainerClient::UnsetLabel.new # UnsetLabel |
|
1422
|
+
unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
1118
1423
|
|
1119
1424
|
begin
|
1120
|
-
#Unset a label
|
1425
|
+
# Unset a label
|
1121
1426
|
result = api_instance.unset_label(container_container_repository_href, unset_label)
|
1122
1427
|
p result
|
1123
1428
|
rescue PulpContainerClient::ApiError => e
|
1124
|
-
puts "
|
1429
|
+
puts "Error when calling RepositoriesContainerApi->unset_label: #{e}"
|
1125
1430
|
end
|
1126
1431
|
```
|
1127
1432
|
|
1128
|
-
|
1433
|
+
#### Using the unset_label_with_http_info variant
|
1434
|
+
|
1435
|
+
This returns an Array which contains the response data, status code and headers.
|
1436
|
+
|
1437
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_container_repository_href, unset_label)
|
1438
|
+
|
1439
|
+
```ruby
|
1440
|
+
begin
|
1441
|
+
# Unset a label
|
1442
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(container_container_repository_href, unset_label)
|
1443
|
+
p status_code # => 2xx
|
1444
|
+
p headers # => { ... }
|
1445
|
+
p data # => <UnsetLabelResponse>
|
1446
|
+
rescue PulpContainerClient::ApiError => e
|
1447
|
+
puts "Error when calling RepositoriesContainerApi->unset_label_with_http_info: #{e}"
|
1448
|
+
end
|
1449
|
+
```
|
1129
1450
|
|
1451
|
+
### Parameters
|
1130
1452
|
|
1131
|
-
Name | Type | Description
|
1132
|
-
|
1133
|
-
**container_container_repository_href** | **String
|
1134
|
-
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
1453
|
+
| Name | Type | Description | Notes |
|
1454
|
+
| ---- | ---- | ----------- | ----- |
|
1455
|
+
| **container_container_repository_href** | **String** | | |
|
1456
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
1135
1457
|
|
1136
1458
|
### Return type
|
1137
1459
|
|
@@ -1149,16 +1471,16 @@ Name | Type | Description | Notes
|
|
1149
1471
|
|
1150
1472
|
## untag
|
1151
1473
|
|
1152
|
-
> AsyncOperationResponse untag(container_container_repository_href, un_tag_image)
|
1474
|
+
> <AsyncOperationResponse> untag(container_container_repository_href, un_tag_image)
|
1153
1475
|
|
1154
1476
|
Delete a tag
|
1155
1477
|
|
1156
1478
|
Trigger an asynchronous task to untag an image in the repository
|
1157
1479
|
|
1158
|
-
###
|
1480
|
+
### Examples
|
1159
1481
|
|
1160
1482
|
```ruby
|
1161
|
-
|
1483
|
+
require 'time'
|
1162
1484
|
require 'pulp_container_client'
|
1163
1485
|
# setup authorization
|
1164
1486
|
PulpContainerClient.configure do |config|
|
@@ -1169,24 +1491,41 @@ end
|
|
1169
1491
|
|
1170
1492
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
1171
1493
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
1172
|
-
un_tag_image = PulpContainerClient::UnTagImage.new # UnTagImage |
|
1494
|
+
un_tag_image = PulpContainerClient::UnTagImage.new({tag: 'tag_example'}) # UnTagImage |
|
1173
1495
|
|
1174
1496
|
begin
|
1175
|
-
#Delete a tag
|
1497
|
+
# Delete a tag
|
1176
1498
|
result = api_instance.untag(container_container_repository_href, un_tag_image)
|
1177
1499
|
p result
|
1178
1500
|
rescue PulpContainerClient::ApiError => e
|
1179
|
-
puts "
|
1501
|
+
puts "Error when calling RepositoriesContainerApi->untag: #{e}"
|
1180
1502
|
end
|
1181
1503
|
```
|
1182
1504
|
|
1183
|
-
|
1505
|
+
#### Using the untag_with_http_info variant
|
1506
|
+
|
1507
|
+
This returns an Array which contains the response data, status code and headers.
|
1508
|
+
|
1509
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> untag_with_http_info(container_container_repository_href, un_tag_image)
|
1510
|
+
|
1511
|
+
```ruby
|
1512
|
+
begin
|
1513
|
+
# Delete a tag
|
1514
|
+
data, status_code, headers = api_instance.untag_with_http_info(container_container_repository_href, un_tag_image)
|
1515
|
+
p status_code # => 2xx
|
1516
|
+
p headers # => { ... }
|
1517
|
+
p data # => <AsyncOperationResponse>
|
1518
|
+
rescue PulpContainerClient::ApiError => e
|
1519
|
+
puts "Error when calling RepositoriesContainerApi->untag_with_http_info: #{e}"
|
1520
|
+
end
|
1521
|
+
```
|
1184
1522
|
|
1523
|
+
### Parameters
|
1185
1524
|
|
1186
|
-
Name | Type | Description
|
1187
|
-
|
1188
|
-
**container_container_repository_href** | **String
|
1189
|
-
**un_tag_image** | [**UnTagImage**](UnTagImage.md)| |
|
1525
|
+
| Name | Type | Description | Notes |
|
1526
|
+
| ---- | ---- | ----------- | ----- |
|
1527
|
+
| **container_container_repository_href** | **String** | | |
|
1528
|
+
| **un_tag_image** | [**UnTagImage**](UnTagImage.md) | | |
|
1190
1529
|
|
1191
1530
|
### Return type
|
1192
1531
|
|
@@ -1204,16 +1543,16 @@ Name | Type | Description | Notes
|
|
1204
1543
|
|
1205
1544
|
## update
|
1206
1545
|
|
1207
|
-
> AsyncOperationResponse update(container_container_repository_href, container_container_repository)
|
1546
|
+
> <AsyncOperationResponse> update(container_container_repository_href, container_container_repository)
|
1208
1547
|
|
1209
1548
|
Update a container repository
|
1210
1549
|
|
1211
1550
|
Trigger an asynchronous update task
|
1212
1551
|
|
1213
|
-
###
|
1552
|
+
### Examples
|
1214
1553
|
|
1215
1554
|
```ruby
|
1216
|
-
|
1555
|
+
require 'time'
|
1217
1556
|
require 'pulp_container_client'
|
1218
1557
|
# setup authorization
|
1219
1558
|
PulpContainerClient.configure do |config|
|
@@ -1224,24 +1563,41 @@ end
|
|
1224
1563
|
|
1225
1564
|
api_instance = PulpContainerClient::RepositoriesContainerApi.new
|
1226
1565
|
container_container_repository_href = 'container_container_repository_href_example' # String |
|
1227
|
-
container_container_repository = PulpContainerClient::ContainerContainerRepository.new # ContainerContainerRepository |
|
1566
|
+
container_container_repository = PulpContainerClient::ContainerContainerRepository.new({name: 'name_example'}) # ContainerContainerRepository |
|
1228
1567
|
|
1229
1568
|
begin
|
1230
|
-
#Update a container repository
|
1569
|
+
# Update a container repository
|
1231
1570
|
result = api_instance.update(container_container_repository_href, container_container_repository)
|
1232
1571
|
p result
|
1233
1572
|
rescue PulpContainerClient::ApiError => e
|
1234
|
-
puts "
|
1573
|
+
puts "Error when calling RepositoriesContainerApi->update: #{e}"
|
1235
1574
|
end
|
1236
1575
|
```
|
1237
1576
|
|
1238
|
-
|
1577
|
+
#### Using the update_with_http_info variant
|
1239
1578
|
|
1579
|
+
This returns an Array which contains the response data, status code and headers.
|
1580
|
+
|
1581
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_repository_href, container_container_repository)
|
1582
|
+
|
1583
|
+
```ruby
|
1584
|
+
begin
|
1585
|
+
# Update a container repository
|
1586
|
+
data, status_code, headers = api_instance.update_with_http_info(container_container_repository_href, container_container_repository)
|
1587
|
+
p status_code # => 2xx
|
1588
|
+
p headers # => { ... }
|
1589
|
+
p data # => <AsyncOperationResponse>
|
1590
|
+
rescue PulpContainerClient::ApiError => e
|
1591
|
+
puts "Error when calling RepositoriesContainerApi->update_with_http_info: #{e}"
|
1592
|
+
end
|
1593
|
+
```
|
1594
|
+
|
1595
|
+
### Parameters
|
1240
1596
|
|
1241
|
-
Name | Type | Description
|
1242
|
-
|
1243
|
-
**container_container_repository_href** | **String
|
1244
|
-
**container_container_repository** | [**ContainerContainerRepository**](ContainerContainerRepository.md)| |
|
1597
|
+
| Name | Type | Description | Notes |
|
1598
|
+
| ---- | ---- | ----------- | ----- |
|
1599
|
+
| **container_container_repository_href** | **String** | | |
|
1600
|
+
| **container_container_repository** | [**ContainerContainerRepository**](ContainerContainerRepository.md) | | |
|
1245
1601
|
|
1246
1602
|
### Return type
|
1247
1603
|
|