pulp_deb_client 3.7.0 → 3.8.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 +27 -16
- data/docs/AcsDebApi.md +886 -0
- data/docs/DebAptAlternateContentSource.md +24 -0
- data/docs/DebAptAlternateContentSourceResponse.md +32 -0
- data/docs/DebAptRepository.md +2 -0
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DistributionsAptApi.md +10 -10
- data/docs/PaginateddebAptAlternateContentSourceResponseList.md +24 -0
- data/docs/PatcheddebAptAlternateContentSource.md +24 -0
- data/docs/PatcheddebAptRepository.md +2 -0
- data/docs/RemotesAptApi.md +10 -10
- data/docs/RepositoriesAptApi.md +10 -10
- data/docs/TaskGroupOperationResponse.md +18 -0
- data/lib/pulp_deb_client/api/acs_deb_api.rb +865 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +10 -10
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +10 -10
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +10 -10
- data/lib/pulp_deb_client/models/deb_apt_alternate_content_source.rb +282 -0
- data/lib/pulp_deb_client/models/deb_apt_alternate_content_source_response.rb +302 -0
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +13 -1
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +13 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_alternate_content_source_response_list.rb +257 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_alternate_content_source.rb +268 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +13 -1
- data/lib/pulp_deb_client/models/task_group_operation_response.rb +223 -0
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +6 -0
- data/spec/api/acs_deb_api_spec.rb +204 -0
- data/spec/api/distributions_apt_api_spec.rb +4 -4
- data/spec/api/remotes_apt_api_spec.rb +4 -4
- data/spec/api/repositories_apt_api_spec.rb +4 -4
- data/spec/models/deb_apt_alternate_content_source_response_spec.rb +78 -0
- data/spec/models/deb_apt_alternate_content_source_spec.rb +54 -0
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- data/spec/models/deb_apt_repository_spec.rb +6 -0
- data/spec/models/paginateddeb_apt_alternate_content_source_response_list_spec.rb +54 -0
- data/spec/models/patcheddeb_apt_alternate_content_source_spec.rb +54 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +6 -0
- data/spec/models/task_group_operation_response_spec.rb +36 -0
- metadata +97 -73
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3299a351a08029dcc8792818c46e394a5a97a5170e1ab5c0054bf17dd2bba7a8
|
|
4
|
+
data.tar.gz: b407bff16c0446c22d32364735ad32b9e44f00b49065be8247d8850a6287ba3a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd483c80fc15a8cf41944bdea26332bbebede435dcf8f757d1a43353d8e95ff63b8c7ecff7b152913ac93bd801adb529dd0e90fee7535a2a6a3997fb7f3245a2
|
|
7
|
+
data.tar.gz: c13cbab7db5f13a88b009f3edbf50ad1b54a258c800bfd5d546b5b707d04f122d7e1212f51570151c2601df80359306c980627cc172bbb4bb07e7af1f16c349f
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.
|
|
10
|
+
- Package version: 3.8.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_deb_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_deb_client-3.
|
|
28
|
+
gem install ./pulp_deb_client-3.8.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_deb_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_deb_client-3.8.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_deb_client', '~> 3.
|
|
37
|
+
gem 'pulp_deb_client', '~> 3.8.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -67,24 +67,19 @@ PulpDebClient.configure do |config|
|
|
|
67
67
|
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
-
api_instance = PulpDebClient::
|
|
71
|
-
|
|
70
|
+
api_instance = PulpDebClient::AcsDebApi.new
|
|
71
|
+
deb_apt_alternate_content_source_href = 'deb_apt_alternate_content_source_href_example' # String |
|
|
72
|
+
nested_role = PulpDebClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
72
73
|
opts = {
|
|
73
|
-
x_task_diagnostics: ['inner_example']
|
|
74
|
-
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
75
|
-
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
76
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
77
|
-
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
78
|
-
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
79
|
-
file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
|
|
74
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
80
75
|
}
|
|
81
76
|
|
|
82
77
|
begin
|
|
83
|
-
#
|
|
84
|
-
result = api_instance.
|
|
78
|
+
#Add a role
|
|
79
|
+
result = api_instance.add_role(deb_apt_alternate_content_source_href, nested_role, opts)
|
|
85
80
|
p result
|
|
86
81
|
rescue PulpDebClient::ApiError => e
|
|
87
|
-
puts "Exception when calling
|
|
82
|
+
puts "Exception when calling AcsDebApi->add_role: #{e}"
|
|
88
83
|
end
|
|
89
84
|
|
|
90
85
|
```
|
|
@@ -95,6 +90,17 @@ All URIs are relative to *http://localhost:24817*
|
|
|
95
90
|
|
|
96
91
|
Class | Method | HTTP request | Description
|
|
97
92
|
------------ | ------------- | ------------- | -------------
|
|
93
|
+
*PulpDebClient::AcsDebApi* | [**add_role**](docs/AcsDebApi.md#add_role) | **POST** {deb_apt_alternate_content_source_href}add_role/ | Add a role
|
|
94
|
+
*PulpDebClient::AcsDebApi* | [**create**](docs/AcsDebApi.md#create) | **POST** /pulp/api/v3/acs/deb/deb/ | Create an apt alternate content source
|
|
95
|
+
*PulpDebClient::AcsDebApi* | [**delete**](docs/AcsDebApi.md#delete) | **DELETE** {deb_apt_alternate_content_source_href} | Delete an apt alternate content source
|
|
96
|
+
*PulpDebClient::AcsDebApi* | [**list**](docs/AcsDebApi.md#list) | **GET** /pulp/api/v3/acs/deb/deb/ | List apt alternate content sources
|
|
97
|
+
*PulpDebClient::AcsDebApi* | [**list_roles**](docs/AcsDebApi.md#list_roles) | **GET** {deb_apt_alternate_content_source_href}list_roles/ | List roles
|
|
98
|
+
*PulpDebClient::AcsDebApi* | [**my_permissions**](docs/AcsDebApi.md#my_permissions) | **GET** {deb_apt_alternate_content_source_href}my_permissions/ | List user permissions
|
|
99
|
+
*PulpDebClient::AcsDebApi* | [**partial_update**](docs/AcsDebApi.md#partial_update) | **PATCH** {deb_apt_alternate_content_source_href} | Update an apt alternate content source
|
|
100
|
+
*PulpDebClient::AcsDebApi* | [**read**](docs/AcsDebApi.md#read) | **GET** {deb_apt_alternate_content_source_href} | Inspect an apt alternate content source
|
|
101
|
+
*PulpDebClient::AcsDebApi* | [**refresh**](docs/AcsDebApi.md#refresh) | **POST** {deb_apt_alternate_content_source_href}refresh/ |
|
|
102
|
+
*PulpDebClient::AcsDebApi* | [**remove_role**](docs/AcsDebApi.md#remove_role) | **POST** {deb_apt_alternate_content_source_href}remove_role/ | Remove a role
|
|
103
|
+
*PulpDebClient::AcsDebApi* | [**update**](docs/AcsDebApi.md#update) | **PUT** {deb_apt_alternate_content_source_href} | Update an apt alternate content source
|
|
98
104
|
*PulpDebClient::ContentGenericContentsApi* | [**create**](docs/ContentGenericContentsApi.md#create) | **POST** /pulp/api/v3/content/deb/generic_contents/ | Create a generic content
|
|
99
105
|
*PulpDebClient::ContentGenericContentsApi* | [**list**](docs/ContentGenericContentsApi.md#list) | **GET** /pulp/api/v3/content/deb/generic_contents/ | List generic contents
|
|
100
106
|
*PulpDebClient::ContentGenericContentsApi* | [**read**](docs/ContentGenericContentsApi.md#read) | **GET** {deb_generic_content_href} | Inspect a generic content
|
|
@@ -227,6 +233,8 @@ Class | Method | HTTP request | Description
|
|
|
227
233
|
- [PulpDebClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
|
228
234
|
- [PulpDebClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
|
229
235
|
- [PulpDebClient::Copy](docs/Copy.md)
|
|
236
|
+
- [PulpDebClient::DebAptAlternateContentSource](docs/DebAptAlternateContentSource.md)
|
|
237
|
+
- [PulpDebClient::DebAptAlternateContentSourceResponse](docs/DebAptAlternateContentSourceResponse.md)
|
|
230
238
|
- [PulpDebClient::DebAptDistribution](docs/DebAptDistribution.md)
|
|
231
239
|
- [PulpDebClient::DebAptDistributionResponse](docs/DebAptDistributionResponse.md)
|
|
232
240
|
- [PulpDebClient::DebAptPublication](docs/DebAptPublication.md)
|
|
@@ -266,6 +274,7 @@ Class | Method | HTTP request | Description
|
|
|
266
274
|
- [PulpDebClient::NestedRoleResponse](docs/NestedRoleResponse.md)
|
|
267
275
|
- [PulpDebClient::ObjectRolesResponse](docs/ObjectRolesResponse.md)
|
|
268
276
|
- [PulpDebClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
|
277
|
+
- [PulpDebClient::PaginateddebAptAlternateContentSourceResponseList](docs/PaginateddebAptAlternateContentSourceResponseList.md)
|
|
269
278
|
- [PulpDebClient::PaginateddebAptDistributionResponseList](docs/PaginateddebAptDistributionResponseList.md)
|
|
270
279
|
- [PulpDebClient::PaginateddebAptPublicationResponseList](docs/PaginateddebAptPublicationResponseList.md)
|
|
271
280
|
- [PulpDebClient::PaginateddebAptRemoteResponseList](docs/PaginateddebAptRemoteResponseList.md)
|
|
@@ -284,6 +293,7 @@ Class | Method | HTTP request | Description
|
|
|
284
293
|
- [PulpDebClient::PaginateddebSourcePackageReleaseComponentResponseList](docs/PaginateddebSourcePackageReleaseComponentResponseList.md)
|
|
285
294
|
- [PulpDebClient::PaginateddebSourcePackageResponseList](docs/PaginateddebSourcePackageResponseList.md)
|
|
286
295
|
- [PulpDebClient::PaginateddebVerbatimPublicationResponseList](docs/PaginateddebVerbatimPublicationResponseList.md)
|
|
296
|
+
- [PulpDebClient::PatcheddebAptAlternateContentSource](docs/PatcheddebAptAlternateContentSource.md)
|
|
287
297
|
- [PulpDebClient::PatcheddebAptDistribution](docs/PatcheddebAptDistribution.md)
|
|
288
298
|
- [PulpDebClient::PatcheddebAptRemote](docs/PatcheddebAptRemote.md)
|
|
289
299
|
- [PulpDebClient::PatcheddebAptRepository](docs/PatcheddebAptRepository.md)
|
|
@@ -293,6 +303,7 @@ Class | Method | HTTP request | Description
|
|
|
293
303
|
- [PulpDebClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
|
294
304
|
- [PulpDebClient::SetLabel](docs/SetLabel.md)
|
|
295
305
|
- [PulpDebClient::SetLabelResponse](docs/SetLabelResponse.md)
|
|
306
|
+
- [PulpDebClient::TaskGroupOperationResponse](docs/TaskGroupOperationResponse.md)
|
|
296
307
|
- [PulpDebClient::UnsetLabel](docs/UnsetLabel.md)
|
|
297
308
|
- [PulpDebClient::UnsetLabelResponse](docs/UnsetLabelResponse.md)
|
|
298
309
|
|