pulp_npm_client 0.1.0a1.dev01595986114 → 0.1.0a1.dev01596072518
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 +29 -28
- data/docs/ContentPackagesApi.md +9 -6
- data/docs/DistributionsNpmApi.md +18 -12
- data/docs/RemotesNpmApi.md +18 -12
- data/docs/RepositoriesNpmApi.md +18 -12
- data/docs/RepositoriesNpmVersionsApi.md +9 -6
- data/lib/pulp_npm_client/api/content_packages_api.rb +6 -0
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +12 -0
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +12 -0
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +12 -0
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +6 -0
- data/lib/pulp_npm_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +3 -0
- data/spec/api/distributions_npm_api_spec.rb +6 -0
- data/spec/api/remotes_npm_api_spec.rb +6 -0
- data/spec/api/repositories_npm_api_spec.rb +6 -0
- data/spec/api/repositories_npm_versions_api_spec.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3036578297c2f79edf1af73aed61ffac9ff5838b65944be767ae3b37c1e1e41a
|
4
|
+
data.tar.gz: 9c0a7e5805baab6b59b5e78dd72b8d11b7418ebc05e1b437f5e229643b19d1e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bffbd8411c2a20cc9541337c277f73b81fa824dd43e591585fbb51745f4efc29a98db2fe835caf3f90a31a11c479b546861befe8165d09f720a817be8131574f
|
7
|
+
data.tar.gz: 4ae893f64d8a287ee7025a09bc00e1c4d3beba7e91340f119a66ea8b2aebea6dea7ec942a7e339251fe03aa1bc20a94387c2e40bb81c3f8eccbe837bdcb63ed9
|
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.0a1.
|
10
|
+
- Package version: 0.1.0a1.dev01596072518
|
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.0a1.
|
27
|
+
gem install ./pulp_npm_client-0.1.0a1.dev01596072518.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_npm_client-0.1.0a1.
|
30
|
+
(for development, run `gem install --dev ./pulp_npm_client-0.1.0a1.dev01596072518.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.0a1.
|
36
|
+
gem 'pulp_npm_client', '~> 0.1.0a1.dev01596072518'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -75,6 +75,7 @@ opts = {
|
|
75
75
|
}
|
76
76
|
|
77
77
|
begin
|
78
|
+
#Create a package
|
78
79
|
result = api_instance.create(relative_path, name, version, opts)
|
79
80
|
p result
|
80
81
|
rescue PulpNpmClient::ApiError => e
|
@@ -89,32 +90,32 @@ All URIs are relative to *http://pulp*
|
|
89
90
|
|
90
91
|
Class | Method | HTTP request | Description
|
91
92
|
------------ | ------------- | ------------- | -------------
|
92
|
-
*PulpNpmClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/npm/packages/ |
|
93
|
-
*PulpNpmClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/npm/packages/ |
|
94
|
-
*PulpNpmClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {package_href} |
|
95
|
-
*PulpNpmClient::DistributionsNpmApi* | [**create**](docs/DistributionsNpmApi.md#create) | **POST** /pulp/api/v3/distributions/npm/npm/ |
|
96
|
-
*PulpNpmClient::DistributionsNpmApi* | [**delete**](docs/DistributionsNpmApi.md#delete) | **DELETE** {npm_distribution_href} |
|
97
|
-
*PulpNpmClient::DistributionsNpmApi* | [**list**](docs/DistributionsNpmApi.md#list) | **GET** /pulp/api/v3/distributions/npm/npm/ |
|
98
|
-
*PulpNpmClient::DistributionsNpmApi* | [**partial_update**](docs/DistributionsNpmApi.md#partial_update) | **PATCH** {npm_distribution_href} |
|
99
|
-
*PulpNpmClient::DistributionsNpmApi* | [**read**](docs/DistributionsNpmApi.md#read) | **GET** {npm_distribution_href} |
|
100
|
-
*PulpNpmClient::DistributionsNpmApi* | [**update**](docs/DistributionsNpmApi.md#update) | **PUT** {npm_distribution_href} |
|
101
|
-
*PulpNpmClient::RemotesNpmApi* | [**create**](docs/RemotesNpmApi.md#create) | **POST** /pulp/api/v3/remotes/npm/npm/ |
|
102
|
-
*PulpNpmClient::RemotesNpmApi* | [**delete**](docs/RemotesNpmApi.md#delete) | **DELETE** {npm_remote_href} |
|
103
|
-
*PulpNpmClient::RemotesNpmApi* | [**list**](docs/RemotesNpmApi.md#list) | **GET** /pulp/api/v3/remotes/npm/npm/ |
|
104
|
-
*PulpNpmClient::RemotesNpmApi* | [**partial_update**](docs/RemotesNpmApi.md#partial_update) | **PATCH** {npm_remote_href} |
|
105
|
-
*PulpNpmClient::RemotesNpmApi* | [**read**](docs/RemotesNpmApi.md#read) | **GET** {npm_remote_href} |
|
106
|
-
*PulpNpmClient::RemotesNpmApi* | [**update**](docs/RemotesNpmApi.md#update) | **PUT** {npm_remote_href} |
|
107
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**create**](docs/RepositoriesNpmApi.md#create) | **POST** /pulp/api/v3/repositories/npm/npm/ |
|
108
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**delete**](docs/RepositoriesNpmApi.md#delete) | **DELETE** {npm_repository_href} |
|
109
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**list**](docs/RepositoriesNpmApi.md#list) | **GET** /pulp/api/v3/repositories/npm/npm/ |
|
93
|
+
*PulpNpmClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/npm/packages/ | Create a package
|
94
|
+
*PulpNpmClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/npm/packages/ | List packages
|
95
|
+
*PulpNpmClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {package_href} | Inspect a package
|
96
|
+
*PulpNpmClient::DistributionsNpmApi* | [**create**](docs/DistributionsNpmApi.md#create) | **POST** /pulp/api/v3/distributions/npm/npm/ | Create a npm distribution
|
97
|
+
*PulpNpmClient::DistributionsNpmApi* | [**delete**](docs/DistributionsNpmApi.md#delete) | **DELETE** {npm_distribution_href} | Delete a npm distribution
|
98
|
+
*PulpNpmClient::DistributionsNpmApi* | [**list**](docs/DistributionsNpmApi.md#list) | **GET** /pulp/api/v3/distributions/npm/npm/ | List npm distributions
|
99
|
+
*PulpNpmClient::DistributionsNpmApi* | [**partial_update**](docs/DistributionsNpmApi.md#partial_update) | **PATCH** {npm_distribution_href} | Update a npm distribution
|
100
|
+
*PulpNpmClient::DistributionsNpmApi* | [**read**](docs/DistributionsNpmApi.md#read) | **GET** {npm_distribution_href} | Inspect a npm distribution
|
101
|
+
*PulpNpmClient::DistributionsNpmApi* | [**update**](docs/DistributionsNpmApi.md#update) | **PUT** {npm_distribution_href} | Update a npm distribution
|
102
|
+
*PulpNpmClient::RemotesNpmApi* | [**create**](docs/RemotesNpmApi.md#create) | **POST** /pulp/api/v3/remotes/npm/npm/ | Create a npm remote
|
103
|
+
*PulpNpmClient::RemotesNpmApi* | [**delete**](docs/RemotesNpmApi.md#delete) | **DELETE** {npm_remote_href} | Delete a npm remote
|
104
|
+
*PulpNpmClient::RemotesNpmApi* | [**list**](docs/RemotesNpmApi.md#list) | **GET** /pulp/api/v3/remotes/npm/npm/ | List npm remotes
|
105
|
+
*PulpNpmClient::RemotesNpmApi* | [**partial_update**](docs/RemotesNpmApi.md#partial_update) | **PATCH** {npm_remote_href} | Update a npm remote
|
106
|
+
*PulpNpmClient::RemotesNpmApi* | [**read**](docs/RemotesNpmApi.md#read) | **GET** {npm_remote_href} | Inspect a npm remote
|
107
|
+
*PulpNpmClient::RemotesNpmApi* | [**update**](docs/RemotesNpmApi.md#update) | **PUT** {npm_remote_href} | Update a npm remote
|
108
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**create**](docs/RepositoriesNpmApi.md#create) | **POST** /pulp/api/v3/repositories/npm/npm/ | Create a npm repository
|
109
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**delete**](docs/RepositoriesNpmApi.md#delete) | **DELETE** {npm_repository_href} | Delete a npm repository
|
110
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**list**](docs/RepositoriesNpmApi.md#list) | **GET** /pulp/api/v3/repositories/npm/npm/ | List npm repositorys
|
110
111
|
*PulpNpmClient::RepositoriesNpmApi* | [**modify**](docs/RepositoriesNpmApi.md#modify) | **POST** {npm_repository_href}modify/ | Modify Repository Content
|
111
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**partial_update**](docs/RepositoriesNpmApi.md#partial_update) | **PATCH** {npm_repository_href} |
|
112
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**read**](docs/RepositoriesNpmApi.md#read) | **GET** {npm_repository_href} |
|
112
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**partial_update**](docs/RepositoriesNpmApi.md#partial_update) | **PATCH** {npm_repository_href} | Update a npm repository
|
113
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**read**](docs/RepositoriesNpmApi.md#read) | **GET** {npm_repository_href} | Inspect a npm repository
|
113
114
|
*PulpNpmClient::RepositoriesNpmApi* | [**sync**](docs/RepositoriesNpmApi.md#sync) | **POST** {npm_repository_href}sync/ | Sync from remote
|
114
|
-
*PulpNpmClient::RepositoriesNpmApi* | [**update**](docs/RepositoriesNpmApi.md#update) | **PUT** {npm_repository_href} |
|
115
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**delete**](docs/RepositoriesNpmVersionsApi.md#delete) | **DELETE** {npm_repository_version_href} |
|
116
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**list**](docs/RepositoriesNpmVersionsApi.md#list) | **GET** {npm_repository_version_href}versions/ |
|
117
|
-
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**read**](docs/RepositoriesNpmVersionsApi.md#read) | **GET** {npm_repository_version_href} |
|
115
|
+
*PulpNpmClient::RepositoriesNpmApi* | [**update**](docs/RepositoriesNpmApi.md#update) | **PUT** {npm_repository_href} | Update a npm repository
|
116
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**delete**](docs/RepositoriesNpmVersionsApi.md#delete) | **DELETE** {npm_repository_version_href} | Delete a repository version
|
117
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**list**](docs/RepositoriesNpmVersionsApi.md#list) | **GET** {npm_repository_version_href}versions/ | List repository versions
|
118
|
+
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**read**](docs/RepositoriesNpmVersionsApi.md#read) | **GET** {npm_repository_version_href} | Inspect a repository version
|
118
119
|
*PulpNpmClient::RepositoriesNpmVersionsApi* | [**repair**](docs/RepositoriesNpmVersionsApi.md#repair) | **POST** {npm_repository_version_href}repair/ |
|
119
120
|
|
120
121
|
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -4,9 +4,9 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/npm/packages/ |
|
8
|
-
[**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/npm/packages/ |
|
9
|
-
[**read**](ContentPackagesApi.md#read) | **GET** {package_href} |
|
7
|
+
[**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/npm/packages/ | Create a package
|
8
|
+
[**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/npm/packages/ | List packages
|
9
|
+
[**read**](ContentPackagesApi.md#read) | **GET** {package_href} | Inspect a package
|
10
10
|
|
11
11
|
|
12
12
|
|
@@ -14,7 +14,7 @@ Method | HTTP request | Description
|
|
14
14
|
|
15
15
|
> NpmPackageResponse create(relative_path, name, version, opts)
|
16
16
|
|
17
|
-
|
17
|
+
Create a package
|
18
18
|
|
19
19
|
Perform bookkeeping when saving Content. \"Artifacts\" need to be popped off and saved indpendently, as they are not actually part of the Content model.
|
20
20
|
|
@@ -41,6 +41,7 @@ opts = {
|
|
41
41
|
}
|
42
42
|
|
43
43
|
begin
|
44
|
+
#Create a package
|
44
45
|
result = api_instance.create(relative_path, name, version, opts)
|
45
46
|
p result
|
46
47
|
rescue PulpNpmClient::ApiError => e
|
@@ -78,7 +79,7 @@ Name | Type | Description | Notes
|
|
78
79
|
|
79
80
|
> InlineResponse200 list(opts)
|
80
81
|
|
81
|
-
|
82
|
+
List packages
|
82
83
|
|
83
84
|
A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
84
85
|
|
@@ -109,6 +110,7 @@ opts = {
|
|
109
110
|
}
|
110
111
|
|
111
112
|
begin
|
113
|
+
#List packages
|
112
114
|
result = api_instance.list(opts)
|
113
115
|
p result
|
114
116
|
rescue PulpNpmClient::ApiError => e
|
@@ -150,7 +152,7 @@ Name | Type | Description | Notes
|
|
150
152
|
|
151
153
|
> NpmPackageResponse read(package_href, opts)
|
152
154
|
|
153
|
-
|
155
|
+
Inspect a package
|
154
156
|
|
155
157
|
A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
156
158
|
|
@@ -174,6 +176,7 @@ opts = {
|
|
174
176
|
}
|
175
177
|
|
176
178
|
begin
|
179
|
+
#Inspect a package
|
177
180
|
result = api_instance.read(package_href, opts)
|
178
181
|
p result
|
179
182
|
rescue PulpNpmClient::ApiError => e
|
data/docs/DistributionsNpmApi.md
CHANGED
@@ -4,12 +4,12 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](DistributionsNpmApi.md#create) | **POST** /pulp/api/v3/distributions/npm/npm/ |
|
8
|
-
[**delete**](DistributionsNpmApi.md#delete) | **DELETE** {npm_distribution_href} |
|
9
|
-
[**list**](DistributionsNpmApi.md#list) | **GET** /pulp/api/v3/distributions/npm/npm/ |
|
10
|
-
[**partial_update**](DistributionsNpmApi.md#partial_update) | **PATCH** {npm_distribution_href} |
|
11
|
-
[**read**](DistributionsNpmApi.md#read) | **GET** {npm_distribution_href} |
|
12
|
-
[**update**](DistributionsNpmApi.md#update) | **PUT** {npm_distribution_href} |
|
7
|
+
[**create**](DistributionsNpmApi.md#create) | **POST** /pulp/api/v3/distributions/npm/npm/ | Create a npm distribution
|
8
|
+
[**delete**](DistributionsNpmApi.md#delete) | **DELETE** {npm_distribution_href} | Delete a npm distribution
|
9
|
+
[**list**](DistributionsNpmApi.md#list) | **GET** /pulp/api/v3/distributions/npm/npm/ | List npm distributions
|
10
|
+
[**partial_update**](DistributionsNpmApi.md#partial_update) | **PATCH** {npm_distribution_href} | Update a npm distribution
|
11
|
+
[**read**](DistributionsNpmApi.md#read) | **GET** {npm_distribution_href} | Inspect a npm distribution
|
12
|
+
[**update**](DistributionsNpmApi.md#update) | **PUT** {npm_distribution_href} | Update a npm distribution
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -17,7 +17,7 @@ Method | HTTP request | Description
|
|
17
17
|
|
18
18
|
> AsyncOperationResponse create(npm_npm_distribution)
|
19
19
|
|
20
|
-
|
20
|
+
Create a npm distribution
|
21
21
|
|
22
22
|
Trigger an asynchronous create task
|
23
23
|
|
@@ -37,6 +37,7 @@ api_instance = PulpNpmClient::DistributionsNpmApi.new
|
|
37
37
|
npm_npm_distribution = PulpNpmClient::NpmNpmDistribution.new # NpmNpmDistribution |
|
38
38
|
|
39
39
|
begin
|
40
|
+
#Create a npm distribution
|
40
41
|
result = api_instance.create(npm_npm_distribution)
|
41
42
|
p result
|
42
43
|
rescue PulpNpmClient::ApiError => e
|
@@ -69,7 +70,7 @@ Name | Type | Description | Notes
|
|
69
70
|
|
70
71
|
> AsyncOperationResponse delete(npm_distribution_href, opts)
|
71
72
|
|
72
|
-
|
73
|
+
Delete a npm distribution
|
73
74
|
|
74
75
|
Trigger an asynchronous delete task
|
75
76
|
|
@@ -98,6 +99,7 @@ opts = {
|
|
98
99
|
}
|
99
100
|
|
100
101
|
begin
|
102
|
+
#Delete a npm distribution
|
101
103
|
result = api_instance.delete(npm_distribution_href, opts)
|
102
104
|
p result
|
103
105
|
rescue PulpNpmClient::ApiError => e
|
@@ -137,7 +139,7 @@ Name | Type | Description | Notes
|
|
137
139
|
|
138
140
|
> InlineResponse2001 list(opts)
|
139
141
|
|
140
|
-
|
142
|
+
List npm distributions
|
141
143
|
|
142
144
|
ViewSet for NPM Distributions.
|
143
145
|
|
@@ -169,6 +171,7 @@ opts = {
|
|
169
171
|
}
|
170
172
|
|
171
173
|
begin
|
174
|
+
#List npm distributions
|
172
175
|
result = api_instance.list(opts)
|
173
176
|
p result
|
174
177
|
rescue PulpNpmClient::ApiError => e
|
@@ -211,7 +214,7 @@ Name | Type | Description | Notes
|
|
211
214
|
|
212
215
|
> AsyncOperationResponse partial_update(npm_distribution_href, patchednpm_npm_distribution, opts)
|
213
216
|
|
214
|
-
|
217
|
+
Update a npm distribution
|
215
218
|
|
216
219
|
Trigger an asynchronous partial update task
|
217
220
|
|
@@ -241,6 +244,7 @@ opts = {
|
|
241
244
|
}
|
242
245
|
|
243
246
|
begin
|
247
|
+
#Update a npm distribution
|
244
248
|
result = api_instance.partial_update(npm_distribution_href, patchednpm_npm_distribution, opts)
|
245
249
|
p result
|
246
250
|
rescue PulpNpmClient::ApiError => e
|
@@ -281,7 +285,7 @@ Name | Type | Description | Notes
|
|
281
285
|
|
282
286
|
> NpmNpmDistributionResponse read(npm_distribution_href, opts)
|
283
287
|
|
284
|
-
|
288
|
+
Inspect a npm distribution
|
285
289
|
|
286
290
|
ViewSet for NPM Distributions.
|
287
291
|
|
@@ -305,6 +309,7 @@ opts = {
|
|
305
309
|
}
|
306
310
|
|
307
311
|
begin
|
312
|
+
#Inspect a npm distribution
|
308
313
|
result = api_instance.read(npm_distribution_href, opts)
|
309
314
|
p result
|
310
315
|
rescue PulpNpmClient::ApiError => e
|
@@ -339,7 +344,7 @@ Name | Type | Description | Notes
|
|
339
344
|
|
340
345
|
> AsyncOperationResponse update(npm_distribution_href, npm_npm_distribution, opts)
|
341
346
|
|
342
|
-
|
347
|
+
Update a npm distribution
|
343
348
|
|
344
349
|
Trigger an asynchronous update task
|
345
350
|
|
@@ -369,6 +374,7 @@ opts = {
|
|
369
374
|
}
|
370
375
|
|
371
376
|
begin
|
377
|
+
#Update a npm distribution
|
372
378
|
result = api_instance.update(npm_distribution_href, npm_npm_distribution, opts)
|
373
379
|
p result
|
374
380
|
rescue PulpNpmClient::ApiError => e
|
data/docs/RemotesNpmApi.md
CHANGED
@@ -4,12 +4,12 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](RemotesNpmApi.md#create) | **POST** /pulp/api/v3/remotes/npm/npm/ |
|
8
|
-
[**delete**](RemotesNpmApi.md#delete) | **DELETE** {npm_remote_href} |
|
9
|
-
[**list**](RemotesNpmApi.md#list) | **GET** /pulp/api/v3/remotes/npm/npm/ |
|
10
|
-
[**partial_update**](RemotesNpmApi.md#partial_update) | **PATCH** {npm_remote_href} |
|
11
|
-
[**read**](RemotesNpmApi.md#read) | **GET** {npm_remote_href} |
|
12
|
-
[**update**](RemotesNpmApi.md#update) | **PUT** {npm_remote_href} |
|
7
|
+
[**create**](RemotesNpmApi.md#create) | **POST** /pulp/api/v3/remotes/npm/npm/ | Create a npm remote
|
8
|
+
[**delete**](RemotesNpmApi.md#delete) | **DELETE** {npm_remote_href} | Delete a npm remote
|
9
|
+
[**list**](RemotesNpmApi.md#list) | **GET** /pulp/api/v3/remotes/npm/npm/ | List npm remotes
|
10
|
+
[**partial_update**](RemotesNpmApi.md#partial_update) | **PATCH** {npm_remote_href} | Update a npm remote
|
11
|
+
[**read**](RemotesNpmApi.md#read) | **GET** {npm_remote_href} | Inspect a npm remote
|
12
|
+
[**update**](RemotesNpmApi.md#update) | **PUT** {npm_remote_href} | Update a npm remote
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -17,7 +17,7 @@ Method | HTTP request | Description
|
|
17
17
|
|
18
18
|
> NpmNpmRemoteResponse create(npm_npm_remote)
|
19
19
|
|
20
|
-
|
20
|
+
Create a npm remote
|
21
21
|
|
22
22
|
A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
23
23
|
|
@@ -37,6 +37,7 @@ api_instance = PulpNpmClient::RemotesNpmApi.new
|
|
37
37
|
npm_npm_remote = PulpNpmClient::NpmNpmRemote.new # NpmNpmRemote |
|
38
38
|
|
39
39
|
begin
|
40
|
+
#Create a npm remote
|
40
41
|
result = api_instance.create(npm_npm_remote)
|
41
42
|
p result
|
42
43
|
rescue PulpNpmClient::ApiError => e
|
@@ -69,7 +70,7 @@ Name | Type | Description | Notes
|
|
69
70
|
|
70
71
|
> AsyncOperationResponse delete(npm_remote_href, opts)
|
71
72
|
|
72
|
-
|
73
|
+
Delete a npm remote
|
73
74
|
|
74
75
|
Trigger an asynchronous delete task
|
75
76
|
|
@@ -100,6 +101,7 @@ opts = {
|
|
100
101
|
}
|
101
102
|
|
102
103
|
begin
|
104
|
+
#Delete a npm remote
|
103
105
|
result = api_instance.delete(npm_remote_href, opts)
|
104
106
|
p result
|
105
107
|
rescue PulpNpmClient::ApiError => e
|
@@ -141,7 +143,7 @@ Name | Type | Description | Notes
|
|
141
143
|
|
142
144
|
> InlineResponse2002 list(opts)
|
143
145
|
|
144
|
-
|
146
|
+
List npm remotes
|
145
147
|
|
146
148
|
A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
147
149
|
|
@@ -175,6 +177,7 @@ opts = {
|
|
175
177
|
}
|
176
178
|
|
177
179
|
begin
|
180
|
+
#List npm remotes
|
178
181
|
result = api_instance.list(opts)
|
179
182
|
p result
|
180
183
|
rescue PulpNpmClient::ApiError => e
|
@@ -219,7 +222,7 @@ Name | Type | Description | Notes
|
|
219
222
|
|
220
223
|
> AsyncOperationResponse partial_update(npm_remote_href, patchednpm_npm_remote, opts)
|
221
224
|
|
222
|
-
|
225
|
+
Update a npm remote
|
223
226
|
|
224
227
|
Trigger an asynchronous partial update task
|
225
228
|
|
@@ -251,6 +254,7 @@ opts = {
|
|
251
254
|
}
|
252
255
|
|
253
256
|
begin
|
257
|
+
#Update a npm remote
|
254
258
|
result = api_instance.partial_update(npm_remote_href, patchednpm_npm_remote, opts)
|
255
259
|
p result
|
256
260
|
rescue PulpNpmClient::ApiError => e
|
@@ -293,7 +297,7 @@ Name | Type | Description | Notes
|
|
293
297
|
|
294
298
|
> NpmNpmRemoteResponse read(npm_remote_href, opts)
|
295
299
|
|
296
|
-
|
300
|
+
Inspect a npm remote
|
297
301
|
|
298
302
|
A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
299
303
|
|
@@ -317,6 +321,7 @@ opts = {
|
|
317
321
|
}
|
318
322
|
|
319
323
|
begin
|
324
|
+
#Inspect a npm remote
|
320
325
|
result = api_instance.read(npm_remote_href, opts)
|
321
326
|
p result
|
322
327
|
rescue PulpNpmClient::ApiError => e
|
@@ -351,7 +356,7 @@ Name | Type | Description | Notes
|
|
351
356
|
|
352
357
|
> AsyncOperationResponse update(npm_remote_href, npm_npm_remote, opts)
|
353
358
|
|
354
|
-
|
359
|
+
Update a npm remote
|
355
360
|
|
356
361
|
Trigger an asynchronous update task
|
357
362
|
|
@@ -383,6 +388,7 @@ opts = {
|
|
383
388
|
}
|
384
389
|
|
385
390
|
begin
|
391
|
+
#Update a npm remote
|
386
392
|
result = api_instance.update(npm_remote_href, npm_npm_remote, opts)
|
387
393
|
p result
|
388
394
|
rescue PulpNpmClient::ApiError => e
|
data/docs/RepositoriesNpmApi.md
CHANGED
@@ -4,14 +4,14 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](RepositoriesNpmApi.md#create) | **POST** /pulp/api/v3/repositories/npm/npm/ |
|
8
|
-
[**delete**](RepositoriesNpmApi.md#delete) | **DELETE** {npm_repository_href} |
|
9
|
-
[**list**](RepositoriesNpmApi.md#list) | **GET** /pulp/api/v3/repositories/npm/npm/ |
|
7
|
+
[**create**](RepositoriesNpmApi.md#create) | **POST** /pulp/api/v3/repositories/npm/npm/ | Create a npm repository
|
8
|
+
[**delete**](RepositoriesNpmApi.md#delete) | **DELETE** {npm_repository_href} | Delete a npm repository
|
9
|
+
[**list**](RepositoriesNpmApi.md#list) | **GET** /pulp/api/v3/repositories/npm/npm/ | List npm repositorys
|
10
10
|
[**modify**](RepositoriesNpmApi.md#modify) | **POST** {npm_repository_href}modify/ | Modify Repository Content
|
11
|
-
[**partial_update**](RepositoriesNpmApi.md#partial_update) | **PATCH** {npm_repository_href} |
|
12
|
-
[**read**](RepositoriesNpmApi.md#read) | **GET** {npm_repository_href} |
|
11
|
+
[**partial_update**](RepositoriesNpmApi.md#partial_update) | **PATCH** {npm_repository_href} | Update a npm repository
|
12
|
+
[**read**](RepositoriesNpmApi.md#read) | **GET** {npm_repository_href} | Inspect a npm repository
|
13
13
|
[**sync**](RepositoriesNpmApi.md#sync) | **POST** {npm_repository_href}sync/ | Sync from remote
|
14
|
-
[**update**](RepositoriesNpmApi.md#update) | **PUT** {npm_repository_href} |
|
14
|
+
[**update**](RepositoriesNpmApi.md#update) | **PUT** {npm_repository_href} | Update a npm repository
|
15
15
|
|
16
16
|
|
17
17
|
|
@@ -19,7 +19,7 @@ Method | HTTP request | Description
|
|
19
19
|
|
20
20
|
> NpmNpmRepositoryResponse create(npm_npm_repository)
|
21
21
|
|
22
|
-
|
22
|
+
Create a npm repository
|
23
23
|
|
24
24
|
A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
25
25
|
|
@@ -39,6 +39,7 @@ api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
|
39
39
|
npm_npm_repository = PulpNpmClient::NpmNpmRepository.new # NpmNpmRepository |
|
40
40
|
|
41
41
|
begin
|
42
|
+
#Create a npm repository
|
42
43
|
result = api_instance.create(npm_npm_repository)
|
43
44
|
p result
|
44
45
|
rescue PulpNpmClient::ApiError => e
|
@@ -71,7 +72,7 @@ Name | Type | Description | Notes
|
|
71
72
|
|
72
73
|
> AsyncOperationResponse delete(npm_repository_href, opts)
|
73
74
|
|
74
|
-
|
75
|
+
Delete a npm repository
|
75
76
|
|
76
77
|
Trigger an asynchronous delete task
|
77
78
|
|
@@ -96,6 +97,7 @@ opts = {
|
|
96
97
|
}
|
97
98
|
|
98
99
|
begin
|
100
|
+
#Delete a npm repository
|
99
101
|
result = api_instance.delete(npm_repository_href, opts)
|
100
102
|
p result
|
101
103
|
rescue PulpNpmClient::ApiError => e
|
@@ -131,7 +133,7 @@ Name | Type | Description | Notes
|
|
131
133
|
|
132
134
|
> InlineResponse2003 list(opts)
|
133
135
|
|
134
|
-
|
136
|
+
List npm repositorys
|
135
137
|
|
136
138
|
A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
137
139
|
|
@@ -159,6 +161,7 @@ opts = {
|
|
159
161
|
}
|
160
162
|
|
161
163
|
begin
|
164
|
+
#List npm repositorys
|
162
165
|
result = api_instance.list(opts)
|
163
166
|
p result
|
164
167
|
rescue PulpNpmClient::ApiError => e
|
@@ -252,7 +255,7 @@ Name | Type | Description | Notes
|
|
252
255
|
|
253
256
|
> AsyncOperationResponse partial_update(npm_repository_href, patchednpm_npm_repository, opts)
|
254
257
|
|
255
|
-
|
258
|
+
Update a npm repository
|
256
259
|
|
257
260
|
Trigger an asynchronous partial update task
|
258
261
|
|
@@ -278,6 +281,7 @@ opts = {
|
|
278
281
|
}
|
279
282
|
|
280
283
|
begin
|
284
|
+
#Update a npm repository
|
281
285
|
result = api_instance.partial_update(npm_repository_href, patchednpm_npm_repository, opts)
|
282
286
|
p result
|
283
287
|
rescue PulpNpmClient::ApiError => e
|
@@ -314,7 +318,7 @@ Name | Type | Description | Notes
|
|
314
318
|
|
315
319
|
> NpmNpmRepositoryResponse read(npm_repository_href, opts)
|
316
320
|
|
317
|
-
|
321
|
+
Inspect a npm repository
|
318
322
|
|
319
323
|
A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
320
324
|
|
@@ -338,6 +342,7 @@ opts = {
|
|
338
342
|
}
|
339
343
|
|
340
344
|
begin
|
345
|
+
#Inspect a npm repository
|
341
346
|
result = api_instance.read(npm_repository_href, opts)
|
342
347
|
p result
|
343
348
|
rescue PulpNpmClient::ApiError => e
|
@@ -427,7 +432,7 @@ Name | Type | Description | Notes
|
|
427
432
|
|
428
433
|
> AsyncOperationResponse update(npm_repository_href, npm_npm_repository, opts)
|
429
434
|
|
430
|
-
|
435
|
+
Update a npm repository
|
431
436
|
|
432
437
|
Trigger an asynchronous update task
|
433
438
|
|
@@ -453,6 +458,7 @@ opts = {
|
|
453
458
|
}
|
454
459
|
|
455
460
|
begin
|
461
|
+
#Update a npm repository
|
456
462
|
result = api_instance.update(npm_repository_href, npm_npm_repository, opts)
|
457
463
|
p result
|
458
464
|
rescue PulpNpmClient::ApiError => e
|
@@ -4,9 +4,9 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**delete**](RepositoriesNpmVersionsApi.md#delete) | **DELETE** {npm_repository_version_href} |
|
8
|
-
[**list**](RepositoriesNpmVersionsApi.md#list) | **GET** {npm_repository_version_href}versions/ |
|
9
|
-
[**read**](RepositoriesNpmVersionsApi.md#read) | **GET** {npm_repository_version_href} |
|
7
|
+
[**delete**](RepositoriesNpmVersionsApi.md#delete) | **DELETE** {npm_repository_version_href} | Delete a repository version
|
8
|
+
[**list**](RepositoriesNpmVersionsApi.md#list) | **GET** {npm_repository_version_href}versions/ | List repository versions
|
9
|
+
[**read**](RepositoriesNpmVersionsApi.md#read) | **GET** {npm_repository_version_href} | Inspect a repository version
|
10
10
|
[**repair**](RepositoriesNpmVersionsApi.md#repair) | **POST** {npm_repository_version_href}repair/ |
|
11
11
|
|
12
12
|
|
@@ -15,7 +15,7 @@ Method | HTTP request | Description
|
|
15
15
|
|
16
16
|
> AsyncOperationResponse delete(npm_repository_version_href, opts)
|
17
17
|
|
18
|
-
|
18
|
+
Delete a repository version
|
19
19
|
|
20
20
|
Trigger an asynchronous task to delete a repositroy version.
|
21
21
|
|
@@ -52,6 +52,7 @@ opts = {
|
|
52
52
|
}
|
53
53
|
|
54
54
|
begin
|
55
|
+
#Delete a repository version
|
55
56
|
result = api_instance.delete(npm_repository_version_href, opts)
|
56
57
|
p result
|
57
58
|
rescue PulpNpmClient::ApiError => e
|
@@ -99,7 +100,7 @@ Name | Type | Description | Notes
|
|
99
100
|
|
100
101
|
> InlineResponse2004 list(npm_repository_version_href, opts)
|
101
102
|
|
102
|
-
|
103
|
+
List repository versions
|
103
104
|
|
104
105
|
A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
105
106
|
|
@@ -140,6 +141,7 @@ opts = {
|
|
140
141
|
}
|
141
142
|
|
142
143
|
begin
|
144
|
+
#List repository versions
|
143
145
|
result = api_instance.list(npm_repository_version_href, opts)
|
144
146
|
p result
|
145
147
|
rescue PulpNpmClient::ApiError => e
|
@@ -191,7 +193,7 @@ Name | Type | Description | Notes
|
|
191
193
|
|
192
194
|
> RepositoryVersionResponse read(npm_repository_version_href, opts)
|
193
195
|
|
194
|
-
|
196
|
+
Inspect a repository version
|
195
197
|
|
196
198
|
A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
197
199
|
|
@@ -215,6 +217,7 @@ opts = {
|
|
215
217
|
}
|
216
218
|
|
217
219
|
begin
|
220
|
+
#Inspect a repository version
|
218
221
|
result = api_instance.read(npm_repository_version_href, opts)
|
219
222
|
p result
|
220
223
|
rescue PulpNpmClient::ApiError => e
|
@@ -19,6 +19,7 @@ module PulpNpmClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Create a package
|
22
23
|
# Perform bookkeeping when saving Content. \"Artifacts\" need to be popped off and saved indpendently, as they are not actually part of the Content model.
|
23
24
|
# @param relative_path [String]
|
24
25
|
# @param name [String]
|
@@ -33,6 +34,7 @@ module PulpNpmClient
|
|
33
34
|
data
|
34
35
|
end
|
35
36
|
|
37
|
+
# Create a package
|
36
38
|
# Perform bookkeeping when saving Content. \"Artifacts\" need to be popped off and saved indpendently, as they are not actually part of the Content model.
|
37
39
|
# @param relative_path [String]
|
38
40
|
# @param name [String]
|
@@ -105,6 +107,7 @@ module PulpNpmClient
|
|
105
107
|
return data, status_code, headers
|
106
108
|
end
|
107
109
|
|
110
|
+
# List packages
|
108
111
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
109
112
|
# @param [Hash] opts the optional parameters
|
110
113
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -123,6 +126,7 @@ module PulpNpmClient
|
|
123
126
|
data
|
124
127
|
end
|
125
128
|
|
129
|
+
# List packages
|
126
130
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
127
131
|
# @param [Hash] opts the optional parameters
|
128
132
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -189,6 +193,7 @@ module PulpNpmClient
|
|
189
193
|
return data, status_code, headers
|
190
194
|
end
|
191
195
|
|
196
|
+
# Inspect a package
|
192
197
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
193
198
|
# @param package_href [String]
|
194
199
|
# @param [Hash] opts the optional parameters
|
@@ -200,6 +205,7 @@ module PulpNpmClient
|
|
200
205
|
data
|
201
206
|
end
|
202
207
|
|
208
|
+
# Inspect a package
|
203
209
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
204
210
|
# @param package_href [String]
|
205
211
|
# @param [Hash] opts the optional parameters
|
@@ -19,6 +19,7 @@ module PulpNpmClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Create a npm distribution
|
22
23
|
# Trigger an asynchronous create task
|
23
24
|
# @param npm_npm_distribution [NpmNpmDistribution]
|
24
25
|
# @param [Hash] opts the optional parameters
|
@@ -28,6 +29,7 @@ module PulpNpmClient
|
|
28
29
|
data
|
29
30
|
end
|
30
31
|
|
32
|
+
# Create a npm distribution
|
31
33
|
# Trigger an asynchronous create task
|
32
34
|
# @param npm_npm_distribution [NpmNpmDistribution]
|
33
35
|
# @param [Hash] opts the optional parameters
|
@@ -81,6 +83,7 @@ module PulpNpmClient
|
|
81
83
|
return data, status_code, headers
|
82
84
|
end
|
83
85
|
|
86
|
+
# Delete a npm distribution
|
84
87
|
# Trigger an asynchronous delete task
|
85
88
|
# @param npm_distribution_href [String]
|
86
89
|
# @param [Hash] opts the optional parameters
|
@@ -97,6 +100,7 @@ module PulpNpmClient
|
|
97
100
|
data
|
98
101
|
end
|
99
102
|
|
103
|
+
# Delete a npm distribution
|
100
104
|
# Trigger an asynchronous delete task
|
101
105
|
# @param npm_distribution_href [String]
|
102
106
|
# @param [Hash] opts the optional parameters
|
@@ -162,6 +166,7 @@ module PulpNpmClient
|
|
162
166
|
return data, status_code, headers
|
163
167
|
end
|
164
168
|
|
169
|
+
# List npm distributions
|
165
170
|
# ViewSet for NPM Distributions.
|
166
171
|
# @param [Hash] opts the optional parameters
|
167
172
|
# @option opts [String] :base_path base_path
|
@@ -181,6 +186,7 @@ module PulpNpmClient
|
|
181
186
|
data
|
182
187
|
end
|
183
188
|
|
189
|
+
# List npm distributions
|
184
190
|
# ViewSet for NPM Distributions.
|
185
191
|
# @param [Hash] opts the optional parameters
|
186
192
|
# @option opts [String] :base_path base_path
|
@@ -249,6 +255,7 @@ module PulpNpmClient
|
|
249
255
|
return data, status_code, headers
|
250
256
|
end
|
251
257
|
|
258
|
+
# Update a npm distribution
|
252
259
|
# Trigger an asynchronous partial update task
|
253
260
|
# @param npm_distribution_href [String]
|
254
261
|
# @param patchednpm_npm_distribution [PatchednpmNpmDistribution]
|
@@ -266,6 +273,7 @@ module PulpNpmClient
|
|
266
273
|
data
|
267
274
|
end
|
268
275
|
|
276
|
+
# Update a npm distribution
|
269
277
|
# Trigger an asynchronous partial update task
|
270
278
|
# @param npm_distribution_href [String]
|
271
279
|
# @param patchednpm_npm_distribution [PatchednpmNpmDistribution]
|
@@ -338,6 +346,7 @@ module PulpNpmClient
|
|
338
346
|
return data, status_code, headers
|
339
347
|
end
|
340
348
|
|
349
|
+
# Inspect a npm distribution
|
341
350
|
# ViewSet for NPM Distributions.
|
342
351
|
# @param npm_distribution_href [String]
|
343
352
|
# @param [Hash] opts the optional parameters
|
@@ -349,6 +358,7 @@ module PulpNpmClient
|
|
349
358
|
data
|
350
359
|
end
|
351
360
|
|
361
|
+
# Inspect a npm distribution
|
352
362
|
# ViewSet for NPM Distributions.
|
353
363
|
# @param npm_distribution_href [String]
|
354
364
|
# @param [Hash] opts the optional parameters
|
@@ -404,6 +414,7 @@ module PulpNpmClient
|
|
404
414
|
return data, status_code, headers
|
405
415
|
end
|
406
416
|
|
417
|
+
# Update a npm distribution
|
407
418
|
# Trigger an asynchronous update task
|
408
419
|
# @param npm_distribution_href [String]
|
409
420
|
# @param npm_npm_distribution [NpmNpmDistribution]
|
@@ -421,6 +432,7 @@ module PulpNpmClient
|
|
421
432
|
data
|
422
433
|
end
|
423
434
|
|
435
|
+
# Update a npm distribution
|
424
436
|
# Trigger an asynchronous update task
|
425
437
|
# @param npm_distribution_href [String]
|
426
438
|
# @param npm_npm_distribution [NpmNpmDistribution]
|
@@ -19,6 +19,7 @@ module PulpNpmClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Create a npm remote
|
22
23
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
23
24
|
# @param npm_npm_remote [NpmNpmRemote]
|
24
25
|
# @param [Hash] opts the optional parameters
|
@@ -28,6 +29,7 @@ module PulpNpmClient
|
|
28
29
|
data
|
29
30
|
end
|
30
31
|
|
32
|
+
# Create a npm remote
|
31
33
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
32
34
|
# @param npm_npm_remote [NpmNpmRemote]
|
33
35
|
# @param [Hash] opts the optional parameters
|
@@ -81,6 +83,7 @@ module PulpNpmClient
|
|
81
83
|
return data, status_code, headers
|
82
84
|
end
|
83
85
|
|
86
|
+
# Delete a npm remote
|
84
87
|
# Trigger an asynchronous delete task
|
85
88
|
# @param npm_remote_href [String]
|
86
89
|
# @param [Hash] opts the optional parameters
|
@@ -99,6 +102,7 @@ module PulpNpmClient
|
|
99
102
|
data
|
100
103
|
end
|
101
104
|
|
105
|
+
# Delete a npm remote
|
102
106
|
# Trigger an asynchronous delete task
|
103
107
|
# @param npm_remote_href [String]
|
104
108
|
# @param [Hash] opts the optional parameters
|
@@ -168,6 +172,7 @@ module PulpNpmClient
|
|
168
172
|
return data, status_code, headers
|
169
173
|
end
|
170
174
|
|
175
|
+
# List npm remotes
|
171
176
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
172
177
|
# @param [Hash] opts the optional parameters
|
173
178
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -189,6 +194,7 @@ module PulpNpmClient
|
|
189
194
|
data
|
190
195
|
end
|
191
196
|
|
197
|
+
# List npm remotes
|
192
198
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
193
199
|
# @param [Hash] opts the optional parameters
|
194
200
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -261,6 +267,7 @@ module PulpNpmClient
|
|
261
267
|
return data, status_code, headers
|
262
268
|
end
|
263
269
|
|
270
|
+
# Update a npm remote
|
264
271
|
# Trigger an asynchronous partial update task
|
265
272
|
# @param npm_remote_href [String]
|
266
273
|
# @param patchednpm_npm_remote [PatchednpmNpmRemote]
|
@@ -280,6 +287,7 @@ module PulpNpmClient
|
|
280
287
|
data
|
281
288
|
end
|
282
289
|
|
290
|
+
# Update a npm remote
|
283
291
|
# Trigger an asynchronous partial update task
|
284
292
|
# @param npm_remote_href [String]
|
285
293
|
# @param patchednpm_npm_remote [PatchednpmNpmRemote]
|
@@ -356,6 +364,7 @@ module PulpNpmClient
|
|
356
364
|
return data, status_code, headers
|
357
365
|
end
|
358
366
|
|
367
|
+
# Inspect a npm remote
|
359
368
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
360
369
|
# @param npm_remote_href [String]
|
361
370
|
# @param [Hash] opts the optional parameters
|
@@ -367,6 +376,7 @@ module PulpNpmClient
|
|
367
376
|
data
|
368
377
|
end
|
369
378
|
|
379
|
+
# Inspect a npm remote
|
370
380
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
371
381
|
# @param npm_remote_href [String]
|
372
382
|
# @param [Hash] opts the optional parameters
|
@@ -422,6 +432,7 @@ module PulpNpmClient
|
|
422
432
|
return data, status_code, headers
|
423
433
|
end
|
424
434
|
|
435
|
+
# Update a npm remote
|
425
436
|
# Trigger an asynchronous update task
|
426
437
|
# @param npm_remote_href [String]
|
427
438
|
# @param npm_npm_remote [NpmNpmRemote]
|
@@ -441,6 +452,7 @@ module PulpNpmClient
|
|
441
452
|
data
|
442
453
|
end
|
443
454
|
|
455
|
+
# Update a npm remote
|
444
456
|
# Trigger an asynchronous update task
|
445
457
|
# @param npm_remote_href [String]
|
446
458
|
# @param npm_npm_remote [NpmNpmRemote]
|
@@ -19,6 +19,7 @@ module PulpNpmClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Create a npm repository
|
22
23
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
23
24
|
# @param npm_npm_repository [NpmNpmRepository]
|
24
25
|
# @param [Hash] opts the optional parameters
|
@@ -28,6 +29,7 @@ module PulpNpmClient
|
|
28
29
|
data
|
29
30
|
end
|
30
31
|
|
32
|
+
# Create a npm repository
|
31
33
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
32
34
|
# @param npm_npm_repository [NpmNpmRepository]
|
33
35
|
# @param [Hash] opts the optional parameters
|
@@ -81,6 +83,7 @@ module PulpNpmClient
|
|
81
83
|
return data, status_code, headers
|
82
84
|
end
|
83
85
|
|
86
|
+
# Delete a npm repository
|
84
87
|
# Trigger an asynchronous delete task
|
85
88
|
# @param npm_repository_href [String]
|
86
89
|
# @param [Hash] opts the optional parameters
|
@@ -93,6 +96,7 @@ module PulpNpmClient
|
|
93
96
|
data
|
94
97
|
end
|
95
98
|
|
99
|
+
# Delete a npm repository
|
96
100
|
# Trigger an asynchronous delete task
|
97
101
|
# @param npm_repository_href [String]
|
98
102
|
# @param [Hash] opts the optional parameters
|
@@ -150,6 +154,7 @@ module PulpNpmClient
|
|
150
154
|
return data, status_code, headers
|
151
155
|
end
|
152
156
|
|
157
|
+
# List npm repositorys
|
153
158
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
154
159
|
# @param [Hash] opts the optional parameters
|
155
160
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -165,6 +170,7 @@ module PulpNpmClient
|
|
165
170
|
data
|
166
171
|
end
|
167
172
|
|
173
|
+
# List npm repositorys
|
168
174
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
169
175
|
# @param [Hash] opts the optional parameters
|
170
176
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -295,6 +301,7 @@ module PulpNpmClient
|
|
295
301
|
return data, status_code, headers
|
296
302
|
end
|
297
303
|
|
304
|
+
# Update a npm repository
|
298
305
|
# Trigger an asynchronous partial update task
|
299
306
|
# @param npm_repository_href [String]
|
300
307
|
# @param patchednpm_npm_repository [PatchednpmNpmRepository]
|
@@ -308,6 +315,7 @@ module PulpNpmClient
|
|
308
315
|
data
|
309
316
|
end
|
310
317
|
|
318
|
+
# Update a npm repository
|
311
319
|
# Trigger an asynchronous partial update task
|
312
320
|
# @param npm_repository_href [String]
|
313
321
|
# @param patchednpm_npm_repository [PatchednpmNpmRepository]
|
@@ -372,6 +380,7 @@ module PulpNpmClient
|
|
372
380
|
return data, status_code, headers
|
373
381
|
end
|
374
382
|
|
383
|
+
# Inspect a npm repository
|
375
384
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
376
385
|
# @param npm_repository_href [String]
|
377
386
|
# @param [Hash] opts the optional parameters
|
@@ -383,6 +392,7 @@ module PulpNpmClient
|
|
383
392
|
data
|
384
393
|
end
|
385
394
|
|
395
|
+
# Inspect a npm repository
|
386
396
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
387
397
|
# @param npm_repository_href [String]
|
388
398
|
# @param [Hash] opts the optional parameters
|
@@ -508,6 +518,7 @@ module PulpNpmClient
|
|
508
518
|
return data, status_code, headers
|
509
519
|
end
|
510
520
|
|
521
|
+
# Update a npm repository
|
511
522
|
# Trigger an asynchronous update task
|
512
523
|
# @param npm_repository_href [String]
|
513
524
|
# @param npm_npm_repository [NpmNpmRepository]
|
@@ -521,6 +532,7 @@ module PulpNpmClient
|
|
521
532
|
data
|
522
533
|
end
|
523
534
|
|
535
|
+
# Update a npm repository
|
524
536
|
# Trigger an asynchronous update task
|
525
537
|
# @param npm_repository_href [String]
|
526
538
|
# @param npm_npm_repository [NpmNpmRepository]
|
@@ -19,6 +19,7 @@ module PulpNpmClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Delete a repository version
|
22
23
|
# Trigger an asynchronous task to delete a repositroy version.
|
23
24
|
# @param npm_repository_version_href [String]
|
24
25
|
# @param [Hash] opts the optional parameters
|
@@ -43,6 +44,7 @@ module PulpNpmClient
|
|
43
44
|
data
|
44
45
|
end
|
45
46
|
|
47
|
+
# Delete a repository version
|
46
48
|
# Trigger an asynchronous task to delete a repositroy version.
|
47
49
|
# @param npm_repository_version_href [String]
|
48
50
|
# @param [Hash] opts the optional parameters
|
@@ -124,6 +126,7 @@ module PulpNpmClient
|
|
124
126
|
return data, status_code, headers
|
125
127
|
end
|
126
128
|
|
129
|
+
# List repository versions
|
127
130
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
128
131
|
# @param npm_repository_version_href [String]
|
129
132
|
# @param [Hash] opts the optional parameters
|
@@ -152,6 +155,7 @@ module PulpNpmClient
|
|
152
155
|
data
|
153
156
|
end
|
154
157
|
|
158
|
+
# List repository versions
|
155
159
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
156
160
|
# @param npm_repository_version_href [String]
|
157
161
|
# @param [Hash] opts the optional parameters
|
@@ -241,6 +245,7 @@ module PulpNpmClient
|
|
241
245
|
return data, status_code, headers
|
242
246
|
end
|
243
247
|
|
248
|
+
# Inspect a repository version
|
244
249
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
245
250
|
# @param npm_repository_version_href [String]
|
246
251
|
# @param [Hash] opts the optional parameters
|
@@ -252,6 +257,7 @@ module PulpNpmClient
|
|
252
257
|
data
|
253
258
|
end
|
254
259
|
|
260
|
+
# Inspect a repository version
|
255
261
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
256
262
|
# @param npm_repository_version_href [String]
|
257
263
|
# @param [Hash] opts the optional parameters
|
@@ -33,6 +33,7 @@ describe 'ContentPackagesApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
+
# Create a package
|
36
37
|
# Perform bookkeeping when saving Content. \"Artifacts\" need to be popped off and saved indpendently, as they are not actually part of the Content model.
|
37
38
|
# @param relative_path
|
38
39
|
# @param name
|
@@ -49,6 +50,7 @@ describe 'ContentPackagesApi' do
|
|
49
50
|
end
|
50
51
|
|
51
52
|
# unit tests for list
|
53
|
+
# List packages
|
52
54
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
53
55
|
# @param [Hash] opts the optional parameters
|
54
56
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -69,6 +71,7 @@ describe 'ContentPackagesApi' do
|
|
69
71
|
end
|
70
72
|
|
71
73
|
# unit tests for read
|
74
|
+
# Inspect a package
|
72
75
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
73
76
|
# @param package_href
|
74
77
|
# @param [Hash] opts the optional parameters
|
@@ -33,6 +33,7 @@ describe 'DistributionsNpmApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
+
# Create a npm distribution
|
36
37
|
# Trigger an asynchronous create task
|
37
38
|
# @param npm_npm_distribution
|
38
39
|
# @param [Hash] opts the optional parameters
|
@@ -44,6 +45,7 @@ describe 'DistributionsNpmApi' do
|
|
44
45
|
end
|
45
46
|
|
46
47
|
# unit tests for delete
|
48
|
+
# Delete a npm distribution
|
47
49
|
# Trigger an asynchronous delete task
|
48
50
|
# @param npm_distribution_href
|
49
51
|
# @param [Hash] opts the optional parameters
|
@@ -62,6 +64,7 @@ describe 'DistributionsNpmApi' do
|
|
62
64
|
end
|
63
65
|
|
64
66
|
# unit tests for list
|
67
|
+
# List npm distributions
|
65
68
|
# ViewSet for NPM Distributions.
|
66
69
|
# @param [Hash] opts the optional parameters
|
67
70
|
# @option opts [String] :base_path base_path
|
@@ -83,6 +86,7 @@ describe 'DistributionsNpmApi' do
|
|
83
86
|
end
|
84
87
|
|
85
88
|
# unit tests for partial_update
|
89
|
+
# Update a npm distribution
|
86
90
|
# Trigger an asynchronous partial update task
|
87
91
|
# @param npm_distribution_href
|
88
92
|
# @param patchednpm_npm_distribution
|
@@ -102,6 +106,7 @@ describe 'DistributionsNpmApi' do
|
|
102
106
|
end
|
103
107
|
|
104
108
|
# unit tests for read
|
109
|
+
# Inspect a npm distribution
|
105
110
|
# ViewSet for NPM Distributions.
|
106
111
|
# @param npm_distribution_href
|
107
112
|
# @param [Hash] opts the optional parameters
|
@@ -115,6 +120,7 @@ describe 'DistributionsNpmApi' do
|
|
115
120
|
end
|
116
121
|
|
117
122
|
# unit tests for update
|
123
|
+
# Update a npm distribution
|
118
124
|
# Trigger an asynchronous update task
|
119
125
|
# @param npm_distribution_href
|
120
126
|
# @param npm_npm_distribution
|
@@ -33,6 +33,7 @@ describe 'RemotesNpmApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
+
# Create a npm remote
|
36
37
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
37
38
|
# @param npm_npm_remote
|
38
39
|
# @param [Hash] opts the optional parameters
|
@@ -44,6 +45,7 @@ describe 'RemotesNpmApi' do
|
|
44
45
|
end
|
45
46
|
|
46
47
|
# unit tests for delete
|
48
|
+
# Delete a npm remote
|
47
49
|
# Trigger an asynchronous delete task
|
48
50
|
# @param npm_remote_href
|
49
51
|
# @param [Hash] opts the optional parameters
|
@@ -64,6 +66,7 @@ describe 'RemotesNpmApi' do
|
|
64
66
|
end
|
65
67
|
|
66
68
|
# unit tests for list
|
69
|
+
# List npm remotes
|
67
70
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
68
71
|
# @param [Hash] opts the optional parameters
|
69
72
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -87,6 +90,7 @@ describe 'RemotesNpmApi' do
|
|
87
90
|
end
|
88
91
|
|
89
92
|
# unit tests for partial_update
|
93
|
+
# Update a npm remote
|
90
94
|
# Trigger an asynchronous partial update task
|
91
95
|
# @param npm_remote_href
|
92
96
|
# @param patchednpm_npm_remote
|
@@ -108,6 +112,7 @@ describe 'RemotesNpmApi' do
|
|
108
112
|
end
|
109
113
|
|
110
114
|
# unit tests for read
|
115
|
+
# Inspect a npm remote
|
111
116
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
112
117
|
# @param npm_remote_href
|
113
118
|
# @param [Hash] opts the optional parameters
|
@@ -121,6 +126,7 @@ describe 'RemotesNpmApi' do
|
|
121
126
|
end
|
122
127
|
|
123
128
|
# unit tests for update
|
129
|
+
# Update a npm remote
|
124
130
|
# Trigger an asynchronous update task
|
125
131
|
# @param npm_remote_href
|
126
132
|
# @param npm_npm_remote
|
@@ -33,6 +33,7 @@ describe 'RepositoriesNpmApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
+
# Create a npm repository
|
36
37
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
37
38
|
# @param npm_npm_repository
|
38
39
|
# @param [Hash] opts the optional parameters
|
@@ -44,6 +45,7 @@ describe 'RepositoriesNpmApi' do
|
|
44
45
|
end
|
45
46
|
|
46
47
|
# unit tests for delete
|
48
|
+
# Delete a npm repository
|
47
49
|
# Trigger an asynchronous delete task
|
48
50
|
# @param npm_repository_href
|
49
51
|
# @param [Hash] opts the optional parameters
|
@@ -58,6 +60,7 @@ describe 'RepositoriesNpmApi' do
|
|
58
60
|
end
|
59
61
|
|
60
62
|
# unit tests for list
|
63
|
+
# List npm repositorys
|
61
64
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
62
65
|
# @param [Hash] opts the optional parameters
|
63
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -88,6 +91,7 @@ describe 'RepositoriesNpmApi' do
|
|
88
91
|
end
|
89
92
|
|
90
93
|
# unit tests for partial_update
|
94
|
+
# Update a npm repository
|
91
95
|
# Trigger an asynchronous partial update task
|
92
96
|
# @param npm_repository_href
|
93
97
|
# @param patchednpm_npm_repository
|
@@ -103,6 +107,7 @@ describe 'RepositoriesNpmApi' do
|
|
103
107
|
end
|
104
108
|
|
105
109
|
# unit tests for read
|
110
|
+
# Inspect a npm repository
|
106
111
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
107
112
|
# @param npm_repository_href
|
108
113
|
# @param [Hash] opts the optional parameters
|
@@ -129,6 +134,7 @@ describe 'RepositoriesNpmApi' do
|
|
129
134
|
end
|
130
135
|
|
131
136
|
# unit tests for update
|
137
|
+
# Update a npm repository
|
132
138
|
# Trigger an asynchronous update task
|
133
139
|
# @param npm_repository_href
|
134
140
|
# @param npm_npm_repository
|
@@ -33,6 +33,7 @@ describe 'RepositoriesNpmVersionsApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for delete
|
36
|
+
# Delete a repository version
|
36
37
|
# Trigger an asynchronous task to delete a repositroy version.
|
37
38
|
# @param npm_repository_version_href
|
38
39
|
# @param [Hash] opts the optional parameters
|
@@ -59,6 +60,7 @@ describe 'RepositoriesNpmVersionsApi' do
|
|
59
60
|
end
|
60
61
|
|
61
62
|
# unit tests for list
|
63
|
+
# List repository versions
|
62
64
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
63
65
|
# @param npm_repository_version_href
|
64
66
|
# @param [Hash] opts the optional parameters
|
@@ -89,6 +91,7 @@ describe 'RepositoriesNpmVersionsApi' do
|
|
89
91
|
end
|
90
92
|
|
91
93
|
# unit tests for read
|
94
|
+
# Inspect a repository version
|
92
95
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
93
96
|
# @param npm_repository_version_href
|
94
97
|
# @param [Hash] opts the optional parameters
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_npm_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0a1.
|
4
|
+
version: 0.1.0a1.dev01596072518
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|