pulp_deb_client 2.21.2 → 3.1.0
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 -7
- data/docs/ContentGenericContentsApi.md +7 -5
- data/docs/ContentInstallerFileIndicesApi.md +3 -1
- data/docs/ContentInstallerPackagesApi.md +7 -5
- data/docs/ContentPackageIndicesApi.md +3 -1
- data/docs/ContentPackageReleaseComponentsApi.md +3 -1
- data/docs/ContentPackagesApi.md +27 -5
- data/docs/ContentReleaseArchitecturesApi.md +5 -7
- data/docs/ContentReleaseComponentsApi.md +7 -7
- data/docs/ContentReleaseFilesApi.md +3 -1
- data/docs/ContentReleasesApi.md +13 -3
- data/docs/ContentSourceIndicesApi.md +204 -0
- data/docs/ContentSourcePackagesApi.md +258 -0
- data/docs/ContentSourceReleaseComponentsApi.md +202 -0
- data/docs/DebAptPublication.md +4 -2
- data/docs/DebAptPublicationResponse.md +4 -2
- data/docs/DebAptRepository.md +7 -1
- data/docs/DebAptRepositoryResponse.md +7 -1
- data/docs/DebCopyApi.md +1 -1
- data/docs/DebGenericContent.md +2 -2
- data/docs/DebInstallerPackage.md +2 -2
- data/docs/DebPackage.md +2 -2
- data/docs/DebRelease.md +9 -1
- data/docs/DebReleaseArchitecture.md +1 -5
- data/docs/DebReleaseArchitectureResponse.md +1 -5
- data/docs/DebReleaseComponent.md +1 -5
- data/docs/DebReleaseComponentResponse.md +1 -5
- data/docs/DebReleaseFile.md +3 -3
- data/docs/DebReleaseFileResponse.md +3 -3
- data/docs/DebReleaseResponse.md +9 -1
- data/docs/DebSourceIndex.md +25 -0
- data/docs/DebSourceIndexResponse.md +27 -0
- data/docs/DebSourcePackage.md +21 -0
- data/docs/DebSourcePackageReleaseComponent.md +21 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +23 -0
- data/docs/DebSourcePackageResponse.md +77 -0
- data/docs/DistributionsAptApi.md +123 -1
- data/docs/PaginateddebSourceIndexResponseList.md +23 -0
- data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +23 -0
- data/docs/PaginateddebSourcePackageResponseList.md +23 -0
- data/docs/PatcheddebAptRepository.md +7 -1
- data/docs/PublicationsAptApi.md +3 -1
- data/docs/PublicationsVerbatimApi.md +3 -1
- data/docs/RemotesAptApi.md +123 -1
- data/docs/RepositoriesAptApi.md +123 -1
- data/docs/RepositoriesAptVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +7 -4
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +7 -4
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +37 -4
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +6 -9
- data/lib/pulp_deb_client/api/content_release_components_api.rb +9 -9
- data/lib/pulp_deb_client/api/content_release_files_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_releases_api.rb +18 -3
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +256 -0
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +337 -0
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +253 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +155 -0
- data/lib/pulp_deb_client/api/publications_apt_api.rb +3 -0
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +3 -0
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +155 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +155 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +3 -0
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +38 -5
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +38 -5
- data/lib/pulp_deb_client/models/deb_generic_content.rb +2 -2
- data/lib/pulp_deb_client/models/deb_installer_package.rb +2 -2
- data/lib/pulp_deb_client/models/deb_package.rb +2 -2
- data/lib/pulp_deb_client/models/deb_release.rb +104 -4
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +4 -70
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +4 -32
- data/lib/pulp_deb_client/models/deb_release_component.rb +4 -70
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +4 -32
- data/lib/pulp_deb_client/models/deb_release_file.rb +3 -3
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +3 -3
- data/lib/pulp_deb_client/models/deb_release_response.rb +44 -4
- data/lib/pulp_deb_client/models/deb_source_index.rb +297 -0
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +272 -0
- data/lib/pulp_deb_client/models/deb_source_package.rb +248 -0
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +238 -0
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +247 -0
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +485 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +237 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +237 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +237 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +38 -5
- data/lib/pulp_deb_client/models/set_label.rb +252 -0
- data/lib/pulp_deb_client/models/set_label_response.rb +243 -0
- data/lib/pulp_deb_client/models/unset_label.rb +242 -0
- data/lib/pulp_deb_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +16 -0
- data/spec/api/content_generic_contents_api_spec.rb +3 -2
- data/spec/api/content_installer_file_indices_api_spec.rb +1 -0
- data/spec/api/content_installer_packages_api_spec.rb +3 -2
- data/spec/api/content_package_indices_api_spec.rb +1 -0
- data/spec/api/content_package_release_components_api_spec.rb +1 -0
- data/spec/api/content_packages_api_spec.rb +13 -2
- data/spec/api/content_release_architectures_api_spec.rb +2 -3
- data/spec/api/content_release_components_api_spec.rb +3 -3
- data/spec/api/content_release_files_api_spec.rb +1 -0
- data/spec/api/content_releases_api_spec.rb +6 -1
- data/spec/api/content_source_indices_api_spec.rb +86 -0
- data/spec/api/content_source_packages_api_spec.rb +113 -0
- data/spec/api/content_source_release_components_api_spec.rb +85 -0
- data/spec/api/distributions_apt_api_spec.rb +31 -0
- data/spec/api/publications_apt_api_spec.rb +1 -0
- data/spec/api/publications_verbatim_api_spec.rb +1 -0
- data/spec/api/remotes_apt_api_spec.rb +31 -0
- data/spec/api/repositories_apt_api_spec.rb +31 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- data/spec/models/deb_apt_repository_response_spec.rb +18 -0
- data/spec/models/deb_apt_repository_spec.rb +18 -0
- data/spec/models/deb_release_architecture_response_spec.rb +0 -12
- data/spec/models/deb_release_architecture_spec.rb +0 -12
- data/spec/models/deb_release_component_response_spec.rb +0 -12
- data/spec/models/deb_release_component_spec.rb +0 -12
- data/spec/models/deb_release_response_spec.rb +24 -0
- data/spec/models/deb_release_spec.rb +24 -0
- data/spec/models/deb_source_index_response_spec.rb +71 -0
- data/spec/models/deb_source_index_spec.rb +65 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +59 -0
- data/spec/models/deb_source_package_release_component_spec.rb +53 -0
- data/spec/models/deb_source_package_response_spec.rb +221 -0
- data/spec/models/deb_source_package_spec.rb +53 -0
- data/spec/models/paginateddeb_source_index_response_list_spec.rb +59 -0
- data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +59 -0
- data/spec/models/paginateddeb_source_package_response_list_spec.rb +59 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +18 -0
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +122 -58
@@ -0,0 +1,77 @@
|
|
1
|
+
# PulpDebClient::DebSourcePackageResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' | [readonly]
|
10
|
+
**relative_path** | **String** | Relative path of the Debian Source Control (dsc) file.It is normally advised to let Pulp generate this. | [optional]
|
11
|
+
**format** | **String** | | [optional] [readonly]
|
12
|
+
**source** | **String** | | [optional] [readonly]
|
13
|
+
**binary** | **String** | | [optional] [readonly]
|
14
|
+
**architecture** | **String** | | [optional] [readonly]
|
15
|
+
**version** | **String** | | [optional] [readonly]
|
16
|
+
**maintainer** | **String** | | [optional] [readonly]
|
17
|
+
**uploaders** | **String** | | [optional] [readonly]
|
18
|
+
**homepage** | **String** | | [optional] [readonly]
|
19
|
+
**vcs_browser** | **String** | | [optional] [readonly]
|
20
|
+
**vcs_arch** | **String** | | [optional] [readonly]
|
21
|
+
**vcs_bzr** | **String** | | [optional] [readonly]
|
22
|
+
**vcs_cvs** | **String** | | [optional] [readonly]
|
23
|
+
**vcs_darcs** | **String** | | [optional] [readonly]
|
24
|
+
**vcs_git** | **String** | | [optional] [readonly]
|
25
|
+
**vcs_hg** | **String** | | [optional] [readonly]
|
26
|
+
**vcs_mtn** | **String** | | [optional] [readonly]
|
27
|
+
**vcs_snv** | **String** | | [optional] [readonly]
|
28
|
+
**testsuite** | **String** | | [optional] [readonly]
|
29
|
+
**dgit** | **String** | | [optional] [readonly]
|
30
|
+
**standards_version** | **String** | | [optional] [readonly]
|
31
|
+
**build_depends** | **String** | | [optional] [readonly]
|
32
|
+
**build_depends_indep** | **String** | | [optional] [readonly]
|
33
|
+
**build_depends_arch** | **String** | | [optional] [readonly]
|
34
|
+
**build_conflicts** | **String** | | [optional] [readonly]
|
35
|
+
**build_conflicts_indep** | **String** | | [optional] [readonly]
|
36
|
+
**build_conflicts_arch** | **String** | | [optional] [readonly]
|
37
|
+
**package_list** | **String** | | [optional] [readonly]
|
38
|
+
|
39
|
+
## Code Sample
|
40
|
+
|
41
|
+
```ruby
|
42
|
+
require 'PulpDebClient'
|
43
|
+
|
44
|
+
instance = PulpDebClient::DebSourcePackageResponse.new(pulp_href: null,
|
45
|
+
pulp_created: null,
|
46
|
+
artifacts: null,
|
47
|
+
relative_path: null,
|
48
|
+
format: null,
|
49
|
+
source: null,
|
50
|
+
binary: null,
|
51
|
+
architecture: null,
|
52
|
+
version: null,
|
53
|
+
maintainer: null,
|
54
|
+
uploaders: null,
|
55
|
+
homepage: null,
|
56
|
+
vcs_browser: null,
|
57
|
+
vcs_arch: null,
|
58
|
+
vcs_bzr: null,
|
59
|
+
vcs_cvs: null,
|
60
|
+
vcs_darcs: null,
|
61
|
+
vcs_git: null,
|
62
|
+
vcs_hg: null,
|
63
|
+
vcs_mtn: null,
|
64
|
+
vcs_snv: null,
|
65
|
+
testsuite: null,
|
66
|
+
dgit: null,
|
67
|
+
standards_version: null,
|
68
|
+
build_depends: null,
|
69
|
+
build_depends_indep: null,
|
70
|
+
build_depends_arch: null,
|
71
|
+
build_conflicts: null,
|
72
|
+
build_conflicts_indep: null,
|
73
|
+
build_conflicts_arch: null,
|
74
|
+
package_list: null)
|
75
|
+
```
|
76
|
+
|
77
|
+
|
data/docs/DistributionsAptApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::DistributionsAptApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -9,6 +9,8 @@ Method | HTTP request | Description
|
|
9
9
|
[**list**](DistributionsAptApi.md#list) | **GET** /pulp/api/v3/distributions/deb/apt/ | List apt distributions
|
10
10
|
[**partial_update**](DistributionsAptApi.md#partial_update) | **PATCH** {deb_apt_distribution_href} | Update an apt distribution
|
11
11
|
[**read**](DistributionsAptApi.md#read) | **GET** {deb_apt_distribution_href} | Inspect an apt distribution
|
12
|
+
[**set_label**](DistributionsAptApi.md#set_label) | **POST** {deb_apt_distribution_href}set_label/ | Set a label
|
13
|
+
[**unset_label**](DistributionsAptApi.md#unset_label) | **POST** {deb_apt_distribution_href}unset_label/ | Unset a label
|
12
14
|
[**update**](DistributionsAptApi.md#update) | **PUT** {deb_apt_distribution_href} | Update an apt distribution
|
13
15
|
|
14
16
|
|
@@ -149,13 +151,18 @@ opts = {
|
|
149
151
|
name: 'name_example', # String | Filter results where name matches value
|
150
152
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
151
153
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
154
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
152
155
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
156
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
157
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
158
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
153
159
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
160
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
161
|
ordering: ['ordering_example'], # 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
156
162
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
157
163
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
158
164
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
165
|
+
q: 'q_example', # String |
|
159
166
|
repository: 'repository_example', # String | Filter results where repository matches value
|
160
167
|
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
161
168
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
@@ -185,13 +192,18 @@ Name | Type | Description | Notes
|
|
185
192
|
**name** | **String**| Filter results where name matches value | [optional]
|
186
193
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
187
194
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
195
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
188
196
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
197
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
198
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
199
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
189
200
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
190
201
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
191
202
|
**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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
192
203
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
193
204
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
194
205
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
206
|
+
**q** | **String**| | [optional]
|
195
207
|
**repository** | [**String**](.md)| Filter results where repository matches value | [optional]
|
196
208
|
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
197
209
|
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
@@ -326,6 +338,116 @@ Name | Type | Description | Notes
|
|
326
338
|
- **Accept**: application/json
|
327
339
|
|
328
340
|
|
341
|
+
## set_label
|
342
|
+
|
343
|
+
> SetLabelResponse set_label(deb_apt_distribution_href, set_label)
|
344
|
+
|
345
|
+
Set a label
|
346
|
+
|
347
|
+
Set a single pulp_label on the object to a specific value or null.
|
348
|
+
|
349
|
+
### Example
|
350
|
+
|
351
|
+
```ruby
|
352
|
+
# load the gem
|
353
|
+
require 'pulp_deb_client'
|
354
|
+
# setup authorization
|
355
|
+
PulpDebClient.configure do |config|
|
356
|
+
# Configure HTTP basic authorization: basicAuth
|
357
|
+
config.username = 'YOUR USERNAME'
|
358
|
+
config.password = 'YOUR PASSWORD'
|
359
|
+
end
|
360
|
+
|
361
|
+
api_instance = PulpDebClient::DistributionsAptApi.new
|
362
|
+
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
363
|
+
set_label = PulpDebClient::SetLabel.new # SetLabel |
|
364
|
+
|
365
|
+
begin
|
366
|
+
#Set a label
|
367
|
+
result = api_instance.set_label(deb_apt_distribution_href, set_label)
|
368
|
+
p result
|
369
|
+
rescue PulpDebClient::ApiError => e
|
370
|
+
puts "Exception when calling DistributionsAptApi->set_label: #{e}"
|
371
|
+
end
|
372
|
+
```
|
373
|
+
|
374
|
+
### Parameters
|
375
|
+
|
376
|
+
|
377
|
+
Name | Type | Description | Notes
|
378
|
+
------------- | ------------- | ------------- | -------------
|
379
|
+
**deb_apt_distribution_href** | **String**| |
|
380
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
381
|
+
|
382
|
+
### Return type
|
383
|
+
|
384
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
385
|
+
|
386
|
+
### Authorization
|
387
|
+
|
388
|
+
[basicAuth](../README.md#basicAuth)
|
389
|
+
|
390
|
+
### HTTP request headers
|
391
|
+
|
392
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
393
|
+
- **Accept**: application/json
|
394
|
+
|
395
|
+
|
396
|
+
## unset_label
|
397
|
+
|
398
|
+
> UnsetLabelResponse unset_label(deb_apt_distribution_href, unset_label)
|
399
|
+
|
400
|
+
Unset a label
|
401
|
+
|
402
|
+
Unset a single pulp_label on the object.
|
403
|
+
|
404
|
+
### Example
|
405
|
+
|
406
|
+
```ruby
|
407
|
+
# load the gem
|
408
|
+
require 'pulp_deb_client'
|
409
|
+
# setup authorization
|
410
|
+
PulpDebClient.configure do |config|
|
411
|
+
# Configure HTTP basic authorization: basicAuth
|
412
|
+
config.username = 'YOUR USERNAME'
|
413
|
+
config.password = 'YOUR PASSWORD'
|
414
|
+
end
|
415
|
+
|
416
|
+
api_instance = PulpDebClient::DistributionsAptApi.new
|
417
|
+
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
418
|
+
unset_label = PulpDebClient::UnsetLabel.new # UnsetLabel |
|
419
|
+
|
420
|
+
begin
|
421
|
+
#Unset a label
|
422
|
+
result = api_instance.unset_label(deb_apt_distribution_href, unset_label)
|
423
|
+
p result
|
424
|
+
rescue PulpDebClient::ApiError => e
|
425
|
+
puts "Exception when calling DistributionsAptApi->unset_label: #{e}"
|
426
|
+
end
|
427
|
+
```
|
428
|
+
|
429
|
+
### Parameters
|
430
|
+
|
431
|
+
|
432
|
+
Name | Type | Description | Notes
|
433
|
+
------------- | ------------- | ------------- | -------------
|
434
|
+
**deb_apt_distribution_href** | **String**| |
|
435
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
436
|
+
|
437
|
+
### Return type
|
438
|
+
|
439
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
440
|
+
|
441
|
+
### Authorization
|
442
|
+
|
443
|
+
[basicAuth](../README.md#basicAuth)
|
444
|
+
|
445
|
+
### HTTP request headers
|
446
|
+
|
447
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
448
|
+
- **Accept**: application/json
|
449
|
+
|
450
|
+
|
329
451
|
## update
|
330
452
|
|
331
453
|
> AsyncOperationResponse update(deb_apt_distribution_href, deb_apt_distribution)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDebClient::PaginateddebSourceIndexResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<DebSourceIndexResponse>**](DebSourceIndexResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDebClient'
|
16
|
+
|
17
|
+
instance = PulpDebClient::PaginateddebSourceIndexResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDebClient::PaginateddebSourcePackageReleaseComponentResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<DebSourcePackageReleaseComponentResponse>**](DebSourcePackageReleaseComponentResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDebClient'
|
16
|
+
|
17
|
+
instance = PulpDebClient::PaginateddebSourcePackageReleaseComponentResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDebClient::PaginateddebSourcePackageResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<DebSourcePackageResponse>**](DebSourcePackageResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDebClient'
|
16
|
+
|
17
|
+
instance = PulpDebClient::PaginateddebSourcePackageResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -9,6 +9,9 @@ Name | Type | Description | Notes
|
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
10
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
11
11
|
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
|
+
**publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional]
|
13
|
+
**signing_service** | **String** | A reference to an associated signing service. Used if AptPublication.signing_service is not set | [optional]
|
14
|
+
**signing_service_release_overrides** | **Hash<String, String>** | A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"} | [optional]
|
12
15
|
|
13
16
|
## Code Sample
|
14
17
|
|
@@ -19,7 +22,10 @@ instance = PulpDebClient::PatcheddebAptRepository.new(pulp_labels: null,
|
|
19
22
|
name: null,
|
20
23
|
description: null,
|
21
24
|
retain_repo_versions: null,
|
22
|
-
remote: null
|
25
|
+
remote: null,
|
26
|
+
publish_upstream_release_fields: null,
|
27
|
+
signing_service: null,
|
28
|
+
signing_service_release_overrides: null)
|
23
29
|
```
|
24
30
|
|
25
31
|
|
data/docs/PublicationsAptApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::PublicationsAptApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -151,6 +151,7 @@ opts = {
|
|
151
151
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
152
152
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
153
153
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
154
|
+
q: 'q_example', # String |
|
154
155
|
repository: 'repository_example', # String | Repository referenced by HREF
|
155
156
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
156
157
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
@@ -184,6 +185,7 @@ Name | Type | Description | Notes
|
|
184
185
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
185
186
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
186
187
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
188
|
+
**q** | **String**| | [optional]
|
187
189
|
**repository** | **String**| Repository referenced by HREF | [optional]
|
188
190
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
189
191
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::PublicationsVerbatimApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -151,6 +151,7 @@ opts = {
|
|
151
151
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
152
152
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
153
153
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
154
|
+
q: 'q_example', # String |
|
154
155
|
repository: 'repository_example', # String | Repository referenced by HREF
|
155
156
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
156
157
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
@@ -184,6 +185,7 @@ Name | Type | Description | Notes
|
|
184
185
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
185
186
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
186
187
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
188
|
+
**q** | **String**| | [optional]
|
187
189
|
**repository** | **String**| Repository referenced by HREF | [optional]
|
188
190
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
189
191
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
data/docs/RemotesAptApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::RemotesAptApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -9,6 +9,8 @@ Method | HTTP request | Description
|
|
9
9
|
[**list**](RemotesAptApi.md#list) | **GET** /pulp/api/v3/remotes/deb/apt/ | List apt remotes
|
10
10
|
[**partial_update**](RemotesAptApi.md#partial_update) | **PATCH** {deb_apt_remote_href} | Update an apt remote
|
11
11
|
[**read**](RemotesAptApi.md#read) | **GET** {deb_apt_remote_href} | Inspect an apt remote
|
12
|
+
[**set_label**](RemotesAptApi.md#set_label) | **POST** {deb_apt_remote_href}set_label/ | Set a label
|
13
|
+
[**unset_label**](RemotesAptApi.md#unset_label) | **POST** {deb_apt_remote_href}unset_label/ | Unset a label
|
12
14
|
[**update**](RemotesAptApi.md#update) | **PUT** {deb_apt_remote_href} | Update an apt remote
|
13
15
|
|
14
16
|
|
@@ -145,7 +147,11 @@ opts = {
|
|
145
147
|
name: 'name_example', # String | Filter results where name matches value
|
146
148
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
147
149
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
150
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
148
151
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
152
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
153
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
154
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
149
155
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
156
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
157
|
ordering: ['ordering_example'], # 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -158,6 +164,7 @@ opts = {
|
|
158
164
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
159
165
|
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
160
166
|
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
167
|
+
q: 'q_example', # String |
|
161
168
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
162
169
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
163
170
|
}
|
@@ -180,7 +187,11 @@ Name | Type | Description | Notes
|
|
180
187
|
**name** | **String**| Filter results where name matches value | [optional]
|
181
188
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
182
189
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
190
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
183
191
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
192
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
193
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
194
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
184
195
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
185
196
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
186
197
|
**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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
@@ -193,6 +204,7 @@ Name | Type | Description | Notes
|
|
193
204
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
194
205
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
195
206
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
207
|
+
**q** | **String**| | [optional]
|
196
208
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
197
209
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
198
210
|
|
@@ -324,6 +336,116 @@ Name | Type | Description | Notes
|
|
324
336
|
- **Accept**: application/json
|
325
337
|
|
326
338
|
|
339
|
+
## set_label
|
340
|
+
|
341
|
+
> SetLabelResponse set_label(deb_apt_remote_href, set_label)
|
342
|
+
|
343
|
+
Set a label
|
344
|
+
|
345
|
+
Set a single pulp_label on the object to a specific value or null.
|
346
|
+
|
347
|
+
### Example
|
348
|
+
|
349
|
+
```ruby
|
350
|
+
# load the gem
|
351
|
+
require 'pulp_deb_client'
|
352
|
+
# setup authorization
|
353
|
+
PulpDebClient.configure do |config|
|
354
|
+
# Configure HTTP basic authorization: basicAuth
|
355
|
+
config.username = 'YOUR USERNAME'
|
356
|
+
config.password = 'YOUR PASSWORD'
|
357
|
+
end
|
358
|
+
|
359
|
+
api_instance = PulpDebClient::RemotesAptApi.new
|
360
|
+
deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
|
361
|
+
set_label = PulpDebClient::SetLabel.new # SetLabel |
|
362
|
+
|
363
|
+
begin
|
364
|
+
#Set a label
|
365
|
+
result = api_instance.set_label(deb_apt_remote_href, set_label)
|
366
|
+
p result
|
367
|
+
rescue PulpDebClient::ApiError => e
|
368
|
+
puts "Exception when calling RemotesAptApi->set_label: #{e}"
|
369
|
+
end
|
370
|
+
```
|
371
|
+
|
372
|
+
### Parameters
|
373
|
+
|
374
|
+
|
375
|
+
Name | Type | Description | Notes
|
376
|
+
------------- | ------------- | ------------- | -------------
|
377
|
+
**deb_apt_remote_href** | **String**| |
|
378
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
379
|
+
|
380
|
+
### Return type
|
381
|
+
|
382
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
383
|
+
|
384
|
+
### Authorization
|
385
|
+
|
386
|
+
[basicAuth](../README.md#basicAuth)
|
387
|
+
|
388
|
+
### HTTP request headers
|
389
|
+
|
390
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
391
|
+
- **Accept**: application/json
|
392
|
+
|
393
|
+
|
394
|
+
## unset_label
|
395
|
+
|
396
|
+
> UnsetLabelResponse unset_label(deb_apt_remote_href, unset_label)
|
397
|
+
|
398
|
+
Unset a label
|
399
|
+
|
400
|
+
Unset a single pulp_label on the object.
|
401
|
+
|
402
|
+
### Example
|
403
|
+
|
404
|
+
```ruby
|
405
|
+
# load the gem
|
406
|
+
require 'pulp_deb_client'
|
407
|
+
# setup authorization
|
408
|
+
PulpDebClient.configure do |config|
|
409
|
+
# Configure HTTP basic authorization: basicAuth
|
410
|
+
config.username = 'YOUR USERNAME'
|
411
|
+
config.password = 'YOUR PASSWORD'
|
412
|
+
end
|
413
|
+
|
414
|
+
api_instance = PulpDebClient::RemotesAptApi.new
|
415
|
+
deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
|
416
|
+
unset_label = PulpDebClient::UnsetLabel.new # UnsetLabel |
|
417
|
+
|
418
|
+
begin
|
419
|
+
#Unset a label
|
420
|
+
result = api_instance.unset_label(deb_apt_remote_href, unset_label)
|
421
|
+
p result
|
422
|
+
rescue PulpDebClient::ApiError => e
|
423
|
+
puts "Exception when calling RemotesAptApi->unset_label: #{e}"
|
424
|
+
end
|
425
|
+
```
|
426
|
+
|
427
|
+
### Parameters
|
428
|
+
|
429
|
+
|
430
|
+
Name | Type | Description | Notes
|
431
|
+
------------- | ------------- | ------------- | -------------
|
432
|
+
**deb_apt_remote_href** | **String**| |
|
433
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
434
|
+
|
435
|
+
### Return type
|
436
|
+
|
437
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
438
|
+
|
439
|
+
### Authorization
|
440
|
+
|
441
|
+
[basicAuth](../README.md#basicAuth)
|
442
|
+
|
443
|
+
### HTTP request headers
|
444
|
+
|
445
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
446
|
+
- **Accept**: application/json
|
447
|
+
|
448
|
+
|
327
449
|
## update
|
328
450
|
|
329
451
|
> AsyncOperationResponse update(deb_apt_remote_href, deb_apt_remote)
|