pulp_container_client 2.28.1 → 2.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContainerContainerDistribution.md +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +14 -14
  5. data/docs/ContainerContainerPullThroughDistribution.md +6 -6
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
  7. data/docs/ContainerContainerPushRepository.md +7 -7
  8. data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
  9. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
  11. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  12. data/docs/RepositoriesContainerApi.md +3 -3
  13. data/docs/RepositoriesContainerPushApi.md +75 -0
  14. data/lib/pulp_container_client/api/repositories_container_api.rb +6 -6
  15. data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -0
  16. data/lib/pulp_container_client/models/container_container_distribution.rb +28 -28
  17. data/lib/pulp_container_client/models/container_container_distribution_response.rb +68 -68
  18. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +28 -28
  19. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +68 -68
  20. data/lib/pulp_container_client/models/container_container_push_repository.rb +60 -60
  21. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +80 -80
  22. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +26 -26
  23. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +26 -26
  24. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +60 -60
  25. data/lib/pulp_container_client/version.rb +1 -1
  26. data/spec/api/repositories_container_api_spec.rb +3 -3
  27. data/spec/api/repositories_container_push_api_spec.rb +13 -0
  28. data/spec/models/container_container_distribution_response_spec.rb +13 -13
  29. data/spec/models/container_container_distribution_spec.rb +4 -4
  30. data/spec/models/container_container_pull_through_distribution_response_spec.rb +13 -13
  31. data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
  32. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  33. data/spec/models/container_container_push_repository_spec.rb +5 -5
  34. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  35. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
  36. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  37. metadata +59 -59
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8f029dfdc4c4cb9cb1e222e08c7056aaabd2d96ba0e61769978c667abb61ad5
4
- data.tar.gz: 2bd7937e0bb9818fd67f3ee57e33be4a66711ca5e0837172113043edc8e23fdb
3
+ metadata.gz: a3ebfa4fddf8bad3ca465dcb2ca6ba6a0fc370a0e604969ef5749f9a9c96450c
4
+ data.tar.gz: 502fde660f7eb88aa97e6c732b6383489222347040d310a7ae1a1accb2aa723c
5
5
  SHA512:
