pulp_deb_client 2.0.0b4 → 2.2.0b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -11
- data/docs/{ContentInstallerFileIndexApi.md → ContentInstallerFileIndicesApi.md} +12 -12
- data/docs/{ContentPackageIndexApi.md → ContentPackageIndicesApi.md} +12 -12
- data/docs/ContentPackageReleaseComponentsApi.md +194 -0
- data/docs/ContentReleaseArchitecturesApi.md +194 -0
- data/docs/ContentReleaseComponentsApi.md +194 -0
- data/docs/ContentReleaseFilesApi.md +2 -2
- data/docs/ContentReleasesApi.md +196 -0
- data/docs/DebDebRemote.md +6 -4
- data/docs/DebPackageReleaseComponent.md +23 -0
- data/docs/DebRelease.md +25 -0
- data/docs/DebReleaseArchitecture.md +23 -0
- data/docs/DebReleaseComponent.md +23 -0
- data/docs/DistributionsAptApi.md +2 -2
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse20014.md +23 -0
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PublicationsAptApi.md +16 -2
- data/docs/PublicationsVerbatimApi.md +16 -2
- data/docs/RemotesAptApi.md +2 -2
- data/docs/RepositoriesAptApi.md +5 -4
- data/docs/RepositoriesDebVersionsApi.md +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +1 -1
- data/lib/pulp_deb_client/api/{content_installer_file_index_api.rb → content_installer_file_indices_api.rb} +14 -14
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +1 -1
- data/lib/pulp_deb_client/api/{content_package_index_api.rb → content_package_indices_api.rb} +14 -14
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +237 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +237 -0
- data/lib/pulp_deb_client/api/content_release_components_api.rb +237 -0
- data/lib/pulp_deb_client/api/content_release_files_api.rb +4 -4
- data/lib/pulp_deb_client/api/content_releases_api.rb +240 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +4 -4
- data/lib/pulp_deb_client/api/publications_apt_api.rb +25 -4
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +25 -4
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +4 -4
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +6 -4
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +4 -4
- data/lib/pulp_deb_client/api_client.rb +1 -1
- data/lib/pulp_deb_client/api_error.rb +1 -1
- data/lib/pulp_deb_client/configuration.rb +1 -1
- data/lib/pulp_deb_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_deb_client/models/content_summary.rb +1 -1
- data/lib/pulp_deb_client/models/deb_base_package.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_distribution.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_publication.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_remote.rb +33 -8
- data/lib/pulp_deb_client/models/deb_deb_repository.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +1 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +246 -0
- data/lib/pulp_deb_client/models/deb_release.rb +315 -0
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +265 -0
- data/lib/pulp_deb_client/models/deb_release_component.rb +265 -0
- data/lib/pulp_deb_client/models/deb_release_file.rb +1 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response200.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20010.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response20011.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response20012.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response20013.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response20014.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2004.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2005.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2006.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2007.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2008.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2009.rb +2 -2
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_deb_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version.rb +1 -1
- data/lib/pulp_deb_client/version.rb +2 -2
- data/lib/pulp_deb_client.rb +15 -3
- data/pulp_deb_client.gemspec +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +1 -1
- data/spec/api/{content_installer_file_index_api_spec.rb → content_installer_file_indices_api_spec.rb} +8 -8
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/{content_package_index_api_spec.rb → content_package_indices_api_spec.rb} +8 -8
- data/spec/api/content_package_release_components_api_spec.rb +81 -0
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_release_architectures_api_spec.rb +81 -0
- data/spec/api/content_release_components_api_spec.rb +81 -0
- data/spec/api/content_release_files_api_spec.rb +2 -2
- data/spec/api/content_releases_api_spec.rb +82 -0
- data/spec/api/distributions_apt_api_spec.rb +2 -2
- data/spec/api/publications_apt_api_spec.rb +9 -2
- data/spec/api/publications_verbatim_api_spec.rb +9 -2
- data/spec/api/remotes_apt_api_spec.rb +2 -2
- data/spec/api/repositories_apt_api_spec.rb +3 -2
- data/spec/api/repositories_deb_versions_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/deb_base_package_spec.rb +1 -1
- data/spec/models/deb_deb_distribution_spec.rb +1 -1
- data/spec/models/deb_deb_publication_spec.rb +1 -1
- data/spec/models/deb_deb_remote_spec.rb +7 -1
- data/spec/models/deb_deb_repository_spec.rb +1 -1
- data/spec/models/deb_generic_content_spec.rb +1 -1
- data/spec/models/deb_installer_file_index_spec.rb +1 -1
- data/spec/models/deb_package_index_spec.rb +1 -1
- data/spec/models/deb_package_release_component_spec.rb +59 -0
- data/spec/models/deb_release_architecture_spec.rb +59 -0
- data/spec/models/deb_release_component_spec.rb +59 -0
- data/spec/models/deb_release_file_spec.rb +1 -1
- data/spec/models/deb_release_spec.rb +65 -0
- data/spec/models/deb_verbatim_publication_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +79 -31
@@ -0,0 +1,194 @@
|
|
1
|
+
# PulpDebClient::ContentReleaseComponentsApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](ContentReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/release_components/ | Create a release component
|
8
|
+
[**list**](ContentReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/release_components/ | List release components
|
9
|
+
[**read**](ContentReleaseComponentsApi.md#read) | **GET** {release_component_href} | Inspect a release component
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## create
|
14
|
+
|
15
|
+
> DebReleaseComponent create(data)
|
16
|
+
|
17
|
+
Create a release component
|
18
|
+
|
19
|
+
A ViewSet for ReleaseComponent.
|
20
|
+
|
21
|
+
### Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'pulp_deb_client'
|
26
|
+
# setup authorization
|
27
|
+
PulpDebClient.configure do |config|
|
28
|
+
# Configure HTTP basic authorization: Basic
|
29
|
+
config.username = 'YOUR USERNAME'
|
30
|
+
config.password = 'YOUR PASSWORD'
|
31
|
+
end
|
32
|
+
|
33
|
+
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
34
|
+
data = PulpDebClient::DebReleaseComponent.new # DebReleaseComponent |
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Create a release component
|
38
|
+
result = api_instance.create(data)
|
39
|
+
p result
|
40
|
+
rescue PulpDebClient::ApiError => e
|
41
|
+
puts "Exception when calling ContentReleaseComponentsApi->create: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
|
48
|
+
Name | Type | Description | Notes
|
49
|
+
------------- | ------------- | ------------- | -------------
|
50
|
+
**data** | [**DebReleaseComponent**](DebReleaseComponent.md)| |
|
51
|
+
|
52
|
+
### Return type
|
53
|
+
|
54
|
+
[**DebReleaseComponent**](DebReleaseComponent.md)
|
55
|
+
|
56
|
+
### Authorization
|
57
|
+
|
58
|
+
[Basic](../README.md#Basic)
|
59
|
+
|
60
|
+
### HTTP request headers
|
61
|
+
|
62
|
+
- **Content-Type**: application/json
|
63
|
+
- **Accept**: application/json
|
64
|
+
|
65
|
+
|
66
|
+
## list
|
67
|
+
|
68
|
+
> InlineResponse2006 list(opts)
|
69
|
+
|
70
|
+
List release components
|
71
|
+
|
72
|
+
A ViewSet for ReleaseComponent.
|
73
|
+
|
74
|
+
### Example
|
75
|
+
|
76
|
+
```ruby
|
77
|
+
# load the gem
|
78
|
+
require 'pulp_deb_client'
|
79
|
+
# setup authorization
|
80
|
+
PulpDebClient.configure do |config|
|
81
|
+
# Configure HTTP basic authorization: Basic
|
82
|
+
config.username = 'YOUR USERNAME'
|
83
|
+
config.password = 'YOUR PASSWORD'
|
84
|
+
end
|
85
|
+
|
86
|
+
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
87
|
+
opts = {
|
88
|
+
component: 'component_example', # String | Filter results where component matches value
|
89
|
+
release: 'release_example', # String | Filter results where release matches value
|
90
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
91
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
92
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
93
|
+
limit: 56, # Integer | Number of results to return per page.
|
94
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
95
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
96
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
97
|
+
}
|
98
|
+
|
99
|
+
begin
|
100
|
+
#List release components
|
101
|
+
result = api_instance.list(opts)
|
102
|
+
p result
|
103
|
+
rescue PulpDebClient::ApiError => e
|
104
|
+
puts "Exception when calling ContentReleaseComponentsApi->list: #{e}"
|
105
|
+
end
|
106
|
+
```
|
107
|
+
|
108
|
+
### Parameters
|
109
|
+
|
110
|
+
|
111
|
+
Name | Type | Description | Notes
|
112
|
+
------------- | ------------- | ------------- | -------------
|
113
|
+
**component** | **String**| Filter results where component matches value | [optional]
|
114
|
+
**release** | **String**| Filter results where release matches value | [optional]
|
115
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
116
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
117
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
118
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
119
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
120
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
121
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
122
|
+
|
123
|
+
### Return type
|
124
|
+
|
125
|
+
[**InlineResponse2006**](InlineResponse2006.md)
|
126
|
+
|
127
|
+
### Authorization
|
128
|
+
|
129
|
+
[Basic](../README.md#Basic)
|
130
|
+
|
131
|
+
### HTTP request headers
|
132
|
+
|
133
|
+
- **Content-Type**: Not defined
|
134
|
+
- **Accept**: application/json
|
135
|
+
|
136
|
+
|
137
|
+
## read
|
138
|
+
|
139
|
+
> DebReleaseComponent read(release_component_href, opts)
|
140
|
+
|
141
|
+
Inspect a release component
|
142
|
+
|
143
|
+
A ViewSet for ReleaseComponent.
|
144
|
+
|
145
|
+
### Example
|
146
|
+
|
147
|
+
```ruby
|
148
|
+
# load the gem
|
149
|
+
require 'pulp_deb_client'
|
150
|
+
# setup authorization
|
151
|
+
PulpDebClient.configure do |config|
|
152
|
+
# Configure HTTP basic authorization: Basic
|
153
|
+
config.username = 'YOUR USERNAME'
|
154
|
+
config.password = 'YOUR PASSWORD'
|
155
|
+
end
|
156
|
+
|
157
|
+
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
158
|
+
release_component_href = 'release_component_href_example' # String | URI of Release Component. e.g.: /pulp/api/v3/content/deb/release_components/1/
|
159
|
+
opts = {
|
160
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
161
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
162
|
+
}
|
163
|
+
|
164
|
+
begin
|
165
|
+
#Inspect a release component
|
166
|
+
result = api_instance.read(release_component_href, opts)
|
167
|
+
p result
|
168
|
+
rescue PulpDebClient::ApiError => e
|
169
|
+
puts "Exception when calling ContentReleaseComponentsApi->read: #{e}"
|
170
|
+
end
|
171
|
+
```
|
172
|
+
|
173
|
+
### Parameters
|
174
|
+
|
175
|
+
|
176
|
+
Name | Type | Description | Notes
|
177
|
+
------------- | ------------- | ------------- | -------------
|
178
|
+
**release_component_href** | **String**| URI of Release Component. e.g.: /pulp/api/v3/content/deb/release_components/1/ |
|
179
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
180
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
181
|
+
|
182
|
+
### Return type
|
183
|
+
|
184
|
+
[**DebReleaseComponent**](DebReleaseComponent.md)
|
185
|
+
|
186
|
+
### Authorization
|
187
|
+
|
188
|
+
[Basic](../README.md#Basic)
|
189
|
+
|
190
|
+
### HTTP request headers
|
191
|
+
|
192
|
+
- **Content-Type**: Not defined
|
193
|
+
- **Accept**: application/json
|
194
|
+
|
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
|
|
65
65
|
|
66
66
|
## list
|
67
67
|
|
68
|
-
>
|
68
|
+
> InlineResponse2007 list(opts)
|
69
69
|
|
70
70
|
List release files
|
71
71
|
|
@@ -126,7 +126,7 @@ Name | Type | Description | Notes
|
|
126
126
|
|
127
127
|
### Return type
|
128
128
|
|
129
|
-
[**
|
129
|
+
[**InlineResponse2007**](InlineResponse2007.md)
|
130
130
|
|
131
131
|
### Authorization
|
132
132
|
|
@@ -0,0 +1,196 @@
|
|
1
|
+
# PulpDebClient::ContentReleasesApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](ContentReleasesApi.md#create) | **POST** /pulp/api/v3/content/deb/releases/ | Create a release
|
8
|
+
[**list**](ContentReleasesApi.md#list) | **GET** /pulp/api/v3/content/deb/releases/ | List releases
|
9
|
+
[**read**](ContentReleasesApi.md#read) | **GET** {release_href} | Inspect a release
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## create
|
14
|
+
|
15
|
+
> DebRelease create(data)
|
16
|
+
|
17
|
+
Create a release
|
18
|
+
|
19
|
+
A ViewSet for Release.
|
20
|
+
|
21
|
+
### Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'pulp_deb_client'
|
26
|
+
# setup authorization
|
27
|
+
PulpDebClient.configure do |config|
|
28
|
+
# Configure HTTP basic authorization: Basic
|
29
|
+
config.username = 'YOUR USERNAME'
|
30
|
+
config.password = 'YOUR PASSWORD'
|
31
|
+
end
|
32
|
+
|
33
|
+
api_instance = PulpDebClient::ContentReleasesApi.new
|
34
|
+
data = PulpDebClient::DebRelease.new # DebRelease |
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Create a release
|
38
|
+
result = api_instance.create(data)
|
39
|
+
p result
|
40
|
+
rescue PulpDebClient::ApiError => e
|
41
|
+
puts "Exception when calling ContentReleasesApi->create: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
|
48
|
+
Name | Type | Description | Notes
|
49
|
+
------------- | ------------- | ------------- | -------------
|
50
|
+
**data** | [**DebRelease**](DebRelease.md)| |
|
51
|
+
|
52
|
+
### Return type
|
53
|
+
|
54
|
+
[**DebRelease**](DebRelease.md)
|
55
|
+
|
56
|
+
### Authorization
|
57
|
+
|
58
|
+
[Basic](../README.md#Basic)
|
59
|
+
|
60
|
+
### HTTP request headers
|
61
|
+
|
62
|
+
- **Content-Type**: application/json
|
63
|
+
- **Accept**: application/json
|
64
|
+
|
65
|
+
|
66
|
+
## list
|
67
|
+
|
68
|
+
> InlineResponse2008 list(opts)
|
69
|
+
|
70
|
+
List releases
|
71
|
+
|
72
|
+
A ViewSet for Release.
|
73
|
+
|
74
|
+
### Example
|
75
|
+
|
76
|
+
```ruby
|
77
|
+
# load the gem
|
78
|
+
require 'pulp_deb_client'
|
79
|
+
# setup authorization
|
80
|
+
PulpDebClient.configure do |config|
|
81
|
+
# Configure HTTP basic authorization: Basic
|
82
|
+
config.username = 'YOUR USERNAME'
|
83
|
+
config.password = 'YOUR PASSWORD'
|
84
|
+
end
|
85
|
+
|
86
|
+
api_instance = PulpDebClient::ContentReleasesApi.new
|
87
|
+
opts = {
|
88
|
+
codename: 'codename_example', # String | Filter results where codename matches value
|
89
|
+
suite: 'suite_example', # String | Filter results where suite matches value
|
90
|
+
distribution: 'distribution_example', # String | Filter results where distribution matches value
|
91
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
92
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
93
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
94
|
+
limit: 56, # Integer | Number of results to return per page.
|
95
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
96
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
97
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
98
|
+
}
|
99
|
+
|
100
|
+
begin
|
101
|
+
#List releases
|
102
|
+
result = api_instance.list(opts)
|
103
|
+
p result
|
104
|
+
rescue PulpDebClient::ApiError => e
|
105
|
+
puts "Exception when calling ContentReleasesApi->list: #{e}"
|
106
|
+
end
|
107
|
+
```
|
108
|
+
|
109
|
+
### Parameters
|
110
|
+
|
111
|
+
|
112
|
+
Name | Type | Description | Notes
|
113
|
+
------------- | ------------- | ------------- | -------------
|
114
|
+
**codename** | **String**| Filter results where codename matches value | [optional]
|
115
|
+
**suite** | **String**| Filter results where suite matches value | [optional]
|
116
|
+
**distribution** | **String**| Filter results where distribution matches value | [optional]
|
117
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
118
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
119
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
120
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
121
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
122
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
123
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
124
|
+
|
125
|
+
### Return type
|
126
|
+
|
127
|
+
[**InlineResponse2008**](InlineResponse2008.md)
|
128
|
+
|
129
|
+
### Authorization
|
130
|
+
|
131
|
+
[Basic](../README.md#Basic)
|
132
|
+
|
133
|
+
### HTTP request headers
|
134
|
+
|
135
|
+
- **Content-Type**: Not defined
|
136
|
+
- **Accept**: application/json
|
137
|
+
|
138
|
+
|
139
|
+
## read
|
140
|
+
|
141
|
+
> DebRelease read(release_href, opts)
|
142
|
+
|
143
|
+
Inspect a release
|
144
|
+
|
145
|
+
A ViewSet for Release.
|
146
|
+
|
147
|
+
### Example
|
148
|
+
|
149
|
+
```ruby
|
150
|
+
# load the gem
|
151
|
+
require 'pulp_deb_client'
|
152
|
+
# setup authorization
|
153
|
+
PulpDebClient.configure do |config|
|
154
|
+
# Configure HTTP basic authorization: Basic
|
155
|
+
config.username = 'YOUR USERNAME'
|
156
|
+
config.password = 'YOUR PASSWORD'
|
157
|
+
end
|
158
|
+
|
159
|
+
api_instance = PulpDebClient::ContentReleasesApi.new
|
160
|
+
release_href = 'release_href_example' # String | URI of Release. e.g.: /pulp/api/v3/content/deb/releases/1/
|
161
|
+
opts = {
|
162
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
163
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
164
|
+
}
|
165
|
+
|
166
|
+
begin
|
167
|
+
#Inspect a release
|
168
|
+
result = api_instance.read(release_href, opts)
|
169
|
+
p result
|
170
|
+
rescue PulpDebClient::ApiError => e
|
171
|
+
puts "Exception when calling ContentReleasesApi->read: #{e}"
|
172
|
+
end
|
173
|
+
```
|
174
|
+
|
175
|
+
### Parameters
|
176
|
+
|
177
|
+
|
178
|
+
Name | Type | Description | Notes
|
179
|
+
------------- | ------------- | ------------- | -------------
|
180
|
+
**release_href** | **String**| URI of Release. e.g.: /pulp/api/v3/content/deb/releases/1/ |
|
181
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
182
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
183
|
+
|
184
|
+
### Return type
|
185
|
+
|
186
|
+
[**DebRelease**](DebRelease.md)
|
187
|
+
|
188
|
+
### Authorization
|
189
|
+
|
190
|
+
[Basic](../README.md#Basic)
|
191
|
+
|
192
|
+
### HTTP request headers
|
193
|
+
|
194
|
+
- **Content-Type**: Not defined
|
195
|
+
- **Accept**: application/json
|
196
|
+
|
data/docs/DebDebRemote.md
CHANGED
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**name** | **String** | A unique name for this remote. |
|
10
10
|
**url** | **String** | The URL of an external content source. |
|
11
|
-
**ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256
|
12
|
-
**client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256
|
13
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256
|
11
|
+
**ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET. | [optional]
|
12
|
+
**client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET. | [optional]
|
13
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256 checksum of the certificate file on GET. | [optional]
|
14
14
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
|
|
22
22
|
**sync_sources** | **Boolean** | Sync source packages | [optional]
|
23
23
|
**sync_udebs** | **Boolean** | Sync installer packages | [optional]
|
24
24
|
**sync_installer** | **Boolean** | Sync installer files | [optional]
|
25
|
+
**gpgkey** | **String** | Gpg public key to verify origin releases against | [optional]
|
25
26
|
|
26
27
|
## Code Sample
|
27
28
|
|
@@ -45,7 +46,8 @@ instance = PulpDebClient::DebDebRemote.new(pulp_href: null,
|
|
45
46
|
architectures: null,
|
46
47
|
sync_sources: null,
|
47
48
|
sync_udebs: null,
|
48
|
-
sync_installer: null
|
49
|
+
sync_installer: null,
|
50
|
+
gpgkey: null)
|
49
51
|
```
|
50
52
|
|
51
53
|
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDebClient::DebPackageReleaseComponent
|
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
|
+
**package** | **String** | Package that is contained in release_comonent. |
|
10
|
+
**release_component** | **String** | ReleaseComponent this package is contained in. |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDebClient'
|
16
|
+
|
17
|
+
instance = PulpDebClient::DebPackageReleaseComponent.new(pulp_href: null,
|
18
|
+
pulp_created: null,
|
19
|
+
package: null,
|
20
|
+
release_component: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/DebRelease.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpDebClient::DebRelease
|
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
|
+
**codename** | **String** | |
|
10
|
+
**suite** | **String** | |
|
11
|
+
**distribution** | **String** | |
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'PulpDebClient'
|
17
|
+
|
18
|
+
instance = PulpDebClient::DebRelease.new(pulp_href: null,
|
19
|
+
pulp_created: null,
|
20
|
+
codename: null,
|
21
|
+
suite: null,
|
22
|
+
distribution: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDebClient::DebReleaseArchitecture
|
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
|
+
**architecture** | **String** | Name of the architecture. |
|
10
|
+
**release** | **String** | Release this architecture is contained in. |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDebClient'
|
16
|
+
|
17
|
+
instance = PulpDebClient::DebReleaseArchitecture.new(pulp_href: null,
|
18
|
+
pulp_created: null,
|
19
|
+
architecture: null,
|
20
|
+
release: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDebClient::DebReleaseComponent
|
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
|
+
**component** | **String** | Name of the component. |
|
10
|
+
**release** | **String** | Release this component is contained in. |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDebClient'
|
16
|
+
|
17
|
+
instance = PulpDebClient::DebReleaseComponent.new(pulp_href: null,
|
18
|
+
pulp_created: null,
|
19
|
+
component: null,
|
20
|
+
release: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/DistributionsAptApi.md
CHANGED
@@ -121,7 +121,7 @@ Name | Type | Description | Notes
|
|
121
121
|
|
122
122
|
## list
|
123
123
|
|
124
|
-
>
|
124
|
+
> InlineResponse2009 list(opts)
|
125
125
|
|
126
126
|
List deb distributions
|
127
127
|
|
@@ -180,7 +180,7 @@ Name | Type | Description | Notes
|
|
180
180
|
|
181
181
|
### Return type
|
182
182
|
|
183
|
-
[**
|
183
|
+
[**InlineResponse2009**](InlineResponse2009.md)
|
184
184
|
|
185
185
|
### Authorization
|
186
186
|
|
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<DebDebPublication>**](DebDebPublication.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDebClient::InlineResponse20011
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<DebVerbatimPublication>**](DebVerbatimPublication.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDebClient'
|
16
|
+
|
17
|
+
instance = PulpDebClient::InlineResponse20011.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDebClient::InlineResponse20012
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<DebDebRemote>**](DebDebRemote.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDebClient'
|
16
|
+
|
17
|
+
instance = PulpDebClient::InlineResponse20012.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDebClient::InlineResponse20013
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<DebDebRepository>**](DebDebRepository.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDebClient'
|
16
|
+
|
17
|
+
instance = PulpDebClient::InlineResponse20013.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDebClient::InlineResponse20014
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<RepositoryVersion>**](RepositoryVersion.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDebClient'
|
16
|
+
|
17
|
+
instance = PulpDebClient::InlineResponse20014.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/InlineResponse2004.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<DebPackageReleaseComponent>**](DebPackageReleaseComponent.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2005.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<DebReleaseArchitecture>**](DebReleaseArchitecture.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|