pulp_python_client 3.1.0.dev01614223979 → 3.1.0.dev1615520595
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulp_python_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/PatchedpythonPythonRemote.md +7 -1
- data/docs/PythonPythonRemote.md +7 -1
- data/docs/PythonPythonRemoteResponse.md +3 -7
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +36 -2
- data/lib/pulp_python_client/models/python_python_remote.rb +36 -2
- data/lib/pulp_python_client/models/python_python_remote_response.rb +14 -35
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/models/patchedpython_python_remote_spec.rb +18 -0
- data/spec/models/python_python_remote_response_spec.rb +6 -18
- data/spec/models/python_python_remote_spec.rb +18 -0
- metadata +26 -26
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f4961de061717b964831edc273289a72ba5876daa4d6e71e342fe7643a81b4e
|
|
4
|
+
data.tar.gz: 90cd7cbd209418303bbb3fefd5a3c74485b5fc750ca813bcb32f35d8601fa341
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2bcd4c36ede77ed460fea267fca41e340a8f9dae7e8aacc6b3ca0c62bb7c107ea7c80975dc063cbe95983512cb6cc842f021a0dbe4adcf2eb2366f410f9607ae
|
|
7
|
+
data.tar.gz: ec3f84e12f9a3a3f81b366fdfd64ca57055aa6e9d59359afafb4be4695c024978dfcd8780d319130a8aa3ecbb245741c94f32cd815ede32576023075192ac7c0
|
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: 3.1.0.
|
|
10
|
+
- Package version: 3.1.0.dev1615520595
|
|
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_python_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_python_client-3.1.0.
|
|
27
|
+
gem install ./pulp_python_client-3.1.0.dev1615520595.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_python_client-3.1.0.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.1.0.dev1615520595.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_python_client', '~> 3.1.0.
|
|
36
|
+
gem 'pulp_python_client', '~> 3.1.0.dev1615520595'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -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
|
**includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
|
|
25
28
|
**excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
|
|
@@ -37,6 +40,8 @@ instance = PulpPythonClient::PatchedpythonPythonRemote.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 = PulpPythonClient::PatchedpythonPythonRemote.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
|
includes: null,
|
|
51
57
|
excludes: null,
|
data/docs/PythonPythonRemote.md
CHANGED
|
@@ -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
|
**includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
|
|
25
28
|
**excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
|
|
@@ -37,6 +40,8 @@ instance = PulpPythonClient::PythonPythonRemote.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 = PulpPythonClient::PythonPythonRemote.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
|
includes: null,
|
|
51
57
|
excludes: 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
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://
|
|
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]
|
|
14
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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]
|
|
@@ -23,6 +20,7 @@ Name | Type | Description | Notes
|
|
|
23
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
24
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
25
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
23
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
26
24
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
|
27
25
|
**includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
|
|
28
26
|
**excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
|
|
@@ -39,11 +37,8 @@ instance = PulpPythonClient::PythonPythonRemoteResponse.new(pulp_href: null,
|
|
|
39
37
|
url: null,
|
|
40
38
|
ca_cert: null,
|
|
41
39
|
client_cert: null,
|
|
42
|
-
client_key: null,
|
|
43
40
|
tls_validation: null,
|
|
44
41
|
proxy_url: null,
|
|
45
|
-
username: null,
|
|
46
|
-
password: null,
|
|
47
42
|
pulp_labels: null,
|
|
48
43
|
pulp_last_updated: null,
|
|
49
44
|
download_concurrency: null,
|
|
@@ -52,6 +47,7 @@ instance = PulpPythonClient::PythonPythonRemoteResponse.new(pulp_href: null,
|
|
|
52
47
|
connect_timeout: null,
|
|
53
48
|
sock_connect_timeout: null,
|
|
54
49
|
sock_read_timeout: null,
|
|
50
|
+
headers: null,
|
|
55
51
|
rate_limit: null,
|
|
56
52
|
includes: null,
|
|
57
53
|
excludes: null,
|
|
@@ -33,9 +33,15 @@ module PulpPythonClient
|
|
|
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 PulpPythonClient
|
|
|
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 PulpPythonClient
|
|
|
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 PulpPythonClient
|
|
|
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
|
:'includes' => :'includes',
|
|
98
110
|
:'excludes' => :'excludes',
|
|
@@ -110,6 +122,8 @@ module PulpPythonClient
|
|
|
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 PulpPythonClient
|
|
|
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
|
:'includes' => :'Object',
|
|
124
139
|
:'excludes' => :'Object',
|
|
@@ -133,6 +148,8 @@ module PulpPythonClient
|
|
|
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',
|
|
@@ -186,6 +203,14 @@ module PulpPythonClient
|
|
|
186
203
|
self.proxy_url = attributes[:'proxy_url']
|
|
187
204
|
end
|
|
188
205
|
|
|
206
|
+
if attributes.key?(:'proxy_username')
|
|
207
|
+
self.proxy_username = attributes[:'proxy_username']
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
if attributes.key?(:'proxy_password')
|
|
211
|
+
self.proxy_password = attributes[:'proxy_password']
|
|
212
|
+
end
|
|
213
|
+
|
|
189
214
|
if attributes.key?(:'username')
|
|
190
215
|
self.username = attributes[:'username']
|
|
191
216
|
end
|
|
@@ -222,6 +247,12 @@ module PulpPythonClient
|
|
|
222
247
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
|
223
248
|
end
|
|
224
249
|
|
|
250
|
+
if attributes.key?(:'headers')
|
|
251
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
|
252
|
+
self.headers = value
|
|
253
|
+
end
|
|
254
|
+
end
|
|
255
|
+
|
|
225
256
|
if attributes.key?(:'rate_limit')
|
|
226
257
|
self.rate_limit = attributes[:'rate_limit']
|
|
227
258
|
end
|
|
@@ -339,6 +370,8 @@ module PulpPythonClient
|
|
|
339
370
|
client_key == o.client_key &&
|
|
340
371
|
tls_validation == o.tls_validation &&
|
|
341
372
|
proxy_url == o.proxy_url &&
|
|
373
|
+
proxy_username == o.proxy_username &&
|
|
374
|
+
proxy_password == o.proxy_password &&
|
|
342
375
|
username == o.username &&
|
|
343
376
|
password == o.password &&
|
|
344
377
|
pulp_labels == o.pulp_labels &&
|
|
@@ -348,6 +381,7 @@ module PulpPythonClient
|
|
|
348
381
|
connect_timeout == o.connect_timeout &&
|
|
349
382
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
350
383
|
sock_read_timeout == o.sock_read_timeout &&
|
|
384
|
+
headers == o.headers &&
|
|
351
385
|
rate_limit == o.rate_limit &&
|
|
352
386
|
includes == o.includes &&
|
|
353
387
|
excludes == o.excludes &&
|
|
@@ -363,7 +397,7 @@ module PulpPythonClient
|
|
|
363
397
|
# Calculates hash code according to all attributes.
|
|
364
398
|
# @return [Integer] Hash code
|
|
365
399
|
def hash
|
|
366
|
-
[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, includes, excludes, prereleases].hash
|
|
400
|
+
[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, includes, excludes, prereleases].hash
|
|
367
401
|
end
|
|
368
402
|
|
|
369
403
|
# Builds the object from hash
|
|
@@ -33,9 +33,15 @@ module PulpPythonClient
|
|
|
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 PulpPythonClient
|
|
|
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 PulpPythonClient
|
|
|
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 PulpPythonClient
|
|
|
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
|
:'includes' => :'includes',
|
|
98
110
|
:'excludes' => :'excludes',
|
|
@@ -110,6 +122,8 @@ module PulpPythonClient
|
|
|
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 PulpPythonClient
|
|
|
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
|
:'includes' => :'Object',
|
|
124
139
|
:'excludes' => :'Object',
|
|
@@ -133,6 +148,8 @@ module PulpPythonClient
|
|
|
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',
|
|
@@ -186,6 +203,14 @@ module PulpPythonClient
|
|
|
186
203
|
self.proxy_url = attributes[:'proxy_url']
|
|
187
204
|
end
|
|
188
205
|
|
|
206
|
+
if attributes.key?(:'proxy_username')
|
|
207
|
+
self.proxy_username = attributes[:'proxy_username']
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
if attributes.key?(:'proxy_password')
|
|
211
|
+
self.proxy_password = attributes[:'proxy_password']
|
|
212
|
+
end
|
|
213
|
+
|
|
189
214
|
if attributes.key?(:'username')
|
|
190
215
|
self.username = attributes[:'username']
|
|
191
216
|
end
|
|
@@ -222,6 +247,12 @@ module PulpPythonClient
|
|
|
222
247
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
|
223
248
|
end
|
|
224
249
|
|
|
250
|
+
if attributes.key?(:'headers')
|
|
251
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
|
252
|
+
self.headers = value
|
|
253
|
+
end
|
|
254
|
+
end
|
|
255
|
+
|
|
225
256
|
if attributes.key?(:'rate_limit')
|
|
226
257
|
self.rate_limit = attributes[:'rate_limit']
|
|
227
258
|
end
|
|
@@ -349,6 +380,8 @@ module PulpPythonClient
|
|
|
349
380
|
client_key == o.client_key &&
|
|
350
381
|
tls_validation == o.tls_validation &&
|
|
351
382
|
proxy_url == o.proxy_url &&
|
|
383
|
+
proxy_username == o.proxy_username &&
|
|
384
|
+
proxy_password == o.proxy_password &&
|
|
352
385
|
username == o.username &&
|
|
353
386
|
password == o.password &&
|
|
354
387
|
pulp_labels == o.pulp_labels &&
|
|
@@ -358,6 +391,7 @@ module PulpPythonClient
|
|
|
358
391
|
connect_timeout == o.connect_timeout &&
|
|
359
392
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
360
393
|
sock_read_timeout == o.sock_read_timeout &&
|
|
394
|
+
headers == o.headers &&
|
|
361
395
|
rate_limit == o.rate_limit &&
|
|
362
396
|
includes == o.includes &&
|
|
363
397
|
excludes == o.excludes &&
|
|
@@ -373,7 +407,7 @@ module PulpPythonClient
|
|
|
373
407
|
# Calculates hash code according to all attributes.
|
|
374
408
|
# @return [Integer] Hash code
|
|
375
409
|
def hash
|
|
376
|
-
[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, includes, excludes, prereleases].hash
|
|
410
|
+
[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, includes, excludes, prereleases].hash
|
|
377
411
|
end
|
|
378
412
|
|
|
379
413
|
# Builds the object from hash
|
|
@@ -32,21 +32,12 @@ module PulpPythonClient
|
|
|
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
|
-
# The proxy URL. Format: scheme://
|
|
38
|
+
# The proxy URL. Format: scheme://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.
|
|
@@ -70,6 +61,9 @@ module PulpPythonClient
|
|
|
70
61
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
|
71
62
|
attr_accessor :sock_read_timeout
|
|
72
63
|
|
|
64
|
+
# Headers for aiohttp.Clientsession
|
|
65
|
+
attr_accessor :headers
|
|
66
|
+
|
|
73
67
|
# Limits total download rate in requests per second
|
|
74
68
|
attr_accessor :rate_limit
|
|
75
69
|
|
|
@@ -91,11 +85,8 @@ module PulpPythonClient
|
|
|
91
85
|
:'url' => :'url',
|
|
92
86
|
:'ca_cert' => :'ca_cert',
|
|
93
87
|
:'client_cert' => :'client_cert',
|
|
94
|
-
:'client_key' => :'client_key',
|
|
95
88
|
:'tls_validation' => :'tls_validation',
|
|
96
89
|
:'proxy_url' => :'proxy_url',
|
|
97
|
-
:'username' => :'username',
|
|
98
|
-
:'password' => :'password',
|
|
99
90
|
:'pulp_labels' => :'pulp_labels',
|
|
100
91
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
101
92
|
:'download_concurrency' => :'download_concurrency',
|
|
@@ -104,6 +95,7 @@ module PulpPythonClient
|
|
|
104
95
|
:'connect_timeout' => :'connect_timeout',
|
|
105
96
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
|
106
97
|
:'sock_read_timeout' => :'sock_read_timeout',
|
|
98
|
+
:'headers' => :'headers',
|
|
107
99
|
:'rate_limit' => :'rate_limit',
|
|
108
100
|
:'includes' => :'includes',
|
|
109
101
|
:'excludes' => :'excludes',
|
|
@@ -120,11 +112,8 @@ module PulpPythonClient
|
|
|
120
112
|
:'url' => :'String',
|
|
121
113
|
:'ca_cert' => :'String',
|
|
122
114
|
:'client_cert' => :'String',
|
|
123
|
-
:'client_key' => :'String',
|
|
124
115
|
:'tls_validation' => :'Boolean',
|
|
125
116
|
:'proxy_url' => :'String',
|
|
126
|
-
:'username' => :'String',
|
|
127
|
-
:'password' => :'String',
|
|
128
117
|
:'pulp_labels' => :'Object',
|
|
129
118
|
:'pulp_last_updated' => :'DateTime',
|
|
130
119
|
:'download_concurrency' => :'Integer',
|
|
@@ -133,6 +122,7 @@ module PulpPythonClient
|
|
|
133
122
|
:'connect_timeout' => :'Float',
|
|
134
123
|
:'sock_connect_timeout' => :'Float',
|
|
135
124
|
:'sock_read_timeout' => :'Float',
|
|
125
|
+
:'headers' => :'Array<Object>',
|
|
136
126
|
:'rate_limit' => :'Integer',
|
|
137
127
|
:'includes' => :'Object',
|
|
138
128
|
:'excludes' => :'Object',
|
|
@@ -145,10 +135,7 @@ module PulpPythonClient
|
|
|
145
135
|
Set.new([
|
|
146
136
|
:'ca_cert',
|
|
147
137
|
:'client_cert',
|
|
148
|
-
:'client_key',
|
|
149
138
|
:'proxy_url',
|
|
150
|
-
:'username',
|
|
151
|
-
:'password',
|
|
152
139
|
:'total_timeout',
|
|
153
140
|
:'connect_timeout',
|
|
154
141
|
:'sock_connect_timeout',
|
|
@@ -196,10 +183,6 @@ module PulpPythonClient
|
|
|
196
183
|
self.client_cert = attributes[:'client_cert']
|
|
197
184
|
end
|
|
198
185
|
|
|
199
|
-
if attributes.key?(:'client_key')
|
|
200
|
-
self.client_key = attributes[:'client_key']
|
|
201
|
-
end
|
|
202
|
-
|
|
203
186
|
if attributes.key?(:'tls_validation')
|
|
204
187
|
self.tls_validation = attributes[:'tls_validation']
|
|
205
188
|
end
|
|
@@ -208,14 +191,6 @@ module PulpPythonClient
|
|
|
208
191
|
self.proxy_url = attributes[:'proxy_url']
|
|
209
192
|
end
|
|
210
193
|
|
|
211
|
-
if attributes.key?(:'username')
|
|
212
|
-
self.username = attributes[:'username']
|
|
213
|
-
end
|
|
214
|
-
|
|
215
|
-
if attributes.key?(:'password')
|
|
216
|
-
self.password = attributes[:'password']
|
|
217
|
-
end
|
|
218
|
-
|
|
219
194
|
if attributes.key?(:'pulp_labels')
|
|
220
195
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
221
196
|
end
|
|
@@ -248,6 +223,12 @@ module PulpPythonClient
|
|
|
248
223
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
|
249
224
|
end
|
|
250
225
|
|
|
226
|
+
if attributes.key?(:'headers')
|
|
227
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
|
228
|
+
self.headers = value
|
|
229
|
+
end
|
|
230
|
+
end
|
|
231
|
+
|
|
251
232
|
if attributes.key?(:'rate_limit')
|
|
252
233
|
self.rate_limit = attributes[:'rate_limit']
|
|
253
234
|
end
|
|
@@ -374,11 +355,8 @@ module PulpPythonClient
|
|
|
374
355
|
url == o.url &&
|
|
375
356
|
ca_cert == o.ca_cert &&
|
|
376
357
|
client_cert == o.client_cert &&
|
|
377
|
-
client_key == o.client_key &&
|
|
378
358
|
tls_validation == o.tls_validation &&
|
|
379
359
|
proxy_url == o.proxy_url &&
|
|
380
|
-
username == o.username &&
|
|
381
|
-
password == o.password &&
|
|
382
360
|
pulp_labels == o.pulp_labels &&
|
|
383
361
|
pulp_last_updated == o.pulp_last_updated &&
|
|
384
362
|
download_concurrency == o.download_concurrency &&
|
|
@@ -387,6 +365,7 @@ module PulpPythonClient
|
|
|
387
365
|
connect_timeout == o.connect_timeout &&
|
|
388
366
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
389
367
|
sock_read_timeout == o.sock_read_timeout &&
|
|
368
|
+
headers == o.headers &&
|
|
390
369
|
rate_limit == o.rate_limit &&
|
|
391
370
|
includes == o.includes &&
|
|
392
371
|
excludes == o.excludes &&
|
|
@@ -402,7 +381,7 @@ module PulpPythonClient
|
|
|
402
381
|
# Calculates hash code according to all attributes.
|
|
403
382
|
# @return [Integer] Hash code
|
|
404
383
|
def hash
|
|
405
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert,
|
|
384
|
+
[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, includes, excludes, prereleases].hash
|
|
406
385
|
end
|
|
407
386
|
|
|
408
387
|
# Builds the object from hash
|
|
@@ -74,6 +74,18 @@ describe 'PatchedpythonPythonRemote' 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 'PatchedpythonPythonRemote' 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
|
|
@@ -68,12 +68,6 @@ describe 'PythonPythonRemoteResponse' 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 'PythonPythonRemoteResponse' 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
|
|
@@ -146,6 +128,12 @@ describe 'PythonPythonRemoteResponse' do
|
|
|
146
128
|
end
|
|
147
129
|
end
|
|
148
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
|
+
|
|
149
137
|
describe 'test attribute "rate_limit"' do
|
|
150
138
|
it 'should work' do
|
|
151
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -74,6 +74,18 @@ describe 'PythonPythonRemote' 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 'PythonPythonRemote' 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_python_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.0.
|
|
4
|
+
version: 3.1.0.dev1615520595
|
|
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-
|
|
11
|
+
date: 2021-03-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -210,40 +210,40 @@ signing_key:
|
|
|
210
210
|
specification_version: 4
|
|
211
211
|
summary: Pulp 3 API Ruby Gem
|
|
212
212
|
test_files:
|
|
213
|
-
- spec/api/
|
|
213
|
+
- spec/api/repositories_python_versions_api_spec.rb
|
|
214
|
+
- spec/api/distributions_pypi_api_spec.rb
|
|
214
215
|
- spec/api/content_packages_api_spec.rb
|
|
216
|
+
- spec/api/publications_pypi_api_spec.rb
|
|
215
217
|
- spec/api/remotes_python_api_spec.rb
|
|
216
|
-
- spec/api/repositories_python_versions_api_spec.rb
|
|
217
218
|
- spec/api/repositories_python_api_spec.rb
|
|
218
|
-
- spec/api/distributions_pypi_api_spec.rb
|
|
219
219
|
- spec/api_client_spec.rb
|
|
220
220
|
- spec/configuration_spec.rb
|
|
221
|
-
- spec/models/
|
|
222
|
-
- spec/models/repository_version_spec.rb
|
|
223
|
-
- spec/models/repository_version_response_spec.rb
|
|
224
|
-
- spec/models/async_operation_response_spec.rb
|
|
225
|
-
- spec/models/content_summary_response_spec.rb
|
|
226
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
221
|
+
- spec/models/python_python_distribution_response_spec.rb
|
|
227
222
|
- spec/models/content_summary_spec.rb
|
|
228
|
-
- spec/models/
|
|
229
|
-
- spec/models/
|
|
230
|
-
- spec/models/python_python_remote_spec.rb
|
|
223
|
+
- spec/models/async_operation_response_spec.rb
|
|
224
|
+
- spec/models/patchedpython_python_remote_spec.rb
|
|
231
225
|
- spec/models/python_bander_remote_spec.rb
|
|
232
|
-
- spec/models/
|
|
233
|
-
- spec/models/
|
|
234
|
-
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
|
235
|
-
- spec/models/python_python_distribution_response_spec.rb
|
|
236
|
-
- spec/models/patchedpython_python_repository_spec.rb
|
|
226
|
+
- spec/models/python_python_package_content_response_spec.rb
|
|
227
|
+
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
|
237
228
|
- spec/models/python_python_remote_response_spec.rb
|
|
238
|
-
- spec/models/
|
|
239
|
-
- spec/models/
|
|
229
|
+
- spec/models/python_python_publication_response_spec.rb
|
|
230
|
+
- spec/models/python_python_publication_spec.rb
|
|
231
|
+
- spec/models/policy_enum_spec.rb
|
|
232
|
+
- spec/models/content_summary_response_spec.rb
|
|
240
233
|
- spec/models/python_python_repository_spec.rb
|
|
241
|
-
- spec/models/
|
|
234
|
+
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
|
235
|
+
- spec/models/repository_version_spec.rb
|
|
242
236
|
- spec/models/python_python_distribution_spec.rb
|
|
243
|
-
- spec/models/
|
|
244
|
-
- spec/models/
|
|
245
|
-
- spec/models/patchedpython_python_remote_spec.rb
|
|
246
|
-
- spec/models/python_python_repository_response_spec.rb
|
|
237
|
+
- spec/models/python_python_remote_spec.rb
|
|
238
|
+
- spec/models/patchedpython_python_distribution_spec.rb
|
|
247
239
|
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
|
240
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
241
|
+
- spec/models/repository_add_remove_content_spec.rb
|
|
242
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
|
243
|
+
- spec/models/repository_version_response_spec.rb
|
|
244
|
+
- spec/models/repository_sync_url_spec.rb
|
|
245
|
+
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
|
246
|
+
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
|
248
247
|
- spec/models/python_python_package_content_spec.rb
|
|
248
|
+
- spec/models/python_python_repository_response_spec.rb
|
|
249
249
|
- spec/spec_helper.rb
|