pulp_rpm_client 3.18.20 → 3.19.0.dev1675221420
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_rpm_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +36 -8
- data/docs/AcsRpmApi.md +230 -6
- data/docs/ContentAdvisoriesApi.md +2 -6
- data/docs/ContentDistributionTreesApi.md +2 -6
- data/docs/ContentModulemdDefaultsApi.md +2 -6
- data/docs/ContentModulemdObsoletesApi.md +2 -6
- data/docs/ContentModulemdsApi.md +2 -6
- data/docs/ContentPackagecategoriesApi.md +2 -6
- data/docs/ContentPackageenvironmentsApi.md +2 -6
- data/docs/ContentPackagegroupsApi.md +2 -6
- data/docs/ContentPackagelangpacksApi.md +2 -6
- data/docs/ContentPackagesApi.md +4 -8
- data/docs/ContentRepoMetadataFilesApi.md +2 -6
- data/docs/DistributionsRpmApi.md +230 -6
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PatchedrpmRpmRemote.md +1 -1
- data/docs/PatchedrpmRpmRepository.md +3 -3
- data/docs/PatchedrpmUlnRemote.md +1 -1
- data/docs/PublicationsRpmApi.md +230 -6
- data/docs/RemotesRpmApi.md +230 -6
- data/docs/RemotesUlnApi.md +230 -6
- data/docs/RepositoriesRpmApi.md +230 -6
- data/docs/RepositoriesRpmVersionsApi.md +2 -4
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmModulemdObsolete.md +2 -2
- data/docs/RpmModulemdObsoleteResponse.md +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmPublication.md +2 -2
- data/docs/RpmRpmPublicationResponse.md +2 -2
- data/docs/RpmRpmRemote.md +1 -1
- data/docs/RpmRpmRemoteResponse.md +1 -1
- data/docs/RpmRpmRepository.md +3 -3
- data/docs/RpmRpmRepositoryResponse.md +3 -3
- data/docs/RpmUlnRemote.md +1 -1
- data/docs/RpmUlnRemoteResponse.md +1 -1
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -10
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +2 -8
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +270 -8
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +2 -5
- data/lib/pulp_rpm_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_rpm_client/models/nested_role.rb +253 -0
- data/lib/pulp_rpm_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_rpm_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +36 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +4 -0
- data/spec/api/acs_rpm_api_spec.rb +51 -3
- data/spec/api/content_advisories_api_spec.rb +1 -3
- data/spec/api/content_distribution_trees_api_spec.rb +1 -3
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -3
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -3
- data/spec/api/content_modulemds_api_spec.rb +1 -3
- data/spec/api/content_packagecategories_api_spec.rb +1 -3
- data/spec/api/content_packageenvironments_api_spec.rb +1 -3
- data/spec/api/content_packagegroups_api_spec.rb +1 -3
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -3
- data/spec/api/content_packages_api_spec.rb +2 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -3
- data/spec/api/distributions_rpm_api_spec.rb +51 -3
- data/spec/api/publications_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_uln_api_spec.rb +51 -3
- data/spec/api/repositories_rpm_api_spec.rb +51 -3
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -2
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- metadata +94 -78
@@ -33,9 +33,7 @@ api_instance = PulpRpmClient::ContentPackagelangpacksApi.new
|
|
33
33
|
opts = {
|
34
34
|
limit: 56, # Integer | Number of results to return per page.
|
35
35
|
offset: 56, # Integer | The initial index from which to return the results.
|
36
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
37
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
38
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
36
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
39
37
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
40
38
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
41
39
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -59,9 +57,7 @@ Name | Type | Description | Notes
|
|
59
57
|
------------- | ------------- | ------------- | -------------
|
60
58
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
61
59
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
62
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
63
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
64
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
60
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
65
61
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
66
62
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
67
63
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -98,7 +98,7 @@ opts = {
|
|
98
98
|
arch: 'arch_example', # String | Filter results where arch matches value
|
99
99
|
arch__in: ['arch__in_example'], # Array<String> | Filter results where arch is in a comma-separated list of values
|
100
100
|
arch__ne: 'arch__ne_example', # String | Filter results where arch not equal to value
|
101
|
-
checksum_type: 'checksum_type_example', # String | Filter results where checksum_type matches value
|
101
|
+
checksum_type: 'checksum_type_example', # String | Filter results where checksum_type matches value
|
102
102
|
checksum_type__in: ['checksum_type__in_example'], # Array<String> | Filter results where checksum_type is in a comma-separated list of values
|
103
103
|
checksum_type__ne: 'checksum_type__ne_example', # String | Filter results where checksum_type not equal to value
|
104
104
|
epoch: 'epoch_example', # String | Filter results where epoch matches value
|
@@ -109,11 +109,9 @@ opts = {
|
|
109
109
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
110
110
|
name__ne: 'name__ne_example', # String | Filter results where name not equal to value
|
111
111
|
offset: 56, # Integer | The initial index from which to return the results.
|
112
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
112
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
113
113
|
pkg_id: 'pkg_id_example', # String | Filter results where pkgId matches value
|
114
114
|
pkg_id__in: ['pkg_id__in_example'], # Array<String> | Filter results where pkgId is in a comma-separated list of values
|
115
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
116
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
117
115
|
release: 'release_example', # String | Filter results where release matches value
|
118
116
|
release__in: ['release__in_example'], # Array<String> | Filter results where release is in a comma-separated list of values
|
119
117
|
release__ne: 'release__ne_example', # String | Filter results where release not equal to value
|
@@ -145,7 +143,7 @@ Name | Type | Description | Notes
|
|
145
143
|
**arch** | **String**| Filter results where arch matches value | [optional]
|
146
144
|
**arch__in** | [**Array<String>**](String.md)| Filter results where arch is in a comma-separated list of values | [optional]
|
147
145
|
**arch__ne** | **String**| Filter results where arch not equal to value | [optional]
|
148
|
-
**checksum_type** | **String**| Filter results where checksum_type matches value
|
146
|
+
**checksum_type** | **String**| Filter results where checksum_type matches value | [optional]
|
149
147
|
**checksum_type__in** | [**Array<String>**](String.md)| Filter results where checksum_type is in a comma-separated list of values | [optional]
|
150
148
|
**checksum_type__ne** | **String**| Filter results where checksum_type not equal to value | [optional]
|
151
149
|
**epoch** | **String**| Filter results where epoch matches value | [optional]
|
@@ -156,11 +154,9 @@ Name | Type | Description | Notes
|
|
156
154
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
157
155
|
**name__ne** | **String**| Filter results where name not equal to value | [optional]
|
158
156
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
159
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
157
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
160
158
|
**pkg_id** | **String**| Filter results where pkgId matches value | [optional]
|
161
159
|
**pkg_id__in** | [**Array<String>**](String.md)| Filter results where pkgId is in a comma-separated list of values | [optional]
|
162
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
163
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
164
160
|
**release** | **String**| Filter results where release matches value | [optional]
|
165
161
|
**release__in** | [**Array<String>**](String.md)| Filter results where release is in a comma-separated list of values | [optional]
|
166
162
|
**release__ne** | **String**| Filter results where release not equal to value | [optional]
|
@@ -33,9 +33,7 @@ api_instance = PulpRpmClient::ContentRepoMetadataFilesApi.new
|
|
33
33
|
opts = {
|
34
34
|
limit: 56, # Integer | Number of results to return per page.
|
35
35
|
offset: 56, # Integer | The initial index from which to return the results.
|
36
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
37
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
38
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
36
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
39
37
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
40
38
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
41
39
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -59,9 +57,7 @@ Name | Type | Description | Notes
|
|
59
57
|
------------- | ------------- | ------------- | -------------
|
60
58
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
61
59
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
62
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
63
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
64
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
60
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
65
61
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
66
62
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
67
63
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/DistributionsRpmApi.md
CHANGED
@@ -4,15 +4,73 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**add_role**](DistributionsRpmApi.md#add_role) | **POST** {rpm_rpm_distribution_href}add_role/ |
|
7
8
|
[**create**](DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
|
8
9
|
[**delete**](DistributionsRpmApi.md#delete) | **DELETE** {rpm_rpm_distribution_href} | Delete a rpm distribution
|
9
10
|
[**list**](DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
|
11
|
+
[**list_roles**](DistributionsRpmApi.md#list_roles) | **GET** {rpm_rpm_distribution_href}list_roles/ |
|
12
|
+
[**my_permissions**](DistributionsRpmApi.md#my_permissions) | **GET** {rpm_rpm_distribution_href}my_permissions/ |
|
10
13
|
[**partial_update**](DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_distribution_href} | Update a rpm distribution
|
11
14
|
[**read**](DistributionsRpmApi.md#read) | **GET** {rpm_rpm_distribution_href} | Inspect a rpm distribution
|
15
|
+
[**remove_role**](DistributionsRpmApi.md#remove_role) | **POST** {rpm_rpm_distribution_href}remove_role/ |
|
12
16
|
[**update**](DistributionsRpmApi.md#update) | **PUT** {rpm_rpm_distribution_href} | Update a rpm distribution
|
13
17
|
|
14
18
|
|
15
19
|
|
20
|
+
## add_role
|
21
|
+
|
22
|
+
> NestedRoleResponse add_role(rpm_rpm_distribution_href, nested_role)
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
Add a role for this object to users/groups.
|
27
|
+
|
28
|
+
### Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
# load the gem
|
32
|
+
require 'pulp_rpm_client'
|
33
|
+
# setup authorization
|
34
|
+
PulpRpmClient.configure do |config|
|
35
|
+
# Configure HTTP basic authorization: basicAuth
|
36
|
+
config.username = 'YOUR USERNAME'
|
37
|
+
config.password = 'YOUR PASSWORD'
|
38
|
+
end
|
39
|
+
|
40
|
+
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
41
|
+
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
42
|
+
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
43
|
+
|
44
|
+
begin
|
45
|
+
result = api_instance.add_role(rpm_rpm_distribution_href, nested_role)
|
46
|
+
p result
|
47
|
+
rescue PulpRpmClient::ApiError => e
|
48
|
+
puts "Exception when calling DistributionsRpmApi->add_role: #{e}"
|
49
|
+
end
|
50
|
+
```
|
51
|
+
|
52
|
+
### Parameters
|
53
|
+
|
54
|
+
|
55
|
+
Name | Type | Description | Notes
|
56
|
+
------------- | ------------- | ------------- | -------------
|
57
|
+
**rpm_rpm_distribution_href** | **String**| |
|
58
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
59
|
+
|
60
|
+
### Return type
|
61
|
+
|
62
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
63
|
+
|
64
|
+
### Authorization
|
65
|
+
|
66
|
+
[basicAuth](../README.md#basicAuth)
|
67
|
+
|
68
|
+
### HTTP request headers
|
69
|
+
|
70
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
71
|
+
- **Accept**: application/json
|
72
|
+
|
73
|
+
|
16
74
|
## create
|
17
75
|
|
18
76
|
> AsyncOperationResponse create(rpm_rpm_distribution)
|
@@ -152,9 +210,7 @@ opts = {
|
|
152
210
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
211
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
212
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
156
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
157
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
213
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
158
214
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
159
215
|
repository: 'repository_example', # String | Filter results where repository matches value
|
160
216
|
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
@@ -188,9 +244,7 @@ Name | Type | Description | Notes
|
|
188
244
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
189
245
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
190
246
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
191
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
192
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
193
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
247
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
194
248
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
195
249
|
**repository** | **String**| Filter results where repository matches value | [optional]
|
196
250
|
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
@@ -212,6 +266,122 @@ Name | Type | Description | Notes
|
|
212
266
|
- **Accept**: application/json
|
213
267
|
|
214
268
|
|
269
|
+
## list_roles
|
270
|
+
|
271
|
+
> ObjectRolesResponse list_roles(rpm_rpm_distribution_href, opts)
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
List roles assigned to this object.
|
276
|
+
|
277
|
+
### Example
|
278
|
+
|
279
|
+
```ruby
|
280
|
+
# load the gem
|
281
|
+
require 'pulp_rpm_client'
|
282
|
+
# setup authorization
|
283
|
+
PulpRpmClient.configure do |config|
|
284
|
+
# Configure HTTP basic authorization: basicAuth
|
285
|
+
config.username = 'YOUR USERNAME'
|
286
|
+
config.password = 'YOUR PASSWORD'
|
287
|
+
end
|
288
|
+
|
289
|
+
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
290
|
+
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
291
|
+
opts = {
|
292
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
293
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
294
|
+
}
|
295
|
+
|
296
|
+
begin
|
297
|
+
result = api_instance.list_roles(rpm_rpm_distribution_href, opts)
|
298
|
+
p result
|
299
|
+
rescue PulpRpmClient::ApiError => e
|
300
|
+
puts "Exception when calling DistributionsRpmApi->list_roles: #{e}"
|
301
|
+
end
|
302
|
+
```
|
303
|
+
|
304
|
+
### Parameters
|
305
|
+
|
306
|
+
|
307
|
+
Name | Type | Description | Notes
|
308
|
+
------------- | ------------- | ------------- | -------------
|
309
|
+
**rpm_rpm_distribution_href** | **String**| |
|
310
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
311
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
312
|
+
|
313
|
+
### Return type
|
314
|
+
|
315
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
316
|
+
|
317
|
+
### Authorization
|
318
|
+
|
319
|
+
[basicAuth](../README.md#basicAuth)
|
320
|
+
|
321
|
+
### HTTP request headers
|
322
|
+
|
323
|
+
- **Content-Type**: Not defined
|
324
|
+
- **Accept**: application/json
|
325
|
+
|
326
|
+
|
327
|
+
## my_permissions
|
328
|
+
|
329
|
+
> MyPermissionsResponse my_permissions(rpm_rpm_distribution_href, opts)
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
List permissions available to the current user on this object.
|
334
|
+
|
335
|
+
### Example
|
336
|
+
|
337
|
+
```ruby
|
338
|
+
# load the gem
|
339
|
+
require 'pulp_rpm_client'
|
340
|
+
# setup authorization
|
341
|
+
PulpRpmClient.configure do |config|
|
342
|
+
# Configure HTTP basic authorization: basicAuth
|
343
|
+
config.username = 'YOUR USERNAME'
|
344
|
+
config.password = 'YOUR PASSWORD'
|
345
|
+
end
|
346
|
+
|
347
|
+
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
348
|
+
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
349
|
+
opts = {
|
350
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
351
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
352
|
+
}
|
353
|
+
|
354
|
+
begin
|
355
|
+
result = api_instance.my_permissions(rpm_rpm_distribution_href, opts)
|
356
|
+
p result
|
357
|
+
rescue PulpRpmClient::ApiError => e
|
358
|
+
puts "Exception when calling DistributionsRpmApi->my_permissions: #{e}"
|
359
|
+
end
|
360
|
+
```
|
361
|
+
|
362
|
+
### Parameters
|
363
|
+
|
364
|
+
|
365
|
+
Name | Type | Description | Notes
|
366
|
+
------------- | ------------- | ------------- | -------------
|
367
|
+
**rpm_rpm_distribution_href** | **String**| |
|
368
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
369
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
370
|
+
|
371
|
+
### Return type
|
372
|
+
|
373
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
374
|
+
|
375
|
+
### Authorization
|
376
|
+
|
377
|
+
[basicAuth](../README.md#basicAuth)
|
378
|
+
|
379
|
+
### HTTP request headers
|
380
|
+
|
381
|
+
- **Content-Type**: Not defined
|
382
|
+
- **Accept**: application/json
|
383
|
+
|
384
|
+
|
215
385
|
## partial_update
|
216
386
|
|
217
387
|
> AsyncOperationResponse partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
|
@@ -326,6 +496,60 @@ Name | Type | Description | Notes
|
|
326
496
|
- **Accept**: application/json
|
327
497
|
|
328
498
|
|
499
|
+
## remove_role
|
500
|
+
|
501
|
+
> NestedRoleResponse remove_role(rpm_rpm_distribution_href, nested_role)
|
502
|
+
|
503
|
+
|
504
|
+
|
505
|
+
Remove a role for this object from users/groups.
|
506
|
+
|
507
|
+
### Example
|
508
|
+
|
509
|
+
```ruby
|
510
|
+
# load the gem
|
511
|
+
require 'pulp_rpm_client'
|
512
|
+
# setup authorization
|
513
|
+
PulpRpmClient.configure do |config|
|
514
|
+
# Configure HTTP basic authorization: basicAuth
|
515
|
+
config.username = 'YOUR USERNAME'
|
516
|
+
config.password = 'YOUR PASSWORD'
|
517
|
+
end
|
518
|
+
|
519
|
+
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
520
|
+
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
521
|
+
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
522
|
+
|
523
|
+
begin
|
524
|
+
result = api_instance.remove_role(rpm_rpm_distribution_href, nested_role)
|
525
|
+
p result
|
526
|
+
rescue PulpRpmClient::ApiError => e
|
527
|
+
puts "Exception when calling DistributionsRpmApi->remove_role: #{e}"
|
528
|
+
end
|
529
|
+
```
|
530
|
+
|
531
|
+
### Parameters
|
532
|
+
|
533
|
+
|
534
|
+
Name | Type | Description | Notes
|
535
|
+
------------- | ------------- | ------------- | -------------
|
536
|
+
**rpm_rpm_distribution_href** | **String**| |
|
537
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
538
|
+
|
539
|
+
### Return type
|
540
|
+
|
541
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
542
|
+
|
543
|
+
### Authorization
|
544
|
+
|
545
|
+
[basicAuth](../README.md#basicAuth)
|
546
|
+
|
547
|
+
### HTTP request headers
|
548
|
+
|
549
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
550
|
+
- **Accept**: application/json
|
551
|
+
|
552
|
+
|
329
553
|
## update
|
330
554
|
|
331
555
|
> AsyncOperationResponse update(rpm_rpm_distribution_href, rpm_rpm_distribution)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpRpmClient::MyPermissionsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**permissions** | **Array<String>** | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpRpmClient'
|
13
|
+
|
14
|
+
instance = PulpRpmClient::MyPermissionsResponse.new(permissions: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/NestedRole.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpRpmClient::NestedRole
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**users** | **Array<String>** | | [optional]
|
8
|
+
**groups** | **Array<String>** | | [optional]
|
9
|
+
**role** | **String** | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpRpmClient'
|
15
|
+
|
16
|
+
instance = PulpRpmClient::NestedRole.new(users: null,
|
17
|
+
groups: null,
|
18
|
+
role: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpRpmClient::NestedRoleResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**users** | **Array<String>** | | [optional]
|
8
|
+
**groups** | **Array<String>** | | [optional]
|
9
|
+
**role** | **String** | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpRpmClient'
|
15
|
+
|
16
|
+
instance = PulpRpmClient::NestedRoleResponse.new(users: null,
|
17
|
+
groups: null,
|
18
|
+
role: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpRpmClient::ObjectRolesResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**roles** | [**Array<NestedRoleResponse>**](NestedRoleResponse.md) | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpRpmClient'
|
13
|
+
|
14
|
+
instance = PulpRpmClient::ObjectRolesResponse.new(roles: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/PatchedrpmRpmRemote.md
CHANGED
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
21
|
+
**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]
|
22
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
@@ -7,13 +7,13 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
10
|
+
**retain_repo_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]
|
11
11
|
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
12
|
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
13
13
|
**metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
14
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.
|
16
|
-
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages.
|
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
17
|
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional] [default to 0]
|
18
18
|
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] [default to 0]
|
19
19
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
data/docs/PatchedrpmUlnRemote.md
CHANGED
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
21
|
+
**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]
|
22
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|