pulp_npm_client 0.1.0a2 → 0.1.0a3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentPackagesApi.md +10 -10
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/DistributionsNpmApi.md +20 -12
- data/docs/NpmNpmDistribution.md +2 -0
- data/docs/NpmNpmDistributionResponse.md +2 -0
- data/docs/NpmNpmRemote.md +20 -2
- data/docs/NpmNpmRemoteResponse.md +16 -8
- data/docs/NpmNpmRepository.md +3 -1
- data/docs/NpmNpmRepositoryResponse.md +2 -0
- data/docs/PatchednpmNpmDistribution.md +2 -0
- data/docs/PatchednpmNpmRemote.md +20 -2
- data/docs/PatchednpmNpmRepository.md +3 -1
- data/docs/RemotesNpmApi.md +24 -16
- data/docs/RepositoriesNpmApi.md +12 -4
- data/docs/RepositoriesNpmVersionsApi.md +30 -30
- data/lib/pulp_npm_client/api/content_packages_api.rb +11 -11
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +26 -14
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +30 -18
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +17 -5
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +34 -34
- data/lib/pulp_npm_client/models/content_summary.rb +12 -6
- data/lib/pulp_npm_client/models/content_summary_response.rb +12 -6
- data/lib/pulp_npm_client/models/npm_npm_distribution.rb +10 -1
- data/lib/pulp_npm_client/models/npm_npm_distribution_response.rb +10 -1
- data/lib/pulp_npm_client/models/npm_npm_remote.rb +163 -5
- data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +138 -35
- data/lib/pulp_npm_client/models/npm_npm_repository.rb +10 -1
- data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +10 -1
- data/lib/pulp_npm_client/models/patchednpm_npm_distribution.rb +10 -1
- data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +163 -5
- data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +10 -1
- data/lib/pulp_npm_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +5 -5
- data/spec/api/distributions_npm_api_spec.rb +10 -6
- data/spec/api/remotes_npm_api_spec.rb +12 -8
- data/spec/api/repositories_npm_api_spec.rb +6 -2
- data/spec/api/repositories_npm_versions_api_spec.rb +16 -16
- data/spec/models/npm_npm_distribution_response_spec.rb +6 -0
- data/spec/models/npm_npm_distribution_spec.rb +6 -0
- data/spec/models/npm_npm_remote_response_spec.rb +32 -8
- data/spec/models/npm_npm_remote_spec.rb +54 -0
- data/spec/models/npm_npm_repository_response_spec.rb +6 -0
- data/spec/models/npm_npm_repository_spec.rb +6 -0
- data/spec/models/patchednpm_npm_distribution_spec.rb +6 -0
- data/spec/models/patchednpm_npm_remote_spec.rb +54 -0
- data/spec/models/patchednpm_npm_repository_spec.rb +6 -0
- metadata +23 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b48ba81fad0df623bb9c71e911fa991507ab37efd20eb1fa3c8a50120ca1dbf2
|
4
|
+
data.tar.gz: 10bb18d180432d13223033bbe05a28a82d8bb59d2a208b027d9fd032c67c9283
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3419837e87bd025f2b2edf53a31cfeb5c60de8826bd522f592182804b47fce92bb67c29abf4d7e911b0ad0a9506df5f7e5a5e4d0111041e937d72a392f60192
|
7
|
+
data.tar.gz: 83f38119ba240397ac8abdb5378bbb35952ebf4b8175a5125d4124b3e7b153f4ecfe3327c37b41667456286bf3916bc492df7e9f6a97ac5a51a02114c5577923
|
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: 0.1.
|
10
|
+
- Package version: 0.1.0a3
|
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_npm_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_npm_client-0.1.
|
27
|
+
gem install ./pulp_npm_client-0.1.0a3.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_npm_client-0.1.
|
30
|
+
(for development, run `gem install --dev ./pulp_npm_client-0.1.0a3.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_npm_client', '~> 0.1.
|
36
|
+
gem 'pulp_npm_client', '~> 0.1.0a3'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -98,13 +98,13 @@ end
|
|
98
98
|
api_instance = PulpNpmClient::ContentPackagesApi.new
|
99
99
|
opts = {
|
100
100
|
limit: 56, # Integer | Number of results to return per page.
|
101
|
-
name: 'name_example', # String | name
|
102
|
-
name__in: 'name__in_example', # String |
|
101
|
+
name: 'name_example', # String | Filter results where name matches value
|
102
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
103
103
|
offset: 56, # Integer | The initial index from which to return the results.
|
104
104
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
105
|
-
repository_version: 'repository_version_example', # String |
|
106
|
-
repository_version_added: 'repository_version_added_example', # String |
|
107
|
-
repository_version_removed: 'repository_version_removed_example', # String |
|
105
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
106
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
107
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
108
108
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
109
109
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
110
110
|
}
|
@@ -124,13 +124,13 @@ end
|
|
124
124
|
Name | Type | Description | Notes
|
125
125
|
------------- | ------------- | ------------- | -------------
|
126
126
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
127
|
-
**name** | **String**| name | [optional]
|
128
|
-
**name__in** | **String
|
127
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
128
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
129
129
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
130
130
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
131
|
-
**repository_version** | **String**|
|
132
|
-
**repository_version_added** | **String**|
|
133
|
-
**repository_version_removed** | **String**|
|
131
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
132
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
133
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
134
134
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
135
135
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
136
136
|
|
data/docs/ContentSummary.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** |
|
8
|
-
**removed** |
|
9
|
-
**present** |
|
7
|
+
**added** | **Hash<String, Object>** | |
|
8
|
+
**removed** | **Hash<String, Object>** | |
|
9
|
+
**present** | **Hash<String, Object>** | |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** |
|
8
|
-
**removed** |
|
9
|
-
**present** |
|
7
|
+
**added** | **Hash<String, Object>** | |
|
8
|
+
**removed** | **Hash<String, Object>** | |
|
9
|
+
**present** | **Hash<String, Object>** | |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
data/docs/DistributionsNpmApi.md
CHANGED
@@ -141,15 +141,19 @@ end
|
|
141
141
|
|
142
142
|
api_instance = PulpNpmClient::DistributionsNpmApi.new
|
143
143
|
opts = {
|
144
|
-
base_path: 'base_path_example', # String |
|
145
|
-
base_path__contains: 'base_path__contains_example', # String |
|
146
|
-
base_path__icontains: 'base_path__icontains_example', # String |
|
147
|
-
base_path__in: 'base_path__in_example', # String |
|
144
|
+
base_path: 'base_path_example', # String |
|
145
|
+
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
146
|
+
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
147
|
+
base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
148
148
|
limit: 56, # Integer | Number of results to return per page.
|
149
|
-
name: 'name_example', # String |
|
150
|
-
|
149
|
+
name: 'name_example', # String |
|
150
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
151
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
152
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
151
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
152
155
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
156
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
157
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
154
158
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
155
159
|
}
|
@@ -168,15 +172,19 @@ end
|
|
168
172
|
|
169
173
|
Name | Type | Description | Notes
|
170
174
|
------------- | ------------- | ------------- | -------------
|
171
|
-
**base_path** | **String**|
|
172
|
-
**base_path__contains** | **String**|
|
173
|
-
**base_path__icontains** | **String**|
|
174
|
-
**base_path__in** | **String
|
175
|
+
**base_path** | **String**| | [optional]
|
176
|
+
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
177
|
+
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
178
|
+
**base_path__in** | [**Array<String>**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
|
175
179
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
176
|
-
**name** | **String**|
|
177
|
-
**
|
180
|
+
**name** | **String**| | [optional]
|
181
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
182
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
183
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
184
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
178
185
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
179
186
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
187
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
180
188
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
181
189
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
182
190
|
|
data/docs/NpmNpmDistribution.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
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
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
@@ -17,6 +18,7 @@ require 'PulpNpmClient'
|
|
17
18
|
|
18
19
|
instance = PulpNpmClient::NpmNpmDistribution.new(base_path: null,
|
19
20
|
content_guard: null,
|
21
|
+
pulp_labels: null,
|
20
22
|
name: null,
|
21
23
|
repository: null,
|
22
24
|
repository_version: null)
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
10
|
**base_url** | **String** | The URL for accessing the universe API as defined by this distribution. | [optional] [readonly]
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
14
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
14
15
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
@@ -23,6 +24,7 @@ instance = PulpNpmClient::NpmNpmDistributionResponse.new(pulp_href: null,
|
|
23
24
|
base_path: null,
|
24
25
|
base_url: null,
|
25
26
|
content_guard: null,
|
27
|
+
pulp_labels: null,
|
26
28
|
name: null,
|
27
29
|
repository: null,
|
28
30
|
repository_version: null)
|
data/docs/NpmNpmRemote.md
CHANGED
@@ -10,11 +10,20 @@ 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]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
20
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
21
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
22
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
25
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
18
27
|
|
19
28
|
## Code Sample
|
20
29
|
|
@@ -28,10 +37,19 @@ instance = PulpNpmClient::NpmNpmRemote.new(name: null,
|
|
28
37
|
client_key: null,
|
29
38
|
tls_validation: null,
|
30
39
|
proxy_url: null,
|
40
|
+
proxy_username: null,
|
41
|
+
proxy_password: null,
|
31
42
|
username: null,
|
32
43
|
password: null,
|
44
|
+
pulp_labels: null,
|
33
45
|
download_concurrency: null,
|
34
|
-
policy: null
|
46
|
+
policy: null,
|
47
|
+
total_timeout: null,
|
48
|
+
connect_timeout: null,
|
49
|
+
sock_connect_timeout: null,
|
50
|
+
sock_read_timeout: null,
|
51
|
+
headers: null,
|
52
|
+
rate_limit: null)
|
35
53
|
```
|
36
54
|
|
37
55
|
|
@@ -10,14 +10,18 @@ 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
|
-
**
|
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]
|
15
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
18
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
19
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
20
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
21
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
22
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
24
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
21
25
|
|
22
26
|
## Code Sample
|
23
27
|
|
@@ -30,14 +34,18 @@ instance = PulpNpmClient::NpmNpmRemoteResponse.new(pulp_href: null,
|
|
30
34
|
url: null,
|
31
35
|
ca_cert: null,
|
32
36
|
client_cert: null,
|
33
|
-
client_key: null,
|
34
37
|
tls_validation: null,
|
35
38
|
proxy_url: null,
|
36
|
-
|
37
|
-
password: null,
|
39
|
+
pulp_labels: null,
|
38
40
|
pulp_last_updated: null,
|
39
41
|
download_concurrency: null,
|
40
|
-
policy: null
|
42
|
+
policy: null,
|
43
|
+
total_timeout: null,
|
44
|
+
connect_timeout: null,
|
45
|
+
sock_connect_timeout: null,
|
46
|
+
sock_read_timeout: null,
|
47
|
+
headers: null,
|
48
|
+
rate_limit: null)
|
41
49
|
```
|
42
50
|
|
43
51
|
|
data/docs/NpmNpmRepository.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. |
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
```ruby
|
14
15
|
require 'PulpNpmClient'
|
15
16
|
|
16
|
-
instance = PulpNpmClient::NpmNpmRepository.new(
|
17
|
+
instance = PulpNpmClient::NpmNpmRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
11
12
|
**name** | **String** | A unique name for this repository. |
|
12
13
|
**description** | **String** | An optional description. | [optional]
|
@@ -20,6 +21,7 @@ require 'PulpNpmClient'
|
|
20
21
|
instance = PulpNpmClient::NpmNpmRepositoryResponse.new(pulp_href: null,
|
21
22
|
pulp_created: null,
|
22
23
|
versions_href: null,
|
24
|
+
pulp_labels: null,
|
23
25
|
latest_version_href: null,
|
24
26
|
name: null,
|
25
27
|
description: null,
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
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
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
10
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
@@ -17,6 +18,7 @@ require 'PulpNpmClient'
|
|
17
18
|
|
18
19
|
instance = PulpNpmClient::PatchednpmNpmDistribution.new(base_path: null,
|
19
20
|
content_guard: null,
|
21
|
+
pulp_labels: null,
|
20
22
|
name: null,
|
21
23
|
repository: null,
|
22
24
|
repository_version: null)
|
data/docs/PatchednpmNpmRemote.md
CHANGED
@@ -10,11 +10,20 @@ 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]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
20
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
21
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
22
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
25
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
18
27
|
|
19
28
|
## Code Sample
|
20
29
|
|
@@ -28,10 +37,19 @@ instance = PulpNpmClient::PatchednpmNpmRemote.new(name: null,
|
|
28
37
|
client_key: null,
|
29
38
|
tls_validation: null,
|
30
39
|
proxy_url: null,
|
40
|
+
proxy_username: null,
|
41
|
+
proxy_password: null,
|
31
42
|
username: null,
|
32
43
|
password: null,
|
44
|
+
pulp_labels: null,
|
33
45
|
download_concurrency: null,
|
34
|
-
policy: null
|
46
|
+
policy: null,
|
47
|
+
total_timeout: null,
|
48
|
+
connect_timeout: null,
|
49
|
+
sock_connect_timeout: null,
|
50
|
+
sock_read_timeout: null,
|
51
|
+
headers: null,
|
52
|
+
rate_limit: null)
|
35
53
|
```
|
36
54
|
|
37
55
|
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
```ruby
|
14
15
|
require 'PulpNpmClient'
|
15
16
|
|
16
|
-
instance = PulpNpmClient::PatchednpmNpmRepository.new(
|
17
|
+
instance = PulpNpmClient::PatchednpmNpmRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
data/docs/RemotesNpmApi.md
CHANGED
@@ -142,16 +142,20 @@ end
|
|
142
142
|
api_instance = PulpNpmClient::RemotesNpmApi.new
|
143
143
|
opts = {
|
144
144
|
limit: 56, # Integer | Number of results to return per page.
|
145
|
-
name: 'name_example', # String |
|
146
|
-
|
145
|
+
name: 'name_example', # String |
|
146
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
147
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
148
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
149
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
147
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
148
151
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
152
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
|
+
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
154
|
+
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
155
|
+
pulp_last_updated__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than or equal to value
|
156
|
+
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
157
|
+
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
158
|
+
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
155
159
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
156
160
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
157
161
|
}
|
@@ -171,16 +175,20 @@ end
|
|
171
175
|
Name | Type | Description | Notes
|
172
176
|
------------- | ------------- | ------------- | -------------
|
173
177
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
174
|
-
**name** | **String**|
|
175
|
-
**
|
178
|
+
**name** | **String**| | [optional]
|
179
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
180
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
181
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
182
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
176
183
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
177
184
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
178
|
-
**
|
179
|
-
**
|
180
|
-
**
|
181
|
-
**
|
182
|
-
**
|
183
|
-
**
|
185
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
186
|
+
**pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
187
|
+
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
188
|
+
**pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
|
189
|
+
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
190
|
+
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
191
|
+
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
184
192
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
185
193
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
186
194
|
|
data/docs/RepositoriesNpmApi.md
CHANGED
@@ -144,10 +144,14 @@ end
|
|
144
144
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
145
145
|
opts = {
|
146
146
|
limit: 56, # Integer | Number of results to return per page.
|
147
|
-
name: 'name_example', # String |
|
148
|
-
|
147
|
+
name: 'name_example', # String |
|
148
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
149
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
150
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
151
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
149
152
|
offset: 56, # Integer | The initial index from which to return the results.
|
150
153
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
154
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
151
155
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
152
156
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
153
157
|
}
|
@@ -167,10 +171,14 @@ end
|
|
167
171
|
Name | Type | Description | Notes
|
168
172
|
------------- | ------------- | ------------- | -------------
|
169
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
|
-
**name** | **String**|
|
171
|
-
**
|
174
|
+
**name** | **String**| | [optional]
|
175
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
176
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
177
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
178
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
172
179
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
173
180
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
181
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
174
182
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
175
183
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
176
184
|
|
@@ -17,7 +17,7 @@ Method | HTTP request | Description
|
|
17
17
|
|
18
18
|
Delete a repository version
|
19
19
|
|
20
|
-
Trigger an asynchronous task to delete a
|
20
|
+
Trigger an asynchronous task to delete a repository version.
|
21
21
|
|
22
22
|
### Example
|
23
23
|
|
@@ -87,23 +87,23 @@ end
|
|
87
87
|
api_instance = PulpNpmClient::RepositoriesNpmVersionsApi.new
|
88
88
|
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
89
89
|
opts = {
|
90
|
-
content: 'content_example', # String |
|
91
|
-
content__in: 'content__in_example', # String |
|
90
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
91
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
92
92
|
limit: 56, # Integer | Number of results to return per page.
|
93
|
-
number:
|
94
|
-
number__gt:
|
95
|
-
number__gte:
|
96
|
-
number__lt:
|
97
|
-
number__lte:
|
98
|
-
number__range:
|
93
|
+
number: 56, # Integer |
|
94
|
+
number__gt: 56, # Integer | Filter results where number is greater than value
|
95
|
+
number__gte: 56, # Integer | Filter results where number is greater than or equal to value
|
96
|
+
number__lt: 56, # Integer | Filter results where number is less than value
|
97
|
+
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
98
|
+
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
99
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
100
100
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
101
|
-
pulp_created: '
|
102
|
-
pulp_created__gt: '
|
103
|
-
pulp_created__gte: '
|
104
|
-
pulp_created__lt: '
|
105
|
-
pulp_created__lte: '
|
106
|
-
pulp_created__range: '
|
101
|
+
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
102
|
+
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
103
|
+
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
104
|
+
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
105
|
+
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
106
|
+
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
107
107
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
108
108
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
109
109
|
}
|
@@ -123,23 +123,23 @@ end
|
|
123
123
|
Name | Type | Description | Notes
|
124
124
|
------------- | ------------- | ------------- | -------------
|
125
125
|
**npm_npm_repository_href** | **String**| |
|
126
|
-
**content** | **String**|
|
127
|
-
**content__in** | **String**|
|
126
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
127
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
128
128
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
129
|
-
**number** | **
|
130
|
-
**number__gt** | **
|
131
|
-
**number__gte** | **
|
132
|
-
**number__lt** | **
|
133
|
-
**number__lte** | **
|
134
|
-
**number__range** | **
|
129
|
+
**number** | **Integer**| | [optional]
|
130
|
+
**number__gt** | **Integer**| Filter results where number is greater than value | [optional]
|
131
|
+
**number__gte** | **Integer**| Filter results where number is greater than or equal to value | [optional]
|
132
|
+
**number__lt** | **Integer**| Filter results where number is less than value | [optional]
|
133
|
+
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
134
|
+
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
135
135
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
136
136
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
137
|
-
**pulp_created** | **
|
138
|
-
**pulp_created__gt** | **
|
139
|
-
**pulp_created__gte** | **
|
140
|
-
**pulp_created__lt** | **
|
141
|
-
**pulp_created__lte** | **
|
142
|
-
**pulp_created__range** | **
|
137
|
+
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
138
|
+
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
139
|
+
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
140
|
+
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
141
|
+
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
142
|
+
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
143
143
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
144
144
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
145
145
|
|
@@ -222,7 +222,7 @@ Name | Type | Description | Notes
|
|
222
222
|
|
223
223
|
|
224
224
|
|
225
|
-
Trigger an asynchronous task to repair a
|
225
|
+
Trigger an asynchronous task to repair a repository version.
|
226
226
|
|
227
227
|
### Example
|
228
228
|
|