pulp_container_client 2.4.0.dev1614914600 → 2.4.0.dev1615000878
Sign up to get free protection for your applications and to get access to all the features.
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 +7 -7
- data/docs/ContainerContainerDistributionResponse.md +11 -11
- data/docs/ContainerContainerRemote.md +7 -1
- data/docs/ContainerContainerRemoteResponse.md +3 -1
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +7 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +33 -33
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +46 -46
- data/lib/pulp_container_client/models/container_container_remote.rb +36 -2
- data/lib/pulp_container_client/models/container_container_remote_response.rb +14 -2
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +28 -28
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +36 -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 +5 -5
- data/spec/models/container_container_remote_response_spec.rb +6 -0
- data/spec/models/container_container_remote_spec.rb +18 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_remote_spec.rb +18 -0
- 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: f961a2d9dedc801dc625c99285a72aa09331e21f48d79bc4fb82420468df480a
|
4
|
+
data.tar.gz: a4c5bef0402293507ffeb862844787b47863f778237f71800675a5347ed45912
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b36537c574c25accb46022dcf7879a0a488a591d7a2d2ad9a28f4fc84095bba675d7e977e888f29a73a404bb476a081cdca3065099fe6070d97b5a00e049402
|
7
|
+
data.tar.gz: b57c224e181854252317fb00c540b3b162df3e22409dba585f3420469d773733e62980284e1fa8861a577d9bbfcd5b6ae26a835928b56e2c8609d864ea43fa2f
|
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.4.0.
|
10
|
+
- Package version: 2.4.0.dev1615000878
|
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.4.0.
|
27
|
+
gem install ./pulp_container_client-2.4.0.dev1615000878.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.4.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.4.0.dev1615000878.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.4.0.
|
36
|
+
gem 'pulp_container_client', '~> 2.4.0.dev1615000878'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
7
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
8
11
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
9
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
11
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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]
|
15
15
|
|
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(pulp_labels: null,
|
22
|
+
content_guard: null,
|
23
|
+
repository: null,
|
24
|
+
base_path: null,
|
22
25
|
repository_version: null,
|
23
26
|
name: null,
|
24
|
-
base_path: null,
|
25
|
-
pulp_labels: null,
|
26
|
-
content_guard: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
29
29
|
```
|
@@ -4,14 +4,14 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
7
10
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**
|
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\") |
|
9
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
10
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
-
**
|
12
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
13
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
14
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
14
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
15
15
|
**registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
16
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
17
17
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
@@ -22,14 +22,14 @@ Name | Type | Description | Notes
|
|
22
22
|
```ruby
|
23
23
|
require 'PulpContainerClient'
|
24
24
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
26
|
-
pulp_href: null,
|
27
|
-
repository_version: null,
|
28
|
-
name: null,
|
29
|
-
base_path: null,
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
|
30
26
|
pulp_labels: null,
|
31
27
|
content_guard: null,
|
32
|
-
|
28
|
+
repository: null,
|
29
|
+
base_path: null,
|
30
|
+
repository_version: null,
|
31
|
+
name: null,
|
32
|
+
pulp_href: null,
|
33
33
|
registry_path: null,
|
34
34
|
namespace: null,
|
35
35
|
private: null,
|
@@ -10,7 +10,9 @@ Name | Type | Description | Notes
|
|
10
10
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
11
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
+
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
14
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
@@ -20,6 +22,7 @@ Name | Type | Description | Notes
|
|
20
22
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
21
23
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
22
24
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
25
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
23
26
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
24
27
|
**upstream_name** | **String** | Name of the upstream repository |
|
25
28
|
**include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
|
@@ -37,6 +40,8 @@ instance = PulpContainerClient::ContainerContainerRemote.new(name: null,
|
|
37
40
|
client_key: null,
|
38
41
|
tls_validation: null,
|
39
42
|
proxy_url: null,
|
43
|
+
proxy_username: null,
|
44
|
+
proxy_password: null,
|
40
45
|
username: null,
|
41
46
|
password: null,
|
42
47
|
pulp_labels: null,
|
@@ -46,6 +51,7 @@ instance = PulpContainerClient::ContainerContainerRemote.new(name: null,
|
|
46
51
|
connect_timeout: null,
|
47
52
|
sock_connect_timeout: null,
|
48
53
|
sock_read_timeout: null,
|
54
|
+
headers: null,
|
49
55
|
rate_limit: null,
|
50
56
|
upstream_name: null,
|
51
57
|
include_tags: null,
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
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
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://
|
14
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
15
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
|
|
20
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
21
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
22
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
23
24
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
24
25
|
**upstream_name** | **String** | Name of the upstream repository |
|
25
26
|
**include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
|
@@ -46,6 +47,7 @@ instance = PulpContainerClient::ContainerContainerRemoteResponse.new(pulp_href:
|
|
46
47
|
connect_timeout: null,
|
47
48
|
sock_connect_timeout: null,
|
48
49
|
sock_read_timeout: null,
|
50
|
+
headers: null,
|
49
51
|
rate_limit: null,
|
50
52
|
upstream_name: null,
|
51
53
|
include_tags: null,
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
7
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
8
11
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
9
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
10
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
11
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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]
|
15
15
|
|
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
|
22
|
+
content_guard: null,
|
23
|
+
repository: null,
|
24
|
+
base_path: null,
|
22
25
|
repository_version: null,
|
23
26
|
name: null,
|
24
|
-
base_path: null,
|
25
|
-
pulp_labels: null,
|
26
|
-
content_guard: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
29
29
|
```
|
@@ -10,7 +10,9 @@ Name | Type | Description | Notes
|
|
10
10
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
11
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
+
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
14
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
@@ -20,6 +22,7 @@ Name | Type | Description | Notes
|
|
20
22
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
21
23
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
22
24
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
25
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
23
26
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
24
27
|
**upstream_name** | **String** | Name of the upstream repository | [optional]
|
25
28
|
**include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
|
@@ -37,6 +40,8 @@ instance = PulpContainerClient::PatchedcontainerContainerRemote.new(name: null,
|
|
37
40
|
client_key: null,
|
38
41
|
tls_validation: null,
|
39
42
|
proxy_url: null,
|
43
|
+
proxy_username: null,
|
44
|
+
proxy_password: null,
|
40
45
|
username: null,
|
41
46
|
password: null,
|
42
47
|
pulp_labels: null,
|
@@ -46,6 +51,7 @@ instance = PulpContainerClient::PatchedcontainerContainerRemote.new(name: null,
|
|
46
51
|
connect_timeout: null,
|
47
52
|
sock_connect_timeout: null,
|
48
53
|
sock_read_timeout: null,
|
54
|
+
headers: null,
|
49
55
|
rate_limit: null,
|
50
56
|
upstream_name: null,
|
51
57
|
include_tags: null,
|
@@ -15,23 +15,23 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
18
|
+
attr_accessor :pulp_labels
|
19
|
+
|
20
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
21
|
+
attr_accessor :content_guard
|
22
|
+
|
18
23
|
# The latest RepositoryVersion for this Repository will be served.
|
19
24
|
attr_accessor :repository
|
20
25
|
|
26
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
27
|
+
attr_accessor :base_path
|
28
|
+
|
21
29
|
# RepositoryVersion to be served
|
22
30
|
attr_accessor :repository_version
|
23
31
|
|
24
32
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
33
|
attr_accessor :name
|
26
34
|
|
27
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
|
-
attr_accessor :base_path
|
29
|
-
|
30
|
-
attr_accessor :pulp_labels
|
31
|
-
|
32
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
33
|
-
attr_accessor :content_guard
|
34
|
-
|
35
35
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
36
36
|
attr_accessor :private
|
37
37
|
|
@@ -41,12 +41,12 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
+
:'pulp_labels' => :'pulp_labels',
|
45
|
+
:'content_guard' => :'content_guard',
|
44
46
|
:'repository' => :'repository',
|
47
|
+
:'base_path' => :'base_path',
|
45
48
|
:'repository_version' => :'repository_version',
|
46
49
|
:'name' => :'name',
|
47
|
-
:'base_path' => :'base_path',
|
48
|
-
:'pulp_labels' => :'pulp_labels',
|
49
|
-
:'content_guard' => :'content_guard',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
52
52
|
}
|
@@ -55,12 +55,12 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
+
:'pulp_labels' => :'Object',
|
59
|
+
:'content_guard' => :'String',
|
58
60
|
:'repository' => :'String',
|
61
|
+
:'base_path' => :'String',
|
59
62
|
:'repository_version' => :'String',
|
60
63
|
:'name' => :'String',
|
61
|
-
:'base_path' => :'String',
|
62
|
-
:'pulp_labels' => :'Object',
|
63
|
-
:'content_guard' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
66
66
|
}
|
@@ -90,28 +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?(:'pulp_labels')
|
94
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
95
95
|
end
|
96
96
|
|
97
|
-
if attributes.key?(:'
|
98
|
-
self.
|
97
|
+
if attributes.key?(:'content_guard')
|
98
|
+
self.content_guard = attributes[:'content_guard']
|
99
99
|
end
|
100
100
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
101
|
+
if attributes.key?(:'repository')
|
102
|
+
self.repository = attributes[:'repository']
|
103
103
|
end
|
104
104
|
|
105
105
|
if attributes.key?(:'base_path')
|
106
106
|
self.base_path = attributes[:'base_path']
|
107
107
|
end
|
108
108
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
109
|
+
if attributes.key?(:'repository_version')
|
110
|
+
self.repository_version = attributes[:'repository_version']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
113
|
+
if attributes.key?(:'name')
|
114
|
+
self.name = attributes[:'name']
|
115
115
|
end
|
116
116
|
|
117
117
|
if attributes.key?(:'private')
|
@@ -127,22 +127,22 @@ module PulpContainerClient
|
|
127
127
|
# @return Array for valid properties with the reasons
|
128
128
|
def list_invalid_properties
|
129
129
|
invalid_properties = Array.new
|
130
|
-
if @name.nil?
|
131
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
132
|
-
end
|
133
|
-
|
134
130
|
if @base_path.nil?
|
135
131
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
136
132
|
end
|
137
133
|
|
134
|
+
if @name.nil?
|
135
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
136
|
+
end
|
137
|
+
|
138
138
|
invalid_properties
|
139
139
|
end
|
140
140
|
|
141
141
|
# Check to see if the all the properties in the model are valid
|
142
142
|
# @return true if the model is valid
|
143
143
|
def valid?
|
144
|
-
return false if @name.nil?
|
145
144
|
return false if @base_path.nil?
|
145
|
+
return false if @name.nil?
|
146
146
|
true
|
147
147
|
end
|
148
148
|
|
@@ -151,12 +151,12 @@ module PulpContainerClient
|
|
151
151
|
def ==(o)
|
152
152
|
return true if self.equal?(o)
|
153
153
|
self.class == o.class &&
|
154
|
+
pulp_labels == o.pulp_labels &&
|
155
|
+
content_guard == o.content_guard &&
|
154
156
|
repository == o.repository &&
|
157
|
+
base_path == o.base_path &&
|
155
158
|
repository_version == o.repository_version &&
|
156
159
|
name == o.name &&
|
157
|
-
base_path == o.base_path &&
|
158
|
-
pulp_labels == o.pulp_labels &&
|
159
|
-
content_guard == o.content_guard &&
|
160
160
|
private == o.private &&
|
161
161
|
description == o.description
|
162
162
|
end
|
@@ -170,7 +170,7 @@ module PulpContainerClient
|
|
170
170
|
# Calculates hash code according to all attributes.
|
171
171
|
# @return [Integer] Hash code
|
172
172
|
def hash
|
173
|
-
[
|
173
|
+
[pulp_labels, content_guard, repository, base_path, repository_version, name, private, description].hash
|
174
174
|
end
|
175
175
|
|
176
176
|
# Builds the object from hash
|
@@ -15,10 +15,19 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
+
# Timestamp of creation.
|
19
|
+
attr_accessor :pulp_created
|
20
|
+
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
23
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
24
|
+
attr_accessor :content_guard
|
25
|
+
|
18
26
|
# The latest RepositoryVersion for this Repository will be served.
|
19
27
|
attr_accessor :repository
|
20
28
|
|
21
|
-
|
29
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
30
|
+
attr_accessor :base_path
|
22
31
|
|
23
32
|
# RepositoryVersion to be served
|
24
33
|
attr_accessor :repository_version
|
@@ -26,16 +35,7 @@ module PulpContainerClient
|
|
26
35
|
# A unique name. Ex, `rawhide` and `stable`.
|
27
36
|
attr_accessor :name
|
28
37
|
|
29
|
-
|
30
|
-
attr_accessor :base_path
|
31
|
-
|
32
|
-
attr_accessor :pulp_labels
|
33
|
-
|
34
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
35
|
-
attr_accessor :content_guard
|
36
|
-
|
37
|
-
# Timestamp of creation.
|
38
|
-
attr_accessor :pulp_created
|
38
|
+
attr_accessor :pulp_href
|
39
39
|
|
40
40
|
# The Registry hostame/name/ to use with docker pull command defined by this distribution.
|
41
41
|
attr_accessor :registry_path
|
@@ -52,14 +52,14 @@ module PulpContainerClient
|
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
55
|
+
:'pulp_created' => :'pulp_created',
|
56
|
+
:'pulp_labels' => :'pulp_labels',
|
57
|
+
:'content_guard' => :'content_guard',
|
55
58
|
:'repository' => :'repository',
|
56
|
-
:'
|
59
|
+
:'base_path' => :'base_path',
|
57
60
|
:'repository_version' => :'repository_version',
|
58
61
|
:'name' => :'name',
|
59
|
-
:'
|
60
|
-
:'pulp_labels' => :'pulp_labels',
|
61
|
-
:'content_guard' => :'content_guard',
|
62
|
-
:'pulp_created' => :'pulp_created',
|
62
|
+
:'pulp_href' => :'pulp_href',
|
63
63
|
:'registry_path' => :'registry_path',
|
64
64
|
:'namespace' => :'namespace',
|
65
65
|
:'private' => :'private',
|
@@ -70,14 +70,14 @@ module PulpContainerClient
|
|
70
70
|
# Attribute type mapping.
|
71
71
|
def self.openapi_types
|
72
72
|
{
|
73
|
+
:'pulp_created' => :'DateTime',
|
74
|
+
:'pulp_labels' => :'Object',
|
75
|
+
:'content_guard' => :'String',
|
73
76
|
:'repository' => :'String',
|
74
|
-
:'
|
77
|
+
:'base_path' => :'String',
|
75
78
|
:'repository_version' => :'String',
|
76
79
|
:'name' => :'String',
|
77
|
-
:'
|
78
|
-
:'pulp_labels' => :'Object',
|
79
|
-
:'content_guard' => :'String',
|
80
|
-
:'pulp_created' => :'DateTime',
|
80
|
+
:'pulp_href' => :'String',
|
81
81
|
:'registry_path' => :'String',
|
82
82
|
:'namespace' => :'String',
|
83
83
|
:'private' => :'Boolean',
|
@@ -109,36 +109,36 @@ module PulpContainerClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
112
|
+
if attributes.key?(:'pulp_created')
|
113
|
+
self.pulp_created = attributes[:'pulp_created']
|
114
114
|
end
|
115
115
|
|
116
|
-
if attributes.key?(:'
|
117
|
-
self.
|
116
|
+
if attributes.key?(:'pulp_labels')
|
117
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
118
118
|
end
|
119
119
|
|
120
|
-
if attributes.key?(:'
|
121
|
-
self.
|
120
|
+
if attributes.key?(:'content_guard')
|
121
|
+
self.content_guard = attributes[:'content_guard']
|
122
122
|
end
|
123
123
|
|
124
|
-
if attributes.key?(:'
|
125
|
-
self.
|
124
|
+
if attributes.key?(:'repository')
|
125
|
+
self.repository = attributes[:'repository']
|
126
126
|
end
|
127
127
|
|
128
128
|
if attributes.key?(:'base_path')
|
129
129
|
self.base_path = attributes[:'base_path']
|
130
130
|
end
|
131
131
|
|
132
|
-
if attributes.key?(:'
|
133
|
-
self.
|
132
|
+
if attributes.key?(:'repository_version')
|
133
|
+
self.repository_version = attributes[:'repository_version']
|
134
134
|
end
|
135
135
|
|
136
|
-
if attributes.key?(:'
|
137
|
-
self.
|
136
|
+
if attributes.key?(:'name')
|
137
|
+
self.name = attributes[:'name']
|
138
138
|
end
|
139
139
|
|
140
|
-
if attributes.key?(:'
|
141
|
-
self.
|
140
|
+
if attributes.key?(:'pulp_href')
|
141
|
+
self.pulp_href = attributes[:'pulp_href']
|
142
142
|
end
|
143
143
|
|
144
144
|
if attributes.key?(:'registry_path')
|
@@ -162,22 +162,22 @@ module PulpContainerClient
|
|
162
162
|
# @return Array for valid properties with the reasons
|
163
163
|
def list_invalid_properties
|
164
164
|
invalid_properties = Array.new
|
165
|
-
if @name.nil?
|
166
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
167
|
-
end
|
168
|
-
|
169
165
|
if @base_path.nil?
|
170
166
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
171
167
|
end
|
172
168
|
|
169
|
+
if @name.nil?
|
170
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
171
|
+
end
|
172
|
+
|
173
173
|
invalid_properties
|
174
174
|
end
|
175
175
|
|
176
176
|
# Check to see if the all the properties in the model are valid
|
177
177
|
# @return true if the model is valid
|
178
178
|
def valid?
|
179
|
-
return false if @name.nil?
|
180
179
|
return false if @base_path.nil?
|
180
|
+
return false if @name.nil?
|
181
181
|
true
|
182
182
|
end
|
183
183
|
|
@@ -186,14 +186,14 @@ module PulpContainerClient
|
|
186
186
|
def ==(o)
|
187
187
|
return true if self.equal?(o)
|
188
188
|
self.class == o.class &&
|
189
|
+
pulp_created == o.pulp_created &&
|
190
|
+
pulp_labels == o.pulp_labels &&
|
191
|
+
content_guard == o.content_guard &&
|
189
192
|
repository == o.repository &&
|
190
|
-
|
193
|
+
base_path == o.base_path &&
|
191
194
|
repository_version == o.repository_version &&
|
192
195
|
name == o.name &&
|
193
|
-
|
194
|
-
pulp_labels == o.pulp_labels &&
|
195
|
-
content_guard == o.content_guard &&
|
196
|
-
pulp_created == o.pulp_created &&
|
196
|
+
pulp_href == o.pulp_href &&
|
197
197
|
registry_path == o.registry_path &&
|
198
198
|
namespace == o.namespace &&
|
199
199
|
private == o.private &&
|
@@ -209,7 +209,7 @@ module PulpContainerClient
|
|
209
209
|
# Calculates hash code according to all attributes.
|
210
210
|
# @return [Integer] Hash code
|
211
211
|
def hash
|
212
|
-
[
|
212
|
+
[pulp_created, pulp_labels, content_guard, repository, base_path, repository_version, name, pulp_href, registry_path, namespace, private, description].hash
|
213
213
|
end
|
214
214
|
|
215
215
|
# Builds the object from hash
|
@@ -33,9 +33,15 @@ module PulpContainerClient
|
|
33
33
|
# If True, TLS peer validation must be performed.
|
34
34
|
attr_accessor :tls_validation
|
35
35
|
|
36
|
-
# The proxy URL. Format: scheme://
|
36
|
+
# The proxy URL. Format: scheme://host:port
|
37
37
|
attr_accessor :proxy_url
|
38
38
|
|
39
|
+
# The username to authenticte to the proxy.
|
40
|
+
attr_accessor :proxy_username
|
41
|
+
|
42
|
+
# The password to authenticte to the proxy.
|
43
|
+
attr_accessor :proxy_password
|
44
|
+
|
39
45
|
# The username to be used for authentication when syncing.
|
40
46
|
attr_accessor :username
|
41
47
|
|
@@ -62,6 +68,9 @@ module PulpContainerClient
|
|
62
68
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
63
69
|
attr_accessor :sock_read_timeout
|
64
70
|
|
71
|
+
# Headers for aiohttp.Clientsession
|
72
|
+
attr_accessor :headers
|
73
|
+
|
65
74
|
# Limits total download rate in requests per second
|
66
75
|
attr_accessor :rate_limit
|
67
76
|
|
@@ -84,6 +93,8 @@ module PulpContainerClient
|
|
84
93
|
:'client_key' => :'client_key',
|
85
94
|
:'tls_validation' => :'tls_validation',
|
86
95
|
:'proxy_url' => :'proxy_url',
|
96
|
+
:'proxy_username' => :'proxy_username',
|
97
|
+
:'proxy_password' => :'proxy_password',
|
87
98
|
:'username' => :'username',
|
88
99
|
:'password' => :'password',
|
89
100
|
:'pulp_labels' => :'pulp_labels',
|
@@ -93,6 +104,7 @@ module PulpContainerClient
|
|
93
104
|
:'connect_timeout' => :'connect_timeout',
|
94
105
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
95
106
|
:'sock_read_timeout' => :'sock_read_timeout',
|
107
|
+
:'headers' => :'headers',
|
96
108
|
:'rate_limit' => :'rate_limit',
|
97
109
|
:'upstream_name' => :'upstream_name',
|
98
110
|
:'include_tags' => :'include_tags',
|
@@ -110,6 +122,8 @@ module PulpContainerClient
|
|
110
122
|
:'client_key' => :'String',
|
111
123
|
:'tls_validation' => :'Boolean',
|
112
124
|
:'proxy_url' => :'String',
|
125
|
+
:'proxy_username' => :'String',
|
126
|
+
:'proxy_password' => :'String',
|
113
127
|
:'username' => :'String',
|
114
128
|
:'password' => :'String',
|
115
129
|
:'pulp_labels' => :'Object',
|
@@ -119,6 +133,7 @@ module PulpContainerClient
|
|
119
133
|
:'connect_timeout' => :'Float',
|
120
134
|
:'sock_connect_timeout' => :'Float',
|
121
135
|
:'sock_read_timeout' => :'Float',
|
136
|
+
:'headers' => :'Array<Object>',
|
122
137
|
:'rate_limit' => :'Integer',
|
123
138
|
:'upstream_name' => :'String',
|
124
139
|
:'include_tags' => :'Array<String>',
|
@@ -133,6 +148,8 @@ module PulpContainerClient
|
|
133
148
|
:'client_cert',
|
134
149
|
:'client_key',
|
135
150
|
:'proxy_url',
|
151
|
+
:'proxy_username',
|
152
|
+
:'proxy_password',
|
136
153
|
:'username',
|
137
154
|
:'password',
|
138
155
|
:'total_timeout',
|
@@ -188,6 +205,14 @@ module PulpContainerClient
|
|
188
205
|
self.proxy_url = attributes[:'proxy_url']
|
189
206
|
end
|
190
207
|
|
208
|
+
if attributes.key?(:'proxy_username')
|
209
|
+
self.proxy_username = attributes[:'proxy_username']
|
210
|
+
end
|
211
|
+
|
212
|
+
if attributes.key?(:'proxy_password')
|
213
|
+
self.proxy_password = attributes[:'proxy_password']
|
214
|
+
end
|
215
|
+
|
191
216
|
if attributes.key?(:'username')
|
192
217
|
self.username = attributes[:'username']
|
193
218
|
end
|
@@ -224,6 +249,12 @@ module PulpContainerClient
|
|
224
249
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
225
250
|
end
|
226
251
|
|
252
|
+
if attributes.key?(:'headers')
|
253
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
254
|
+
self.headers = value
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
227
258
|
if attributes.key?(:'rate_limit')
|
228
259
|
self.rate_limit = attributes[:'rate_limit']
|
229
260
|
end
|
@@ -360,6 +391,8 @@ module PulpContainerClient
|
|
360
391
|
client_key == o.client_key &&
|
361
392
|
tls_validation == o.tls_validation &&
|
362
393
|
proxy_url == o.proxy_url &&
|
394
|
+
proxy_username == o.proxy_username &&
|
395
|
+
proxy_password == o.proxy_password &&
|
363
396
|
username == o.username &&
|
364
397
|
password == o.password &&
|
365
398
|
pulp_labels == o.pulp_labels &&
|
@@ -369,6 +402,7 @@ module PulpContainerClient
|
|
369
402
|
connect_timeout == o.connect_timeout &&
|
370
403
|
sock_connect_timeout == o.sock_connect_timeout &&
|
371
404
|
sock_read_timeout == o.sock_read_timeout &&
|
405
|
+
headers == o.headers &&
|
372
406
|
rate_limit == o.rate_limit &&
|
373
407
|
upstream_name == o.upstream_name &&
|
374
408
|
include_tags == o.include_tags &&
|
@@ -384,7 +418,7 @@ module PulpContainerClient
|
|
384
418
|
# Calculates hash code according to all attributes.
|
385
419
|
# @return [Integer] Hash code
|
386
420
|
def hash
|
387
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit, upstream_name, include_tags, exclude_tags].hash
|
421
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, upstream_name, include_tags, exclude_tags].hash
|
388
422
|
end
|
389
423
|
|
390
424
|
# Builds the object from hash
|
@@ -35,7 +35,7 @@ module PulpContainerClient
|
|
35
35
|
# If True, TLS peer validation must be performed.
|
36
36
|
attr_accessor :tls_validation
|
37
37
|
|
38
|
-
# The proxy URL. Format: scheme://
|
38
|
+
# The proxy URL. Format: scheme://host:port
|
39
39
|
attr_accessor :proxy_url
|
40
40
|
|
41
41
|
attr_accessor :pulp_labels
|
@@ -61,6 +61,9 @@ module PulpContainerClient
|
|
61
61
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
62
62
|
attr_accessor :sock_read_timeout
|
63
63
|
|
64
|
+
# Headers for aiohttp.Clientsession
|
65
|
+
attr_accessor :headers
|
66
|
+
|
64
67
|
# Limits total download rate in requests per second
|
65
68
|
attr_accessor :rate_limit
|
66
69
|
|
@@ -92,6 +95,7 @@ module PulpContainerClient
|
|
92
95
|
:'connect_timeout' => :'connect_timeout',
|
93
96
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
94
97
|
:'sock_read_timeout' => :'sock_read_timeout',
|
98
|
+
:'headers' => :'headers',
|
95
99
|
:'rate_limit' => :'rate_limit',
|
96
100
|
:'upstream_name' => :'upstream_name',
|
97
101
|
:'include_tags' => :'include_tags',
|
@@ -118,6 +122,7 @@ module PulpContainerClient
|
|
118
122
|
:'connect_timeout' => :'Float',
|
119
123
|
:'sock_connect_timeout' => :'Float',
|
120
124
|
:'sock_read_timeout' => :'Float',
|
125
|
+
:'headers' => :'Array<Object>',
|
121
126
|
:'rate_limit' => :'Integer',
|
122
127
|
:'upstream_name' => :'String',
|
123
128
|
:'include_tags' => :'Array<String>',
|
@@ -220,6 +225,12 @@ module PulpContainerClient
|
|
220
225
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
221
226
|
end
|
222
227
|
|
228
|
+
if attributes.key?(:'headers')
|
229
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
230
|
+
self.headers = value
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
223
234
|
if attributes.key?(:'rate_limit')
|
224
235
|
self.rate_limit = attributes[:'rate_limit']
|
225
236
|
end
|
@@ -365,6 +376,7 @@ module PulpContainerClient
|
|
365
376
|
connect_timeout == o.connect_timeout &&
|
366
377
|
sock_connect_timeout == o.sock_connect_timeout &&
|
367
378
|
sock_read_timeout == o.sock_read_timeout &&
|
379
|
+
headers == o.headers &&
|
368
380
|
rate_limit == o.rate_limit &&
|
369
381
|
upstream_name == o.upstream_name &&
|
370
382
|
include_tags == o.include_tags &&
|
@@ -380,7 +392,7 @@ module PulpContainerClient
|
|
380
392
|
# Calculates hash code according to all attributes.
|
381
393
|
# @return [Integer] Hash code
|
382
394
|
def hash
|
383
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit, upstream_name, include_tags, exclude_tags].hash
|
395
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, upstream_name, include_tags, exclude_tags].hash
|
384
396
|
end
|
385
397
|
|
386
398
|
# Builds the object from hash
|
@@ -15,23 +15,23 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
18
|
+
attr_accessor :pulp_labels
|
19
|
+
|
20
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
21
|
+
attr_accessor :content_guard
|
22
|
+
|
18
23
|
# The latest RepositoryVersion for this Repository will be served.
|
19
24
|
attr_accessor :repository
|
20
25
|
|
26
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
27
|
+
attr_accessor :base_path
|
28
|
+
|
21
29
|
# RepositoryVersion to be served
|
22
30
|
attr_accessor :repository_version
|
23
31
|
|
24
32
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
33
|
attr_accessor :name
|
26
34
|
|
27
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
|
-
attr_accessor :base_path
|
29
|
-
|
30
|
-
attr_accessor :pulp_labels
|
31
|
-
|
32
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
33
|
-
attr_accessor :content_guard
|
34
|
-
|
35
35
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
36
36
|
attr_accessor :private
|
37
37
|
|
@@ -41,12 +41,12 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
+
:'pulp_labels' => :'pulp_labels',
|
45
|
+
:'content_guard' => :'content_guard',
|
44
46
|
:'repository' => :'repository',
|
47
|
+
:'base_path' => :'base_path',
|
45
48
|
:'repository_version' => :'repository_version',
|
46
49
|
:'name' => :'name',
|
47
|
-
:'base_path' => :'base_path',
|
48
|
-
:'pulp_labels' => :'pulp_labels',
|
49
|
-
:'content_guard' => :'content_guard',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
52
52
|
}
|
@@ -55,12 +55,12 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
+
:'pulp_labels' => :'Object',
|
59
|
+
:'content_guard' => :'String',
|
58
60
|
:'repository' => :'String',
|
61
|
+
:'base_path' => :'String',
|
59
62
|
:'repository_version' => :'String',
|
60
63
|
:'name' => :'String',
|
61
|
-
:'base_path' => :'String',
|
62
|
-
:'pulp_labels' => :'Object',
|
63
|
-
:'content_guard' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
66
66
|
}
|
@@ -90,28 +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?(:'pulp_labels')
|
94
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
95
95
|
end
|
96
96
|
|
97
|
-
if attributes.key?(:'
|
98
|
-
self.
|
97
|
+
if attributes.key?(:'content_guard')
|
98
|
+
self.content_guard = attributes[:'content_guard']
|
99
99
|
end
|
100
100
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
101
|
+
if attributes.key?(:'repository')
|
102
|
+
self.repository = attributes[:'repository']
|
103
103
|
end
|
104
104
|
|
105
105
|
if attributes.key?(:'base_path')
|
106
106
|
self.base_path = attributes[:'base_path']
|
107
107
|
end
|
108
108
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
109
|
+
if attributes.key?(:'repository_version')
|
110
|
+
self.repository_version = attributes[:'repository_version']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
113
|
+
if attributes.key?(:'name')
|
114
|
+
self.name = attributes[:'name']
|
115
115
|
end
|
116
116
|
|
117
117
|
if attributes.key?(:'private')
|
@@ -141,12 +141,12 @@ module PulpContainerClient
|
|
141
141
|
def ==(o)
|
142
142
|
return true if self.equal?(o)
|
143
143
|
self.class == o.class &&
|
144
|
+
pulp_labels == o.pulp_labels &&
|
145
|
+
content_guard == o.content_guard &&
|
144
146
|
repository == o.repository &&
|
147
|
+
base_path == o.base_path &&
|
145
148
|
repository_version == o.repository_version &&
|
146
149
|
name == o.name &&
|
147
|
-
base_path == o.base_path &&
|
148
|
-
pulp_labels == o.pulp_labels &&
|
149
|
-
content_guard == o.content_guard &&
|
150
150
|
private == o.private &&
|
151
151
|
description == o.description
|
152
152
|
end
|
@@ -160,7 +160,7 @@ module PulpContainerClient
|
|
160
160
|
# Calculates hash code according to all attributes.
|
161
161
|
# @return [Integer] Hash code
|
162
162
|
def hash
|
163
|
-
[
|
163
|
+
[pulp_labels, content_guard, repository, base_path, repository_version, name, private, description].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# Builds the object from hash
|
@@ -33,9 +33,15 @@ module PulpContainerClient
|
|
33
33
|
# If True, TLS peer validation must be performed.
|
34
34
|
attr_accessor :tls_validation
|
35
35
|
|
36
|
-
# The proxy URL. Format: scheme://
|
36
|
+
# The proxy URL. Format: scheme://host:port
|
37
37
|
attr_accessor :proxy_url
|
38
38
|
|
39
|
+
# The username to authenticte to the proxy.
|
40
|
+
attr_accessor :proxy_username
|
41
|
+
|
42
|
+
# The password to authenticte to the proxy.
|
43
|
+
attr_accessor :proxy_password
|
44
|
+
|
39
45
|
# The username to be used for authentication when syncing.
|
40
46
|
attr_accessor :username
|
41
47
|
|
@@ -62,6 +68,9 @@ module PulpContainerClient
|
|
62
68
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
63
69
|
attr_accessor :sock_read_timeout
|
64
70
|
|
71
|
+
# Headers for aiohttp.Clientsession
|
72
|
+
attr_accessor :headers
|
73
|
+
|
65
74
|
# Limits total download rate in requests per second
|
66
75
|
attr_accessor :rate_limit
|
67
76
|
|
@@ -84,6 +93,8 @@ module PulpContainerClient
|
|
84
93
|
:'client_key' => :'client_key',
|
85
94
|
:'tls_validation' => :'tls_validation',
|
86
95
|
:'proxy_url' => :'proxy_url',
|
96
|
+
:'proxy_username' => :'proxy_username',
|
97
|
+
:'proxy_password' => :'proxy_password',
|
87
98
|
:'username' => :'username',
|
88
99
|
:'password' => :'password',
|
89
100
|
:'pulp_labels' => :'pulp_labels',
|
@@ -93,6 +104,7 @@ module PulpContainerClient
|
|
93
104
|
:'connect_timeout' => :'connect_timeout',
|
94
105
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
95
106
|
:'sock_read_timeout' => :'sock_read_timeout',
|
107
|
+
:'headers' => :'headers',
|
96
108
|
:'rate_limit' => :'rate_limit',
|
97
109
|
:'upstream_name' => :'upstream_name',
|
98
110
|
:'include_tags' => :'include_tags',
|
@@ -110,6 +122,8 @@ module PulpContainerClient
|
|
110
122
|
:'client_key' => :'String',
|
111
123
|
:'tls_validation' => :'Boolean',
|
112
124
|
:'proxy_url' => :'String',
|
125
|
+
:'proxy_username' => :'String',
|
126
|
+
:'proxy_password' => :'String',
|
113
127
|
:'username' => :'String',
|
114
128
|
:'password' => :'String',
|
115
129
|
:'pulp_labels' => :'Object',
|
@@ -119,6 +133,7 @@ module PulpContainerClient
|
|
119
133
|
:'connect_timeout' => :'Float',
|
120
134
|
:'sock_connect_timeout' => :'Float',
|
121
135
|
:'sock_read_timeout' => :'Float',
|
136
|
+
:'headers' => :'Array<Object>',
|
122
137
|
:'rate_limit' => :'Integer',
|
123
138
|
:'upstream_name' => :'String',
|
124
139
|
:'include_tags' => :'Array<String>',
|
@@ -133,6 +148,8 @@ module PulpContainerClient
|
|
133
148
|
:'client_cert',
|
134
149
|
:'client_key',
|
135
150
|
:'proxy_url',
|
151
|
+
:'proxy_username',
|
152
|
+
:'proxy_password',
|
136
153
|
:'username',
|
137
154
|
:'password',
|
138
155
|
:'total_timeout',
|
@@ -188,6 +205,14 @@ module PulpContainerClient
|
|
188
205
|
self.proxy_url = attributes[:'proxy_url']
|
189
206
|
end
|
190
207
|
|
208
|
+
if attributes.key?(:'proxy_username')
|
209
|
+
self.proxy_username = attributes[:'proxy_username']
|
210
|
+
end
|
211
|
+
|
212
|
+
if attributes.key?(:'proxy_password')
|
213
|
+
self.proxy_password = attributes[:'proxy_password']
|
214
|
+
end
|
215
|
+
|
191
216
|
if attributes.key?(:'username')
|
192
217
|
self.username = attributes[:'username']
|
193
218
|
end
|
@@ -224,6 +249,12 @@ module PulpContainerClient
|
|
224
249
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
225
250
|
end
|
226
251
|
|
252
|
+
if attributes.key?(:'headers')
|
253
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
254
|
+
self.headers = value
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
227
258
|
if attributes.key?(:'rate_limit')
|
228
259
|
self.rate_limit = attributes[:'rate_limit']
|
229
260
|
end
|
@@ -345,6 +376,8 @@ module PulpContainerClient
|
|
345
376
|
client_key == o.client_key &&
|
346
377
|
tls_validation == o.tls_validation &&
|
347
378
|
proxy_url == o.proxy_url &&
|
379
|
+
proxy_username == o.proxy_username &&
|
380
|
+
proxy_password == o.proxy_password &&
|
348
381
|
username == o.username &&
|
349
382
|
password == o.password &&
|
350
383
|
pulp_labels == o.pulp_labels &&
|
@@ -354,6 +387,7 @@ module PulpContainerClient
|
|
354
387
|
connect_timeout == o.connect_timeout &&
|
355
388
|
sock_connect_timeout == o.sock_connect_timeout &&
|
356
389
|
sock_read_timeout == o.sock_read_timeout &&
|
390
|
+
headers == o.headers &&
|
357
391
|
rate_limit == o.rate_limit &&
|
358
392
|
upstream_name == o.upstream_name &&
|
359
393
|
include_tags == o.include_tags &&
|
@@ -369,7 +403,7 @@ module PulpContainerClient
|
|
369
403
|
# Calculates hash code according to all attributes.
|
370
404
|
# @return [Integer] Hash code
|
371
405
|
def hash
|
372
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit, upstream_name, include_tags, exclude_tags].hash
|
406
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, upstream_name, include_tags, exclude_tags].hash
|
373
407
|
end
|
374
408
|
|
375
409
|
# Builds the object from hash
|
@@ -32,25 +32,25 @@ describe 'ContainerContainerDistributionResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_created"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_labels"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "content_guard"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "repository"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
@@ -62,19 +62,19 @@ describe 'ContainerContainerDistributionResponse' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "repository_version"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "name"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "pulp_href"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|
@@ -32,19 +32,19 @@ describe 'ContainerContainerDistribution' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_labels"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "content_guard"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "repository"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
@@ -56,13 +56,13 @@ describe 'ContainerContainerDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "repository_version"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "name"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
@@ -128,6 +128,12 @@ describe 'ContainerContainerRemoteResponse' do
|
|
128
128
|
end
|
129
129
|
end
|
130
130
|
|
131
|
+
describe 'test attribute "headers"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
131
137
|
describe 'test attribute "rate_limit"' do
|
132
138
|
it 'should work' do
|
133
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -74,6 +74,18 @@ describe 'ContainerContainerRemote' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "proxy_username"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "proxy_password"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
77
89
|
describe 'test attribute "username"' do
|
78
90
|
it 'should work' do
|
79
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -128,6 +140,12 @@ describe 'ContainerContainerRemote' do
|
|
128
140
|
end
|
129
141
|
end
|
130
142
|
|
143
|
+
describe 'test attribute "headers"' do
|
144
|
+
it 'should work' do
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
131
149
|
describe 'test attribute "rate_limit"' do
|
132
150
|
it 'should work' do
|
133
151
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,19 +32,19 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerDistribution)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_labels"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "content_guard"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "repository"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
@@ -56,13 +56,13 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "repository_version"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "name"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
@@ -74,6 +74,18 @@ describe 'PatchedcontainerContainerRemote' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "proxy_username"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "proxy_password"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
77
89
|
describe 'test attribute "username"' do
|
78
90
|
it 'should work' do
|
79
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -128,6 +140,12 @@ describe 'PatchedcontainerContainerRemote' do
|
|
128
140
|
end
|
129
141
|
end
|
130
142
|
|
143
|
+
describe 'test attribute "headers"' do
|
144
|
+
it 'should work' do
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
131
149
|
describe 'test attribute "rate_limit"' do
|
132
150
|
it 'should work' do
|
133
151
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_container_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.0.
|
4
|
+
version: 2.4.0.dev1615000878
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|