pulp_container_client 2.4.0.dev1614741644 → 2.4.0.dev1614828140
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 +5 -5
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerRemoteResponse.md +0 -6
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +23 -23
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -34
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +18 -18
- 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_remote_response_spec.rb +0 -18
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- 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: 7302dbd3a11fc63235e7b75acbd3262de1fe1746beaf3e1b3a4b616ce9964fa6
|
4
|
+
data.tar.gz: cb97e2dba406fb7871f8461a456068bd627954e9f351e04d18881db564cd8355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0ccebcd1804ffa1e311787b5a3cfcc420cab7085ec028057ce650dc43e5097af88b9279aa0c7d3a728097b30fd32705a5dc00c193a5050d220ae061a93d9719
|
7
|
+
data.tar.gz: 299bc65e86a438974f14f3abeeb4df361b94c57c0411fe06de3d8d96d2aa0e781a57cd769acb61d04ecb149a6d2d1fe922a86b6c1bb01b04b90dff91559c0147
|
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.dev1614828140
|
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.dev1614828140.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.dev1614828140.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.dev1614828140'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
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\") |
|
8
7
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
9
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
10
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
11
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
|
-
**
|
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
|
**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(
|
22
|
-
repository_version: null,
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(repository_version: null,
|
23
22
|
name: null,
|
23
|
+
content_guard: null,
|
24
24
|
pulp_labels: null,
|
25
25
|
repository: null,
|
26
|
-
|
26
|
+
base_path: 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
|
-
**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
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
10
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
14
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
14
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [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_created: null,
|
27
|
-
repository_version: null,
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository_version: null,
|
28
26
|
name: null,
|
29
|
-
pulp_labels: null,
|
30
|
-
repository: null,
|
31
27
|
content_guard: null,
|
28
|
+
pulp_labels: null,
|
32
29
|
pulp_href: null,
|
30
|
+
repository: null,
|
31
|
+
base_path: null,
|
32
|
+
pulp_created: null,
|
33
33
|
registry_path: null,
|
34
34
|
namespace: null,
|
35
35
|
private: null,
|
@@ -10,11 +10,8 @@ Name | Type | Description | Notes
|
|
10
10
|
**url** | **String** | The URL of an external content source. |
|
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
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
14
13
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
15
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
20
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
@@ -39,11 +36,8 @@ instance = PulpContainerClient::ContainerContainerRemoteResponse.new(pulp_href:
|
|
39
36
|
url: null,
|
40
37
|
ca_cert: null,
|
41
38
|
client_cert: null,
|
42
|
-
client_key: null,
|
43
39
|
tls_validation: null,
|
44
40
|
proxy_url: null,
|
45
|
-
username: null,
|
46
|
-
password: null,
|
47
41
|
pulp_labels: null,
|
48
42
|
pulp_last_updated: null,
|
49
43
|
download_concurrency: null,
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
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]
|
8
7
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
9
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
10
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
11
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
|
-
**
|
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
|
**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(
|
22
|
-
repository_version: null,
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository_version: null,
|
23
22
|
name: null,
|
23
|
+
content_guard: null,
|
24
24
|
pulp_labels: null,
|
25
25
|
repository: null,
|
26
|
-
|
26
|
+
base_path: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
29
29
|
```
|
@@ -15,22 +15,22 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
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
|
-
|
21
18
|
# RepositoryVersion to be served
|
22
19
|
attr_accessor :repository_version
|
23
20
|
|
24
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
22
|
attr_accessor :name
|
26
23
|
|
24
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
25
|
+
attr_accessor :content_guard
|
26
|
+
|
27
27
|
attr_accessor :pulp_labels
|
28
28
|
|
29
29
|
# The latest RepositoryVersion for this Repository will be served.
|
30
30
|
attr_accessor :repository
|
31
31
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
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
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
36
36
|
attr_accessor :private
|
@@ -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
|
-
:'base_path' => :'base_path',
|
45
44
|
:'repository_version' => :'repository_version',
|
46
45
|
:'name' => :'name',
|
46
|
+
:'content_guard' => :'content_guard',
|
47
47
|
:'pulp_labels' => :'pulp_labels',
|
48
48
|
:'repository' => :'repository',
|
49
|
-
:'
|
49
|
+
:'base_path' => :'base_path',
|
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
|
-
:'base_path' => :'String',
|
59
58
|
:'repository_version' => :'String',
|
60
59
|
:'name' => :'String',
|
60
|
+
:'content_guard' => :'String',
|
61
61
|
:'pulp_labels' => :'Object',
|
62
62
|
:'repository' => :'String',
|
63
|
-
:'
|
63
|
+
:'base_path' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
66
66
|
}
|
@@ -90,10 +90,6 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'base_path')
|
94
|
-
self.base_path = attributes[:'base_path']
|
95
|
-
end
|
96
|
-
|
97
93
|
if attributes.key?(:'repository_version')
|
98
94
|
self.repository_version = attributes[:'repository_version']
|
99
95
|
end
|
@@ -102,6 +98,10 @@ module PulpContainerClient
|
|
102
98
|
self.name = attributes[:'name']
|
103
99
|
end
|
104
100
|
|
101
|
+
if attributes.key?(:'content_guard')
|
102
|
+
self.content_guard = attributes[:'content_guard']
|
103
|
+
end
|
104
|
+
|
105
105
|
if attributes.key?(:'pulp_labels')
|
106
106
|
self.pulp_labels = attributes[:'pulp_labels']
|
107
107
|
end
|
@@ -110,8 +110,8 @@ module PulpContainerClient
|
|
110
110
|
self.repository = attributes[:'repository']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
113
|
+
if attributes.key?(:'base_path')
|
114
|
+
self.base_path = attributes[:'base_path']
|
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 @base_path.nil?
|
131
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
132
|
-
end
|
133
|
-
|
134
130
|
if @name.nil?
|
135
131
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
136
132
|
end
|
137
133
|
|
134
|
+
if @base_path.nil?
|
135
|
+
invalid_properties.push('invalid value for "base_path", base_path 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 @base_path.nil?
|
145
144
|
return false if @name.nil?
|
145
|
+
return false if @base_path.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
|
-
base_path == o.base_path &&
|
155
154
|
repository_version == o.repository_version &&
|
156
155
|
name == o.name &&
|
156
|
+
content_guard == o.content_guard &&
|
157
157
|
pulp_labels == o.pulp_labels &&
|
158
158
|
repository == o.repository &&
|
159
|
-
|
159
|
+
base_path == o.base_path &&
|
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
|
+
[repository_version, name, content_guard, pulp_labels, repository, base_path, private, description].hash
|
174
174
|
end
|
175
175
|
|
176
176
|
# Builds the object from hash
|
@@ -15,27 +15,27 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
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
|
-
|
21
|
-
# Timestamp of creation.
|
22
|
-
attr_accessor :pulp_created
|
23
|
-
|
24
18
|
# RepositoryVersion to be served
|
25
19
|
attr_accessor :repository_version
|
26
20
|
|
27
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
28
22
|
attr_accessor :name
|
29
23
|
|
24
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
25
|
+
attr_accessor :content_guard
|
26
|
+
|
30
27
|
attr_accessor :pulp_labels
|
31
28
|
|
29
|
+
attr_accessor :pulp_href
|
30
|
+
|
32
31
|
# The latest RepositoryVersion for this Repository will be served.
|
33
32
|
attr_accessor :repository
|
34
33
|
|
35
|
-
#
|
36
|
-
attr_accessor :
|
34
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
35
|
+
attr_accessor :base_path
|
37
36
|
|
38
|
-
|
37
|
+
# Timestamp of creation.
|
38
|
+
attr_accessor :pulp_created
|
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
|
-
:'base_path' => :'base_path',
|
56
|
-
:'pulp_created' => :'pulp_created',
|
57
55
|
:'repository_version' => :'repository_version',
|
58
56
|
:'name' => :'name',
|
59
|
-
:'pulp_labels' => :'pulp_labels',
|
60
|
-
:'repository' => :'repository',
|
61
57
|
:'content_guard' => :'content_guard',
|
58
|
+
:'pulp_labels' => :'pulp_labels',
|
62
59
|
:'pulp_href' => :'pulp_href',
|
60
|
+
:'repository' => :'repository',
|
61
|
+
:'base_path' => :'base_path',
|
62
|
+
:'pulp_created' => :'pulp_created',
|
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
|
-
:'base_path' => :'String',
|
74
|
-
:'pulp_created' => :'DateTime',
|
75
73
|
:'repository_version' => :'String',
|
76
74
|
:'name' => :'String',
|
77
|
-
:'pulp_labels' => :'Object',
|
78
|
-
:'repository' => :'String',
|
79
75
|
:'content_guard' => :'String',
|
76
|
+
:'pulp_labels' => :'Object',
|
80
77
|
:'pulp_href' => :'String',
|
78
|
+
:'repository' => :'String',
|
79
|
+
:'base_path' => :'String',
|
80
|
+
:'pulp_created' => :'DateTime',
|
81
81
|
:'registry_path' => :'String',
|
82
82
|
:'namespace' => :'String',
|
83
83
|
:'private' => :'Boolean',
|
@@ -109,14 +109,6 @@ module PulpContainerClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
-
if attributes.key?(:'base_path')
|
113
|
-
self.base_path = attributes[:'base_path']
|
114
|
-
end
|
115
|
-
|
116
|
-
if attributes.key?(:'pulp_created')
|
117
|
-
self.pulp_created = attributes[:'pulp_created']
|
118
|
-
end
|
119
|
-
|
120
112
|
if attributes.key?(:'repository_version')
|
121
113
|
self.repository_version = attributes[:'repository_version']
|
122
114
|
end
|
@@ -125,20 +117,28 @@ module PulpContainerClient
|
|
125
117
|
self.name = attributes[:'name']
|
126
118
|
end
|
127
119
|
|
120
|
+
if attributes.key?(:'content_guard')
|
121
|
+
self.content_guard = attributes[:'content_guard']
|
122
|
+
end
|
123
|
+
|
128
124
|
if attributes.key?(:'pulp_labels')
|
129
125
|
self.pulp_labels = attributes[:'pulp_labels']
|
130
126
|
end
|
131
127
|
|
128
|
+
if attributes.key?(:'pulp_href')
|
129
|
+
self.pulp_href = attributes[:'pulp_href']
|
130
|
+
end
|
131
|
+
|
132
132
|
if attributes.key?(:'repository')
|
133
133
|
self.repository = attributes[:'repository']
|
134
134
|
end
|
135
135
|
|
136
|
-
if attributes.key?(:'
|
137
|
-
self.
|
136
|
+
if attributes.key?(:'base_path')
|
137
|
+
self.base_path = attributes[:'base_path']
|
138
138
|
end
|
139
139
|
|
140
|
-
if attributes.key?(:'
|
141
|
-
self.
|
140
|
+
if attributes.key?(:'pulp_created')
|
141
|
+
self.pulp_created = attributes[:'pulp_created']
|
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 @base_path.nil?
|
166
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
167
|
-
end
|
168
|
-
|
169
165
|
if @name.nil?
|
170
166
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
171
167
|
end
|
172
168
|
|
169
|
+
if @base_path.nil?
|
170
|
+
invalid_properties.push('invalid value for "base_path", base_path 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 @base_path.nil?
|
180
179
|
return false if @name.nil?
|
180
|
+
return false if @base_path.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
|
-
base_path == o.base_path &&
|
190
|
-
pulp_created == o.pulp_created &&
|
191
189
|
repository_version == o.repository_version &&
|
192
190
|
name == o.name &&
|
193
|
-
pulp_labels == o.pulp_labels &&
|
194
|
-
repository == o.repository &&
|
195
191
|
content_guard == o.content_guard &&
|
192
|
+
pulp_labels == o.pulp_labels &&
|
196
193
|
pulp_href == o.pulp_href &&
|
194
|
+
repository == o.repository &&
|
195
|
+
base_path == o.base_path &&
|
196
|
+
pulp_created == o.pulp_created &&
|
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
|
+
[repository_version, name, content_guard, pulp_labels, pulp_href, repository, base_path, pulp_created, registry_path, namespace, private, description].hash
|
213
213
|
end
|
214
214
|
|
215
215
|
# Builds the object from hash
|
@@ -32,21 +32,12 @@ module PulpContainerClient
|
|
32
32
|
# A PEM encoded client certificate used for authentication.
|
33
33
|
attr_accessor :client_cert
|
34
34
|
|
35
|
-
# A PEM encoded private key used for authentication.
|
36
|
-
attr_accessor :client_key
|
37
|
-
|
38
35
|
# If True, TLS peer validation must be performed.
|
39
36
|
attr_accessor :tls_validation
|
40
37
|
|
41
38
|
# The proxy URL. Format: scheme://user:password@host:port
|
42
39
|
attr_accessor :proxy_url
|
43
40
|
|
44
|
-
# The username to be used for authentication when syncing.
|
45
|
-
attr_accessor :username
|
46
|
-
|
47
|
-
# The password to be used for authentication when syncing.
|
48
|
-
attr_accessor :password
|
49
|
-
|
50
41
|
attr_accessor :pulp_labels
|
51
42
|
|
52
43
|
# Timestamp of the most recent update of the remote.
|
@@ -91,11 +82,8 @@ module PulpContainerClient
|
|
91
82
|
:'url' => :'url',
|
92
83
|
:'ca_cert' => :'ca_cert',
|
93
84
|
:'client_cert' => :'client_cert',
|
94
|
-
:'client_key' => :'client_key',
|
95
85
|
:'tls_validation' => :'tls_validation',
|
96
86
|
:'proxy_url' => :'proxy_url',
|
97
|
-
:'username' => :'username',
|
98
|
-
:'password' => :'password',
|
99
87
|
:'pulp_labels' => :'pulp_labels',
|
100
88
|
:'pulp_last_updated' => :'pulp_last_updated',
|
101
89
|
:'download_concurrency' => :'download_concurrency',
|
@@ -120,11 +108,8 @@ module PulpContainerClient
|
|
120
108
|
:'url' => :'String',
|
121
109
|
:'ca_cert' => :'String',
|
122
110
|
:'client_cert' => :'String',
|
123
|
-
:'client_key' => :'String',
|
124
111
|
:'tls_validation' => :'Boolean',
|
125
112
|
:'proxy_url' => :'String',
|
126
|
-
:'username' => :'String',
|
127
|
-
:'password' => :'String',
|
128
113
|
:'pulp_labels' => :'Object',
|
129
114
|
:'pulp_last_updated' => :'DateTime',
|
130
115
|
:'download_concurrency' => :'Integer',
|
@@ -145,10 +130,7 @@ module PulpContainerClient
|
|
145
130
|
Set.new([
|
146
131
|
:'ca_cert',
|
147
132
|
:'client_cert',
|
148
|
-
:'client_key',
|
149
133
|
:'proxy_url',
|
150
|
-
:'username',
|
151
|
-
:'password',
|
152
134
|
:'total_timeout',
|
153
135
|
:'connect_timeout',
|
154
136
|
:'sock_connect_timeout',
|
@@ -198,10 +180,6 @@ module PulpContainerClient
|
|
198
180
|
self.client_cert = attributes[:'client_cert']
|
199
181
|
end
|
200
182
|
|
201
|
-
if attributes.key?(:'client_key')
|
202
|
-
self.client_key = attributes[:'client_key']
|
203
|
-
end
|
204
|
-
|
205
183
|
if attributes.key?(:'tls_validation')
|
206
184
|
self.tls_validation = attributes[:'tls_validation']
|
207
185
|
end
|
@@ -210,14 +188,6 @@ module PulpContainerClient
|
|
210
188
|
self.proxy_url = attributes[:'proxy_url']
|
211
189
|
end
|
212
190
|
|
213
|
-
if attributes.key?(:'username')
|
214
|
-
self.username = attributes[:'username']
|
215
|
-
end
|
216
|
-
|
217
|
-
if attributes.key?(:'password')
|
218
|
-
self.password = attributes[:'password']
|
219
|
-
end
|
220
|
-
|
221
191
|
if attributes.key?(:'pulp_labels')
|
222
192
|
self.pulp_labels = attributes[:'pulp_labels']
|
223
193
|
end
|
@@ -385,11 +355,8 @@ module PulpContainerClient
|
|
385
355
|
url == o.url &&
|
386
356
|
ca_cert == o.ca_cert &&
|
387
357
|
client_cert == o.client_cert &&
|
388
|
-
client_key == o.client_key &&
|
389
358
|
tls_validation == o.tls_validation &&
|
390
359
|
proxy_url == o.proxy_url &&
|
391
|
-
username == o.username &&
|
392
|
-
password == o.password &&
|
393
360
|
pulp_labels == o.pulp_labels &&
|
394
361
|
pulp_last_updated == o.pulp_last_updated &&
|
395
362
|
download_concurrency == o.download_concurrency &&
|
@@ -413,7 +380,7 @@ module PulpContainerClient
|
|
413
380
|
# Calculates hash code according to all attributes.
|
414
381
|
# @return [Integer] Hash code
|
415
382
|
def hash
|
416
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert,
|
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
|
417
384
|
end
|
418
385
|
|
419
386
|
# Builds the object from hash
|
@@ -15,22 +15,22 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
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
|
-
|
21
18
|
# RepositoryVersion to be served
|
22
19
|
attr_accessor :repository_version
|
23
20
|
|
24
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
22
|
attr_accessor :name
|
26
23
|
|
24
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
25
|
+
attr_accessor :content_guard
|
26
|
+
|
27
27
|
attr_accessor :pulp_labels
|
28
28
|
|
29
29
|
# The latest RepositoryVersion for this Repository will be served.
|
30
30
|
attr_accessor :repository
|
31
31
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
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
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
36
36
|
attr_accessor :private
|
@@ -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
|
-
:'base_path' => :'base_path',
|
45
44
|
:'repository_version' => :'repository_version',
|
46
45
|
:'name' => :'name',
|
46
|
+
:'content_guard' => :'content_guard',
|
47
47
|
:'pulp_labels' => :'pulp_labels',
|
48
48
|
:'repository' => :'repository',
|
49
|
-
:'
|
49
|
+
:'base_path' => :'base_path',
|
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
|
-
:'base_path' => :'String',
|
59
58
|
:'repository_version' => :'String',
|
60
59
|
:'name' => :'String',
|
60
|
+
:'content_guard' => :'String',
|
61
61
|
:'pulp_labels' => :'Object',
|
62
62
|
:'repository' => :'String',
|
63
|
-
:'
|
63
|
+
:'base_path' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
66
66
|
}
|
@@ -90,10 +90,6 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'base_path')
|
94
|
-
self.base_path = attributes[:'base_path']
|
95
|
-
end
|
96
|
-
|
97
93
|
if attributes.key?(:'repository_version')
|
98
94
|
self.repository_version = attributes[:'repository_version']
|
99
95
|
end
|
@@ -102,6 +98,10 @@ module PulpContainerClient
|
|
102
98
|
self.name = attributes[:'name']
|
103
99
|
end
|
104
100
|
|
101
|
+
if attributes.key?(:'content_guard')
|
102
|
+
self.content_guard = attributes[:'content_guard']
|
103
|
+
end
|
104
|
+
|
105
105
|
if attributes.key?(:'pulp_labels')
|
106
106
|
self.pulp_labels = attributes[:'pulp_labels']
|
107
107
|
end
|
@@ -110,8 +110,8 @@ module PulpContainerClient
|
|
110
110
|
self.repository = attributes[:'repository']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
113
|
+
if attributes.key?(:'base_path')
|
114
|
+
self.base_path = attributes[:'base_path']
|
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
|
-
base_path == o.base_path &&
|
145
144
|
repository_version == o.repository_version &&
|
146
145
|
name == o.name &&
|
146
|
+
content_guard == o.content_guard &&
|
147
147
|
pulp_labels == o.pulp_labels &&
|
148
148
|
repository == o.repository &&
|
149
|
-
|
149
|
+
base_path == o.base_path &&
|
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
|
+
[repository_version, name, content_guard, pulp_labels, repository, base_path, private, description].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# Builds the object from hash
|
@@ -32,31 +32,31 @@ 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 "repository_version"' 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 "name"' 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 "pulp_labels"' 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
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "pulp_href"' 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
|
@@ -68,13 +68,13 @@ describe 'ContainerContainerDistributionResponse' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "base_path"' 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_created"' 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 "repository_version"' 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 "name"' 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
|
@@ -62,7 +62,7 @@ describe 'ContainerContainerDistribution' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "base_path"' 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
|
@@ -68,12 +68,6 @@ describe 'ContainerContainerRemoteResponse' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "client_key"' do
|
72
|
-
it 'should work' do
|
73
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
71
|
describe 'test attribute "tls_validation"' do
|
78
72
|
it 'should work' do
|
79
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,18 +80,6 @@ describe 'ContainerContainerRemoteResponse' do
|
|
86
80
|
end
|
87
81
|
end
|
88
82
|
|
89
|
-
describe 'test attribute "username"' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
describe 'test attribute "password"' do
|
96
|
-
it 'should work' do
|
97
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
83
|
describe 'test attribute "pulp_labels"' do
|
102
84
|
it 'should work' do
|
103
85
|
# 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 "repository_version"' 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 "name"' 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
|
@@ -62,7 +62,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "base_path"' 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
|
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.dev1614828140
|
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-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|