pulp_container_client 2.19.9 → 2.19.10
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 +4 -4
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/lib/pulp_container_client/models/container_container_distribution.rb +27 -27
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +37 -37
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +27 -27
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +37 -37
- data/lib/pulp_container_client/models/container_container_push_repository.rb +43 -43
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +51 -51
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +27 -27
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +27 -27
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +43 -43
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- 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: 5025885a5b16180e6bafaa7e0a4a26f7f2b045d3a7cc9910e7bfd9948626b1b1
|
|
4
|
+
data.tar.gz: ca233d928591d093ccfb7a2b67eca2ce3c9f49193b39f563efc19db373119206
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d9bbcca9df22dfc1e1bb1b9e804f45efb3e575dfd02c20601436d55880e36f4cea19a214be91aafdcac64a973cf1f2d8a9cac14fc65aae411a2fe89d1ee7e67a
|
|
7
|
+
data.tar.gz: 0eba6e1c474b775bb17b7ef80283836e1f2f96a30b64446d96a9a8196079c761a5c744baa52199b9ff8a45c7ddeb9797f927df85bd6e4cc6540ab47c2892b7fc
|
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.19.
|
|
10
|
+
- Package version: 2.19.10
|
|
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.19.
|
|
27
|
+
gem install ./pulp_container_client-2.19.10.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.19.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.19.10.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.19.
|
|
36
|
+
gem 'pulp_container_client', '~> 2.19.10'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
8
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**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\") |
|
|
10
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
8
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
12
10
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
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
|
**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]
|
|
@@ -20,11 +20,11 @@ Name | Type | Description | Notes
|
|
|
20
20
|
require 'PulpContainerClient'
|
|
21
21
|
|
|
22
22
|
instance = PulpContainerClient::ContainerContainerDistribution.new(name: null,
|
|
23
|
-
pulp_labels: null,
|
|
24
|
-
base_path: null,
|
|
25
|
-
repository: null,
|
|
26
23
|
content_guard: null,
|
|
24
|
+
pulp_labels: null,
|
|
27
25
|
hidden: null,
|
|
26
|
+
repository: null,
|
|
27
|
+
base_path: null,
|
|
28
28
|
repository_version: null,
|
|
29
29
|
private: null,
|
|
30
30
|
description: null)
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
8
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**
|
|
11
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
10
12
|
**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]
|
|
11
13
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
12
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
13
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
14
14
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
15
|
-
**
|
|
15
|
+
**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\") |
|
|
16
16
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
17
17
|
**registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
|
18
18
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] [readonly]
|
|
@@ -26,14 +26,14 @@ Name | Type | Description | Notes
|
|
|
26
26
|
require 'PulpContainerClient'
|
|
27
27
|
|
|
28
28
|
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(name: null,
|
|
29
|
+
pulp_created: null,
|
|
30
|
+
content_guard: null,
|
|
29
31
|
pulp_labels: null,
|
|
30
|
-
|
|
32
|
+
hidden: null,
|
|
31
33
|
pulp_last_updated: null,
|
|
32
34
|
repository: null,
|
|
33
|
-
content_guard: null,
|
|
34
|
-
hidden: null,
|
|
35
35
|
pulp_href: null,
|
|
36
|
-
|
|
36
|
+
base_path: null,
|
|
37
37
|
repository_version: null,
|
|
38
38
|
registry_path: null,
|
|
39
39
|
remote: null,
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
8
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**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\") |
|
|
10
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
8
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
12
10
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
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]
|
|
@@ -21,11 +21,11 @@ Name | Type | Description | Notes
|
|
|
21
21
|
require 'PulpContainerClient'
|
|
22
22
|
|
|
23
23
|
instance = PulpContainerClient::ContainerContainerPullThroughDistribution.new(name: null,
|
|
24
|
-
pulp_labels: null,
|
|
25
|
-
base_path: null,
|
|
26
|
-
repository: null,
|
|
27
24
|
content_guard: null,
|
|
25
|
+
pulp_labels: null,
|
|
28
26
|
hidden: null,
|
|
27
|
+
repository: null,
|
|
28
|
+
base_path: null,
|
|
29
29
|
remote: null,
|
|
30
30
|
distributions: null,
|
|
31
31
|
private: null,
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
8
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**
|
|
11
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
10
12
|
**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]
|
|
11
13
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
12
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
13
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
14
14
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
15
|
-
**
|
|
15
|
+
**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\") |
|
|
16
16
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. |
|
|
17
17
|
**distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
|
|
18
18
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
|
@@ -25,14 +25,14 @@ Name | Type | Description | Notes
|
|
|
25
25
|
require 'PulpContainerClient'
|
|
26
26
|
|
|
27
27
|
instance = PulpContainerClient::ContainerContainerPullThroughDistributionResponse.new(name: null,
|
|
28
|
+
pulp_created: null,
|
|
29
|
+
content_guard: null,
|
|
28
30
|
pulp_labels: null,
|
|
29
|
-
|
|
31
|
+
hidden: null,
|
|
30
32
|
pulp_last_updated: null,
|
|
31
33
|
repository: null,
|
|
32
|
-
content_guard: null,
|
|
33
|
-
hidden: null,
|
|
34
34
|
pulp_href: null,
|
|
35
|
-
|
|
35
|
+
base_path: null,
|
|
36
36
|
remote: null,
|
|
37
37
|
distributions: null,
|
|
38
38
|
namespace: null,
|
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**description** | **String** | An optional description. | [optional]
|
|
8
7
|
**name** | **String** | A unique name for this repository. |
|
|
9
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
10
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
11
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
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
11
|
+
**description** | **String** | An optional description. | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerPushRepository.new(
|
|
19
|
-
|
|
20
|
-
pulp_labels: null,
|
|
18
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(name: null,
|
|
19
|
+
manifest_signing_service: null,
|
|
21
20
|
retain_repo_versions: null,
|
|
22
|
-
|
|
21
|
+
pulp_labels: null,
|
|
22
|
+
description: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
|
|
@@ -4,32 +4,32 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**description** | **String** | An optional description. | [optional]
|
|
8
7
|
**name** | **String** | A unique name for this repository. |
|
|
9
|
-
**
|
|
8
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
10
10
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
11
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
12
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
|
13
|
+
**description** | **String** | An optional description. | [optional]
|
|
11
14
|
**versions_href** | **String** | | [optional] [readonly]
|
|
12
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]
|
|
13
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
|
14
16
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
15
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
16
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
17
17
|
|
|
18
18
|
## Code Sample
|
|
19
19
|
|
|
20
20
|
```ruby
|
|
21
21
|
require 'PulpContainerClient'
|
|
22
22
|
|
|
23
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(name: null,
|
|
24
|
+
manifest_signing_service: null,
|
|
25
|
+
pulp_created: null,
|
|
26
26
|
retain_repo_versions: null,
|
|
27
|
+
pulp_labels: null,
|
|
28
|
+
latest_version_href: null,
|
|
29
|
+
description: null,
|
|
27
30
|
versions_href: null,
|
|
28
31
|
pulp_last_updated: null,
|
|
29
|
-
|
|
30
|
-
pulp_href: null,
|
|
31
|
-
pulp_created: null,
|
|
32
|
-
manifest_signing_service: null)
|
|
32
|
+
pulp_href: null)
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
8
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**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]
|
|
10
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
8
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
12
10
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
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
|
**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]
|
|
@@ -20,11 +20,11 @@ Name | Type | Description | Notes
|
|
|
20
20
|
require 'PulpContainerClient'
|
|
21
21
|
|
|
22
22
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(name: null,
|
|
23
|
-
pulp_labels: null,
|
|
24
|
-
base_path: null,
|
|
25
|
-
repository: null,
|
|
26
23
|
content_guard: null,
|
|
24
|
+
pulp_labels: null,
|
|
27
25
|
hidden: null,
|
|
26
|
+
repository: null,
|
|
27
|
+
base_path: null,
|
|
28
28
|
repository_version: null,
|
|
29
29
|
private: null,
|
|
30
30
|
description: null)
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
8
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**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]
|
|
10
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
8
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
12
10
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
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]
|
|
@@ -21,11 +21,11 @@ Name | Type | Description | Notes
|
|
|
21
21
|
require 'PulpContainerClient'
|
|
22
22
|
|
|
23
23
|
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(name: null,
|
|
24
|
-
pulp_labels: null,
|
|
25
|
-
base_path: null,
|
|
26
|
-
repository: null,
|
|
27
24
|
content_guard: null,
|
|
25
|
+
pulp_labels: null,
|
|
28
26
|
hidden: null,
|
|
27
|
+
repository: null,
|
|
28
|
+
base_path: null,
|
|
29
29
|
remote: null,
|
|
30
30
|
distributions: null,
|
|
31
31
|
private: null,
|
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**description** | **String** | An optional description. | [optional]
|
|
8
7
|
**name** | **String** | A unique name for this repository. | [optional]
|
|
9
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
10
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
11
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
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
11
|
+
**description** | **String** | An optional description. | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
|
19
|
-
|
|
20
|
-
pulp_labels: null,
|
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(name: null,
|
|
19
|
+
manifest_signing_service: null,
|
|
21
20
|
retain_repo_versions: null,
|
|
22
|
-
|
|
21
|
+
pulp_labels: null,
|
|
22
|
+
description: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
|
|
@@ -18,19 +18,19 @@ module PulpContainerClient
|
|
|
18
18
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
19
19
|
attr_accessor :name
|
|
20
20
|
|
|
21
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
22
|
+
attr_accessor :content_guard
|
|
23
|
+
|
|
21
24
|
attr_accessor :pulp_labels
|
|
22
25
|
|
|
23
|
-
#
|
|
24
|
-
attr_accessor :
|
|
26
|
+
# Whether this distribution should be shown in the content app.
|
|
27
|
+
attr_accessor :hidden
|
|
25
28
|
|
|
26
29
|
# The latest RepositoryVersion for this Repository will be served.
|
|
27
30
|
attr_accessor :repository
|
|
28
31
|
|
|
29
|
-
#
|
|
30
|
-
attr_accessor :
|
|
31
|
-
|
|
32
|
-
# Whether this distribution should be shown in the content app.
|
|
33
|
-
attr_accessor :hidden
|
|
32
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
33
|
+
attr_accessor :base_path
|
|
34
34
|
|
|
35
35
|
# RepositoryVersion to be served
|
|
36
36
|
attr_accessor :repository_version
|
|
@@ -45,11 +45,11 @@ module PulpContainerClient
|
|
|
45
45
|
def self.attribute_map
|
|
46
46
|
{
|
|
47
47
|
:'name' => :'name',
|
|
48
|
-
:'pulp_labels' => :'pulp_labels',
|
|
49
|
-
:'base_path' => :'base_path',
|
|
50
|
-
:'repository' => :'repository',
|
|
51
48
|
:'content_guard' => :'content_guard',
|
|
49
|
+
:'pulp_labels' => :'pulp_labels',
|
|
52
50
|
:'hidden' => :'hidden',
|
|
51
|
+
:'repository' => :'repository',
|
|
52
|
+
:'base_path' => :'base_path',
|
|
53
53
|
:'repository_version' => :'repository_version',
|
|
54
54
|
:'private' => :'private',
|
|
55
55
|
:'description' => :'description'
|
|
@@ -60,11 +60,11 @@ module PulpContainerClient
|
|
|
60
60
|
def self.openapi_types
|
|
61
61
|
{
|
|
62
62
|
:'name' => :'String',
|
|
63
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
64
|
-
:'base_path' => :'String',
|
|
65
|
-
:'repository' => :'String',
|
|
66
63
|
:'content_guard' => :'String',
|
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
67
65
|
:'hidden' => :'Boolean',
|
|
66
|
+
:'repository' => :'String',
|
|
67
|
+
:'base_path' => :'String',
|
|
68
68
|
:'repository_version' => :'String',
|
|
69
69
|
:'private' => :'Boolean',
|
|
70
70
|
:'description' => :'String'
|
|
@@ -99,28 +99,28 @@ module PulpContainerClient
|
|
|
99
99
|
self.name = attributes[:'name']
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
+
if attributes.key?(:'content_guard')
|
|
103
|
+
self.content_guard = attributes[:'content_guard']
|
|
104
|
+
end
|
|
105
|
+
|
|
102
106
|
if attributes.key?(:'pulp_labels')
|
|
103
107
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
104
108
|
self.pulp_labels = value
|
|
105
109
|
end
|
|
106
110
|
end
|
|
107
111
|
|
|
108
|
-
if attributes.key?(:'
|
|
109
|
-
self.
|
|
112
|
+
if attributes.key?(:'hidden')
|
|
113
|
+
self.hidden = attributes[:'hidden']
|
|
114
|
+
else
|
|
115
|
+
self.hidden = false
|
|
110
116
|
end
|
|
111
117
|
|
|
112
118
|
if attributes.key?(:'repository')
|
|
113
119
|
self.repository = attributes[:'repository']
|
|
114
120
|
end
|
|
115
121
|
|
|
116
|
-
if attributes.key?(:'
|
|
117
|
-
self.
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
if attributes.key?(:'hidden')
|
|
121
|
-
self.hidden = attributes[:'hidden']
|
|
122
|
-
else
|
|
123
|
-
self.hidden = false
|
|
122
|
+
if attributes.key?(:'base_path')
|
|
123
|
+
self.base_path = attributes[:'base_path']
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
if attributes.key?(:'repository_version')
|
|
@@ -218,11 +218,11 @@ module PulpContainerClient
|
|
|
218
218
|
return true if self.equal?(o)
|
|
219
219
|
self.class == o.class &&
|
|
220
220
|
name == o.name &&
|
|
221
|
-
pulp_labels == o.pulp_labels &&
|
|
222
|
-
base_path == o.base_path &&
|
|
223
|
-
repository == o.repository &&
|
|
224
221
|
content_guard == o.content_guard &&
|
|
222
|
+
pulp_labels == o.pulp_labels &&
|
|
225
223
|
hidden == o.hidden &&
|
|
224
|
+
repository == o.repository &&
|
|
225
|
+
base_path == o.base_path &&
|
|
226
226
|
repository_version == o.repository_version &&
|
|
227
227
|
private == o.private &&
|
|
228
228
|
description == o.description
|
|
@@ -237,7 +237,7 @@ module PulpContainerClient
|
|
|
237
237
|
# Calculates hash code according to all attributes.
|
|
238
238
|
# @return [Integer] Hash code
|
|
239
239
|
def hash
|
|
240
|
-
[name, pulp_labels,
|
|
240
|
+
[name, content_guard, pulp_labels, hidden, repository, base_path, repository_version, private, description].hash
|
|
241
241
|
end
|
|
242
242
|
|
|
243
243
|
# Builds the object from hash
|
|
@@ -18,10 +18,16 @@ module PulpContainerClient
|
|
|
18
18
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
19
19
|
attr_accessor :name
|
|
20
20
|
|
|
21
|
+
# Timestamp of creation.
|
|
22
|
+
attr_accessor :pulp_created
|
|
23
|
+
|
|
24
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
25
|
+
attr_accessor :content_guard
|
|
26
|
+
|
|
21
27
|
attr_accessor :pulp_labels
|
|
22
28
|
|
|
23
|
-
#
|
|
24
|
-
attr_accessor :
|
|
29
|
+
# Whether this distribution should be shown in the content app.
|
|
30
|
+
attr_accessor :hidden
|
|
25
31
|
|
|
26
32
|
# 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.
|
|
27
33
|
attr_accessor :pulp_last_updated
|
|
@@ -29,16 +35,10 @@ module PulpContainerClient
|
|
|
29
35
|
# The latest RepositoryVersion for this Repository will be served.
|
|
30
36
|
attr_accessor :repository
|
|
31
37
|
|
|
32
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
33
|
-
attr_accessor :content_guard
|
|
34
|
-
|
|
35
|
-
# Whether this distribution should be shown in the content app.
|
|
36
|
-
attr_accessor :hidden
|
|
37
|
-
|
|
38
38
|
attr_accessor :pulp_href
|
|
39
39
|
|
|
40
|
-
#
|
|
41
|
-
attr_accessor :
|
|
40
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
41
|
+
attr_accessor :base_path
|
|
42
42
|
|
|
43
43
|
# RepositoryVersion to be served
|
|
44
44
|
attr_accessor :repository_version
|
|
@@ -62,14 +62,14 @@ module PulpContainerClient
|
|
|
62
62
|
def self.attribute_map
|
|
63
63
|
{
|
|
64
64
|
:'name' => :'name',
|
|
65
|
+
:'pulp_created' => :'pulp_created',
|
|
66
|
+
:'content_guard' => :'content_guard',
|
|
65
67
|
:'pulp_labels' => :'pulp_labels',
|
|
66
|
-
:'
|
|
68
|
+
:'hidden' => :'hidden',
|
|
67
69
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
68
70
|
:'repository' => :'repository',
|
|
69
|
-
:'content_guard' => :'content_guard',
|
|
70
|
-
:'hidden' => :'hidden',
|
|
71
71
|
:'pulp_href' => :'pulp_href',
|
|
72
|
-
:'
|
|
72
|
+
:'base_path' => :'base_path',
|
|
73
73
|
:'repository_version' => :'repository_version',
|
|
74
74
|
:'registry_path' => :'registry_path',
|
|
75
75
|
:'remote' => :'remote',
|
|
@@ -83,14 +83,14 @@ module PulpContainerClient
|
|
|
83
83
|
def self.openapi_types
|
|
84
84
|
{
|
|
85
85
|
:'name' => :'String',
|
|
86
|
+
:'pulp_created' => :'DateTime',
|
|
87
|
+
:'content_guard' => :'String',
|
|
86
88
|
:'pulp_labels' => :'Hash<String, String>',
|
|
87
|
-
:'
|
|
89
|
+
:'hidden' => :'Boolean',
|
|
88
90
|
:'pulp_last_updated' => :'DateTime',
|
|
89
91
|
:'repository' => :'String',
|
|
90
|
-
:'content_guard' => :'String',
|
|
91
|
-
:'hidden' => :'Boolean',
|
|
92
92
|
:'pulp_href' => :'String',
|
|
93
|
-
:'
|
|
93
|
+
:'base_path' => :'String',
|
|
94
94
|
:'repository_version' => :'String',
|
|
95
95
|
:'registry_path' => :'String',
|
|
96
96
|
:'remote' => :'String',
|
|
@@ -128,14 +128,24 @@ module PulpContainerClient
|
|
|
128
128
|
self.name = attributes[:'name']
|
|
129
129
|
end
|
|
130
130
|
|
|
131
|
+
if attributes.key?(:'pulp_created')
|
|
132
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
if attributes.key?(:'content_guard')
|
|
136
|
+
self.content_guard = attributes[:'content_guard']
|
|
137
|
+
end
|
|
138
|
+
|
|
131
139
|
if attributes.key?(:'pulp_labels')
|
|
132
140
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
133
141
|
self.pulp_labels = value
|
|
134
142
|
end
|
|
135
143
|
end
|
|
136
144
|
|
|
137
|
-
if attributes.key?(:'
|
|
138
|
-
self.
|
|
145
|
+
if attributes.key?(:'hidden')
|
|
146
|
+
self.hidden = attributes[:'hidden']
|
|
147
|
+
else
|
|
148
|
+
self.hidden = false
|
|
139
149
|
end
|
|
140
150
|
|
|
141
151
|
if attributes.key?(:'pulp_last_updated')
|
|
@@ -146,22 +156,12 @@ module PulpContainerClient
|
|
|
146
156
|
self.repository = attributes[:'repository']
|
|
147
157
|
end
|
|
148
158
|
|
|
149
|
-
if attributes.key?(:'content_guard')
|
|
150
|
-
self.content_guard = attributes[:'content_guard']
|
|
151
|
-
end
|
|
152
|
-
|
|
153
|
-
if attributes.key?(:'hidden')
|
|
154
|
-
self.hidden = attributes[:'hidden']
|
|
155
|
-
else
|
|
156
|
-
self.hidden = false
|
|
157
|
-
end
|
|
158
|
-
|
|
159
159
|
if attributes.key?(:'pulp_href')
|
|
160
160
|
self.pulp_href = attributes[:'pulp_href']
|
|
161
161
|
end
|
|
162
162
|
|
|
163
|
-
if attributes.key?(:'
|
|
164
|
-
self.
|
|
163
|
+
if attributes.key?(:'base_path')
|
|
164
|
+
self.base_path = attributes[:'base_path']
|
|
165
165
|
end
|
|
166
166
|
|
|
167
167
|
if attributes.key?(:'repository_version')
|
|
@@ -218,14 +218,14 @@ module PulpContainerClient
|
|
|
218
218
|
return true if self.equal?(o)
|
|
219
219
|
self.class == o.class &&
|
|
220
220
|
name == o.name &&
|
|
221
|
+
pulp_created == o.pulp_created &&
|
|
222
|
+
content_guard == o.content_guard &&
|
|
221
223
|
pulp_labels == o.pulp_labels &&
|
|
222
|
-
|
|
224
|
+
hidden == o.hidden &&
|
|
223
225
|
pulp_last_updated == o.pulp_last_updated &&
|
|
224
226
|
repository == o.repository &&
|
|
225
|
-
content_guard == o.content_guard &&
|
|
226
|
-
hidden == o.hidden &&
|
|
227
227
|
pulp_href == o.pulp_href &&
|
|
228
|
-
|
|
228
|
+
base_path == o.base_path &&
|
|
229
229
|
repository_version == o.repository_version &&
|
|
230
230
|
registry_path == o.registry_path &&
|
|
231
231
|
remote == o.remote &&
|
|
@@ -243,7 +243,7 @@ module PulpContainerClient
|
|
|
243
243
|
# Calculates hash code according to all attributes.
|
|
244
244
|
# @return [Integer] Hash code
|
|
245
245
|
def hash
|
|
246
|
-
[name,
|
|
246
|
+
[name, pulp_created, content_guard, pulp_labels, hidden, pulp_last_updated, repository, pulp_href, base_path, repository_version, registry_path, remote, namespace, private, description].hash
|
|
247
247
|
end
|
|
248
248
|
|
|
249
249
|
# Builds the object from hash
|