pulp_container_client 2.15.0.dev1670382628 → 2.15.0.dev1671073819
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.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
- data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +1 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +46 -44
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -37
- data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -35
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +48 -46
- data/lib/pulp_container_client/models/container_container_remote.rb +4 -2
- data/lib/pulp_container_client/models/container_container_remote_response.rb +4 -2
- data/lib/pulp_container_client/models/container_container_repository.rb +4 -2
- data/lib/pulp_container_client/models/container_container_repository_response.rb +4 -2
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +37 -35
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -35
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +4 -2
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +4 -2
- 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 +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +2 -2
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cf186b14452d81a076b57e5998b31c817b325eb01776ea4a6e96ee278b252e6
|
4
|
+
data.tar.gz: 368c31ab3249030be771d3a9866c6efc17c542cbb6015c9300472fe92a85af34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cef3a8d285c3c10818f3d9ad7719511797940ee3279a3183ba9d08195fcd5bd334a0bb48cc18671febc449b7ae994bdd4e09bad5d164cc98d3b39656dda4f43
|
7
|
+
data.tar.gz: 4dfc6b3fb4e99554d14c6511f85aa933383e6c5a0bfa422aad82b10d5fa95f263eac7fe4dd923d0923af7d6fa1762fea71c22c6570904300961e8d26d2fa815d
|
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.15.0.
|
10
|
+
- Package version: 2.15.0.dev1671073819
|
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.15.0.
|
27
|
+
gem install ./pulp_container_client-2.15.0.dev1671073819.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.15.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.15.0.dev1671073819.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.15.0.
|
36
|
+
gem 'pulp_container_client', '~> 2.15.0.dev1671073819'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
7
|
**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
|
-
**
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
|
22
22
|
name: null,
|
23
|
-
base_path: null,
|
24
23
|
pulp_labels: null,
|
25
24
|
content_guard: null,
|
25
|
+
repository: null,
|
26
26
|
repository_version: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
11
8
|
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
-
**
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
13
12
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
13
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
14
14
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
15
15
|
**registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
16
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
@@ -22,13 +22,13 @@ Name | Type | Description | Notes
|
|
22
22
|
```ruby
|
23
23
|
require 'PulpContainerClient'
|
24
24
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
26
|
-
repository: null,
|
27
|
-
name: null,
|
28
|
-
base_path: null,
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(base_path: null,
|
29
26
|
pulp_href: null,
|
27
|
+
pulp_created: null,
|
28
|
+
name: null,
|
30
29
|
pulp_labels: null,
|
31
30
|
content_guard: null,
|
31
|
+
repository: null,
|
32
32
|
repository_version: null,
|
33
33
|
registry_path: null,
|
34
34
|
namespace: null,
|
@@ -4,22 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
9
|
-
**pulp_labels** |
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
10
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
11
|
-
**
|
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(
|
18
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(retain_repo_versions: null,
|
19
19
|
name: null,
|
20
20
|
pulp_labels: null,
|
21
21
|
manifest_signing_service: null,
|
22
|
-
|
22
|
+
description: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -4,30 +4,30 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**description** | **String** | An optional description. | [optional]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**versions_href** | **String** | | [optional] [readonly]
|
10
8
|
**latest_version_href** | **String** | | [optional] [readonly]
|
11
|
-
**name** | **String** | A unique name for this repository. |
|
12
9
|
**pulp_href** | **String** | | [optional] [readonly]
|
13
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
14
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
15
10
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
11
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
|
+
**name** | **String** | A unique name for this repository. |
|
13
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
14
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
15
|
+
**description** | **String** | An optional description. | [optional]
|
16
16
|
|
17
17
|
## Code Sample
|
18
18
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
23
|
-
pulp_created: null,
|
24
|
-
versions_href: null,
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(versions_href: null,
|
25
23
|
latest_version_href: null,
|
26
|
-
name: null,
|
27
24
|
pulp_href: null,
|
25
|
+
retain_repo_versions: null,
|
26
|
+
pulp_created: null,
|
27
|
+
name: null,
|
28
28
|
pulp_labels: null,
|
29
29
|
manifest_signing_service: null,
|
30
|
-
|
30
|
+
description: null)
|
31
31
|
```
|
32
32
|
|
33
33
|
|
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
18
|
-
**pulp_labels** |
|
18
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional]
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
13
13
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
14
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
|
-
**pulp_labels** |
|
15
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
18
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_labels** |
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
10
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**versions_href** | **String** | | [optional] [readonly]
|
10
|
-
**pulp_labels** |
|
10
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
7
|
**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
|
-
**
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
|
22
22
|
name: null,
|
23
|
-
base_path: null,
|
24
23
|
pulp_labels: null,
|
25
24
|
content_guard: null,
|
25
|
+
repository: null,
|
26
26
|
repository_version: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
@@ -4,22 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
|
-
**pulp_labels** |
|
9
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
10
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
11
|
-
**
|
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(
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
|
19
19
|
name: null,
|
20
20
|
pulp_labels: null,
|
21
21
|
manifest_signing_service: null,
|
22
|
-
|
22
|
+
description: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
18
|
-
**pulp_labels** |
|
18
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional]
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_labels** |
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
10
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
@@ -264,7 +264,7 @@ module PulpContainerClient
|
|
264
264
|
if @api_client.config.debugging
|
265
265
|
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.list ...'
|
266
266
|
end
|
267
|
-
allowable_values = ["-base_path", "-description", "-name", "-pk", "-private", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "base_path", "description", "name", "pk", "private", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
267
|
+
allowable_values = ["-base_path", "-description", "-name", "-pk", "-private", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "description", "name", "pk", "private", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
268
268
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
269
269
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
270
270
|
end
|
@@ -264,7 +264,7 @@ module PulpContainerClient
|
|
264
264
|
if @api_client.config.debugging
|
265
265
|
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.list ...'
|
266
266
|
end
|
267
|
-
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
267
|
+
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
268
268
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
269
269
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
270
270
|
end
|
@@ -544,7 +544,7 @@ module PulpContainerClient
|
|
544
544
|
if @api_client.config.debugging
|
545
545
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.list ...'
|
546
546
|
end
|
547
|
-
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
547
|
+
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
548
548
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
549
549
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
550
550
|
end
|
@@ -128,7 +128,7 @@ module PulpContainerClient
|
|
128
128
|
if @api_client.config.debugging
|
129
129
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.list ...'
|
130
130
|
end
|
131
|
-
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
131
|
+
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
132
132
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
133
133
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
134
134
|
end
|
@@ -15,20 +15,20 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
18
|
-
# The
|
19
|
-
attr_accessor :
|
18
|
+
# 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
|
+
attr_accessor :base_path
|
20
20
|
|
21
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
22
22
|
attr_accessor :name
|
23
23
|
|
24
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
25
|
-
attr_accessor :base_path
|
26
|
-
|
27
24
|
attr_accessor :pulp_labels
|
28
25
|
|
29
26
|
# An optional content-guard. If none is specified, a default one will be used.
|
30
27
|
attr_accessor :content_guard
|
31
28
|
|
29
|
+
# The latest RepositoryVersion for this Repository will be served.
|
30
|
+
attr_accessor :repository
|
31
|
+
|
32
32
|
# RepositoryVersion to be served
|
33
33
|
attr_accessor :repository_version
|
34
34
|
|
@@ -41,11 +41,11 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'repository' => :'repository',
|
45
|
-
:'name' => :'name',
|
46
44
|
:'base_path' => :'base_path',
|
45
|
+
:'name' => :'name',
|
47
46
|
:'pulp_labels' => :'pulp_labels',
|
48
47
|
:'content_guard' => :'content_guard',
|
48
|
+
:'repository' => :'repository',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
@@ -55,11 +55,11 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
-
:'repository' => :'String',
|
59
|
-
:'name' => :'String',
|
60
58
|
:'base_path' => :'String',
|
61
|
-
:'
|
59
|
+
:'name' => :'String',
|
60
|
+
:'pulp_labels' => :'Hash<String, String>',
|
62
61
|
:'content_guard' => :'String',
|
62
|
+
:'repository' => :'String',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
@@ -90,26 +90,28 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'
|
94
|
-
self.
|
93
|
+
if attributes.key?(:'base_path')
|
94
|
+
self.base_path = attributes[:'base_path']
|
95
95
|
end
|
96
96
|
|
97
97
|
if attributes.key?(:'name')
|
98
98
|
self.name = attributes[:'name']
|
99
99
|
end
|
100
100
|
|
101
|
-
if attributes.key?(:'base_path')
|
102
|
-
self.base_path = attributes[:'base_path']
|
103
|
-
end
|
104
|
-
|
105
101
|
if attributes.key?(:'pulp_labels')
|
106
|
-
|
102
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
103
|
+
self.pulp_labels = value
|
104
|
+
end
|
107
105
|
end
|
108
106
|
|
109
107
|
if attributes.key?(:'content_guard')
|
110
108
|
self.content_guard = attributes[:'content_guard']
|
111
109
|
end
|
112
110
|
|
111
|
+
if attributes.key?(:'repository')
|
112
|
+
self.repository = attributes[:'repository']
|
113
|
+
end
|
114
|
+
|
113
115
|
if attributes.key?(:'repository_version')
|
114
116
|
self.repository_version = attributes[:'repository_version']
|
115
117
|
end
|
@@ -127,14 +129,6 @@ module PulpContainerClient
|
|
127
129
|
# @return Array for valid properties with the reasons
|
128
130
|
def list_invalid_properties
|
129
131
|
invalid_properties = Array.new
|
130
|
-
if @name.nil?
|
131
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
132
|
-
end
|
133
|
-
|
134
|
-
if @name.to_s.length < 1
|
135
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
136
|
-
end
|
137
|
-
|
138
132
|
if @base_path.nil?
|
139
133
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
140
134
|
end
|
@@ -143,6 +137,14 @@ module PulpContainerClient
|
|
143
137
|
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
144
138
|
end
|
145
139
|
|
140
|
+
if @name.nil?
|
141
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
142
|
+
end
|
143
|
+
|
144
|
+
if @name.to_s.length < 1
|
145
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
146
|
+
end
|
147
|
+
|
146
148
|
if !@description.nil? && @description.to_s.length < 1
|
147
149
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
148
150
|
end
|
@@ -153,28 +155,14 @@ module PulpContainerClient
|
|
153
155
|
# Check to see if the all the properties in the model are valid
|
154
156
|
# @return true if the model is valid
|
155
157
|
def valid?
|
156
|
-
return false if @name.nil?
|
157
|
-
return false if @name.to_s.length < 1
|
158
158
|
return false if @base_path.nil?
|
159
159
|
return false if @base_path.to_s.length < 1
|
160
|
+
return false if @name.nil?
|
161
|
+
return false if @name.to_s.length < 1
|
160
162
|
return false if !@description.nil? && @description.to_s.length < 1
|
161
163
|
true
|
162
164
|
end
|
163
165
|
|
164
|
-
# Custom attribute writer method with validation
|
165
|
-
# @param [Object] name Value to be assigned
|
166
|
-
def name=(name)
|
167
|
-
if name.nil?
|
168
|
-
fail ArgumentError, 'name cannot be nil'
|
169
|
-
end
|
170
|
-
|
171
|
-
if name.to_s.length < 1
|
172
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
173
|
-
end
|
174
|
-
|
175
|
-
@name = name
|
176
|
-
end
|
177
|
-
|
178
166
|
# Custom attribute writer method with validation
|
179
167
|
# @param [Object] base_path Value to be assigned
|
180
168
|
def base_path=(base_path)
|
@@ -189,6 +177,20 @@ module PulpContainerClient
|
|
189
177
|
@base_path = base_path
|
190
178
|
end
|
191
179
|
|
180
|
+
# Custom attribute writer method with validation
|
181
|
+
# @param [Object] name Value to be assigned
|
182
|
+
def name=(name)
|
183
|
+
if name.nil?
|
184
|
+
fail ArgumentError, 'name cannot be nil'
|
185
|
+
end
|
186
|
+
|
187
|
+
if name.to_s.length < 1
|
188
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
189
|
+
end
|
190
|
+
|
191
|
+
@name = name
|
192
|
+
end
|
193
|
+
|
192
194
|
# Custom attribute writer method with validation
|
193
195
|
# @param [Object] description Value to be assigned
|
194
196
|
def description=(description)
|
@@ -204,11 +206,11 @@ module PulpContainerClient
|
|
204
206
|
def ==(o)
|
205
207
|
return true if self.equal?(o)
|
206
208
|
self.class == o.class &&
|
207
|
-
repository == o.repository &&
|
208
|
-
name == o.name &&
|
209
209
|
base_path == o.base_path &&
|
210
|
+
name == o.name &&
|
210
211
|
pulp_labels == o.pulp_labels &&
|
211
212
|
content_guard == o.content_guard &&
|
213
|
+
repository == o.repository &&
|
212
214
|
repository_version == o.repository_version &&
|
213
215
|
private == o.private &&
|
214
216
|
description == o.description
|
@@ -223,7 +225,7 @@ module PulpContainerClient
|
|
223
225
|
# Calculates hash code according to all attributes.
|
224
226
|
# @return [Integer] Hash code
|
225
227
|
def hash
|
226
|
-
[
|
228
|
+
[base_path, name, pulp_labels, content_guard, repository, repository_version, private, description].hash
|
227
229
|
end
|
228
230
|
|
229
231
|
# Builds the object from hash
|