pulp_npm_client 0.1.0a1.dev01595640515 → 0.1.0a1.dev01595986114
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_npm_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +42 -32
- data/docs/ContentPackagesApi.md +33 -36
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsNpmApi.md +113 -71
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/NpmNpmDistribution.md +1 -7
- data/docs/NpmNpmDistributionResponse.md +31 -0
- data/docs/NpmNpmRemote.md +4 -10
- data/docs/NpmNpmRemoteResponse.md +43 -0
- data/docs/NpmNpmRepository.md +4 -10
- data/docs/NpmNpmRepositoryResponse.md +29 -0
- data/docs/NpmPackage.md +5 -5
- data/docs/NpmPackageResponse.md +27 -0
- data/docs/PatchednpmNpmDistribution.md +25 -0
- data/docs/PatchednpmNpmRemote.md +37 -0
- data/docs/PatchednpmNpmRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/RemotesNpmApi.md +133 -79
- data/docs/RepositoriesNpmApi.md +103 -85
- data/docs/RepositoriesNpmVersionsApi.md +95 -66
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_npm_client.rb +12 -2
- data/lib/pulp_npm_client/api/content_packages_api.rb +34 -52
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +129 -78
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +163 -94
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +119 -104
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +119 -80
- data/lib/pulp_npm_client/api_client.rb +2 -2
- data/lib/pulp_npm_client/api_error.rb +2 -2
- data/lib/pulp_npm_client/configuration.rb +3 -3
- data/lib/pulp_npm_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_npm_client/models/content_summary.rb +9 -15
- data/lib/pulp_npm_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_npm_client/models/inline_response200.rb +3 -13
- data/lib/pulp_npm_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_npm_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_npm_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_npm_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_npm_client/models/npm_npm_distribution.rb +4 -85
- data/lib/pulp_npm_client/models/npm_npm_distribution_response.rb +290 -0
- data/lib/pulp_npm_client/models/npm_npm_remote.rb +7 -199
- data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +368 -0
- data/lib/pulp_npm_client/models/npm_npm_repository.rb +18 -78
- data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +271 -0
- data/lib/pulp_npm_client/models/npm_package.rb +24 -79
- data/lib/pulp_npm_client/models/npm_package_response.rb +269 -0
- data/lib/pulp_npm_client/models/patchednpm_npm_distribution.rb +251 -0
- data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +329 -0
- data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +229 -0
- data/lib/pulp_npm_client/models/policy_enum.rb +37 -0
- data/lib/pulp_npm_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_npm_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_npm_client/models/repository_version.rb +7 -43
- data/lib/pulp_npm_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_npm_client/version.rb +3 -3
- data/pulp_npm_client.gemspec +4 -4
- data/spec/api/content_packages_api_spec.rb +14 -17
- data/spec/api/distributions_npm_api_spec.rb +38 -23
- data/spec/api/remotes_npm_api_spec.rb +50 -29
- data/spec/api/repositories_npm_api_spec.rb +30 -27
- data/spec/api/repositories_npm_versions_api_spec.rb +38 -26
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/npm_npm_distribution_response_spec.rb +83 -0
- data/spec/models/npm_npm_distribution_spec.rb +2 -20
- data/spec/models/npm_npm_remote_response_spec.rb +119 -0
- data/spec/models/npm_npm_remote_spec.rb +2 -24
- data/spec/models/npm_npm_repository_response_spec.rb +77 -0
- data/spec/models/npm_npm_repository_spec.rb +5 -23
- data/spec/models/npm_package_response_spec.rb +71 -0
- data/spec/models/npm_package_spec.rb +6 -6
- data/spec/models/patchednpm_npm_distribution_spec.rb +65 -0
- data/spec/models/patchednpm_npm_remote_spec.rb +101 -0
- data/spec/models/patchednpm_npm_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +44 -4
data/docs/InlineResponse200.md
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<NpmPackageResponse>**](NpmPackageResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpNpmClient'
|
16
16
|
|
17
|
-
instance = PulpNpmClient::InlineResponse200.new(count:
|
17
|
+
instance = PulpNpmClient::InlineResponse200.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse2001.md
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<NpmNpmDistributionResponse>**](NpmNpmDistributionResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpNpmClient'
|
16
16
|
|
17
|
-
instance = PulpNpmClient::InlineResponse2001.new(count:
|
17
|
+
instance = PulpNpmClient::InlineResponse2001.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse2002.md
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<NpmNpmRemoteResponse>**](NpmNpmRemoteResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpNpmClient'
|
16
16
|
|
17
|
-
instance = PulpNpmClient::InlineResponse2002.new(count:
|
17
|
+
instance = PulpNpmClient::InlineResponse2002.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse2003.md
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<NpmNpmRepositoryResponse>**](NpmNpmRepositoryResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpNpmClient'
|
16
16
|
|
17
|
-
instance = PulpNpmClient::InlineResponse2003.new(count:
|
17
|
+
instance = PulpNpmClient::InlineResponse2003.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/InlineResponse2004.md
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpNpmClient'
|
16
16
|
|
17
|
-
instance = PulpNpmClient::InlineResponse2004.new(count:
|
17
|
+
instance = PulpNpmClient::InlineResponse2004.new(count: 123,
|
18
18
|
_next: null,
|
19
19
|
previous: null,
|
20
20
|
results: null)
|
data/docs/NpmNpmDistribution.md
CHANGED
@@ -4,10 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
|
-
**base_url** | **String** | The URL for accessing the universe API as defined by this distribution. | [optional] [readonly]
|
11
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
10
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
@@ -18,10 +15,7 @@ Name | Type | Description | Notes
|
|
18
15
|
```ruby
|
19
16
|
require 'PulpNpmClient'
|
20
17
|
|
21
|
-
instance = PulpNpmClient::NpmNpmDistribution.new(
|
22
|
-
pulp_created: null,
|
23
|
-
base_path: null,
|
24
|
-
base_url: null,
|
18
|
+
instance = PulpNpmClient::NpmNpmDistribution.new(base_path: null,
|
25
19
|
content_guard: null,
|
26
20
|
name: null,
|
27
21
|
repository: null,
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# PulpNpmClient::NpmNpmDistributionResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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
|
+
**base_url** | **String** | The URL for accessing the universe API as defined by this distribution. | [optional] [readonly]
|
11
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
14
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'PulpNpmClient'
|
20
|
+
|
21
|
+
instance = PulpNpmClient::NpmNpmDistributionResponse.new(pulp_href: null,
|
22
|
+
pulp_created: null,
|
23
|
+
base_path: null,
|
24
|
+
base_url: null,
|
25
|
+
content_guard: null,
|
26
|
+
name: null,
|
27
|
+
repository: null,
|
28
|
+
repository_version: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
data/docs/NpmNpmRemote.md
CHANGED
@@ -4,29 +4,24 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**name** | **String** | A unique name for this remote. |
|
10
8
|
**url** | **String** | The URL of an external content source. |
|
11
|
-
**ca_cert** | **String** | A
|
12
|
-
**client_cert** | **String** | A
|
9
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
13
11
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
14
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
16
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
|
-
**policy** | **
|
17
|
+
**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
18
|
|
22
19
|
## Code Sample
|
23
20
|
|
24
21
|
```ruby
|
25
22
|
require 'PulpNpmClient'
|
26
23
|
|
27
|
-
instance = PulpNpmClient::NpmNpmRemote.new(
|
28
|
-
pulp_created: null,
|
29
|
-
name: null,
|
24
|
+
instance = PulpNpmClient::NpmNpmRemote.new(name: null,
|
30
25
|
url: null,
|
31
26
|
ca_cert: null,
|
32
27
|
client_cert: null,
|
@@ -35,7 +30,6 @@ instance = PulpNpmClient::NpmNpmRemote.new(pulp_href: null,
|
|
35
30
|
proxy_url: null,
|
36
31
|
username: null,
|
37
32
|
password: null,
|
38
|
-
pulp_last_updated: null,
|
39
33
|
download_concurrency: null,
|
40
34
|
policy: null)
|
41
35
|
```
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# PulpNpmClient::NpmNpmRemoteResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**name** | **String** | A unique name for this remote. |
|
10
|
+
**url** | **String** | The URL of an external content source. |
|
11
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
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
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
|
+
**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
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
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
|
+
|
22
|
+
## Code Sample
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
require 'PulpNpmClient'
|
26
|
+
|
27
|
+
instance = PulpNpmClient::NpmNpmRemoteResponse.new(pulp_href: null,
|
28
|
+
pulp_created: null,
|
29
|
+
name: null,
|
30
|
+
url: null,
|
31
|
+
ca_cert: null,
|
32
|
+
client_cert: null,
|
33
|
+
client_key: null,
|
34
|
+
tls_validation: null,
|
35
|
+
proxy_url: null,
|
36
|
+
username: null,
|
37
|
+
password: null,
|
38
|
+
pulp_last_updated: null,
|
39
|
+
download_concurrency: null,
|
40
|
+
policy: null)
|
41
|
+
```
|
42
|
+
|
43
|
+
|
data/docs/NpmNpmRepository.md
CHANGED
@@ -4,24 +4,18 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**versions_href** | **String** | | [optional] [readonly]
|
10
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
11
7
|
**name** | **String** | A unique name for this repository. |
|
12
8
|
**description** | **String** | An optional description. | [optional]
|
9
|
+
**remote** | **String** | | [optional]
|
13
10
|
|
14
11
|
## Code Sample
|
15
12
|
|
16
13
|
```ruby
|
17
14
|
require 'PulpNpmClient'
|
18
15
|
|
19
|
-
instance = PulpNpmClient::NpmNpmRepository.new(
|
20
|
-
|
21
|
-
|
22
|
-
latest_version_href: null,
|
23
|
-
name: null,
|
24
|
-
description: null)
|
16
|
+
instance = PulpNpmClient::NpmNpmRepository.new(name: null,
|
17
|
+
description: null,
|
18
|
+
remote: null)
|
25
19
|
```
|
26
20
|
|
27
21
|
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# PulpNpmClient::NpmNpmRepositoryResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
11
|
+
**name** | **String** | A unique name for this repository. |
|
12
|
+
**description** | **String** | An optional description. | [optional]
|
13
|
+
**remote** | **String** | | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'PulpNpmClient'
|
19
|
+
|
20
|
+
instance = PulpNpmClient::NpmNpmRepositoryResponse.new(pulp_href: null,
|
21
|
+
pulp_created: null,
|
22
|
+
versions_href: null,
|
23
|
+
latest_version_href: null,
|
24
|
+
name: null,
|
25
|
+
description: null,
|
26
|
+
remote: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
data/docs/NpmPackage.md
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
8
|
**relative_path** | **String** | |
|
9
|
+
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
10
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
11
11
|
**name** | **String** | |
|
12
12
|
**version** | **String** | |
|
13
13
|
|
@@ -16,10 +16,10 @@ Name | Type | Description | Notes
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpNpmClient'
|
18
18
|
|
19
|
-
instance = PulpNpmClient::NpmPackage.new(
|
20
|
-
pulp_created: null,
|
21
|
-
artifact: null,
|
19
|
+
instance = PulpNpmClient::NpmPackage.new(artifact: null,
|
22
20
|
relative_path: null,
|
21
|
+
file: null,
|
22
|
+
repository: null,
|
23
23
|
name: null,
|
24
24
|
version: null)
|
25
25
|
```
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# PulpNpmClient::NpmPackageResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
|
+
**relative_path** | **String** | |
|
11
|
+
**name** | **String** | |
|
12
|
+
**version** | **String** | |
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'PulpNpmClient'
|
18
|
+
|
19
|
+
instance = PulpNpmClient::NpmPackageResponse.new(pulp_href: null,
|
20
|
+
pulp_created: null,
|
21
|
+
artifact: null,
|
22
|
+
relative_path: null,
|
23
|
+
name: null,
|
24
|
+
version: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpNpmClient::PatchednpmNpmDistribution
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
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
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'PulpNpmClient'
|
17
|
+
|
18
|
+
instance = PulpNpmClient::PatchednpmNpmDistribution.new(base_path: null,
|
19
|
+
content_guard: null,
|
20
|
+
name: null,
|
21
|
+
repository: null,
|
22
|
+
repository_version: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# PulpNpmClient::PatchednpmNpmRemote
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
8
|
+
**url** | **String** | The URL of an external content source. | [optional]
|
9
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
12
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
|
+
**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]
|
18
|
+
|
19
|
+
## Code Sample
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'PulpNpmClient'
|
23
|
+
|
24
|
+
instance = PulpNpmClient::PatchednpmNpmRemote.new(name: null,
|
25
|
+
url: null,
|
26
|
+
ca_cert: null,
|
27
|
+
client_cert: null,
|
28
|
+
client_key: null,
|
29
|
+
tls_validation: null,
|
30
|
+
proxy_url: null,
|
31
|
+
username: null,
|
32
|
+
password: null,
|
33
|
+
download_concurrency: null,
|
34
|
+
policy: null)
|
35
|
+
```
|
36
|
+
|
37
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpNpmClient::PatchednpmNpmRepository
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
9
|
+
**remote** | **String** | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpNpmClient'
|
15
|
+
|
16
|
+
instance = PulpNpmClient::PatchednpmNpmRepository.new(name: null,
|
17
|
+
description: null,
|
18
|
+
remote: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|