pulp_container_client 2.22.10 → 2.22.11
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.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +7 -7
- data/docs/ContainerContainerPullThroughDistributionResponse.md +15 -15
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/DistributionsPullThroughApi.md +6 -8
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -8
- data/lib/pulp_container_client/models/container_container_distribution.rb +53 -53
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +67 -67
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +53 -53
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +68 -68
- data/lib/pulp_container_client/models/container_container_push_repository.rb +17 -17
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +44 -44
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +44 -44
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +17 -17
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/distributions_pull_through_api_spec.rb +2 -4
- data/spec/models/container_container_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +11 -11
- data/spec/models/container_container_push_repository_spec.rb +2 -2
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
- metadata +61 -61
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ccb92843b31d367af49dec4335e83299f568955fc7222b7df3d06549ca2f238a
|
|
4
|
+
data.tar.gz: 644d11c9ee00105d1775bcdb4875be335a0bc83a5624c84767400829a71d67cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1db4f970f01808dfb808cdd42f8446842f0a3ca8ff5d1c26fe066672f986ad09c138841ddb6edc15c887a56f439b0b84c8a1b7896a930577a4422680f7556d68
|
|
7
|
+
data.tar.gz: 838f1ffee71d65e07c60c759305e2f475c7ab6ee2d80cc03ee723e8fb003a14a41eb19d4dd3549c0eaebf9d10b9d6f7c09fcee368378285960aac325dd556b56
|
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.22.
|
|
10
|
+
- Package version: 2.22.11
|
|
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.22.
|
|
27
|
+
gem install ./pulp_container_client-2.22.11.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.22.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.22.11.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.22.
|
|
36
|
+
gem 'pulp_container_client', '~> 2.22.11'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -128,8 +128,8 @@ Class | Method | HTTP request | Description
|
|
|
128
128
|
*PulpContainerClient::DistributionsPullThroughApi* | [**partial_update**](docs/DistributionsPullThroughApi.md#partial_update) | **PATCH** {container_container_pull_through_distribution_href} | Update a container pull through distribution
|
|
129
129
|
*PulpContainerClient::DistributionsPullThroughApi* | [**read**](docs/DistributionsPullThroughApi.md#read) | **GET** {container_container_pull_through_distribution_href} | Inspect a container pull through distribution
|
|
130
130
|
*PulpContainerClient::DistributionsPullThroughApi* | [**remove_role**](docs/DistributionsPullThroughApi.md#remove_role) | **POST** {container_container_pull_through_distribution_href}remove_role/ | Remove a role
|
|
131
|
-
*PulpContainerClient::DistributionsPullThroughApi* | [**set_label**](docs/DistributionsPullThroughApi.md#set_label) | **POST** {container_container_pull_through_distribution_href}set_label/ |
|
|
132
|
-
*PulpContainerClient::DistributionsPullThroughApi* | [**unset_label**](docs/DistributionsPullThroughApi.md#unset_label) | **POST** {container_container_pull_through_distribution_href}unset_label/ |
|
|
131
|
+
*PulpContainerClient::DistributionsPullThroughApi* | [**set_label**](docs/DistributionsPullThroughApi.md#set_label) | **POST** {container_container_pull_through_distribution_href}set_label/ |
|
|
132
|
+
*PulpContainerClient::DistributionsPullThroughApi* | [**unset_label**](docs/DistributionsPullThroughApi.md#unset_label) | **POST** {container_container_pull_through_distribution_href}unset_label/ |
|
|
133
133
|
*PulpContainerClient::DistributionsPullThroughApi* | [**update**](docs/DistributionsPullThroughApi.md#update) | **PUT** {container_container_pull_through_distribution_href} | Update a container pull through distribution
|
|
134
134
|
*PulpContainerClient::PulpContainerNamespacesApi* | [**add_role**](docs/PulpContainerNamespacesApi.md#add_role) | **POST** {container_container_namespace_href}add_role/ | Add a role
|
|
135
135
|
*PulpContainerClient::PulpContainerNamespacesApi* | [**create**](docs/PulpContainerNamespacesApi.md#create) | **POST** /pulp/api/v3/pulp_container/namespaces/ | Create a container namespace
|
|
@@ -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]
|
|
8
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
9
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
10
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
11
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
12
11
|
**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\") |
|
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
13
13
|
**repository_version** | **String** | RepositoryVersion to be served | [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]
|
|
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
|
|
|
19
19
|
```ruby
|
|
20
20
|
require 'PulpContainerClient'
|
|
21
21
|
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
|
23
|
-
hidden: null,
|
|
24
|
-
pulp_labels: null,
|
|
25
|
-
name: null,
|
|
22
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(pulp_labels: null,
|
|
26
23
|
repository: null,
|
|
24
|
+
content_guard: null,
|
|
25
|
+
hidden: null,
|
|
27
26
|
base_path: null,
|
|
27
|
+
name: null,
|
|
28
28
|
repository_version: null,
|
|
29
29
|
private: null,
|
|
30
30
|
description: null)
|
|
@@ -4,17 +4,17 @@
|
|
|
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]
|
|
8
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
9
|
-
**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]
|
|
10
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
11
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
12
|
-
**
|
|
13
|
-
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
8
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
14
9
|
**pulp_last_updated** | **DateTime** | 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]
|
|
10
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
11
|
+
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
15
12
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
16
|
-
**
|
|
13
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
14
|
+
**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]
|
|
15
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
17
16
|
**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\") |
|
|
17
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
18
18
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
19
19
|
**registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
|
20
20
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] [readonly]
|
|
@@ -27,17 +27,17 @@ Name | Type | Description | Notes
|
|
|
27
27
|
```ruby
|
|
28
28
|
require 'PulpContainerClient'
|
|
29
29
|
|
|
30
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_labels: null,
|
|
31
|
+
repository: null,
|
|
32
|
+
pulp_last_updated: null,
|
|
33
33
|
pulp_created: null,
|
|
34
|
-
pulp_labels: null,
|
|
35
|
-
name: null,
|
|
36
34
|
prn: null,
|
|
37
|
-
pulp_last_updated: null,
|
|
38
35
|
pulp_href: null,
|
|
39
|
-
|
|
36
|
+
content_guard: null,
|
|
37
|
+
no_content_change_since: null,
|
|
38
|
+
hidden: null,
|
|
40
39
|
base_path: null,
|
|
40
|
+
name: null,
|
|
41
41
|
repository_version: null,
|
|
42
42
|
registry_path: null,
|
|
43
43
|
remote: null,
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
8
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
7
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
8
10
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
9
|
-
**
|
|
11
|
+
**base_path** | **String** | The registry path exposed by this pull-through distribution. |
|
|
10
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
11
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
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
13
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. |
|
|
14
14
|
**distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
|
|
15
15
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional]
|
|
@@ -20,12 +20,12 @@ Name | Type | Description | Notes
|
|
|
20
20
|
```ruby
|
|
21
21
|
require 'PulpContainerClient'
|
|
22
22
|
|
|
23
|
-
instance = PulpContainerClient::ContainerContainerPullThroughDistribution.new(
|
|
24
|
-
hidden: null,
|
|
25
|
-
pulp_labels: null,
|
|
26
|
-
name: null,
|
|
23
|
+
instance = PulpContainerClient::ContainerContainerPullThroughDistribution.new(pulp_labels: null,
|
|
27
24
|
repository: null,
|
|
25
|
+
content_guard: null,
|
|
26
|
+
hidden: null,
|
|
28
27
|
base_path: null,
|
|
28
|
+
name: null,
|
|
29
29
|
remote: null,
|
|
30
30
|
distributions: null,
|
|
31
31
|
private: null,
|
|
@@ -4,17 +4,17 @@
|
|
|
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]
|
|
8
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
9
|
-
**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]
|
|
10
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
11
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
12
|
-
**
|
|
13
|
-
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
8
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
14
9
|
**pulp_last_updated** | **DateTime** | 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]
|
|
10
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
11
|
+
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
15
12
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
16
|
-
**
|
|
17
|
-
**
|
|
13
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
14
|
+
**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]
|
|
15
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
16
|
+
**base_path** | **String** | The registry path exposed by this pull-through distribution. |
|
|
17
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
18
18
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. |
|
|
19
19
|
**distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
|
|
20
20
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
|
@@ -26,17 +26,17 @@ Name | Type | Description | Notes
|
|
|
26
26
|
```ruby
|
|
27
27
|
require 'PulpContainerClient'
|
|
28
28
|
|
|
29
|
-
instance = PulpContainerClient::ContainerContainerPullThroughDistributionResponse.new(
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
instance = PulpContainerClient::ContainerContainerPullThroughDistributionResponse.new(pulp_labels: null,
|
|
30
|
+
repository: null,
|
|
31
|
+
pulp_last_updated: null,
|
|
32
32
|
pulp_created: null,
|
|
33
|
-
pulp_labels: null,
|
|
34
|
-
name: null,
|
|
35
33
|
prn: null,
|
|
36
|
-
pulp_last_updated: null,
|
|
37
34
|
pulp_href: null,
|
|
38
|
-
|
|
35
|
+
content_guard: null,
|
|
36
|
+
no_content_change_since: null,
|
|
37
|
+
hidden: null,
|
|
39
38
|
base_path: null,
|
|
39
|
+
name: null,
|
|
40
40
|
remote: null,
|
|
41
41
|
distributions: null,
|
|
42
42
|
namespace: null,
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**description** | **String** | An optional description. | [optional]
|
|
8
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
9
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
10
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
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
11
11
|
**name** | **String** | A unique name for this repository. |
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
18
|
instance = PulpContainerClient::ContainerContainerPushRepository.new(description: null,
|
|
19
|
-
manifest_signing_service: null,
|
|
20
|
-
retain_repo_versions: null,
|
|
21
19
|
pulp_labels: null,
|
|
20
|
+
retain_repo_versions: null,
|
|
21
|
+
manifest_signing_service: null,
|
|
22
22
|
name: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -4,34 +4,34 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**description** | **String** | An optional description. | [optional]
|
|
8
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
9
7
|
**latest_version_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
10
|
+
**pulp_last_updated** | **DateTime** | 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]
|
|
10
11
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
11
12
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
12
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
13
|
-
**name** | **String** | A unique name for this repository. |
|
|
14
13
|
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
15
|
-
**pulp_last_updated** | **DateTime** | 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
14
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
17
15
|
**versions_href** | **String** | | [optional] [readonly]
|
|
16
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
17
|
+
**name** | **String** | A unique name for this repository. |
|
|
18
18
|
|
|
19
19
|
## Code Sample
|
|
20
20
|
|
|
21
21
|
```ruby
|
|
22
22
|
require 'PulpContainerClient'
|
|
23
23
|
|
|
24
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(latest_version_href: null,
|
|
25
|
+
description: null,
|
|
26
|
+
pulp_labels: null,
|
|
27
|
+
pulp_last_updated: null,
|
|
27
28
|
pulp_created: null,
|
|
28
29
|
retain_repo_versions: null,
|
|
29
|
-
pulp_labels: null,
|
|
30
|
-
name: null,
|
|
31
30
|
prn: null,
|
|
32
|
-
pulp_last_updated: null,
|
|
33
31
|
pulp_href: null,
|
|
34
|
-
versions_href: null
|
|
32
|
+
versions_href: null,
|
|
33
|
+
manifest_signing_service: null,
|
|
34
|
+
name: null)
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
|
|
@@ -13,8 +13,8 @@ Method | HTTP request | Description
|
|
|
13
13
|
[**partial_update**](DistributionsPullThroughApi.md#partial_update) | **PATCH** {container_container_pull_through_distribution_href} | Update a container pull through distribution
|
|
14
14
|
[**read**](DistributionsPullThroughApi.md#read) | **GET** {container_container_pull_through_distribution_href} | Inspect a container pull through distribution
|
|
15
15
|
[**remove_role**](DistributionsPullThroughApi.md#remove_role) | **POST** {container_container_pull_through_distribution_href}remove_role/ | Remove a role
|
|
16
|
-
[**set_label**](DistributionsPullThroughApi.md#set_label) | **POST** {container_container_pull_through_distribution_href}set_label/ |
|
|
17
|
-
[**unset_label**](DistributionsPullThroughApi.md#unset_label) | **POST** {container_container_pull_through_distribution_href}unset_label/ |
|
|
16
|
+
[**set_label**](DistributionsPullThroughApi.md#set_label) | **POST** {container_container_pull_through_distribution_href}set_label/ |
|
|
17
|
+
[**unset_label**](DistributionsPullThroughApi.md#unset_label) | **POST** {container_container_pull_through_distribution_href}unset_label/ |
|
|
18
18
|
[**update**](DistributionsPullThroughApi.md#update) | **PUT** {container_container_pull_through_distribution_href} | Update a container pull through distribution
|
|
19
19
|
|
|
20
20
|
|
|
@@ -576,9 +576,9 @@ Name | Type | Description | Notes
|
|
|
576
576
|
|
|
577
577
|
> SetLabelResponse set_label(container_container_pull_through_distribution_href, set_label)
|
|
578
578
|
|
|
579
|
-
Set a label
|
|
580
579
|
|
|
581
|
-
|
|
580
|
+
|
|
581
|
+
Prevent clients from changing the internal pull-through marker.
|
|
582
582
|
|
|
583
583
|
### Example
|
|
584
584
|
|
|
@@ -597,7 +597,6 @@ container_container_pull_through_distribution_href = 'container_container_pull_t
|
|
|
597
597
|
set_label = PulpContainerClient::SetLabel.new # SetLabel |
|
|
598
598
|
|
|
599
599
|
begin
|
|
600
|
-
#Set a label
|
|
601
600
|
result = api_instance.set_label(container_container_pull_through_distribution_href, set_label)
|
|
602
601
|
p result
|
|
603
602
|
rescue PulpContainerClient::ApiError => e
|
|
@@ -631,9 +630,9 @@ Name | Type | Description | Notes
|
|
|
631
630
|
|
|
632
631
|
> UnsetLabelResponse unset_label(container_container_pull_through_distribution_href, unset_label)
|
|
633
632
|
|
|
634
|
-
Unset a label
|
|
635
633
|
|
|
636
|
-
|
|
634
|
+
|
|
635
|
+
Prevent clients from removing the internal pull-through marker.
|
|
637
636
|
|
|
638
637
|
### Example
|
|
639
638
|
|
|
@@ -652,7 +651,6 @@ container_container_pull_through_distribution_href = 'container_container_pull_t
|
|
|
652
651
|
unset_label = PulpContainerClient::UnsetLabel.new # UnsetLabel |
|
|
653
652
|
|
|
654
653
|
begin
|
|
655
|
-
#Unset a label
|
|
656
654
|
result = api_instance.unset_label(container_container_pull_through_distribution_href, unset_label)
|
|
657
655
|
p result
|
|
658
656
|
rescue PulpContainerClient::ApiError => e
|
|
@@ -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]
|
|
8
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
9
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
10
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
11
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
12
11
|
**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]
|
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
13
13
|
**repository_version** | **String** | RepositoryVersion to be served | [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]
|
|
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
|
|
|
19
19
|
```ruby
|
|
20
20
|
require 'PulpContainerClient'
|
|
21
21
|
|
|
22
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
|
23
|
-
hidden: null,
|
|
24
|
-
pulp_labels: null,
|
|
25
|
-
name: null,
|
|
22
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
|
|
26
23
|
repository: null,
|
|
24
|
+
content_guard: null,
|
|
25
|
+
hidden: null,
|
|
27
26
|
base_path: null,
|
|
27
|
+
name: null,
|
|
28
28
|
repository_version: null,
|
|
29
29
|
private: null,
|
|
30
30
|
description: null)
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
8
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
7
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
8
10
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
9
|
-
**
|
|
11
|
+
**base_path** | **String** | The registry path exposed by this pull-through distribution. | [optional]
|
|
10
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
11
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
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\") | [optional]
|
|
13
13
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
|
|
14
14
|
**distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
|
|
15
15
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional]
|
|
@@ -20,12 +20,12 @@ Name | Type | Description | Notes
|
|
|
20
20
|
```ruby
|
|
21
21
|
require 'PulpContainerClient'
|
|
22
22
|
|
|
23
|
-
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(
|
|
24
|
-
hidden: null,
|
|
25
|
-
pulp_labels: null,
|
|
26
|
-
name: null,
|
|
23
|
+
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(pulp_labels: null,
|
|
27
24
|
repository: null,
|
|
25
|
+
content_guard: null,
|
|
26
|
+
hidden: null,
|
|
28
27
|
base_path: null,
|
|
28
|
+
name: null,
|
|
29
29
|
remote: null,
|
|
30
30
|
distributions: null,
|
|
31
31
|
private: null,
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**description** | **String** | An optional description. | [optional]
|
|
8
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
9
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
10
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
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
11
11
|
**name** | **String** | A unique name for this repository. | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
18
|
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(description: null,
|
|
19
|
-
manifest_signing_service: null,
|
|
20
|
-
retain_repo_versions: null,
|
|
21
19
|
pulp_labels: null,
|
|
20
|
+
retain_repo_versions: null,
|
|
21
|
+
manifest_signing_service: null,
|
|
22
22
|
name: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -697,8 +697,7 @@ module PulpContainerClient
|
|
|
697
697
|
return data, status_code, headers
|
|
698
698
|
end
|
|
699
699
|
|
|
700
|
-
#
|
|
701
|
-
# Set a single pulp_label on the object to a specific value or null.
|
|
700
|
+
# Prevent clients from changing the internal pull-through marker.
|
|
702
701
|
# @param container_container_pull_through_distribution_href [String]
|
|
703
702
|
# @param set_label [SetLabel]
|
|
704
703
|
# @param [Hash] opts the optional parameters
|
|
@@ -708,8 +707,7 @@ module PulpContainerClient
|
|
|
708
707
|
data
|
|
709
708
|
end
|
|
710
709
|
|
|
711
|
-
#
|
|
712
|
-
# Set a single pulp_label on the object to a specific value or null.
|
|
710
|
+
# Prevent clients from changing the internal pull-through marker.
|
|
713
711
|
# @param container_container_pull_through_distribution_href [String]
|
|
714
712
|
# @param set_label [SetLabel]
|
|
715
713
|
# @param [Hash] opts the optional parameters
|
|
@@ -767,8 +765,7 @@ module PulpContainerClient
|
|
|
767
765
|
return data, status_code, headers
|
|
768
766
|
end
|
|
769
767
|
|
|
770
|
-
#
|
|
771
|
-
# Unset a single pulp_label on the object.
|
|
768
|
+
# Prevent clients from removing the internal pull-through marker.
|
|
772
769
|
# @param container_container_pull_through_distribution_href [String]
|
|
773
770
|
# @param unset_label [UnsetLabel]
|
|
774
771
|
# @param [Hash] opts the optional parameters
|
|
@@ -778,8 +775,7 @@ module PulpContainerClient
|
|
|
778
775
|
data
|
|
779
776
|
end
|
|
780
777
|
|
|
781
|
-
#
|
|
782
|
-
# Unset a single pulp_label on the object.
|
|
778
|
+
# Prevent clients from removing the internal pull-through marker.
|
|
783
779
|
# @param container_container_pull_through_distribution_href [String]
|
|
784
780
|
# @param unset_label [UnsetLabel]
|
|
785
781
|
# @param [Hash] opts the optional parameters
|