pulp_deb_client 3.5.2 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ContentGenericContentsApi.md +22 -8
- data/docs/ContentInstallerFileIndicesApi.md +28 -12
- data/docs/ContentInstallerPackagesApi.md +22 -8
- data/docs/ContentPackageIndicesApi.md +28 -12
- data/docs/ContentPackageReleaseComponentsApi.md +28 -12
- data/docs/ContentPackagesApi.md +22 -8
- data/docs/ContentReleaseArchitecturesApi.md +28 -12
- data/docs/ContentReleaseComponentsApi.md +28 -12
- data/docs/ContentReleaseFilesApi.md +28 -12
- data/docs/ContentReleasesApi.md +28 -12
- data/docs/ContentSourceIndicesApi.md +28 -12
- data/docs/ContentSourcePackagesApi.md +28 -12
- data/docs/ContentSourceReleaseComponentsApi.md +28 -12
- data/docs/DebAptDistribution.md +3 -1
- data/docs/DebAptDistributionResponse.md +3 -1
- data/docs/DebAptPublication.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebCopyApi.md +8 -4
- data/docs/DistributionsAptApi.md +72 -32
- data/docs/PatcheddebAptDistribution.md +3 -1
- data/docs/PublicationsAptApi.md +40 -16
- data/docs/PublicationsVerbatimApi.md +40 -16
- data/docs/RemotesAptApi.md +72 -32
- data/docs/RepositoriesAptApi.md +88 -40
- data/docs/RepositoriesAptVersionsApi.md +22 -10
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_release_components_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_release_files_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_releases_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +15 -0
- data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/publications_apt_api.rb +24 -0
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +24 -0
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +5 -0
- data/spec/api/content_installer_file_indices_api_spec.rb +5 -0
- data/spec/api/content_installer_packages_api_spec.rb +5 -0
- data/spec/api/content_package_indices_api_spec.rb +5 -0
- data/spec/api/content_package_release_components_api_spec.rb +5 -0
- data/spec/api/content_packages_api_spec.rb +5 -0
- data/spec/api/content_release_architectures_api_spec.rb +5 -0
- data/spec/api/content_release_components_api_spec.rb +5 -0
- data/spec/api/content_release_files_api_spec.rb +5 -0
- data/spec/api/content_releases_api_spec.rb +5 -0
- data/spec/api/content_source_indices_api_spec.rb +5 -0
- data/spec/api/content_source_packages_api_spec.rb +5 -0
- data/spec/api/content_source_release_components_api_spec.rb +5 -0
- data/spec/api/deb_copy_api_spec.rb +1 -0
- data/spec/api/distributions_apt_api_spec.rb +12 -0
- data/spec/api/publications_apt_api_spec.rb +8 -0
- data/spec/api/publications_verbatim_api_spec.rb +8 -0
- data/spec/api/remotes_apt_api_spec.rb +12 -0
- data/spec/api/repositories_apt_api_spec.rb +14 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- metadata +75 -75
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> <DebSourcePackageReleaseComponentResponse> create(deb_source_package_release_component)
|
16
|
+
> <DebSourcePackageReleaseComponentResponse> create(deb_source_package_release_component, opts)
|
17
17
|
|
18
18
|
Create a source package release component
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpDebClient::ContentSourceReleaseComponentsApi.new
|
35
35
|
deb_source_package_release_component = PulpDebClient::DebSourcePackageReleaseComponent.new({source_package: 'source_package_example', release_component: 'release_component_example'}) # DebSourcePackageReleaseComponent |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
36
39
|
|
37
40
|
begin
|
38
41
|
# Create a source package release component
|
39
|
-
result = api_instance.create(deb_source_package_release_component)
|
42
|
+
result = api_instance.create(deb_source_package_release_component, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpDebClient::ApiError => e
|
42
45
|
puts "Error when calling ContentSourceReleaseComponentsApi->create: #{e}"
|
@@ -47,12 +50,12 @@ end
|
|
47
50
|
|
48
51
|
This returns an Array which contains the response data, status code and headers.
|
49
52
|
|
50
|
-
> <Array(<DebSourcePackageReleaseComponentResponse>, Integer, Hash)> create_with_http_info(deb_source_package_release_component)
|
53
|
+
> <Array(<DebSourcePackageReleaseComponentResponse>, Integer, Hash)> create_with_http_info(deb_source_package_release_component, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a source package release component
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_source_package_release_component)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_source_package_release_component, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <DebSourcePackageReleaseComponentResponse>
|
@@ -66,6 +69,7 @@ end
|
|
66
69
|
| Name | Type | Description | Notes |
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **deb_source_package_release_component** | [**DebSourcePackageReleaseComponent**](DebSourcePackageReleaseComponent.md) | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
69
73
|
|
70
74
|
### Return type
|
71
75
|
|
@@ -103,6 +107,7 @@ end
|
|
103
107
|
|
104
108
|
api_instance = PulpDebClient::ContentSourceReleaseComponentsApi.new
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
limit: 56, # Integer | Number of results to return per page.
|
107
112
|
offset: 56, # Integer | The initial index from which to return the results.
|
108
113
|
ordering: ['-pk'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -152,6 +157,7 @@ end
|
|
152
157
|
|
153
158
|
| Name | Type | Description | Notes |
|
154
159
|
| ---- | ---- | ----------- | ----- |
|
160
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
155
161
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
156
162
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
157
163
|
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
@@ -206,6 +212,7 @@ end
|
|
206
212
|
api_instance = PulpDebClient::ContentSourceReleaseComponentsApi.new
|
207
213
|
deb_source_package_release_component_href = 'deb_source_package_release_component_href_example' # String |
|
208
214
|
opts = {
|
215
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
209
216
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
210
217
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
211
218
|
}
|
@@ -242,6 +249,7 @@ end
|
|
242
249
|
| Name | Type | Description | Notes |
|
243
250
|
| ---- | ---- | ----------- | ----- |
|
244
251
|
| **deb_source_package_release_component_href** | **String** | | |
|
252
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
245
253
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
246
254
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
247
255
|
|
@@ -261,7 +269,7 @@ end
|
|
261
269
|
|
262
270
|
## set_label
|
263
271
|
|
264
|
-
> <SetLabelResponse> set_label(deb_source_package_release_component_href, set_label)
|
272
|
+
> <SetLabelResponse> set_label(deb_source_package_release_component_href, set_label, opts)
|
265
273
|
|
266
274
|
Set a label
|
267
275
|
|
@@ -282,10 +290,13 @@ end
|
|
282
290
|
api_instance = PulpDebClient::ContentSourceReleaseComponentsApi.new
|
283
291
|
deb_source_package_release_component_href = 'deb_source_package_release_component_href_example' # String |
|
284
292
|
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
293
|
+
opts = {
|
294
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
295
|
+
}
|
285
296
|
|
286
297
|
begin
|
287
298
|
# Set a label
|
288
|
-
result = api_instance.set_label(deb_source_package_release_component_href, set_label)
|
299
|
+
result = api_instance.set_label(deb_source_package_release_component_href, set_label, opts)
|
289
300
|
p result
|
290
301
|
rescue PulpDebClient::ApiError => e
|
291
302
|
puts "Error when calling ContentSourceReleaseComponentsApi->set_label: #{e}"
|
@@ -296,12 +307,12 @@ end
|
|
296
307
|
|
297
308
|
This returns an Array which contains the response data, status code and headers.
|
298
309
|
|
299
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_source_package_release_component_href, set_label)
|
310
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_source_package_release_component_href, set_label, opts)
|
300
311
|
|
301
312
|
```ruby
|
302
313
|
begin
|
303
314
|
# Set a label
|
304
|
-
data, status_code, headers = api_instance.set_label_with_http_info(deb_source_package_release_component_href, set_label)
|
315
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_source_package_release_component_href, set_label, opts)
|
305
316
|
p status_code # => 2xx
|
306
317
|
p headers # => { ... }
|
307
318
|
p data # => <SetLabelResponse>
|
@@ -316,6 +327,7 @@ end
|
|
316
327
|
| ---- | ---- | ----------- | ----- |
|
317
328
|
| **deb_source_package_release_component_href** | **String** | | |
|
318
329
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
330
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
319
331
|
|
320
332
|
### Return type
|
321
333
|
|
@@ -333,7 +345,7 @@ end
|
|
333
345
|
|
334
346
|
## unset_label
|
335
347
|
|
336
|
-
> <UnsetLabelResponse> unset_label(deb_source_package_release_component_href, unset_label)
|
348
|
+
> <UnsetLabelResponse> unset_label(deb_source_package_release_component_href, unset_label, opts)
|
337
349
|
|
338
350
|
Unset a label
|
339
351
|
|
@@ -354,10 +366,13 @@ end
|
|
354
366
|
api_instance = PulpDebClient::ContentSourceReleaseComponentsApi.new
|
355
367
|
deb_source_package_release_component_href = 'deb_source_package_release_component_href_example' # String |
|
356
368
|
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
369
|
+
opts = {
|
370
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
371
|
+
}
|
357
372
|
|
358
373
|
begin
|
359
374
|
# Unset a label
|
360
|
-
result = api_instance.unset_label(deb_source_package_release_component_href, unset_label)
|
375
|
+
result = api_instance.unset_label(deb_source_package_release_component_href, unset_label, opts)
|
361
376
|
p result
|
362
377
|
rescue PulpDebClient::ApiError => e
|
363
378
|
puts "Error when calling ContentSourceReleaseComponentsApi->unset_label: #{e}"
|
@@ -368,12 +383,12 @@ end
|
|
368
383
|
|
369
384
|
This returns an Array which contains the response data, status code and headers.
|
370
385
|
|
371
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_source_package_release_component_href, unset_label)
|
386
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_source_package_release_component_href, unset_label, opts)
|
372
387
|
|
373
388
|
```ruby
|
374
389
|
begin
|
375
390
|
# Unset a label
|
376
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(deb_source_package_release_component_href, unset_label)
|
391
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_source_package_release_component_href, unset_label, opts)
|
377
392
|
p status_code # => 2xx
|
378
393
|
p headers # => { ... }
|
379
394
|
p data # => <UnsetLabelResponse>
|
@@ -388,6 +403,7 @@ end
|
|
388
403
|
| ---- | ---- | ----------- | ----- |
|
389
404
|
| **deb_source_package_release_component_href** | **String** | | |
|
390
405
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
406
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
391
407
|
|
392
408
|
### Return type
|
393
409
|
|
data/docs/DebAptDistribution.md
CHANGED
@@ -11,6 +11,7 @@
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
13
13
|
| **publication** | **String** | Publication to be served | [optional] |
|
14
|
+
| **checkpoint** | **Boolean** | | [optional] |
|
14
15
|
|
15
16
|
## Example
|
16
17
|
|
@@ -24,7 +25,8 @@ instance = PulpDebClient::DebAptDistribution.new(
|
|
24
25
|
pulp_labels: null,
|
25
26
|
name: null,
|
26
27
|
repository: null,
|
27
|
-
publication: null
|
28
|
+
publication: null,
|
29
|
+
checkpoint: null
|
28
30
|
)
|
29
31
|
```
|
30
32
|
|
@@ -17,6 +17,7 @@
|
|
17
17
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
18
18
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
19
19
|
| **publication** | **String** | Publication to be served | [optional] |
|
20
|
+
| **checkpoint** | **Boolean** | | [optional] |
|
20
21
|
|
21
22
|
## Example
|
22
23
|
|
@@ -36,7 +37,8 @@ instance = PulpDebClient::DebAptDistributionResponse.new(
|
|
36
37
|
pulp_labels: null,
|
37
38
|
name: null,
|
38
39
|
repository: null,
|
39
|
-
publication: null
|
40
|
+
publication: null,
|
41
|
+
checkpoint: null
|
40
42
|
)
|
41
43
|
```
|
42
44
|
|
data/docs/DebAptPublication.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
| **repository** | **String** | A URI of the repository to be published. | [optional] |
|
9
9
|
| **simple** | **Boolean** | Activate simple publishing mode (all packages in one release component). | [optional][default to false] |
|
10
10
|
| **structured** | **Boolean** | Activate structured publishing mode. | [optional][default to true] |
|
11
|
+
| **checkpoint** | **Boolean** | | [optional] |
|
11
12
|
| **signing_service** | **String** | Sign Release files with this signing key | [optional] |
|
12
13
|
| **publish_upstream_release_fields** | **Boolean** | | [optional] |
|
13
14
|
|
@@ -21,6 +22,7 @@ instance = PulpDebClient::DebAptPublication.new(
|
|
21
22
|
repository: null,
|
22
23
|
simple: null,
|
23
24
|
structured: null,
|
25
|
+
checkpoint: null,
|
24
26
|
signing_service: null,
|
25
27
|
publish_upstream_release_fields: null
|
26
28
|
)
|
@@ -12,6 +12,7 @@
|
|
12
12
|
| **repository** | **String** | A URI of the repository to be published. | [optional] |
|
13
13
|
| **simple** | **Boolean** | Activate simple publishing mode (all packages in one release component). | [optional][default to false] |
|
14
14
|
| **structured** | **Boolean** | Activate structured publishing mode. | [optional][default to true] |
|
15
|
+
| **checkpoint** | **Boolean** | | [optional] |
|
15
16
|
| **signing_service** | **String** | Sign Release files with this signing key | [optional] |
|
16
17
|
| **publish_upstream_release_fields** | **Boolean** | | [optional] |
|
17
18
|
|
@@ -29,6 +30,7 @@ instance = PulpDebClient::DebAptPublicationResponse.new(
|
|
29
30
|
repository: null,
|
30
31
|
simple: null,
|
31
32
|
structured: null,
|
33
|
+
checkpoint: null,
|
32
34
|
signing_service: null,
|
33
35
|
publish_upstream_release_fields: null
|
34
36
|
)
|
data/docs/DebCopyApi.md
CHANGED
@@ -9,7 +9,7 @@ All URIs are relative to *http://localhost:24817*
|
|
9
9
|
|
10
10
|
## copy_content
|
11
11
|
|
12
|
-
> <AsyncOperationResponse> copy_content(copy)
|
12
|
+
> <AsyncOperationResponse> copy_content(copy, opts)
|
13
13
|
|
14
14
|
Copy content
|
15
15
|
|
@@ -29,10 +29,13 @@ end
|
|
29
29
|
|
30
30
|
api_instance = PulpDebClient::DebCopyApi.new
|
31
31
|
copy = PulpDebClient::Copy.new({config: 3.56}) # Copy |
|
32
|
+
opts = {
|
33
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
34
|
+
}
|
32
35
|
|
33
36
|
begin
|
34
37
|
# Copy content
|
35
|
-
result = api_instance.copy_content(copy)
|
38
|
+
result = api_instance.copy_content(copy, opts)
|
36
39
|
p result
|
37
40
|
rescue PulpDebClient::ApiError => e
|
38
41
|
puts "Error when calling DebCopyApi->copy_content: #{e}"
|
@@ -43,12 +46,12 @@ end
|
|
43
46
|
|
44
47
|
This returns an Array which contains the response data, status code and headers.
|
45
48
|
|
46
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> copy_content_with_http_info(copy)
|
49
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> copy_content_with_http_info(copy, opts)
|
47
50
|
|
48
51
|
```ruby
|
49
52
|
begin
|
50
53
|
# Copy content
|
51
|
-
data, status_code, headers = api_instance.copy_content_with_http_info(copy)
|
54
|
+
data, status_code, headers = api_instance.copy_content_with_http_info(copy, opts)
|
52
55
|
p status_code # => 2xx
|
53
56
|
p headers # => { ... }
|
54
57
|
p data # => <AsyncOperationResponse>
|
@@ -62,6 +65,7 @@ end
|
|
62
65
|
| Name | Type | Description | Notes |
|
63
66
|
| ---- | ---- | ----------- | ----- |
|
64
67
|
| **copy** | [**Copy**](Copy.md) | | |
|
68
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
65
69
|
|
66
70
|
### Return type
|
67
71
|
|