pulp_rpm_client 3.11.0 → 3.12.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 +14 -4
- data/docs/PaginatedrpmUlnRemoteResponseList.md +23 -0
- data/docs/PatchedrpmRpmDistribution.md +2 -0
- data/docs/PatchedrpmRpmRepository.md +15 -1
- data/docs/PatchedrpmUlnRemote.md +57 -0
- data/docs/PublicationsRpmApi.md +4 -0
- data/docs/RemotesUlnApi.md +376 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/RpmRpmDistribution.md +2 -0
- data/docs/RpmRpmDistributionResponse.md +2 -0
- data/docs/RpmRpmRepository.md +15 -1
- data/docs/RpmRpmRepositoryResponse.md +15 -1
- data/docs/RpmUlnRemote.md +57 -0
- data/docs/RpmUlnRemoteResponse.md +57 -0
- data/lib/pulp_rpm_client.rb +5 -0
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +6 -0
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +463 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +237 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +12 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +146 -4
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +496 -0
- data/lib/pulp_rpm_client/models/repository_version_response.rb +10 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +12 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +12 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +146 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +146 -4
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +516 -0
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +512 -0
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/publications_rpm_api_spec.rb +2 -0
- data/spec/api/remotes_uln_api_spec.rb +127 -0
- data/spec/models/paginatedrpm_uln_remote_response_list_spec.rb +59 -0
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/patchedrpm_rpm_repository_spec.rb +42 -0
- data/spec/models/patchedrpm_uln_remote_spec.rb +161 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_distribution_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_response_spec.rb +42 -0
- data/spec/models/rpm_rpm_repository_spec.rb +42 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +161 -0
- data/spec/models/rpm_uln_remote_spec.rb +161 -0
- metadata +22 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcd4d2969c4a8f7f05b3c9b3f1c0f89680382f581465701e3353fe8b9dc8f348
|
4
|
+
data.tar.gz: 1600498b9c4106a11f24d6ad1043553e898da07ccfda113ff3662e6d3ae11a9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de8afdebf323354d4f215963a6bda991b617fd3b2df9e6ecac633b4813cef8d84a264a694ccabe2fe00aa4f7045b5e161e895fd4ea1ad8731a9ecf1e86060d06
|
7
|
+
data.tar.gz: '078decb4ca8fd7101bc5f8a62e548da1f4255c41bd5f5c2b6ee43b020336726d31580ad60f515fd15d2edfe4ae657ea88579bf8c03ecaa3ef15fa552d0348d2a'
|
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.12.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_rpm_client-3.
|
27
|
+
gem install ./pulp_rpm_client-3.12.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.12.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_rpm_client', '~> 3.
|
36
|
+
gem 'pulp_rpm_client', '~> 3.12.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -126,6 +126,12 @@ Class | Method | HTTP request | Description
|
|
126
126
|
*PulpRpmClient::RemotesRpmApi* | [**partial_update**](docs/RemotesRpmApi.md#partial_update) | **PATCH** {rpm_rpm_remote_href} | Update a rpm remote
|
127
127
|
*PulpRpmClient::RemotesRpmApi* | [**read**](docs/RemotesRpmApi.md#read) | **GET** {rpm_rpm_remote_href} | Inspect a rpm remote
|
128
128
|
*PulpRpmClient::RemotesRpmApi* | [**update**](docs/RemotesRpmApi.md#update) | **PUT** {rpm_rpm_remote_href} | Update a rpm remote
|
129
|
+
*PulpRpmClient::RemotesUlnApi* | [**create**](docs/RemotesUlnApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/uln/ | Create an uln remote
|
130
|
+
*PulpRpmClient::RemotesUlnApi* | [**delete**](docs/RemotesUlnApi.md#delete) | **DELETE** {rpm_uln_remote_href} | Delete an uln remote
|
131
|
+
*PulpRpmClient::RemotesUlnApi* | [**list**](docs/RemotesUlnApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/uln/ | List uln remotes
|
132
|
+
*PulpRpmClient::RemotesUlnApi* | [**partial_update**](docs/RemotesUlnApi.md#partial_update) | **PATCH** {rpm_uln_remote_href} | Update an uln remote
|
133
|
+
*PulpRpmClient::RemotesUlnApi* | [**read**](docs/RemotesUlnApi.md#read) | **GET** {rpm_uln_remote_href} | Inspect an uln remote
|
134
|
+
*PulpRpmClient::RemotesUlnApi* | [**update**](docs/RemotesUlnApi.md#update) | **PUT** {rpm_uln_remote_href} | Update an uln remote
|
129
135
|
*PulpRpmClient::RepositoriesRpmApi* | [**create**](docs/RepositoriesRpmApi.md#create) | **POST** /pulp/api/v3/repositories/rpm/rpm/ | Create a rpm repository
|
130
136
|
*PulpRpmClient::RepositoriesRpmApi* | [**delete**](docs/RepositoriesRpmApi.md#delete) | **DELETE** {rpm_rpm_repository_href} | Delete a rpm repository
|
131
137
|
*PulpRpmClient::RepositoriesRpmApi* | [**list**](docs/RepositoriesRpmApi.md#list) | **GET** /pulp/api/v3/repositories/rpm/rpm/ | List rpm repositorys
|
@@ -167,10 +173,12 @@ Class | Method | HTTP request | Description
|
|
167
173
|
- [PulpRpmClient::PaginatedrpmRpmPublicationResponseList](docs/PaginatedrpmRpmPublicationResponseList.md)
|
168
174
|
- [PulpRpmClient::PaginatedrpmRpmRemoteResponseList](docs/PaginatedrpmRpmRemoteResponseList.md)
|
169
175
|
- [PulpRpmClient::PaginatedrpmRpmRepositoryResponseList](docs/PaginatedrpmRpmRepositoryResponseList.md)
|
176
|
+
- [PulpRpmClient::PaginatedrpmUlnRemoteResponseList](docs/PaginatedrpmUlnRemoteResponseList.md)
|
170
177
|
- [PulpRpmClient::PaginatedrpmUpdateRecordResponseList](docs/PaginatedrpmUpdateRecordResponseList.md)
|
171
178
|
- [PulpRpmClient::PatchedrpmRpmDistribution](docs/PatchedrpmRpmDistribution.md)
|
172
179
|
- [PulpRpmClient::PatchedrpmRpmRemote](docs/PatchedrpmRpmRemote.md)
|
173
180
|
- [PulpRpmClient::PatchedrpmRpmRepository](docs/PatchedrpmRpmRepository.md)
|
181
|
+
- [PulpRpmClient::PatchedrpmUlnRemote](docs/PatchedrpmUlnRemote.md)
|
174
182
|
- [PulpRpmClient::PolicyEnum](docs/PolicyEnum.md)
|
175
183
|
- [PulpRpmClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
176
184
|
- [PulpRpmClient::RepositoryVersion](docs/RepositoryVersion.md)
|
@@ -196,6 +204,8 @@ Class | Method | HTTP request | Description
|
|
196
204
|
- [PulpRpmClient::RpmRpmRemoteResponse](docs/RpmRpmRemoteResponse.md)
|
197
205
|
- [PulpRpmClient::RpmRpmRepository](docs/RpmRpmRepository.md)
|
198
206
|
- [PulpRpmClient::RpmRpmRepositoryResponse](docs/RpmRpmRepositoryResponse.md)
|
207
|
+
- [PulpRpmClient::RpmUlnRemote](docs/RpmUlnRemote.md)
|
208
|
+
- [PulpRpmClient::RpmUlnRemoteResponse](docs/RpmUlnRemoteResponse.md)
|
199
209
|
- [PulpRpmClient::RpmUpdateCollection](docs/RpmUpdateCollection.md)
|
200
210
|
- [PulpRpmClient::RpmUpdateCollectionResponse](docs/RpmUpdateCollectionResponse.md)
|
201
211
|
- [PulpRpmClient::RpmUpdateRecord](docs/RpmUpdateRecord.md)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpRpmClient::PaginatedrpmUlnRemoteResponseList
|
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<RpmUlnRemoteResponse>**](RpmUlnRemoteResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpRpmClient'
|
16
|
+
|
17
|
+
instance = PulpRpmClient::PaginatedrpmUlnRemoteResponseList.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
|
+
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
12
|
**publication** | **String** | Publication to be served | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
@@ -19,6 +20,7 @@ instance = PulpRpmClient::PatchedrpmRpmDistribution.new(base_path: null,
|
|
19
20
|
content_guard: null,
|
20
21
|
pulp_labels: null,
|
21
22
|
name: null,
|
23
|
+
repository: null,
|
22
24
|
publication: null)
|
23
25
|
```
|
24
26
|
|
@@ -7,9 +7,16 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
10
11
|
**remote** | **String** | | [optional]
|
12
|
+
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
11
13
|
**metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
12
14
|
**retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
|
15
|
+
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
|
16
|
+
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
|
17
|
+
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional] [default to 0]
|
18
|
+
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] [default to 0]
|
19
|
+
**sqlite_metadata** | **Boolean** | An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
13
20
|
|
14
21
|
## Code Sample
|
15
22
|
|
@@ -19,9 +26,16 @@ require 'PulpRpmClient'
|
|
19
26
|
instance = PulpRpmClient::PatchedrpmRpmRepository.new(pulp_labels: null,
|
20
27
|
name: null,
|
21
28
|
description: null,
|
29
|
+
retained_versions: null,
|
22
30
|
remote: null,
|
31
|
+
autopublish: null,
|
23
32
|
metadata_signing_service: null,
|
24
|
-
retain_package_versions: null
|
33
|
+
retain_package_versions: null,
|
34
|
+
metadata_checksum_type: null,
|
35
|
+
package_checksum_type: null,
|
36
|
+
gpgcheck: null,
|
37
|
+
repo_gpgcheck: null,
|
38
|
+
sqlite_metadata: null)
|
25
39
|
```
|
26
40
|
|
27
41
|
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# PulpRpmClient::PatchedrpmUlnRemote
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
8
|
+
**url** | **String** | The ULN repo URL of the remote content source.\"This is \"uln://\" followed by the channel name. E.g.: \"uln://ol7_x86_64_oracle\" | [optional]
|
9
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
12
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
+
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
16
|
+
**username** | **String** | Your ULN account username. | [optional]
|
17
|
+
**password** | **String** | Your ULN account password. | [optional]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
21
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
22
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
25
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
27
|
+
**uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional]
|
28
|
+
|
29
|
+
## Code Sample
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
require 'PulpRpmClient'
|
33
|
+
|
34
|
+
instance = PulpRpmClient::PatchedrpmUlnRemote.new(name: null,
|
35
|
+
url: null,
|
36
|
+
ca_cert: null,
|
37
|
+
client_cert: null,
|
38
|
+
client_key: null,
|
39
|
+
tls_validation: null,
|
40
|
+
proxy_url: null,
|
41
|
+
proxy_username: null,
|
42
|
+
proxy_password: null,
|
43
|
+
username: null,
|
44
|
+
password: null,
|
45
|
+
pulp_labels: null,
|
46
|
+
download_concurrency: null,
|
47
|
+
policy: null,
|
48
|
+
total_timeout: null,
|
49
|
+
connect_timeout: null,
|
50
|
+
sock_connect_timeout: null,
|
51
|
+
sock_read_timeout: null,
|
52
|
+
headers: null,
|
53
|
+
rate_limit: null,
|
54
|
+
uln_server_base_url: null)
|
55
|
+
```
|
56
|
+
|
57
|
+
|
data/docs/PublicationsRpmApi.md
CHANGED
@@ -138,6 +138,8 @@ end
|
|
138
138
|
|
139
139
|
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
140
140
|
opts = {
|
141
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
142
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
141
143
|
limit: 56, # Integer | Number of results to return per page.
|
142
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
143
145
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
@@ -166,6 +168,8 @@ end
|
|
166
168
|
|
167
169
|
Name | Type | Description | Notes
|
168
170
|
------------- | ------------- | ------------- | -------------
|
171
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
172
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
169
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
174
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
171
175
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
@@ -0,0 +1,376 @@
|
|
1
|
+
# PulpRpmClient::RemotesUlnApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](RemotesUlnApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/uln/ | Create an uln remote
|
8
|
+
[**delete**](RemotesUlnApi.md#delete) | **DELETE** {rpm_uln_remote_href} | Delete an uln remote
|
9
|
+
[**list**](RemotesUlnApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/uln/ | List uln remotes
|
10
|
+
[**partial_update**](RemotesUlnApi.md#partial_update) | **PATCH** {rpm_uln_remote_href} | Update an uln remote
|
11
|
+
[**read**](RemotesUlnApi.md#read) | **GET** {rpm_uln_remote_href} | Inspect an uln remote
|
12
|
+
[**update**](RemotesUlnApi.md#update) | **PUT** {rpm_uln_remote_href} | Update an uln remote
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
## create
|
17
|
+
|
18
|
+
> RpmUlnRemoteResponse create(rpm_uln_remote)
|
19
|
+
|
20
|
+
Create an uln remote
|
21
|
+
|
22
|
+
A ViewSet for UlnRemote.
|
23
|
+
|
24
|
+
### Example
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
# load the gem
|
28
|
+
require 'pulp_rpm_client'
|
29
|
+
# setup authorization
|
30
|
+
PulpRpmClient.configure do |config|
|
31
|
+
# Configure HTTP basic authorization: basicAuth
|
32
|
+
config.username = 'YOUR USERNAME'
|
33
|
+
config.password = 'YOUR PASSWORD'
|
34
|
+
end
|
35
|
+
|
36
|
+
api_instance = PulpRpmClient::RemotesUlnApi.new
|
37
|
+
rpm_uln_remote = PulpRpmClient::RpmUlnRemote.new # RpmUlnRemote |
|
38
|
+
|
39
|
+
begin
|
40
|
+
#Create an uln remote
|
41
|
+
result = api_instance.create(rpm_uln_remote)
|
42
|
+
p result
|
43
|
+
rescue PulpRpmClient::ApiError => e
|
44
|
+
puts "Exception when calling RemotesUlnApi->create: #{e}"
|
45
|
+
end
|
46
|
+
```
|
47
|
+
|
48
|
+
### Parameters
|
49
|
+
|
50
|
+
|
51
|
+
Name | Type | Description | Notes
|
52
|
+
------------- | ------------- | ------------- | -------------
|
53
|
+
**rpm_uln_remote** | [**RpmUlnRemote**](RpmUlnRemote.md)| |
|
54
|
+
|
55
|
+
### Return type
|
56
|
+
|
57
|
+
[**RpmUlnRemoteResponse**](RpmUlnRemoteResponse.md)
|
58
|
+
|
59
|
+
### Authorization
|
60
|
+
|
61
|
+
[basicAuth](../README.md#basicAuth)
|
62
|
+
|
63
|
+
### HTTP request headers
|
64
|
+
|
65
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
66
|
+
- **Accept**: application/json
|
67
|
+
|
68
|
+
|
69
|
+
## delete
|
70
|
+
|
71
|
+
> AsyncOperationResponse delete(rpm_uln_remote_href)
|
72
|
+
|
73
|
+
Delete an uln remote
|
74
|
+
|
75
|
+
Trigger an asynchronous delete task
|
76
|
+
|
77
|
+
### Example
|
78
|
+
|
79
|
+
```ruby
|
80
|
+
# load the gem
|
81
|
+
require 'pulp_rpm_client'
|
82
|
+
# setup authorization
|
83
|
+
PulpRpmClient.configure do |config|
|
84
|
+
# Configure HTTP basic authorization: basicAuth
|
85
|
+
config.username = 'YOUR USERNAME'
|
86
|
+
config.password = 'YOUR PASSWORD'
|
87
|
+
end
|
88
|
+
|
89
|
+
api_instance = PulpRpmClient::RemotesUlnApi.new
|
90
|
+
rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
|
91
|
+
|
92
|
+
begin
|
93
|
+
#Delete an uln remote
|
94
|
+
result = api_instance.delete(rpm_uln_remote_href)
|
95
|
+
p result
|
96
|
+
rescue PulpRpmClient::ApiError => e
|
97
|
+
puts "Exception when calling RemotesUlnApi->delete: #{e}"
|
98
|
+
end
|
99
|
+
```
|
100
|
+
|
101
|
+
### Parameters
|
102
|
+
|
103
|
+
|
104
|
+
Name | Type | Description | Notes
|
105
|
+
------------- | ------------- | ------------- | -------------
|
106
|
+
**rpm_uln_remote_href** | **String**| |
|
107
|
+
|
108
|
+
### Return type
|
109
|
+
|
110
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
111
|
+
|
112
|
+
### Authorization
|
113
|
+
|
114
|
+
[basicAuth](../README.md#basicAuth)
|
115
|
+
|
116
|
+
### HTTP request headers
|
117
|
+
|
118
|
+
- **Content-Type**: Not defined
|
119
|
+
- **Accept**: application/json
|
120
|
+
|
121
|
+
|
122
|
+
## list
|
123
|
+
|
124
|
+
> PaginatedrpmUlnRemoteResponseList list(opts)
|
125
|
+
|
126
|
+
List uln remotes
|
127
|
+
|
128
|
+
A ViewSet for UlnRemote.
|
129
|
+
|
130
|
+
### Example
|
131
|
+
|
132
|
+
```ruby
|
133
|
+
# load the gem
|
134
|
+
require 'pulp_rpm_client'
|
135
|
+
# setup authorization
|
136
|
+
PulpRpmClient.configure do |config|
|
137
|
+
# Configure HTTP basic authorization: basicAuth
|
138
|
+
config.username = 'YOUR USERNAME'
|
139
|
+
config.password = 'YOUR PASSWORD'
|
140
|
+
end
|
141
|
+
|
142
|
+
api_instance = PulpRpmClient::RemotesUlnApi.new
|
143
|
+
opts = {
|
144
|
+
limit: 56, # Integer | Number of results to return per page.
|
145
|
+
name: 'name_example', # String |
|
146
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
147
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
148
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
149
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
151
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
152
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
|
+
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
154
|
+
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
155
|
+
pulp_last_updated__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than or equal to value
|
156
|
+
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
157
|
+
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
|
158
|
+
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
|
159
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
160
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
161
|
+
}
|
162
|
+
|
163
|
+
begin
|
164
|
+
#List uln remotes
|
165
|
+
result = api_instance.list(opts)
|
166
|
+
p result
|
167
|
+
rescue PulpRpmClient::ApiError => e
|
168
|
+
puts "Exception when calling RemotesUlnApi->list: #{e}"
|
169
|
+
end
|
170
|
+
```
|
171
|
+
|
172
|
+
### Parameters
|
173
|
+
|
174
|
+
|
175
|
+
Name | Type | Description | Notes
|
176
|
+
------------- | ------------- | ------------- | -------------
|
177
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
178
|
+
**name** | **String**| | [optional]
|
179
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
180
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
181
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
182
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
183
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
184
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
185
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
186
|
+
**pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
187
|
+
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
188
|
+
**pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
|
189
|
+
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
190
|
+
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
191
|
+
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
192
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
193
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
194
|
+
|
195
|
+
### Return type
|
196
|
+
|
197
|
+
[**PaginatedrpmUlnRemoteResponseList**](PaginatedrpmUlnRemoteResponseList.md)
|
198
|
+
|
199
|
+
### Authorization
|
200
|
+
|
201
|
+
[basicAuth](../README.md#basicAuth)
|
202
|
+
|
203
|
+
### HTTP request headers
|
204
|
+
|
205
|
+
- **Content-Type**: Not defined
|
206
|
+
- **Accept**: application/json
|
207
|
+
|
208
|
+
|
209
|
+
## partial_update
|
210
|
+
|
211
|
+
> AsyncOperationResponse partial_update(rpm_uln_remote_href, patchedrpm_uln_remote)
|
212
|
+
|
213
|
+
Update an uln remote
|
214
|
+
|
215
|
+
Trigger an asynchronous partial update task
|
216
|
+
|
217
|
+
### Example
|
218
|
+
|
219
|
+
```ruby
|
220
|
+
# load the gem
|
221
|
+
require 'pulp_rpm_client'
|
222
|
+
# setup authorization
|
223
|
+
PulpRpmClient.configure do |config|
|
224
|
+
# Configure HTTP basic authorization: basicAuth
|
225
|
+
config.username = 'YOUR USERNAME'
|
226
|
+
config.password = 'YOUR PASSWORD'
|
227
|
+
end
|
228
|
+
|
229
|
+
api_instance = PulpRpmClient::RemotesUlnApi.new
|
230
|
+
rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
|
231
|
+
patchedrpm_uln_remote = PulpRpmClient::PatchedrpmUlnRemote.new # PatchedrpmUlnRemote |
|
232
|
+
|
233
|
+
begin
|
234
|
+
#Update an uln remote
|
235
|
+
result = api_instance.partial_update(rpm_uln_remote_href, patchedrpm_uln_remote)
|
236
|
+
p result
|
237
|
+
rescue PulpRpmClient::ApiError => e
|
238
|
+
puts "Exception when calling RemotesUlnApi->partial_update: #{e}"
|
239
|
+
end
|
240
|
+
```
|
241
|
+
|
242
|
+
### Parameters
|
243
|
+
|
244
|
+
|
245
|
+
Name | Type | Description | Notes
|
246
|
+
------------- | ------------- | ------------- | -------------
|
247
|
+
**rpm_uln_remote_href** | **String**| |
|
248
|
+
**patchedrpm_uln_remote** | [**PatchedrpmUlnRemote**](PatchedrpmUlnRemote.md)| |
|
249
|
+
|
250
|
+
### Return type
|
251
|
+
|
252
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
253
|
+
|
254
|
+
### Authorization
|
255
|
+
|
256
|
+
[basicAuth](../README.md#basicAuth)
|
257
|
+
|
258
|
+
### HTTP request headers
|
259
|
+
|
260
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
261
|
+
- **Accept**: application/json
|
262
|
+
|
263
|
+
|
264
|
+
## read
|
265
|
+
|
266
|
+
> RpmUlnRemoteResponse read(rpm_uln_remote_href, opts)
|
267
|
+
|
268
|
+
Inspect an uln remote
|
269
|
+
|
270
|
+
A ViewSet for UlnRemote.
|
271
|
+
|
272
|
+
### Example
|
273
|
+
|
274
|
+
```ruby
|
275
|
+
# load the gem
|
276
|
+
require 'pulp_rpm_client'
|
277
|
+
# setup authorization
|
278
|
+
PulpRpmClient.configure do |config|
|
279
|
+
# Configure HTTP basic authorization: basicAuth
|
280
|
+
config.username = 'YOUR USERNAME'
|
281
|
+
config.password = 'YOUR PASSWORD'
|
282
|
+
end
|
283
|
+
|
284
|
+
api_instance = PulpRpmClient::RemotesUlnApi.new
|
285
|
+
rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
|
286
|
+
opts = {
|
287
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
288
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
289
|
+
}
|
290
|
+
|
291
|
+
begin
|
292
|
+
#Inspect an uln remote
|
293
|
+
result = api_instance.read(rpm_uln_remote_href, opts)
|
294
|
+
p result
|
295
|
+
rescue PulpRpmClient::ApiError => e
|
296
|
+
puts "Exception when calling RemotesUlnApi->read: #{e}"
|
297
|
+
end
|
298
|
+
```
|
299
|
+
|
300
|
+
### Parameters
|
301
|
+
|
302
|
+
|
303
|
+
Name | Type | Description | Notes
|
304
|
+
------------- | ------------- | ------------- | -------------
|
305
|
+
**rpm_uln_remote_href** | **String**| |
|
306
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
307
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
308
|
+
|
309
|
+
### Return type
|
310
|
+
|
311
|
+
[**RpmUlnRemoteResponse**](RpmUlnRemoteResponse.md)
|
312
|
+
|
313
|
+
### Authorization
|
314
|
+
|
315
|
+
[basicAuth](../README.md#basicAuth)
|
316
|
+
|
317
|
+
### HTTP request headers
|
318
|
+
|
319
|
+
- **Content-Type**: Not defined
|
320
|
+
- **Accept**: application/json
|
321
|
+
|
322
|
+
|
323
|
+
## update
|
324
|
+
|
325
|
+
> AsyncOperationResponse update(rpm_uln_remote_href, rpm_uln_remote)
|
326
|
+
|
327
|
+
Update an uln remote
|
328
|
+
|
329
|
+
Trigger an asynchronous update task
|
330
|
+
|
331
|
+
### Example
|
332
|
+
|
333
|
+
```ruby
|
334
|
+
# load the gem
|
335
|
+
require 'pulp_rpm_client'
|
336
|
+
# setup authorization
|
337
|
+
PulpRpmClient.configure do |config|
|
338
|
+
# Configure HTTP basic authorization: basicAuth
|
339
|
+
config.username = 'YOUR USERNAME'
|
340
|
+
config.password = 'YOUR PASSWORD'
|
341
|
+
end
|
342
|
+
|
343
|
+
api_instance = PulpRpmClient::RemotesUlnApi.new
|
344
|
+
rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
|
345
|
+
rpm_uln_remote = PulpRpmClient::RpmUlnRemote.new # RpmUlnRemote |
|
346
|
+
|
347
|
+
begin
|
348
|
+
#Update an uln remote
|
349
|
+
result = api_instance.update(rpm_uln_remote_href, rpm_uln_remote)
|
350
|
+
p result
|
351
|
+
rescue PulpRpmClient::ApiError => e
|
352
|
+
puts "Exception when calling RemotesUlnApi->update: #{e}"
|
353
|
+
end
|
354
|
+
```
|
355
|
+
|
356
|
+
### Parameters
|
357
|
+
|
358
|
+
|
359
|
+
Name | Type | Description | Notes
|
360
|
+
------------- | ------------- | ------------- | -------------
|
361
|
+
**rpm_uln_remote_href** | **String**| |
|
362
|
+
**rpm_uln_remote** | [**RpmUlnRemote**](RpmUlnRemote.md)| |
|
363
|
+
|
364
|
+
### Return type
|
365
|
+
|
366
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
367
|
+
|
368
|
+
### Authorization
|
369
|
+
|
370
|
+
[basicAuth](../README.md#basicAuth)
|
371
|
+
|
372
|
+
### HTTP request headers
|
373
|
+
|
374
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
375
|
+
- **Accept**: application/json
|
376
|
+
|