pulp_container_client 2.6.0 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +16 -12
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepository.md +23 -0
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -11
- data/docs/ContainerContainerRemote.md +7 -5
- data/docs/ContainerContainerRemoteResponse.md +7 -5
- data/docs/ManifestCopy.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +23 -0
- data/docs/PatchedcontainerContainerRemote.md +7 -5
- data/docs/RecursiveManage.md +1 -1
- data/docs/RepositoriesContainerPushApi.md +112 -0
- data/docs/RepositoriesContainerPushVersionsApi.md +271 -0
- data/docs/RepositoriesContainerVersionsApi.md +16 -279
- data/docs/TagCopy.md +1 -1
- data/lib/pulp_container_client.rb +4 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +1 -1
- data/lib/pulp_container_client/api/content_manifests_api.rb +1 -1
- data/lib/pulp_container_client/api/content_tags_api.rb +1 -1
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +1 -1
- data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +1 -1
- data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +141 -1
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +339 -0
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +26 -343
- data/lib/pulp_container_client/api/token_api.rb +1 -1
- data/lib/pulp_container_client/api_client.rb +12 -8
- data/lib/pulp_container_client/api_error.rb +1 -1
- data/lib/pulp_container_client/configuration.rb +8 -1
- data/lib/pulp_container_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_container_client/models/container_blob_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +25 -25
- data/lib/pulp_container_client/models/container_container_namespace.rb +1 -1
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository.rb +259 -0
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -43
- data/lib/pulp_container_client/models/container_container_remote.rb +19 -7
- data/lib/pulp_container_client/models/container_container_remote_response.rb +19 -7
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +1 -1
- data/lib/pulp_container_client/models/container_manifest_response.rb +1 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +1 -1
- data/lib/pulp_container_client/models/content_summary.rb +1 -1
- data/lib/pulp_container_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_container_client/models/manifest_copy.rb +2 -2
- data/lib/pulp_container_client/models/media_types_enum.rb +1 -1
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_content_redirect_content_guard_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +254 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +19 -7
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/policy_enum.rb +1 -1
- data/lib/pulp_container_client/models/recursive_manage.rb +2 -2
- data/lib/pulp_container_client/models/remove_image.rb +1 -1
- data/lib/pulp_container_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_container_client/models/repository_version.rb +1 -1
- data/lib/pulp_container_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_container_client/models/tag_copy.rb +2 -2
- data/lib/pulp_container_client/models/tag_image.rb +1 -1
- data/lib/pulp_container_client/models/un_tag_image.rb +1 -1
- data/lib/pulp_container_client/version.rb +2 -2
- data/pulp_container_client.gemspec +1 -1
- data/spec/api/content_blobs_api_spec.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +1 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
- data/spec/api/remotes_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_push_api_spec.rb +27 -1
- data/spec/api/repositories_container_push_versions_api_spec.rb +104 -0
- data/spec/api/repositories_container_versions_api_spec.rb +5 -74
- data/spec/api/token_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/container_blob_response_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_namespace_response_spec.rb +1 -1
- data/spec/models/container_container_namespace_spec.rb +1 -1
- data/spec/models/container_container_push_repository_response_spec.rb +7 -13
- data/spec/models/container_container_push_repository_spec.rb +59 -0
- data/spec/models/container_container_remote_response_spec.rb +7 -1
- data/spec/models/container_container_remote_spec.rb +7 -1
- data/spec/models/container_container_repository_response_spec.rb +1 -1
- data/spec/models/container_container_repository_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/container_manifest_response_spec.rb +1 -1
- data/spec/models/container_tag_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/manifest_copy_spec.rb +1 -1
- data/spec/models/media_types_enum_spec.rb +1 -1
- data/spec/models/oci_build_image_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_blob_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_namespace_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_manifest_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_tag_response_list_spec.rb +1 -1
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +59 -0
- data/spec/models/patchedcontainer_container_remote_spec.rb +7 -1
- data/spec/models/patchedcontainer_container_repository_spec.rb +1 -1
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/recursive_manage_spec.rb +1 -1
- data/spec/models/remove_image_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/tag_copy_spec.rb +1 -1
- data/spec/models/tag_image_spec.rb +1 -1
- data/spec/models/un_tag_image_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +51 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 987ba97925657bc05a127c9412c28b4c6ffaf9923cb597ba8474c0f755197b50
|
4
|
+
data.tar.gz: 60db3b68846091515fed42920fdb9b03aebe320033023ed350937b9120761968
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 585a488e69032dc1acac0127c4e5c2c595d75e3e715c2c20c21c50b86e63a61477b5764874b8fedea74cf24b6abadb4a5e0f45d8e08e30a83acc616c442101bc
|
7
|
+
data.tar.gz: 6d5ff8697ebdfad68f15dd881a395231e9adb085d9021b731e97db8f5405905707541db73deb82c3d6548dfacd308060a756f2da07162708a2b894f81b0bf9ef
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 2.
|
10
|
+
- Package version: 2.7.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_container_client-2.
|
27
|
+
gem install ./pulp_container_client-2.7.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.7.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_container_client', '~> 2.
|
36
|
+
gem 'pulp_container_client', '~> 2.7.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -138,18 +138,20 @@ Class | Method | HTTP request | Description
|
|
138
138
|
*PulpContainerClient::RepositoriesContainerApi* | [**untag**](docs/RepositoriesContainerApi.md#untag) | **POST** {container_container_repository_href}untag/ | Delete a tag
|
139
139
|
*PulpContainerClient::RepositoriesContainerApi* | [**update**](docs/RepositoriesContainerApi.md#update) | **PUT** {container_container_repository_href} | Update a container repository
|
140
140
|
*PulpContainerClient::RepositoriesContainerPushApi* | [**list**](docs/RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
|
141
|
+
*PulpContainerClient::RepositoriesContainerPushApi* | [**partial_update**](docs/RepositoriesContainerPushApi.md#partial_update) | **PATCH** {container_container_push_repository_href} | Update a container push repository
|
141
142
|
*PulpContainerClient::RepositoriesContainerPushApi* | [**read**](docs/RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
|
142
143
|
*PulpContainerClient::RepositoriesContainerPushApi* | [**remove_image**](docs/RepositoriesContainerPushApi.md#remove_image) | **POST** {container_container_push_repository_href}remove_image/ | Delete an image from a repository
|
143
144
|
*PulpContainerClient::RepositoriesContainerPushApi* | [**tag**](docs/RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag
|
144
145
|
*PulpContainerClient::RepositoriesContainerPushApi* | [**untag**](docs/RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag
|
145
|
-
*PulpContainerClient::
|
146
|
-
*PulpContainerClient::
|
147
|
-
*PulpContainerClient::
|
148
|
-
*PulpContainerClient::
|
149
|
-
*PulpContainerClient::
|
150
|
-
*PulpContainerClient::RepositoriesContainerVersionsApi* | [**
|
151
|
-
*PulpContainerClient::RepositoriesContainerVersionsApi* | [**
|
152
|
-
*PulpContainerClient::RepositoriesContainerVersionsApi* | [**
|
146
|
+
*PulpContainerClient::RepositoriesContainerPushApi* | [**update**](docs/RepositoriesContainerPushApi.md#update) | **PUT** {container_container_push_repository_href} | Update a container push repository
|
147
|
+
*PulpContainerClient::RepositoriesContainerPushVersionsApi* | [**delete**](docs/RepositoriesContainerPushVersionsApi.md#delete) | **DELETE** {container_container_push_repository_version_href} | Delete a repository version
|
148
|
+
*PulpContainerClient::RepositoriesContainerPushVersionsApi* | [**list**](docs/RepositoriesContainerPushVersionsApi.md#list) | **GET** {container_container_push_repository_href}versions/ | List repository versions
|
149
|
+
*PulpContainerClient::RepositoriesContainerPushVersionsApi* | [**read**](docs/RepositoriesContainerPushVersionsApi.md#read) | **GET** {container_container_push_repository_version_href} | Inspect a repository version
|
150
|
+
*PulpContainerClient::RepositoriesContainerPushVersionsApi* | [**repair**](docs/RepositoriesContainerPushVersionsApi.md#repair) | **POST** {container_container_push_repository_version_href}repair/ |
|
151
|
+
*PulpContainerClient::RepositoriesContainerVersionsApi* | [**delete**](docs/RepositoriesContainerVersionsApi.md#delete) | **DELETE** {container_container_repository_version_href} | Delete a repository version
|
152
|
+
*PulpContainerClient::RepositoriesContainerVersionsApi* | [**list**](docs/RepositoriesContainerVersionsApi.md#list) | **GET** {container_container_repository_href}versions/ | List repository versions
|
153
|
+
*PulpContainerClient::RepositoriesContainerVersionsApi* | [**read**](docs/RepositoriesContainerVersionsApi.md#read) | **GET** {container_container_repository_version_href} | Inspect a repository version
|
154
|
+
*PulpContainerClient::RepositoriesContainerVersionsApi* | [**repair**](docs/RepositoriesContainerVersionsApi.md#repair) | **POST** {container_container_repository_version_href}repair/ |
|
153
155
|
*PulpContainerClient::TokenApi* | [**get**](docs/TokenApi.md#get) | **GET** /token/ |
|
154
156
|
|
155
157
|
|
@@ -161,6 +163,7 @@ Class | Method | HTTP request | Description
|
|
161
163
|
- [PulpContainerClient::ContainerContainerDistributionResponse](docs/ContainerContainerDistributionResponse.md)
|
162
164
|
- [PulpContainerClient::ContainerContainerNamespace](docs/ContainerContainerNamespace.md)
|
163
165
|
- [PulpContainerClient::ContainerContainerNamespaceResponse](docs/ContainerContainerNamespaceResponse.md)
|
166
|
+
- [PulpContainerClient::ContainerContainerPushRepository](docs/ContainerContainerPushRepository.md)
|
164
167
|
- [PulpContainerClient::ContainerContainerPushRepositoryResponse](docs/ContainerContainerPushRepositoryResponse.md)
|
165
168
|
- [PulpContainerClient::ContainerContainerRemote](docs/ContainerContainerRemote.md)
|
166
169
|
- [PulpContainerClient::ContainerContainerRemoteResponse](docs/ContainerContainerRemoteResponse.md)
|
@@ -186,6 +189,7 @@ Class | Method | HTTP request | Description
|
|
186
189
|
- [PulpContainerClient::PaginatedcontainerManifestResponseList](docs/PaginatedcontainerManifestResponseList.md)
|
187
190
|
- [PulpContainerClient::PaginatedcontainerTagResponseList](docs/PaginatedcontainerTagResponseList.md)
|
188
191
|
- [PulpContainerClient::PatchedcontainerContainerDistribution](docs/PatchedcontainerContainerDistribution.md)
|
192
|
+
- [PulpContainerClient::PatchedcontainerContainerPushRepository](docs/PatchedcontainerContainerPushRepository.md)
|
189
193
|
- [PulpContainerClient::PatchedcontainerContainerRemote](docs/PatchedcontainerContainerRemote.md)
|
190
194
|
- [PulpContainerClient::PatchedcontainerContainerRepository](docs/PatchedcontainerContainerRepository.md)
|
191
195
|
- [PulpContainerClient::PatchedcontainerContentRedirectContentGuard](docs/PatchedcontainerContentRedirectContentGuard.md)
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
7
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
8
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
10
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
11
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
22
|
-
|
23
|
-
name: null,
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(name: null,
|
22
|
+
repository: null,
|
24
23
|
content_guard: null,
|
25
24
|
base_path: null,
|
25
|
+
pulp_labels: null,
|
26
26
|
repository_version: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
11
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
11
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
13
12
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
13
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
14
14
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
15
15
|
**registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
16
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
@@ -22,13 +22,13 @@ Name | Type | Description | Notes
|
|
22
22
|
```ruby
|
23
23
|
require 'PulpContainerClient'
|
24
24
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
26
|
-
pulp_created: null,
|
27
|
-
pulp_labels: null,
|
28
|
-
pulp_href: null,
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
|
29
26
|
name: null,
|
27
|
+
pulp_href: null,
|
28
|
+
repository: null,
|
30
29
|
content_guard: null,
|
31
30
|
base_path: null,
|
31
|
+
pulp_labels: null,
|
32
32
|
repository_version: null,
|
33
33
|
registry_path: null,
|
34
34
|
namespace: null,
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpContainerClient::ContainerContainerPushRepository
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | A unique name for this repository. |
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
9
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
10
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpContainerClient'
|
16
|
+
|
17
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(name: null,
|
18
|
+
description: null,
|
19
|
+
retained_versions: null,
|
20
|
+
pulp_labels: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -4,30 +4,28 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**versions_href** | **String** | | [optional] [readonly]
|
10
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
11
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
12
8
|
**name** | **String** | A unique name for this repository. |
|
9
|
+
**versions_href** | **String** | | [optional] [readonly]
|
13
10
|
**description** | **String** | An optional description. | [optional]
|
11
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
14
12
|
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
15
|
-
**
|
13
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
14
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
15
|
|
17
16
|
## Code Sample
|
18
17
|
|
19
18
|
```ruby
|
20
19
|
require 'PulpContainerClient'
|
21
20
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
23
|
-
pulp_created: null,
|
24
|
-
versions_href: null,
|
25
|
-
pulp_labels: null,
|
26
|
-
latest_version_href: null,
|
21
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_created: null,
|
27
22
|
name: null,
|
23
|
+
versions_href: null,
|
28
24
|
description: null,
|
25
|
+
latest_version_href: null,
|
29
26
|
retained_versions: null,
|
30
|
-
|
27
|
+
pulp_href: null,
|
28
|
+
pulp_labels: null)
|
31
29
|
```
|
32
30
|
|
33
31
|
|
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional]
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
22
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
25
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
25
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
27
28
|
**upstream_name** | **String** | Name of the upstream repository |
|
@@ -46,6 +47,7 @@ instance = PulpContainerClient::ContainerContainerRemote.new(name: null,
|
|
46
47
|
password: null,
|
47
48
|
pulp_labels: null,
|
48
49
|
download_concurrency: null,
|
50
|
+
max_retries: null,
|
49
51
|
policy: null,
|
50
52
|
total_timeout: null,
|
51
53
|
connect_timeout: null,
|
@@ -14,12 +14,13 @@ Name | Type | Description | Notes
|
|
14
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
15
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
18
19
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional]
|
19
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
20
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
21
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
22
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
20
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
21
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
22
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
24
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
24
25
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
25
26
|
**upstream_name** | **String** | Name of the upstream repository |
|
@@ -42,6 +43,7 @@ instance = PulpContainerClient::ContainerContainerRemoteResponse.new(pulp_href:
|
|
42
43
|
pulp_labels: null,
|
43
44
|
pulp_last_updated: null,
|
44
45
|
download_concurrency: null,
|
46
|
+
max_retries: null,
|
45
47
|
policy: null,
|
46
48
|
total_timeout: null,
|
47
49
|
connect_timeout: null,
|
data/docs/ManifestCopy.md
CHANGED
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**source_repository** | **String** | A URI of the repository to copy content from. | [optional]
|
8
8
|
**source_repository_version** | **String** | A URI of the repository version to copy content from. | [optional]
|
9
|
-
**digests** | **Array<
|
9
|
+
**digests** | [**Array<AnyType>**](AnyType.md) | A list of manifest digests to copy. | [optional]
|
10
10
|
**media_types** | [**Array<MediaTypesEnum>**](MediaTypesEnum.md) | A list of media_types to copy. | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
7
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
8
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
10
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
11
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
22
|
-
|
23
|
-
name: null,
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(name: null,
|
22
|
+
repository: null,
|
24
23
|
content_guard: null,
|
25
24
|
base_path: null,
|
25
|
+
pulp_labels: null,
|
26
26
|
repository_version: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpContainerClient::PatchedcontainerContainerPushRepository
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
9
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
10
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpContainerClient'
|
16
|
+
|
17
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(name: null,
|
18
|
+
description: null,
|
19
|
+
retained_versions: null,
|
20
|
+
pulp_labels: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional]
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
22
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
25
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
25
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
27
28
|
**upstream_name** | **String** | Name of the upstream repository | [optional]
|
@@ -46,6 +47,7 @@ instance = PulpContainerClient::PatchedcontainerContainerRemote.new(name: null,
|
|
46
47
|
password: null,
|
47
48
|
pulp_labels: null,
|
48
49
|
download_concurrency: null,
|
50
|
+
max_retries: null,
|
49
51
|
policy: null,
|
50
52
|
total_timeout: null,
|
51
53
|
connect_timeout: null,
|
data/docs/RecursiveManage.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**content_units** | **Array<
|
7
|
+
**content_units** | [**Array<AnyType>**](AnyType.md) | A list of content units to operate on. | [optional]
|
8
8
|
|
9
9
|
## Code Sample
|
10
10
|
|
@@ -5,10 +5,12 @@ All URIs are relative to *http://pulp*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**list**](RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
|
8
|
+
[**partial_update**](RepositoriesContainerPushApi.md#partial_update) | **PATCH** {container_container_push_repository_href} | Update a container push repository
|
8
9
|
[**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
|
9
10
|
[**remove_image**](RepositoriesContainerPushApi.md#remove_image) | **POST** {container_container_push_repository_href}remove_image/ | Delete an image from a repository
|
10
11
|
[**tag**](RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag
|
11
12
|
[**untag**](RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag
|
13
|
+
[**update**](RepositoriesContainerPushApi.md#update) | **PUT** {container_container_push_repository_href} | Update a container push repository
|
12
14
|
|
13
15
|
|
14
16
|
|
@@ -87,6 +89,61 @@ Name | Type | Description | Notes
|
|
87
89
|
- **Accept**: application/json
|
88
90
|
|
89
91
|
|
92
|
+
## partial_update
|
93
|
+
|
94
|
+
> AsyncOperationResponse partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository)
|
95
|
+
|
96
|
+
Update a container push repository
|
97
|
+
|
98
|
+
Trigger an asynchronous partial update task
|
99
|
+
|
100
|
+
### Example
|
101
|
+
|
102
|
+
```ruby
|
103
|
+
# load the gem
|
104
|
+
require 'pulp_container_client'
|
105
|
+
# setup authorization
|
106
|
+
PulpContainerClient.configure do |config|
|
107
|
+
# Configure HTTP basic authorization: basicAuth
|
108
|
+
config.username = 'YOUR USERNAME'
|
109
|
+
config.password = 'YOUR PASSWORD'
|
110
|
+
end
|
111
|
+
|
112
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
113
|
+
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
114
|
+
patchedcontainer_container_push_repository = PulpContainerClient::PatchedcontainerContainerPushRepository.new # PatchedcontainerContainerPushRepository |
|
115
|
+
|
116
|
+
begin
|
117
|
+
#Update a container push repository
|
118
|
+
result = api_instance.partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository)
|
119
|
+
p result
|
120
|
+
rescue PulpContainerClient::ApiError => e
|
121
|
+
puts "Exception when calling RepositoriesContainerPushApi->partial_update: #{e}"
|
122
|
+
end
|
123
|
+
```
|
124
|
+
|
125
|
+
### Parameters
|
126
|
+
|
127
|
+
|
128
|
+
Name | Type | Description | Notes
|
129
|
+
------------- | ------------- | ------------- | -------------
|
130
|
+
**container_container_push_repository_href** | **String**| |
|
131
|
+
**patchedcontainer_container_push_repository** | [**PatchedcontainerContainerPushRepository**](PatchedcontainerContainerPushRepository.md)| |
|
132
|
+
|
133
|
+
### Return type
|
134
|
+
|
135
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
136
|
+
|
137
|
+
### Authorization
|
138
|
+
|
139
|
+
[basicAuth](../README.md#basicAuth)
|
140
|
+
|
141
|
+
### HTTP request headers
|
142
|
+
|
143
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
144
|
+
- **Accept**: application/json
|
145
|
+
|
146
|
+
|
90
147
|
## read
|
91
148
|
|
92
149
|
> ContainerContainerPushRepositoryResponse read(container_container_push_repository_href, opts)
|
@@ -310,3 +367,58 @@ Name | Type | Description | Notes
|
|
310
367
|
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
311
368
|
- **Accept**: application/json
|
312
369
|
|
370
|
+
|
371
|
+
## update
|
372
|
+
|
373
|
+
> AsyncOperationResponse update(container_container_push_repository_href, container_container_push_repository)
|
374
|
+
|
375
|
+
Update a container push repository
|
376
|
+
|
377
|
+
Trigger an asynchronous update task
|
378
|
+
|
379
|
+
### Example
|
380
|
+
|
381
|
+
```ruby
|
382
|
+
# load the gem
|
383
|
+
require 'pulp_container_client'
|
384
|
+
# setup authorization
|
385
|
+
PulpContainerClient.configure do |config|
|
386
|
+
# Configure HTTP basic authorization: basicAuth
|
387
|
+
config.username = 'YOUR USERNAME'
|
388
|
+
config.password = 'YOUR PASSWORD'
|
389
|
+
end
|
390
|
+
|
391
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
392
|
+
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
393
|
+
container_container_push_repository = PulpContainerClient::ContainerContainerPushRepository.new # ContainerContainerPushRepository |
|
394
|
+
|
395
|
+
begin
|
396
|
+
#Update a container push repository
|
397
|
+
result = api_instance.update(container_container_push_repository_href, container_container_push_repository)
|
398
|
+
p result
|
399
|
+
rescue PulpContainerClient::ApiError => e
|
400
|
+
puts "Exception when calling RepositoriesContainerPushApi->update: #{e}"
|
401
|
+
end
|
402
|
+
```
|
403
|
+
|
404
|
+
### Parameters
|
405
|
+
|
406
|
+
|
407
|
+
Name | Type | Description | Notes
|
408
|
+
------------- | ------------- | ------------- | -------------
|
409
|
+
**container_container_push_repository_href** | **String**| |
|
410
|
+
**container_container_push_repository** | [**ContainerContainerPushRepository**](ContainerContainerPushRepository.md)| |
|
411
|
+
|
412
|
+
### Return type
|
413
|
+
|
414
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
415
|
+
|
416
|
+
### Authorization
|
417
|
+
|
418
|
+
[basicAuth](../README.md#basicAuth)
|
419
|
+
|
420
|
+
### HTTP request headers
|
421
|
+
|
422
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
423
|
+
- **Accept**: application/json
|
424
|
+
|