6
- metadata.gz: cb022577f1108f81a2b085a0b5f3420b5d177046fe759d6bf8b0efb448dfaec71f1888ba9949c11c1c50537743fd932735089f4760e77e2ab8c6ac36a3c87295
7
- data.tar.gz: d660ea9cf96acd54c2a0bd36dc800632253dc9b40caa5268043ffda7f6da5bbf6453832c6b788627264fa4e0721720c189f0c582acad74b7dac427965101dd39
6
+ metadata.gz: 5b9e56ae8dfed28e16220a58d436cd008893e1c3eeb8dabd320c2c524c1000790914cf4c80719db621e3392f39efa3fa0f7efb5dc28f5a2e34d4151291523c7f
7
+ data.tar.gz: 45970927f0a5f21b64ef6b2dee14c4863c31e741a74fdffb507d882d4013f1696addc5a3f74ca31ebfbc88e592722e8155b53bda8ff384926dff551ae575e553
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.28.1
10
+ - Package version: 2.29.0
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_container_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_container_client-2.28.1.gem
28
+ gem install ./pulp_container_client-2.29.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_container_client-2.28.1.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_container_client-2.29.0.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_container_client', '~> 2.28.1'
37
+ gem 'pulp_container_client', '~> 2.29.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -200,6 +200,7 @@ Class | Method | HTTP request | Description
200
200
  *PulpContainerClient::RepositoriesContainerPushApi* | [**add_role**](docs/RepositoriesContainerPushApi.md#add_role) | **POST** {container_container_push_repository_href}add_role/ | Add a role
201
201
  *PulpContainerClient::RepositoriesContainerPushApi* | [**list**](docs/RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
202
202
  *PulpContainerClient::RepositoriesContainerPushApi* | [**list_roles**](docs/RepositoriesContainerPushApi.md#list_roles) | **GET** {container_container_push_repository_href}list_roles/ | List roles
203
+ *PulpContainerClient::RepositoriesContainerPushApi* | [**migrate**](docs/RepositoriesContainerPushApi.md#migrate) | **POST** {container_container_push_repository_href}migrate/ | Migrate push repository to container repository
203
204
  *PulpContainerClient::RepositoriesContainerPushApi* | [**my_permissions**](docs/RepositoriesContainerPushApi.md#my_permissions) | **GET** {container_container_push_repository_href}my_permissions/ | List user permissions
204
205
  *PulpContainerClient::RepositoriesContainerPushApi* | [**partial_update**](docs/RepositoriesContainerPushApi.md#partial_update) | **PATCH** {container_container_push_repository_href} | Update a container push repository
205
206
  *PulpContainerClient::RepositoriesContainerPushApi* | [**read**](docs/RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
7
+ | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
8
8
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
- | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
10
9
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
10
+ | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
11
11
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
12
- | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
12
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
13
13
  | **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\") | |
14
14
  | **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional] |
15
15
  | **description** | **String** | An optional description. | [optional] |
@@ -20,12 +20,12 @@
20
20
  require 'pulp_container_client'
21
21
 
22
22
  instance = PulpContainerClient::ContainerContainerDistribution.new(
23
- content_guard: null,
23
+ repository_version: null,
24
24
  pulp_labels: null,
25
- name: null,
26
25
  hidden: null,
26
+ name: null,
27
27
  repository: null,
28
- repository_version: null,
28
+ content_guard: null,
29
29
  base_path: null,
30
30
  private: null,
31
31
  description: null
@@ -4,19 +4,19 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
8
- | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
7
+ | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
8
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
10
+ | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
11
+ | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
9
12
  | **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
10
13
  | **pulp_href** | **String** | | [optional][readonly] |
11
14
  | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
12
15
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
13
16
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
14
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
15
- | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
16
- | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
17
- | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
18
- | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
17
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
19
18
  | **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\") | |
19
+ | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
20
20
  | **registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional][readonly] |
21
21
  | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional][readonly] |
22
22
  | **namespace** | **String** | Namespace this distribution belongs to. | [optional][readonly] |
@@ -29,19 +29,19 @@
29
29
  require 'pulp_container_client'
30
30
 
31
31
  instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
32
- pulp_last_updated: null,
33
- no_content_change_since: null,
32
+ repository_version: null,
33
+ pulp_labels: null,
34
+ hidden: null,
35
+ name: null,
36
+ repository: null,
34
37
  content_guard_prn: null,
35
38
  pulp_href: null,
36
39
  content_guard: null,
37
40
  prn: null,
38
41
  pulp_created: null,
39
- pulp_labels: null,
40
- name: null,
41
- hidden: null,
42
- repository: null,
43
- repository_version: null,
42
+ pulp_last_updated: null,
44
43
  base_path: null,
44
+ no_content_change_since: null,
45
45
  registry_path: null,
46
46
  remote: null,
47
47
  namespace: null,
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
7
+ | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
8
8
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
- | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
10
9
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
10
+ | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
11
11
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
12
- | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
12
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
13
13
  | **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\") | |
14
14
  | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | |
15
15
  | **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional] |
@@ -22,12 +22,12 @@
22
22
  require 'pulp_container_client'
23
23
 
24
24
  instance = PulpContainerClient::ContainerContainerPullThroughDistribution.new(
25
- content_guard: null,
25
+ repository_version: null,
26
26
  pulp_labels: null,
27
- name: null,
28
27
  hidden: null,
28
+ name: null,
29
29
  repository: null,
30
- repository_version: null,
30
+ content_guard: null,
31
31
  base_path: null,
32
32
  remote: null,
33
33
  distributions: null,
@@ -4,19 +4,19 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
8
- | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
7
+ | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
8
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
10
+ | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
11
+ | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
9
12
  | **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
10
13
  | **pulp_href** | **String** | | [optional][readonly] |
11
14
  | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
12
15
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
13
16
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
14
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
15
- | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
16
- | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
17
- | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
18
- | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
17
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
19
18
  | **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\") | |
19
+ | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
20
20
  | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | |
21
21
  | **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional] |
22
22
  | **namespace** | **String** | Namespace this distribution belongs to. | [optional][readonly] |
@@ -29,19 +29,19 @@
29
29
  require 'pulp_container_client'
30
30
 
31
31
  instance = PulpContainerClient::ContainerContainerPullThroughDistributionResponse.new(
32
- pulp_last_updated: null,
33
- no_content_change_since: null,
32
+ repository_version: null,
33
+ pulp_labels: null,
34
+ hidden: null,
35
+ name: null,
36
+ repository: null,
34
37
  content_guard_prn: null,
35
38
  pulp_href: null,
36
39
  content_guard: null,
37
40
  prn: null,
38
41
  pulp_created: null,
39
- pulp_labels: null,
40
- name: null,
41
- hidden: null,
42
- repository: null,
43
- repository_version: null,
42
+ pulp_last_updated: null,
44
43
  base_path: null,
44
+ no_content_change_since: null,
45
45
  remote: null,
46
46
  distributions: null,
47
47
  namespace: null,
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
8
- | **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
9
- | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
10
7
  | **description** | **String** | An optional description. | [optional] |
11
8
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
+ | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
12
10
  | **name** | **String** | A unique name for this repository. | |
11
+ | **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
12
+ | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
13
13
 
14
14
  ## Example
15
15
 
@@ -17,12 +17,12 @@
17
17
  require 'pulp_container_client'
18
18
 
19
19
  instance = PulpContainerClient::ContainerContainerPushRepository.new(
20
- manifest_signing_service: null,
21
- retain_checkpoints: null,
22
- retain_repo_versions: null,
23
20
  description: null,
24
21
  pulp_labels: null,
25
- name: null
22
+ retain_repo_versions: null,
23
+ name: null,
24
+ retain_checkpoints: null,
25
+ manifest_signing_service: null
26
26
  )
27
27
  ```
28
28
 
@@ -4,17 +4,17 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
8
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
7
+ | **description** | **String** | An optional description. | [optional] |
8
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
+ | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
10
+ | **name** | **String** | A unique name for this repository. | |
9
11
  | **latest_version_href** | **String** | | [optional][readonly] |
10
12
  | **pulp_href** | **String** | | [optional][readonly] |
11
- | **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
12
- | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
13
13
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
14
- | **description** | **String** | An optional description. | [optional] |
15
14
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
16
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
17
- | **name** | **String** | A unique name for this repository. | |
15
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
16
+ | **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
17
+ | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
18
18
  | **versions_href** | **String** | | [optional][readonly] |
19
19
 
20
20
  ## Example
@@ -23,17 +23,17 @@
23
23
  require 'pulp_container_client'
24
24
 
25
25
  instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
26
- manifest_signing_service: null,
27
- pulp_last_updated: null,
26
+ description: null,
27
+ pulp_labels: null,
28
+ retain_repo_versions: null,
29
+ name: null,
28
30
  latest_version_href: null,
29
31
  pulp_href: null,
30
- retain_checkpoints: null,
31
- retain_repo_versions: null,
32
32
  prn: null,
33
- description: null,
34
33
  pulp_created: null,
35
- pulp_labels: null,
36
- name: null,
34
+ pulp_last_updated: null,
35
+ retain_checkpoints: null,
36
+ manifest_signing_service: null,
37
37
  versions_href: null
38
38
  )
39
39
  ```
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
7
+ | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
8
8
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
- | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
10
9
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
10
+ | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
11
11
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
12
- | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
12
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
13
13
  | **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] |
14
14
  | **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional] |
15
15
  | **description** | **String** | An optional description. | [optional] |
@@ -20,12 +20,12 @@
20
20
  require 'pulp_container_client'
21
21
 
22
22
  instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
23
- content_guard: null,
23
+ repository_version: null,
24
24
  pulp_labels: null,
25
- name: null,
26
25
  hidden: null,
26
+ name: null,
27
27
  repository: null,
28
- repository_version: null,
28
+ content_guard: null,
29
29
  base_path: null,
30
30
  private: null,
31
31
  description: null
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
7
+ | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
8
8
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
- | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
10
9
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
10
+ | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
11
11
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
12
- | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
12
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
13
13
  | **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] |
14
14
  | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
15
15
  | **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional] |
@@ -22,12 +22,12 @@
22
22
  require 'pulp_container_client'
23
23
 
24
24
  instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(
25
- content_guard: null,
25
+ repository_version: null,
26
26
  pulp_labels: null,
27
- name: null,
28
27
  hidden: null,
28
+ name: null,
29
29
  repository: null,
30
- repository_version: null,
30
+ content_guard: null,
31
31
  base_path: null,
32
32
  remote: null,
33
33
  distributions: null,
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
8
- | **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
9
- | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
10
7
  | **description** | **String** | An optional description. | [optional] |
11
8
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
+ | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
12
10
  | **name** | **String** | A unique name for this repository. | [optional] |
11
+ | **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
12
+ | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
13
13
 
14
14
  ## Example
15
15
 
@@ -17,12 +17,12 @@
17
17
  require 'pulp_container_client'
18
18
 
19
19
  instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
20
- manifest_signing_service: null,
21
- retain_checkpoints: null,
22
- retain_repo_versions: null,
23
20
  description: null,
24
21
  pulp_labels: null,
25
- name: null
22
+ retain_repo_versions: null,
23
+ name: null,
24
+ retain_checkpoints: null,
25
+ manifest_signing_service: null
26
26
  )
27
27
  ```
28
28
 
@@ -419,7 +419,7 @@ end
419
419
 
420
420
  Create a container repository
421
421
 
422
- ViewSet for container repo.
422
+ ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution's access policy for read and content-modifying actions, matching legacy push repository behavior.
423
423
 
424
424
  ### Examples
425
425
 
@@ -567,7 +567,7 @@ end
567
567
 
568
568
  List container repositorys
569
569
 
570
- ViewSet for container repo.
570
+ ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution's access policy for read and content-modifying actions, matching legacy push repository behavior.
571
571
 
572
572
  ### Examples
573
573
 
@@ -947,7 +947,7 @@ end
947
947
 
948
948
  Inspect a container repository
949
949
 
950
- ViewSet for container repo.
950
+ ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution's access policy for read and content-modifying actions, matching legacy push repository behavior.
951
951
 
952
952
  ### Examples
953
953
 
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost:24817*
7
7
  | [**add_role**](RepositoriesContainerPushApi.md#add_role) | **POST** {container_container_push_repository_href}add_role/ | Add a role |
8
8
  | [**list**](RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys |
9
9
  | [**list_roles**](RepositoriesContainerPushApi.md#list_roles) | **GET** {container_container_push_repository_href}list_roles/ | List roles |
10
+ | [**migrate**](RepositoriesContainerPushApi.md#migrate) | **POST** {container_container_push_repository_href}migrate/ | Migrate push repository to container repository |
10
11
  | [**my_permissions**](RepositoriesContainerPushApi.md#my_permissions) | **GET** {container_container_push_repository_href}my_permissions/ | List user permissions |
11
12
  | [**partial_update**](RepositoriesContainerPushApi.md#partial_update) | **PATCH** {container_container_push_repository_href} | Update a container push repository |
12
13
  | [**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository |
@@ -321,6 +322,80 @@ end
321
322
  - **Accept**: application/json
322
323
 
323
324
 
325
+ ## migrate
326
+
327
+ > <AsyncOperationResponse> migrate(container_container_push_repository_href, opts)
328
+
329
+ Migrate push repository to container repository
330
+
331
+ Trigger an asynchronous task to convert this push repository into a container repository in place. The repository primary key and version history are preserved; only the repository type changes.
332
+
333
+ ### Examples
334
+
335
+ ```ruby
336
+ require 'time'
337
+ require 'pulp_container_client'
338
+ # setup authorization
339
+ PulpContainerClient.configure do |config|
340
+ # Configure HTTP basic authorization: basicAuth
341
+ config.username = 'YOUR USERNAME'
342
+ config.password = 'YOUR PASSWORD'
343
+ end
344
+
345
+ api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
346
+ container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
347
+ opts = {
348
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
349
+ }
350
+
351
+ begin
352
+ # Migrate push repository to container repository
353
+ result = api_instance.migrate(container_container_push_repository_href, opts)
354
+ p result
355
+ rescue PulpContainerClient::ApiError => e
356
+ puts "Error when calling RepositoriesContainerPushApi->migrate: #{e}"
357
+ end
358
+ ```
359
+
360
+ #### Using the migrate_with_http_info variant
361
+
362
+ This returns an Array which contains the response data, status code and headers.
363
+
364
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> migrate_with_http_info(container_container_push_repository_href, opts)
365
+
366
+ ```ruby
367
+ begin
368
+ # Migrate push repository to container repository
369
+ data, status_code, headers = api_instance.migrate_with_http_info(container_container_push_repository_href, opts)
370
+ p status_code # => 2xx
371
+ p headers # => { ... }
372
+ p data # => <AsyncOperationResponse>
373
+ rescue PulpContainerClient::ApiError => e
374
+ puts "Error when calling RepositoriesContainerPushApi->migrate_with_http_info: #{e}"
375
+ end
376
+ ```
377
+
378
+ ### Parameters
379
+
380
+ | Name | Type | Description | Notes |
381
+ | ---- | ---- | ----------- | ----- |
382
+ | **container_container_push_repository_href** | **String** | | |
383
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
384
+
385
+ ### Return type
386
+
387
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
388
+
389
+ ### Authorization
390
+
391
+ [basicAuth](../README.md#basicAuth)
392
+
393
+ ### HTTP request headers
394
+
395
+ - **Content-Type**: Not defined
396
+ - **Accept**: application/json
397
+
398
+
324
399
  ## my_permissions
325
400
 
326
401
  > <MyPermissionsResponse> my_permissions(container_container_push_repository_href, opts)
@@ -415,7 +415,7 @@ module PulpContainerClient
415
415
  end
416
416
 
417
417
  # Create a container repository
418
- # ViewSet for container repo.
418
+ # ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution's access policy for read and content-modifying actions, matching legacy push repository behavior.
419
419
  # @param container_container_repository [ContainerContainerRepository]
420
420
  # @param [Hash] opts the optional parameters
421
421
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
@@ -426,7 +426,7 @@ module PulpContainerClient
426
426
  end
427
427
 
428
428
  # Create a container repository
429
- # ViewSet for container repo.
429
+ # ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution&#39;s access policy for read and content-modifying actions, matching legacy push repository behavior.
430
430
  # @param container_container_repository [ContainerContainerRepository]
431
431
  # @param [Hash] opts the optional parameters
432
432
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
@@ -552,7 +552,7 @@ module PulpContainerClient
552
552
  end
553
553
 
554
554
  # List container repositorys
555
- # ViewSet for container repo.
555
+ # ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution's access policy for read and content-modifying actions, matching legacy push repository behavior.
556
556
  # @param [Hash] opts the optional parameters
557
557
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
558
558
  # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
@@ -600,7 +600,7 @@ module PulpContainerClient
600
600
  end
601
601
 
602
602
  # List container repositorys
603
- # ViewSet for container repo.
603
+ # ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution&#39;s access policy for read and content-modifying actions, matching legacy push repository behavior.
604
604
  # @param [Hash] opts the optional parameters
605
605
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
606
606
  # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
@@ -951,7 +951,7 @@ module PulpContainerClient
951
951
  end
952
952
 
953
953
  # Inspect a container repository
954
- # ViewSet for container repo.
954
+ # ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution's access policy for read and content-modifying actions, matching legacy push repository behavior.
955
955
  # @param container_container_repository_href [String]
956
956
  # @param [Hash] opts the optional parameters
957
957
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
@@ -964,7 +964,7 @@ module PulpContainerClient
964
964
  end
965
965
 
966
966
  # Inspect a container repository
967
- # ViewSet for container repo.
967
+ # ViewSet for container repo. Repositories linked to a registry distribution inherit the distribution&#39;s access policy for read and content-modifying actions, matching legacy push repository behavior.
968
968
  # @param container_container_repository_href [String]
969
969
  # @param [Hash] opts the optional parameters
970
970
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.