pulp_deb_client 2.4.0b1 → 2.5.0b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +35 -48
- data/docs/ContentGenericContentsApi.md +2 -2
- data/docs/ContentInstallerFileIndicesApi.md +4 -4
- data/docs/ContentInstallerPackagesApi.md +2 -2
- data/docs/ContentPackageIndicesApi.md +4 -4
- data/docs/ContentPackageReleaseComponentsApi.md +4 -4
- data/docs/ContentPackagesApi.md +2 -2
- data/docs/ContentReleaseArchitecturesApi.md +4 -4
- data/docs/ContentReleaseComponentsApi.md +4 -4
- data/docs/ContentReleaseFilesApi.md +4 -4
- data/docs/ContentReleasesApi.md +4 -4
- data/docs/{DebDebDistribution.md → DebAptDistribution.md} +2 -2
- data/docs/{DebDebPublication.md → DebAptPublication.md} +2 -2
- data/docs/{DebDebRemote.md → DebAptRemote.md} +2 -2
- data/docs/{DebDebRepository.md → DebAptRepository.md} +2 -2
- data/docs/{DebBasePackageRead.md → DebBasePackage.md} +2 -2
- data/docs/{DebGenericContentRead.md → DebGenericContent.md} +2 -2
- data/docs/DistributionsAptApi.md +43 -43
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PublicationsAptApi.md +26 -26
- data/docs/PublicationsVerbatimApi.md +2 -2
- data/docs/RemotesAptApi.md +46 -46
- data/docs/RepositoriesAptApi.md +56 -56
- data/docs/RepositoriesDebVersionsApi.md +13 -11
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +3 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +3 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_packages_api.rb +3 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_release_components_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_release_files_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_releases_api.rb +6 -6
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +61 -61
- data/lib/pulp_deb_client/api/publications_apt_api.rb +37 -37
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +3 -3
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +66 -66
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +84 -84
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +22 -19
- data/lib/pulp_deb_client/models/{deb_deb_distribution.rb → deb_apt_distribution.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_deb_publication.rb → deb_apt_publication.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_deb_remote.rb → deb_apt_remote.rb} +6 -3
- data/lib/pulp_deb_client/models/{deb_deb_repository.rb → deb_apt_repository.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_base_package_read.rb → deb_base_package.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_generic_content_read.rb → deb_generic_content.rb} +3 -3
- data/lib/pulp_deb_client/models/inline_response200.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20010.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20011.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20012.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20013.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20014.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2008.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2009.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +6 -19
- data/spec/api/content_generic_contents_api_spec.rb +1 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +2 -2
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/content_package_indices_api_spec.rb +2 -2
- data/spec/api/content_package_release_components_api_spec.rb +2 -2
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_release_architectures_api_spec.rb +2 -2
- data/spec/api/content_release_components_api_spec.rb +2 -2
- data/spec/api/content_release_files_api_spec.rb +2 -2
- data/spec/api/content_releases_api_spec.rb +2 -2
- data/spec/api/distributions_apt_api_spec.rb +13 -13
- data/spec/api/publications_apt_api_spec.rb +10 -10
- data/spec/api/publications_verbatim_api_spec.rb +1 -1
- data/spec/api/remotes_apt_api_spec.rb +15 -15
- data/spec/api/repositories_apt_api_spec.rb +17 -17
- data/spec/api/repositories_deb_versions_api_spec.rb +6 -5
- data/spec/models/{deb_deb_distribution_spec.rb → deb_apt_distribution_spec.rb} +6 -6
- data/spec/models/{deb_deb_publication_spec.rb → deb_apt_publication_spec.rb} +6 -6
- data/spec/models/{deb_deb_remote_spec.rb → deb_apt_remote_spec.rb} +6 -6
- data/spec/models/{deb_deb_repository_spec.rb → deb_apt_repository_spec.rb} +6 -6
- data/spec/models/{deb_base_package_read_spec.rb → deb_base_package_spec.rb} +6 -6
- data/spec/models/{deb_generic_content_read_spec.rb → deb_generic_content_spec.rb} +6 -6
- metadata +26 -78
- data/docs/DebDebDistributionRead.md +0 -29
- data/docs/DebDebPublicationRead.md +0 -29
- data/docs/DebDebRemoteRead.md +0 -57
- data/docs/DebDebRepositoryRead.md +0 -27
- data/docs/DebInstallerFileIndexRead.md +0 -29
- data/docs/DebPackageIndexRead.md +0 -29
- data/docs/DebPackageReleaseComponentRead.md +0 -23
- data/docs/DebReleaseArchitectureRead.md +0 -23
- data/docs/DebReleaseComponentRead.md +0 -23
- data/docs/DebReleaseFileRead.md +0 -29
- data/docs/DebReleaseRead.md +0 -25
- data/docs/DebVerbatimPublicationRead.md +0 -23
- data/docs/RepositoryVersionRead.md +0 -25
- data/lib/pulp_deb_client/models/deb_deb_distribution_read.rb +0 -331
- data/lib/pulp_deb_client/models/deb_deb_publication_read.rb +0 -269
- data/lib/pulp_deb_client/models/deb_deb_remote_read.rb +0 -670
- data/lib/pulp_deb_client/models/deb_deb_repository_read.rb +0 -294
- data/lib/pulp_deb_client/models/deb_installer_file_index_read.rb +0 -341
- data/lib/pulp_deb_client/models/deb_package_index_read.rb +0 -341
- data/lib/pulp_deb_client/models/deb_package_release_component_read.rb +0 -246
- data/lib/pulp_deb_client/models/deb_release_architecture_read.rb +0 -265
- data/lib/pulp_deb_client/models/deb_release_component_read.rb +0 -265
- data/lib/pulp_deb_client/models/deb_release_file_read.rb +0 -342
- data/lib/pulp_deb_client/models/deb_release_read.rb +0 -315
- data/lib/pulp_deb_client/models/deb_verbatim_publication_read.rb +0 -235
- data/lib/pulp_deb_client/models/repository_version_read.rb +0 -244
- data/spec/models/deb_deb_distribution_read_spec.rb +0 -77
- data/spec/models/deb_deb_publication_read_spec.rb +0 -77
- data/spec/models/deb_deb_remote_read_spec.rb +0 -165
- data/spec/models/deb_deb_repository_read_spec.rb +0 -71
- data/spec/models/deb_installer_file_index_read_spec.rb +0 -77
- data/spec/models/deb_package_index_read_spec.rb +0 -77
- data/spec/models/deb_package_release_component_read_spec.rb +0 -59
- data/spec/models/deb_release_architecture_read_spec.rb +0 -59
- data/spec/models/deb_release_component_read_spec.rb +0 -59
- data/spec/models/deb_release_file_read_spec.rb +0 -77
- data/spec/models/deb_release_read_spec.rb +0 -65
- data/spec/models/deb_verbatim_publication_read_spec.rb +0 -59
- data/spec/models/repository_version_read_spec.rb +0 -65
data/docs/RemotesAptApi.md
CHANGED
@@ -4,22 +4,22 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](RemotesAptApi.md#create) | **POST** /pulp/api/v3/remotes/deb/apt/ | Create
|
8
|
-
[**delete**](RemotesAptApi.md#delete) | **DELETE** {
|
9
|
-
[**list**](RemotesAptApi.md#list) | **GET** /pulp/api/v3/remotes/deb/apt/ | List
|
10
|
-
[**partial_update**](RemotesAptApi.md#partial_update) | **PATCH** {
|
11
|
-
[**read**](RemotesAptApi.md#read) | **GET** {
|
12
|
-
[**update**](RemotesAptApi.md#update) | **PUT** {
|
7
|
+
[**create**](RemotesAptApi.md#create) | **POST** /pulp/api/v3/remotes/deb/apt/ | Create an apt remote
|
8
|
+
[**delete**](RemotesAptApi.md#delete) | **DELETE** {apt_remote_href} | Delete an apt remote
|
9
|
+
[**list**](RemotesAptApi.md#list) | **GET** /pulp/api/v3/remotes/deb/apt/ | List apt remotes
|
10
|
+
[**partial_update**](RemotesAptApi.md#partial_update) | **PATCH** {apt_remote_href} | Partially update an apt remote
|
11
|
+
[**read**](RemotesAptApi.md#read) | **GET** {apt_remote_href} | Inspect an apt remote
|
12
|
+
[**update**](RemotesAptApi.md#update) | **PUT** {apt_remote_href} | Update an apt remote
|
13
13
|
|
14
14
|
|
15
15
|
|
16
16
|
## create
|
17
17
|
|
18
|
-
>
|
18
|
+
> DebAptRemote create(data)
|
19
19
|
|
20
|
-
Create
|
20
|
+
Create an apt remote
|
21
21
|
|
22
|
-
A ViewSet for
|
22
|
+
A ViewSet for AptRemote.
|
23
23
|
|
24
24
|
### Example
|
25
25
|
|
@@ -34,10 +34,10 @@ PulpDebClient.configure do |config|
|
|
34
34
|
end
|
35
35
|
|
36
36
|
api_instance = PulpDebClient::RemotesAptApi.new
|
37
|
-
data = PulpDebClient::
|
37
|
+
data = PulpDebClient::DebAptRemote.new # DebAptRemote |
|
38
38
|
|
39
39
|
begin
|
40
|
-
#Create
|
40
|
+
#Create an apt remote
|
41
41
|
result = api_instance.create(data)
|
42
42
|
p result
|
43
43
|
rescue PulpDebClient::ApiError => e
|
@@ -50,11 +50,11 @@ end
|
|
50
50
|
|
51
51
|
Name | Type | Description | Notes
|
52
52
|
------------- | ------------- | ------------- | -------------
|
53
|
-
**data** | [**
|
53
|
+
**data** | [**DebAptRemote**](DebAptRemote.md)| |
|
54
54
|
|
55
55
|
### Return type
|
56
56
|
|
57
|
-
[**
|
57
|
+
[**DebAptRemote**](DebAptRemote.md)
|
58
58
|
|
59
59
|
### Authorization
|
60
60
|
|
@@ -68,9 +68,9 @@ Name | Type | Description | Notes
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> AsyncOperationResponse delete(
|
71
|
+
> AsyncOperationResponse delete(apt_remote_href)
|
72
72
|
|
73
|
-
Delete
|
73
|
+
Delete an apt remote
|
74
74
|
|
75
75
|
Trigger an asynchronous delete task
|
76
76
|
|
@@ -87,11 +87,11 @@ PulpDebClient.configure do |config|
|
|
87
87
|
end
|
88
88
|
|
89
89
|
api_instance = PulpDebClient::RemotesAptApi.new
|
90
|
-
|
90
|
+
apt_remote_href = 'apt_remote_href_example' # String | URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
|
91
91
|
|
92
92
|
begin
|
93
|
-
#Delete
|
94
|
-
result = api_instance.delete(
|
93
|
+
#Delete an apt remote
|
94
|
+
result = api_instance.delete(apt_remote_href)
|
95
95
|
p result
|
96
96
|
rescue PulpDebClient::ApiError => e
|
97
97
|
puts "Exception when calling RemotesAptApi->delete: #{e}"
|
@@ -103,7 +103,7 @@ end
|
|
103
103
|
|
104
104
|
Name | Type | Description | Notes
|
105
105
|
------------- | ------------- | ------------- | -------------
|
106
|
-
**
|
106
|
+
**apt_remote_href** | **String**| URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/ |
|
107
107
|
|
108
108
|
### Return type
|
109
109
|
|
@@ -123,9 +123,9 @@ Name | Type | Description | Notes
|
|
123
123
|
|
124
124
|
> InlineResponse20012 list(opts)
|
125
125
|
|
126
|
-
List
|
126
|
+
List apt remotes
|
127
127
|
|
128
|
-
A ViewSet for
|
128
|
+
A ViewSet for AptRemote.
|
129
129
|
|
130
130
|
### Example
|
131
131
|
|
@@ -157,7 +157,7 @@ opts = {
|
|
157
157
|
}
|
158
158
|
|
159
159
|
begin
|
160
|
-
#List
|
160
|
+
#List apt remotes
|
161
161
|
result = api_instance.list(opts)
|
162
162
|
p result
|
163
163
|
rescue PulpDebClient::ApiError => e
|
@@ -200,9 +200,9 @@ Name | Type | Description | Notes
|
|
200
200
|
|
201
201
|
## partial_update
|
202
202
|
|
203
|
-
> AsyncOperationResponse partial_update(
|
203
|
+
> AsyncOperationResponse partial_update(apt_remote_href, data)
|
204
204
|
|
205
|
-
Partially update
|
205
|
+
Partially update an apt remote
|
206
206
|
|
207
207
|
Trigger an asynchronous partial update task
|
208
208
|
|
@@ -219,12 +219,12 @@ PulpDebClient.configure do |config|
|
|
219
219
|
end
|
220
220
|
|
221
221
|
api_instance = PulpDebClient::RemotesAptApi.new
|
222
|
-
|
223
|
-
data = PulpDebClient::
|
222
|
+
apt_remote_href = 'apt_remote_href_example' # String | URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
|
223
|
+
data = PulpDebClient::DebAptRemote.new # DebAptRemote |
|
224
224
|
|
225
225
|
begin
|
226
|
-
#Partially update
|
227
|
-
result = api_instance.partial_update(
|
226
|
+
#Partially update an apt remote
|
227
|
+
result = api_instance.partial_update(apt_remote_href, data)
|
228
228
|
p result
|
229
229
|
rescue PulpDebClient::ApiError => e
|
230
230
|
puts "Exception when calling RemotesAptApi->partial_update: #{e}"
|
@@ -236,8 +236,8 @@ end
|
|
236
236
|
|
237
237
|
Name | Type | Description | Notes
|
238
238
|
------------- | ------------- | ------------- | -------------
|
239
|
-
**
|
240
|
-
**data** | [**
|
239
|
+
**apt_remote_href** | **String**| URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/ |
|
240
|
+
**data** | [**DebAptRemote**](DebAptRemote.md)| |
|
241
241
|
|
242
242
|
### Return type
|
243
243
|
|
@@ -255,11 +255,11 @@ Name | Type | Description | Notes
|
|
255
255
|
|
256
256
|
## read
|
257
257
|
|
258
|
-
>
|
258
|
+
> DebAptRemote read(apt_remote_href, opts)
|
259
259
|
|
260
|
-
Inspect
|
260
|
+
Inspect an apt remote
|
261
261
|
|
262
|
-
A ViewSet for
|
262
|
+
A ViewSet for AptRemote.
|
263
263
|
|
264
264
|
### Example
|
265
265
|
|
@@ -274,15 +274,15 @@ PulpDebClient.configure do |config|
|
|
274
274
|
end
|
275
275
|
|
276
276
|
api_instance = PulpDebClient::RemotesAptApi.new
|
277
|
-
|
277
|
+
apt_remote_href = 'apt_remote_href_example' # String | URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
|
278
278
|
opts = {
|
279
279
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
280
280
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
281
281
|
}
|
282
282
|
|
283
283
|
begin
|
284
|
-
#Inspect
|
285
|
-
result = api_instance.read(
|
284
|
+
#Inspect an apt remote
|
285
|
+
result = api_instance.read(apt_remote_href, opts)
|
286
286
|
p result
|
287
287
|
rescue PulpDebClient::ApiError => e
|
288
288
|
puts "Exception when calling RemotesAptApi->read: #{e}"
|
@@ -294,13 +294,13 @@ end
|
|
294
294
|
|
295
295
|
Name | Type | Description | Notes
|
296
296
|
------------- | ------------- | ------------- | -------------
|
297
|
-
**
|
297
|
+
**apt_remote_href** | **String**| URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/ |
|
298
298
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
299
299
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
300
300
|
|
301
301
|
### Return type
|
302
302
|
|
303
|
-
[**
|
303
|
+
[**DebAptRemote**](DebAptRemote.md)
|
304
304
|
|
305
305
|
### Authorization
|
306
306
|
|
@@ -314,9 +314,9 @@ Name | Type | Description | Notes
|
|
314
314
|
|
315
315
|
## update
|
316
316
|
|
317
|
-
> AsyncOperationResponse update(
|
317
|
+
> AsyncOperationResponse update(apt_remote_href, data)
|
318
318
|
|
319
|
-
Update
|
319
|
+
Update an apt remote
|
320
320
|
|
321
321
|
Trigger an asynchronous update task
|
322
322
|
|
@@ -333,12 +333,12 @@ PulpDebClient.configure do |config|
|
|
333
333
|
end
|
334
334
|
|
335
335
|
api_instance = PulpDebClient::RemotesAptApi.new
|
336
|
-
|
337
|
-
data = PulpDebClient::
|
336
|
+
apt_remote_href = 'apt_remote_href_example' # String | URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
|
337
|
+
data = PulpDebClient::DebAptRemote.new # DebAptRemote |
|
338
338
|
|
339
339
|
begin
|
340
|
-
#Update
|
341
|
-
result = api_instance.update(
|
340
|
+
#Update an apt remote
|
341
|
+
result = api_instance.update(apt_remote_href, data)
|
342
342
|
p result
|
343
343
|
rescue PulpDebClient::ApiError => e
|
344
344
|
puts "Exception when calling RemotesAptApi->update: #{e}"
|
@@ -350,8 +350,8 @@ end
|
|
350
350
|
|
351
351
|
Name | Type | Description | Notes
|
352
352
|
------------- | ------------- | ------------- | -------------
|
353
|
-
**
|
354
|
-
**data** | [**
|
353
|
+
**apt_remote_href** | **String**| URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/ |
|
354
|
+
**data** | [**DebAptRemote**](DebAptRemote.md)| |
|
355
355
|
|
356
356
|
### Return type
|
357
357
|
|
data/docs/RepositoriesAptApi.md
CHANGED
@@ -4,24 +4,24 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](RepositoriesAptApi.md#create) | **POST** /pulp/api/v3/repositories/deb/apt/ | Create
|
8
|
-
[**delete**](RepositoriesAptApi.md#delete) | **DELETE** {
|
9
|
-
[**list**](RepositoriesAptApi.md#list) | **GET** /pulp/api/v3/repositories/deb/apt/ | List
|
10
|
-
[**modify**](RepositoriesAptApi.md#modify) | **POST** {
|
11
|
-
[**partial_update**](RepositoriesAptApi.md#partial_update) | **PATCH** {
|
12
|
-
[**read**](RepositoriesAptApi.md#read) | **GET** {
|
13
|
-
[**sync**](RepositoriesAptApi.md#sync) | **POST** {
|
14
|
-
[**update**](RepositoriesAptApi.md#update) | **PUT** {
|
7
|
+
[**create**](RepositoriesAptApi.md#create) | **POST** /pulp/api/v3/repositories/deb/apt/ | Create an apt repository
|
8
|
+
[**delete**](RepositoriesAptApi.md#delete) | **DELETE** {apt_repository_href} | Delete an apt repository
|
9
|
+
[**list**](RepositoriesAptApi.md#list) | **GET** /pulp/api/v3/repositories/deb/apt/ | List apt repositorys
|
10
|
+
[**modify**](RepositoriesAptApi.md#modify) | **POST** {apt_repository_href}modify/ | Modify Repository Content
|
11
|
+
[**partial_update**](RepositoriesAptApi.md#partial_update) | **PATCH** {apt_repository_href} | Partially update an apt repository
|
12
|
+
[**read**](RepositoriesAptApi.md#read) | **GET** {apt_repository_href} | Inspect an apt repository
|
13
|
+
[**sync**](RepositoriesAptApi.md#sync) | **POST** {apt_repository_href}sync/ | Sync from remote
|
14
|
+
[**update**](RepositoriesAptApi.md#update) | **PUT** {apt_repository_href} | Update an apt repository
|
15
15
|
|
16
16
|
|
17
17
|
|
18
18
|
## create
|
19
19
|
|
20
|
-
>
|
20
|
+
> DebAptRepository create(data)
|
21
21
|
|
22
|
-
Create
|
22
|
+
Create an apt repository
|
23
23
|
|
24
|
-
A ViewSet for
|
24
|
+
A ViewSet for AptRepository.
|
25
25
|
|
26
26
|
### Example
|
27
27
|
|
@@ -36,10 +36,10 @@ PulpDebClient.configure do |config|
|
|
36
36
|
end
|
37
37
|
|
38
38
|
api_instance = PulpDebClient::RepositoriesAptApi.new
|
39
|
-
data = PulpDebClient::
|
39
|
+
data = PulpDebClient::DebAptRepository.new # DebAptRepository |
|
40
40
|
|
41
41
|
begin
|
42
|
-
#Create
|
42
|
+
#Create an apt repository
|
43
43
|
result = api_instance.create(data)
|
44
44
|
p result
|
45
45
|
rescue PulpDebClient::ApiError => e
|
@@ -52,11 +52,11 @@ end
|
|
52
52
|
|
53
53
|
Name | Type | Description | Notes
|
54
54
|
------------- | ------------- | ------------- | -------------
|
55
|
-
**data** | [**
|
55
|
+
**data** | [**DebAptRepository**](DebAptRepository.md)| |
|
56
56
|
|
57
57
|
### Return type
|
58
58
|
|
59
|
-
[**
|
59
|
+
[**DebAptRepository**](DebAptRepository.md)
|
60
60
|
|
61
61
|
### Authorization
|
62
62
|
|
@@ -70,9 +70,9 @@ Name | Type | Description | Notes
|
|
70
70
|
|
71
71
|
## delete
|
72
72
|
|
73
|
-
> AsyncOperationResponse delete(
|
73
|
+
> AsyncOperationResponse delete(apt_repository_href)
|
74
74
|
|
75
|
-
Delete
|
75
|
+
Delete an apt repository
|
76
76
|
|
77
77
|
Trigger an asynchronous delete task
|
78
78
|
|
@@ -89,11 +89,11 @@ PulpDebClient.configure do |config|
|
|
89
89
|
end
|
90
90
|
|
91
91
|
api_instance = PulpDebClient::RepositoriesAptApi.new
|
92
|
-
|
92
|
+
apt_repository_href = 'apt_repository_href_example' # String | URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
93
93
|
|
94
94
|
begin
|
95
|
-
#Delete
|
96
|
-
result = api_instance.delete(
|
95
|
+
#Delete an apt repository
|
96
|
+
result = api_instance.delete(apt_repository_href)
|
97
97
|
p result
|
98
98
|
rescue PulpDebClient::ApiError => e
|
99
99
|
puts "Exception when calling RepositoriesAptApi->delete: #{e}"
|
@@ -105,7 +105,7 @@ end
|
|
105
105
|
|
106
106
|
Name | Type | Description | Notes
|
107
107
|
------------- | ------------- | ------------- | -------------
|
108
|
-
**
|
108
|
+
**apt_repository_href** | **String**| URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/ |
|
109
109
|
|
110
110
|
### Return type
|
111
111
|
|
@@ -125,9 +125,9 @@ Name | Type | Description | Notes
|
|
125
125
|
|
126
126
|
> InlineResponse20013 list(opts)
|
127
127
|
|
128
|
-
List
|
128
|
+
List apt repositorys
|
129
129
|
|
130
|
-
A ViewSet for
|
130
|
+
A ViewSet for AptRepository.
|
131
131
|
|
132
132
|
### Example
|
133
133
|
|
@@ -153,7 +153,7 @@ opts = {
|
|
153
153
|
}
|
154
154
|
|
155
155
|
begin
|
156
|
-
#List
|
156
|
+
#List apt repositorys
|
157
157
|
result = api_instance.list(opts)
|
158
158
|
p result
|
159
159
|
rescue PulpDebClient::ApiError => e
|
@@ -190,7 +190,7 @@ Name | Type | Description | Notes
|
|
190
190
|
|
191
191
|
## modify
|
192
192
|
|
193
|
-
> AsyncOperationResponse modify(
|
193
|
+
> AsyncOperationResponse modify(apt_repository_href, data)
|
194
194
|
|
195
195
|
Modify Repository Content
|
196
196
|
|
@@ -209,12 +209,12 @@ PulpDebClient.configure do |config|
|
|
209
209
|
end
|
210
210
|
|
211
211
|
api_instance = PulpDebClient::RepositoriesAptApi.new
|
212
|
-
|
212
|
+
apt_repository_href = 'apt_repository_href_example' # String | URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
213
213
|
data = PulpDebClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
|
214
214
|
|
215
215
|
begin
|
216
216
|
#Modify Repository Content
|
217
|
-
result = api_instance.modify(
|
217
|
+
result = api_instance.modify(apt_repository_href, data)
|
218
218
|
p result
|
219
219
|
rescue PulpDebClient::ApiError => e
|
220
220
|
puts "Exception when calling RepositoriesAptApi->modify: #{e}"
|
@@ -226,7 +226,7 @@ end
|
|
226
226
|
|
227
227
|
Name | Type | Description | Notes
|
228
228
|
------------- | ------------- | ------------- | -------------
|
229
|
-
**
|
229
|
+
**apt_repository_href** | **String**| URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/ |
|
230
230
|
**data** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
|
231
231
|
|
232
232
|
### Return type
|
@@ -245,9 +245,9 @@ Name | Type | Description | Notes
|
|
245
245
|
|
246
246
|
## partial_update
|
247
247
|
|
248
|
-
> AsyncOperationResponse partial_update(
|
248
|
+
> AsyncOperationResponse partial_update(apt_repository_href, data)
|
249
249
|
|
250
|
-
Partially update
|
250
|
+
Partially update an apt repository
|
251
251
|
|
252
252
|
Trigger an asynchronous partial update task
|
253
253
|
|
@@ -264,12 +264,12 @@ PulpDebClient.configure do |config|
|
|
264
264
|
end
|
265
265
|
|
266
266
|
api_instance = PulpDebClient::RepositoriesAptApi.new
|
267
|
-
|
268
|
-
data = PulpDebClient::
|
267
|
+
apt_repository_href = 'apt_repository_href_example' # String | URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
268
|
+
data = PulpDebClient::DebAptRepository.new # DebAptRepository |
|
269
269
|
|
270
270
|
begin
|
271
|
-
#Partially update
|
272
|
-
result = api_instance.partial_update(
|
271
|
+
#Partially update an apt repository
|
272
|
+
result = api_instance.partial_update(apt_repository_href, data)
|
273
273
|
p result
|
274
274
|
rescue PulpDebClient::ApiError => e
|
275
275
|
puts "Exception when calling RepositoriesAptApi->partial_update: #{e}"
|
@@ -281,8 +281,8 @@ end
|
|
281
281
|
|
282
282
|
Name | Type | Description | Notes
|
283
283
|
------------- | ------------- | ------------- | -------------
|
284
|
-
**
|
285
|
-
**data** | [**
|
284
|
+
**apt_repository_href** | **String**| URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/ |
|
285
|
+
**data** | [**DebAptRepository**](DebAptRepository.md)| |
|
286
286
|
|
287
287
|
### Return type
|
288
288
|
|
@@ -300,11 +300,11 @@ Name | Type | Description | Notes
|
|
300
300
|
|
301
301
|
## read
|
302
302
|
|
303
|
-
>
|
303
|
+
> DebAptRepository read(apt_repository_href, opts)
|
304
304
|
|
305
|
-
Inspect
|
305
|
+
Inspect an apt repository
|
306
306
|
|
307
|
-
A ViewSet for
|
307
|
+
A ViewSet for AptRepository.
|
308
308
|
|
309
309
|
### Example
|
310
310
|
|
@@ -319,15 +319,15 @@ PulpDebClient.configure do |config|
|
|
319
319
|
end
|
320
320
|
|
321
321
|
api_instance = PulpDebClient::RepositoriesAptApi.new
|
322
|
-
|
322
|
+
apt_repository_href = 'apt_repository_href_example' # String | URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
323
323
|
opts = {
|
324
324
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
325
325
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
326
326
|
}
|
327
327
|
|
328
328
|
begin
|
329
|
-
#Inspect
|
330
|
-
result = api_instance.read(
|
329
|
+
#Inspect an apt repository
|
330
|
+
result = api_instance.read(apt_repository_href, opts)
|
331
331
|
p result
|
332
332
|
rescue PulpDebClient::ApiError => e
|
333
333
|
puts "Exception when calling RepositoriesAptApi->read: #{e}"
|
@@ -339,13 +339,13 @@ end
|
|
339
339
|
|
340
340
|
Name | Type | Description | Notes
|
341
341
|
------------- | ------------- | ------------- | -------------
|
342
|
-
**
|
342
|
+
**apt_repository_href** | **String**| URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/ |
|
343
343
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
344
344
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
345
345
|
|
346
346
|
### Return type
|
347
347
|
|
348
|
-
[**
|
348
|
+
[**DebAptRepository**](DebAptRepository.md)
|
349
349
|
|
350
350
|
### Authorization
|
351
351
|
|
@@ -359,7 +359,7 @@ Name | Type | Description | Notes
|
|
359
359
|
|
360
360
|
## sync
|
361
361
|
|
362
|
-
> AsyncOperationResponse sync(
|
362
|
+
> AsyncOperationResponse sync(apt_repository_href, data)
|
363
363
|
|
364
364
|
Sync from remote
|
365
365
|
|
@@ -378,12 +378,12 @@ PulpDebClient.configure do |config|
|
|
378
378
|
end
|
379
379
|
|
380
380
|
api_instance = PulpDebClient::RepositoriesAptApi.new
|
381
|
-
|
381
|
+
apt_repository_href = 'apt_repository_href_example' # String | URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
382
382
|
data = PulpDebClient::RepositorySyncURL.new # RepositorySyncURL |
|
383
383
|
|
384
384
|
begin
|
385
385
|
#Sync from remote
|
386
|
-
result = api_instance.sync(
|
386
|
+
result = api_instance.sync(apt_repository_href, data)
|
387
387
|
p result
|
388
388
|
rescue PulpDebClient::ApiError => e
|
389
389
|
puts "Exception when calling RepositoriesAptApi->sync: #{e}"
|
@@ -395,7 +395,7 @@ end
|
|
395
395
|
|
396
396
|
Name | Type | Description | Notes
|
397
397
|
------------- | ------------- | ------------- | -------------
|
398
|
-
**
|
398
|
+
**apt_repository_href** | **String**| URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/ |
|
399
399
|
**data** | [**RepositorySyncURL**](RepositorySyncURL.md)| |
|
400
400
|
|
401
401
|
### Return type
|
@@ -414,9 +414,9 @@ Name | Type | Description | Notes
|
|
414
414
|
|
415
415
|
## update
|
416
416
|
|
417
|
-
> AsyncOperationResponse update(
|
417
|
+
> AsyncOperationResponse update(apt_repository_href, data)
|
418
418
|
|
419
|
-
Update
|
419
|
+
Update an apt repository
|
420
420
|
|
421
421
|
Trigger an asynchronous update task
|
422
422
|
|
@@ -433,12 +433,12 @@ PulpDebClient.configure do |config|
|
|
433
433
|
end
|
434
434
|
|
435
435
|
api_instance = PulpDebClient::RepositoriesAptApi.new
|
436
|
-
|
437
|
-
data = PulpDebClient::
|
436
|
+
apt_repository_href = 'apt_repository_href_example' # String | URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
437
|
+
data = PulpDebClient::DebAptRepository.new # DebAptRepository |
|
438
438
|
|
439
439
|
begin
|
440
|
-
#Update
|
441
|
-
result = api_instance.update(
|
440
|
+
#Update an apt repository
|
441
|
+
result = api_instance.update(apt_repository_href, data)
|
442
442
|
p result
|
443
443
|
rescue PulpDebClient::ApiError => e
|
444
444
|
puts "Exception when calling RepositoriesAptApi->update: #{e}"
|
@@ -450,8 +450,8 @@ end
|
|
450
450
|
|
451
451
|
Name | Type | Description | Notes
|
452
452
|
------------- | ------------- | ------------- | -------------
|
453
|
-
**
|
454
|
-
**data** | [**
|
453
|
+
**apt_repository_href** | **String**| URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/ |
|
454
|
+
**data** | [**DebAptRepository**](DebAptRepository.md)| |
|
455
455
|
|
456
456
|
### Return type
|
457
457
|
|
@@ -5,7 +5,7 @@ All URIs are relative to *http://pulp*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**delete**](RepositoriesDebVersionsApi.md#delete) | **DELETE** {apt_repository_version_href} | Delete a repository version
|
8
|
-
[**list**](RepositoriesDebVersionsApi.md#list) | **GET**
|
8
|
+
[**list**](RepositoriesDebVersionsApi.md#list) | **GET** {apt_repository_href}versions/ | List repository versions
|
9
9
|
[**read**](RepositoriesDebVersionsApi.md#read) | **GET** {apt_repository_version_href} | Inspect a repository version
|
10
10
|
[**repair**](RepositoriesDebVersionsApi.md#repair) | **POST** {apt_repository_version_href}repair/ |
|
11
11
|
|
@@ -66,11 +66,11 @@ Name | Type | Description | Notes
|
|
66
66
|
|
67
67
|
## list
|
68
68
|
|
69
|
-
> InlineResponse20014 list(
|
69
|
+
> InlineResponse20014 list(apt_repository_href, opts)
|
70
70
|
|
71
71
|
List repository versions
|
72
72
|
|
73
|
-
|
73
|
+
AptRepositoryVersion represents a single deb repository version.
|
74
74
|
|
75
75
|
### Example
|
76
76
|
|
@@ -85,7 +85,7 @@ PulpDebClient.configure do |config|
|
|
85
85
|
end
|
86
86
|
|
87
87
|
api_instance = PulpDebClient::RepositoriesDebVersionsApi.new
|
88
|
-
|
88
|
+
apt_repository_href = 'apt_repository_href_example' # String | URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
89
89
|
opts = {
|
90
90
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
91
91
|
number: 3.4, # Float |
|
@@ -99,8 +99,9 @@ opts = {
|
|
99
99
|
pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
|
100
100
|
pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
|
101
101
|
pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
|
102
|
-
content: 'content_example', # String | Content Unit referenced by HREF
|
103
102
|
pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
|
103
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
104
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
104
105
|
limit: 56, # Integer | Number of results to return per page.
|
105
106
|
offset: 56, # Integer | The initial index from which to return the results.
|
106
107
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -109,7 +110,7 @@ opts = {
|
|
109
110
|
|
110
111
|
begin
|
111
112
|
#List repository versions
|
112
|
-
result = api_instance.list(
|
113
|
+
result = api_instance.list(apt_repository_href, opts)
|
113
114
|
p result
|
114
115
|
rescue PulpDebClient::ApiError => e
|
115
116
|
puts "Exception when calling RepositoriesDebVersionsApi->list: #{e}"
|
@@ -121,7 +122,7 @@ end
|
|
121
122
|
|
122
123
|
Name | Type | Description | Notes
|
123
124
|
------------- | ------------- | ------------- | -------------
|
124
|
-
**
|
125
|
+
**apt_repository_href** | **String**| URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/ |
|
125
126
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
126
127
|
**number** | **Float**| | [optional]
|
127
128
|
**number__lt** | **Float**| Filter results where number is less than value | [optional]
|
@@ -134,8 +135,9 @@ Name | Type | Description | Notes
|
|
134
135
|
**pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
|
135
136
|
**pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
|
136
137
|
**pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
|
137
|
-
**content** | **String**| Content Unit referenced by HREF | [optional]
|
138
138
|
**pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
139
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
140
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
139
141
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
140
142
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
141
143
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
@@ -157,11 +159,11 @@ Name | Type | Description | Notes
|
|
157
159
|
|
158
160
|
## read
|
159
161
|
|
160
|
-
>
|
162
|
+
> RepositoryVersion read(apt_repository_version_href, opts)
|
161
163
|
|
162
164
|
Inspect a repository version
|
163
165
|
|
164
|
-
|
166
|
+
AptRepositoryVersion represents a single deb repository version.
|
165
167
|
|
166
168
|
### Example
|
167
169
|
|
@@ -202,7 +204,7 @@ Name | Type | Description | Notes
|
|
202
204
|
|
203
205
|
### Return type
|
204
206
|
|
205
|
-
[**
|
207
|
+
[**RepositoryVersion**](RepositoryVersion.md)
|
206
208
|
|
207
209
|
### Authorization
|
208
210
|
|
@@ -189,7 +189,7 @@ module PulpDebClient
|
|
189
189
|
# @param [Hash] opts the optional parameters
|
190
190
|
# @option opts [String] :fields A list of fields to include in the response.
|
191
191
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
192
|
-
# @return [
|
192
|
+
# @return [DebGenericContent]
|
193
193
|
def read(generic_content_href, opts = {})
|
194
194
|
data, _status_code, _headers = read_with_http_info(generic_content_href, opts)
|
195
195
|
data
|
@@ -201,7 +201,7 @@ module PulpDebClient
|
|
201
201
|
# @param [Hash] opts the optional parameters
|
202
202
|
# @option opts [String] :fields A list of fields to include in the response.
|
203
203
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
204
|
-
# @return [Array<(
|
204
|
+
# @return [Array<(DebGenericContent, Integer, Hash)>] DebGenericContent data, response status code and response headers
|
205
205
|
def read_with_http_info(generic_content_href, opts = {})
|
206
206
|
if @api_client.config.debugging
|
207
207
|
@api_client.config.logger.debug 'Calling API: ContentGenericContentsApi.read ...'
|
@@ -230,7 +230,7 @@ module PulpDebClient
|
|
230
230
|
post_body = opts[:body]
|
231
231
|
|
232
232
|
# return_type
|
233
|
-
return_type = opts[:return_type] || '
|
233
|
+
return_type = opts[:return_type] || 'DebGenericContent'
|
234
234
|
|
235
235
|
# auth_names
|
236
236
|
auth_names = opts[:auth_names] || ['Basic']
|