pulp_deb_client 2.5.0b1.dev01592674770 → 2.5.0b1.dev01593106939
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_deb_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +37 -37
- data/docs/{DebDebDistribution.md → DebAptDistribution.md} +2 -2
- data/docs/{DebDebDistributionRead.md → DebAptDistributionRead.md} +2 -2
- data/docs/{DebDebPublication.md → DebAptPublication.md} +2 -2
- data/docs/{DebDebPublicationRead.md → DebAptPublicationRead.md} +2 -2
- data/docs/{DebDebRemote.md → DebAptRemote.md} +2 -2
- data/docs/{DebDebRemoteRead.md → DebAptRemoteRead.md} +2 -2
- data/docs/{DebDebRepository.md → DebAptRepository.md} +2 -2
- data/docs/{DebDebRepositoryRead.md → DebAptRepositoryRead.md} +2 -2
- data/docs/DistributionsAptApi.md +43 -43
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PublicationsAptApi.md +26 -26
- data/docs/RemotesAptApi.md +46 -46
- data/docs/RepositoriesAptApi.md +56 -56
- data/docs/RepositoriesDebVersionsApi.md +7 -7
- data/lib/pulp_deb_client.rb +8 -8
- 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/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 +13 -13
- data/lib/pulp_deb_client/models/{deb_deb_distribution.rb → deb_apt_distribution.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_deb_distribution_read.rb → deb_apt_distribution_read.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_publication_read.rb → deb_apt_publication_read.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_remote_read.rb → deb_apt_remote_read.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_deb_repository_read.rb → deb_apt_repository_read.rb} +3 -3
- data/lib/pulp_deb_client/models/inline_response20010.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_response2009.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/distributions_apt_api_spec.rb +13 -13
- data/spec/api/publications_apt_api_spec.rb +10 -10
- 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 +3 -3
- data/spec/models/{deb_deb_distribution_read_spec.rb → deb_apt_distribution_read_spec.rb} +6 -6
- data/spec/models/{deb_deb_distribution_spec.rb → deb_apt_distribution_spec.rb} +6 -6
- data/spec/models/{deb_deb_publication_read_spec.rb → deb_apt_publication_read_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_read_spec.rb → deb_apt_remote_read_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_read_spec.rb → deb_apt_repository_read_spec.rb} +6 -6
- data/spec/models/{deb_deb_repository_spec.rb → deb_apt_repository_spec.rb} +6 -6
- metadata +34 -34
data/docs/InlineResponse20010.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebAptPublicationRead>**](DebAptPublicationRead.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse20012.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebAptRemoteRead>**](DebAptRemoteRead.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse20013.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebAptRepositoryRead>**](DebAptRepositoryRead.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2009.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebAptDistributionRead>**](DebAptDistributionRead.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/PublicationsAptApi.md
CHANGED
@@ -4,10 +4,10 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](PublicationsAptApi.md#create) | **POST** /pulp/api/v3/publications/deb/apt/ | Create
|
8
|
-
[**delete**](PublicationsAptApi.md#delete) | **DELETE** {
|
9
|
-
[**list**](PublicationsAptApi.md#list) | **GET** /pulp/api/v3/publications/deb/apt/ | List
|
10
|
-
[**read**](PublicationsAptApi.md#read) | **GET** {
|
7
|
+
[**create**](PublicationsAptApi.md#create) | **POST** /pulp/api/v3/publications/deb/apt/ | Create an apt publication
|
8
|
+
[**delete**](PublicationsAptApi.md#delete) | **DELETE** {apt_publication_href} | Delete an apt publication
|
9
|
+
[**list**](PublicationsAptApi.md#list) | **GET** /pulp/api/v3/publications/deb/apt/ | List apt publications
|
10
|
+
[**read**](PublicationsAptApi.md#read) | **GET** {apt_publication_href} | Inspect an apt publication
|
11
11
|
|
12
12
|
|
13
13
|
|
@@ -15,7 +15,7 @@ Method | HTTP request | Description
|
|
15
15
|
|
16
16
|
> AsyncOperationResponse create(data)
|
17
17
|
|
18
|
-
Create
|
18
|
+
Create an apt publication
|
19
19
|
|
20
20
|
Trigger an asynchronous task to publish content
|
21
21
|
|
@@ -32,10 +32,10 @@ PulpDebClient.configure do |config|
|
|
32
32
|
end
|
33
33
|
|
34
34
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
35
|
-
data = PulpDebClient::
|
35
|
+
data = PulpDebClient::DebAptPublication.new # DebAptPublication |
|
36
36
|
|
37
37
|
begin
|
38
|
-
#Create
|
38
|
+
#Create an apt publication
|
39
39
|
result = api_instance.create(data)
|
40
40
|
p result
|
41
41
|
rescue PulpDebClient::ApiError => e
|
@@ -48,7 +48,7 @@ end
|
|
48
48
|
|
49
49
|
Name | Type | Description | Notes
|
50
50
|
------------- | ------------- | ------------- | -------------
|
51
|
-
**data** | [**
|
51
|
+
**data** | [**DebAptPublication**](DebAptPublication.md)| |
|
52
52
|
|
53
53
|
### Return type
|
54
54
|
|
@@ -66,11 +66,11 @@ Name | Type | Description | Notes
|
|
66
66
|
|
67
67
|
## delete
|
68
68
|
|
69
|
-
> delete(
|
69
|
+
> delete(apt_publication_href)
|
70
70
|
|
71
|
-
Delete
|
71
|
+
Delete an apt publication
|
72
72
|
|
73
|
-
A ViewSet for
|
73
|
+
A ViewSet for AptPublication.
|
74
74
|
|
75
75
|
### Example
|
76
76
|
|
@@ -85,11 +85,11 @@ PulpDebClient.configure do |config|
|
|
85
85
|
end
|
86
86
|
|
87
87
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
88
|
-
|
88
|
+
apt_publication_href = 'apt_publication_href_example' # String | URI of Apt Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
|
89
89
|
|
90
90
|
begin
|
91
|
-
#Delete
|
92
|
-
api_instance.delete(
|
91
|
+
#Delete an apt publication
|
92
|
+
api_instance.delete(apt_publication_href)
|
93
93
|
rescue PulpDebClient::ApiError => e
|
94
94
|
puts "Exception when calling PublicationsAptApi->delete: #{e}"
|
95
95
|
end
|
@@ -100,7 +100,7 @@ end
|
|
100
100
|
|
101
101
|
Name | Type | Description | Notes
|
102
102
|
------------- | ------------- | ------------- | -------------
|
103
|
-
**
|
103
|
+
**apt_publication_href** | **String**| URI of Apt Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/ |
|
104
104
|
|
105
105
|
### Return type
|
106
106
|
|
@@ -120,9 +120,9 @@ nil (empty response body)
|
|
120
120
|
|
121
121
|
> InlineResponse20010 list(opts)
|
122
122
|
|
123
|
-
List
|
123
|
+
List apt publications
|
124
124
|
|
125
|
-
A ViewSet for
|
125
|
+
A ViewSet for AptPublication.
|
126
126
|
|
127
127
|
### Example
|
128
128
|
|
@@ -153,7 +153,7 @@ opts = {
|
|
153
153
|
}
|
154
154
|
|
155
155
|
begin
|
156
|
-
#List
|
156
|
+
#List apt publications
|
157
157
|
result = api_instance.list(opts)
|
158
158
|
p result
|
159
159
|
rescue PulpDebClient::ApiError => e
|
@@ -195,11 +195,11 @@ Name | Type | Description | Notes
|
|
195
195
|
|
196
196
|
## read
|
197
197
|
|
198
|
-
>
|
198
|
+
> DebAptPublicationRead read(apt_publication_href, opts)
|
199
199
|
|
200
|
-
Inspect
|
200
|
+
Inspect an apt publication
|
201
201
|
|
202
|
-
A ViewSet for
|
202
|
+
A ViewSet for AptPublication.
|
203
203
|
|
204
204
|
### Example
|
205
205
|
|
@@ -214,15 +214,15 @@ PulpDebClient.configure do |config|
|
|
214
214
|
end
|
215
215
|
|
216
216
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
217
|
-
|
217
|
+
apt_publication_href = 'apt_publication_href_example' # String | URI of Apt Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
|
218
218
|
opts = {
|
219
219
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
220
220
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
221
221
|
}
|
222
222
|
|
223
223
|
begin
|
224
|
-
#Inspect
|
225
|
-
result = api_instance.read(
|
224
|
+
#Inspect an apt publication
|
225
|
+
result = api_instance.read(apt_publication_href, opts)
|
226
226
|
p result
|
227
227
|
rescue PulpDebClient::ApiError => e
|
228
228
|
puts "Exception when calling PublicationsAptApi->read: #{e}"
|
@@ -234,13 +234,13 @@ end
|
|
234
234
|
|
235
235
|
Name | Type | Description | Notes
|
236
236
|
------------- | ------------- | ------------- | -------------
|
237
|
-
**
|
237
|
+
**apt_publication_href** | **String**| URI of Apt Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/ |
|
238
238
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
239
239
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
240
240
|
|
241
241
|
### Return type
|
242
242
|
|
243
|
-
[**
|
243
|
+
[**DebAptPublicationRead**](DebAptPublicationRead.md)
|
244
244
|
|
245
245
|
### Authorization
|
246
246
|
|
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
|
+
> DebAptRemoteRead 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
|
+
[**DebAptRemoteRead**](DebAptRemoteRead.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
|
+
> DebAptRemoteRead 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
|
+
[**DebAptRemoteRead**](DebAptRemoteRead.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
|
+
> DebAptRepositoryRead 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
|
+
[**DebAptRepositoryRead**](DebAptRepositoryRead.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
|
+
> DebAptRepositoryRead 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
|
+
[**DebAptRepositoryRead**](DebAptRepositoryRead.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
|
|