pulpcore_client 3.21.32 → 3.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +147 -143
- data/docs/AccessPoliciesApi.md +28 -28
- data/docs/ArtifactDistributionResponse.md +29 -0
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +6 -6
- data/docs/ContentSettingsResponse.md +19 -0
- data/docs/ContentguardsApi.md +8 -8
- data/docs/ContentguardsContentRedirectApi.md +53 -53
- data/docs/ContentguardsRbacApi.md +53 -53
- data/docs/DistributionResponse.md +1 -1
- data/docs/DistributionsApi.md +11 -11
- data/docs/DistributionsArtifactsApi.md +154 -0
- data/docs/ExportersFilesystemApi.md +33 -33
- data/docs/ExportersFilesystemExportsApi.md +21 -21
- data/docs/ExportersPulpApi.md +33 -33
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExport.md +1 -3
- data/docs/GroupsApi.md +51 -51
- data/docs/GroupsRolesApi.md +21 -21
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -33
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PaginatedArtifactDistributionResponseList.md +23 -0
- data/docs/PublicationsApi.md +8 -8
- data/docs/RemoteResponse.md +4 -2
- data/docs/RemoteResponseHiddenFields.md +19 -0
- data/docs/RemotesApi.md +10 -10
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +9 -9
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +10 -10
- data/docs/RolesApi.md +31 -31
- data/docs/SigningServicesApi.md +15 -13
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +3 -1
- data/docs/TaskGroupsApi.md +11 -13
- data/docs/TaskSchedulesApi.md +35 -35
- data/docs/TasksApi.md +128 -114
- data/docs/UploadsApi.md +61 -51
- data/docs/UserResponse.md +3 -1
- data/docs/UsersApi.md +31 -31
- data/docs/UsersRolesApi.md +21 -21
- data/docs/WorkersApi.md +15 -15
- data/lib/pulpcore_client/api/access_policies_api.rb +34 -34
- data/lib/pulpcore_client/api/artifacts_api.rb +30 -30
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +66 -66
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +66 -66
- data/lib/pulpcore_client/api/distributions_api.rb +12 -12
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +198 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +64 -64
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +40 -40
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +8 -8
- data/lib/pulpcore_client/api/remotes_api.rb +10 -10
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +8 -8
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +10 -10
- data/lib/pulpcore_client/api/roles_api.rb +38 -38
- data/lib/pulpcore_client/api/signing_services_api.rb +20 -13
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -18
- data/lib/pulpcore_client/api/task_schedules_api.rb +42 -42
- data/lib/pulpcore_client/api/tasks_api.rb +159 -138
- data/lib/pulpcore_client/api/uploads_api.rb +84 -65
- data/lib/pulpcore_client/api/users_api.rb +38 -38
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +16 -16
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +279 -0
- data/lib/pulpcore_client/models/content_settings_response.rb +228 -0
- data/lib/pulpcore_client/models/distribution_response.rb +4 -2
- data/lib/pulpcore_client/models/filesystem_export.rb +4 -14
- data/lib/pulpcore_client/models/group_role.rb +19 -0
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +237 -0
- data/lib/pulpcore_client/models/remote_response.rb +41 -27
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +215 -0
- data/lib/pulpcore_client/models/repository_response.rb +4 -2
- data/lib/pulpcore_client/models/status_response.rb +19 -4
- data/lib/pulpcore_client/models/user_response.rb +16 -4
- data/lib/pulpcore_client/models/user_role.rb +19 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +5 -2
- data/spec/api/access_policies_api_spec.rb +11 -11
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/contentguards_api_spec.rb +3 -3
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -21
- data/spec/api/contentguards_rbac_api_spec.rb +21 -21
- data/spec/api/distributions_api_spec.rb +5 -5
- data/spec/api/distributions_artifacts_api_spec.rb +76 -0
- data/spec/api/exporters_filesystem_api_spec.rb +13 -13
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +13 -13
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -13
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +3 -3
- data/spec/api/remotes_api_spec.rb +4 -4
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -3
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +4 -4
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +6 -5
- data/spec/api/task_groups_api_spec.rb +4 -5
- data/spec/api/task_schedules_api_spec.rb +14 -14
- data/spec/api/tasks_api_spec.rb +45 -38
- data/spec/api/uploads_api_spec.rb +25 -20
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +6 -6
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +77 -0
- data/spec/models/content_settings_response_spec.rb +47 -0
- data/spec/models/filesystem_export_spec.rb +0 -6
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +59 -0
- data/spec/models/remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/remote_response_spec.rb +6 -0
- data/spec/models/status_response_spec.rb +6 -0
- data/spec/models/user_response_spec.rb +6 -0
- metadata +162 -150
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# PulpcoreClient::ImportersPulpImportsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
10
|
-
[**
|
|
7
|
+
[**create**](ImportersPulpImportsApi.md#create) | **POST** {pulp_importer_href}imports/ | Create a pulp import
|
|
8
|
+
[**delete**](ImportersPulpImportsApi.md#delete) | **DELETE** {pulp_pulp_import_href} | Delete a pulp import
|
|
9
|
+
[**list**](ImportersPulpImportsApi.md#list) | **GET** {pulp_importer_href}imports/ | List pulp imports
|
|
10
|
+
[**read**](ImportersPulpImportsApi.md#read) | **GET** {pulp_pulp_import_href} | Inspect a pulp import
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## create
|
|
15
15
|
|
|
16
|
-
> TaskGroupOperationResponse
|
|
16
|
+
> TaskGroupOperationResponse create(pulp_importer_href, pulp_import)
|
|
17
17
|
|
|
18
18
|
Create a pulp import
|
|
19
19
|
|
|
@@ -37,10 +37,10 @@ pulp_import = PulpcoreClient::PulpImport.new # PulpImport |
|
|
|
37
37
|
|
|
38
38
|
begin
|
|
39
39
|
#Create a pulp import
|
|
40
|
-
result = api_instance.
|
|
40
|
+
result = api_instance.create(pulp_importer_href, pulp_import)
|
|
41
41
|
p result
|
|
42
42
|
rescue PulpcoreClient::ApiError => e
|
|
43
|
-
puts "Exception when calling ImportersPulpImportsApi->
|
|
43
|
+
puts "Exception when calling ImportersPulpImportsApi->create: #{e}"
|
|
44
44
|
end
|
|
45
45
|
```
|
|
46
46
|
|
|
@@ -66,9 +66,9 @@ Name | Type | Description | Notes
|
|
|
66
66
|
- **Accept**: application/json
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
##
|
|
69
|
+
## delete
|
|
70
70
|
|
|
71
|
-
>
|
|
71
|
+
> delete(pulp_pulp_import_href)
|
|
72
72
|
|
|
73
73
|
Delete a pulp import
|
|
74
74
|
|
|
@@ -91,9 +91,9 @@ pulp_pulp_import_href = 'pulp_pulp_import_href_example' # String |
|
|
|
91
91
|
|
|
92
92
|
begin
|
|
93
93
|
#Delete a pulp import
|
|
94
|
-
api_instance.
|
|
94
|
+
api_instance.delete(pulp_pulp_import_href)
|
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
|
96
|
-
puts "Exception when calling ImportersPulpImportsApi->
|
|
96
|
+
puts "Exception when calling ImportersPulpImportsApi->delete: #{e}"
|
|
97
97
|
end
|
|
98
98
|
```
|
|
99
99
|
|
|
@@ -118,9 +118,9 @@ nil (empty response body)
|
|
|
118
118
|
- **Accept**: Not defined
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
##
|
|
121
|
+
## list
|
|
122
122
|
|
|
123
|
-
> PaginatedImportResponseList
|
|
123
|
+
> PaginatedImportResponseList list(pulp_importer_href, opts)
|
|
124
124
|
|
|
125
125
|
List pulp imports
|
|
126
126
|
|
|
@@ -149,10 +149,10 @@ opts = {
|
|
|
149
149
|
|
|
150
150
|
begin
|
|
151
151
|
#List pulp imports
|
|
152
|
-
result = api_instance.
|
|
152
|
+
result = api_instance.list(pulp_importer_href, opts)
|
|
153
153
|
p result
|
|
154
154
|
rescue PulpcoreClient::ApiError => e
|
|
155
|
-
puts "Exception when calling ImportersPulpImportsApi->
|
|
155
|
+
puts "Exception when calling ImportersPulpImportsApi->list: #{e}"
|
|
156
156
|
end
|
|
157
157
|
```
|
|
158
158
|
|
|
@@ -181,9 +181,9 @@ Name | Type | Description | Notes
|
|
|
181
181
|
- **Accept**: application/json
|
|
182
182
|
|
|
183
183
|
|
|
184
|
-
##
|
|
184
|
+
## read
|
|
185
185
|
|
|
186
|
-
> ImportResponse
|
|
186
|
+
> ImportResponse read(pulp_pulp_import_href, opts)
|
|
187
187
|
|
|
188
188
|
Inspect a pulp import
|
|
189
189
|
|
|
@@ -210,10 +210,10 @@ opts = {
|
|
|
210
210
|
|
|
211
211
|
begin
|
|
212
212
|
#Inspect a pulp import
|
|
213
|
-
result = api_instance.
|
|
213
|
+
result = api_instance.read(pulp_pulp_import_href, opts)
|
|
214
214
|
p result
|
|
215
215
|
rescue PulpcoreClient::ApiError => e
|
|
216
|
-
puts "Exception when calling ImportersPulpImportsApi->
|
|
216
|
+
puts "Exception when calling ImportersPulpImportsApi->read: #{e}"
|
|
217
217
|
end
|
|
218
218
|
```
|
|
219
219
|
|
data/docs/OrphansApi.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# PulpcoreClient::OrphansApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**delete**](OrphansApi.md#delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## delete
|
|
12
12
|
|
|
13
|
-
> AsyncOperationResponse
|
|
13
|
+
> AsyncOperationResponse delete
|
|
14
14
|
|
|
15
15
|
Delete orphans
|
|
16
16
|
|
|
@@ -32,10 +32,10 @@ api_instance = PulpcoreClient::OrphansApi.new
|
|
|
32
32
|
|
|
33
33
|
begin
|
|
34
34
|
#Delete orphans
|
|
35
|
-
result = api_instance.
|
|
35
|
+
result = api_instance.delete
|
|
36
36
|
p result
|
|
37
37
|
rescue PulpcoreClient::ApiError => e
|
|
38
|
-
puts "Exception when calling OrphansApi->
|
|
38
|
+
puts "Exception when calling OrphansApi->delete: #{e}"
|
|
39
39
|
end
|
|
40
40
|
```
|
|
41
41
|
|
data/docs/OrphansCleanupApi.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# PulpcoreClient::OrphansCleanupApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**cleanup**](OrphansCleanupApi.md#cleanup) | **POST** /pulp/api/v3/orphans/cleanup/ |
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## cleanup
|
|
12
12
|
|
|
13
|
-
> AsyncOperationResponse
|
|
13
|
+
> AsyncOperationResponse cleanup(orphans_cleanup)
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -32,10 +32,10 @@ api_instance = PulpcoreClient::OrphansCleanupApi.new
|
|
|
32
32
|
orphans_cleanup = PulpcoreClient::OrphansCleanup.new # OrphansCleanup |
|
|
33
33
|
|
|
34
34
|
begin
|
|
35
|
-
result = api_instance.
|
|
35
|
+
result = api_instance.cleanup(orphans_cleanup)
|
|
36
36
|
p result
|
|
37
37
|
rescue PulpcoreClient::ApiError => e
|
|
38
|
-
puts "Exception when calling OrphansCleanupApi->
|
|
38
|
+
puts "Exception when calling OrphansCleanupApi->cleanup: #{e}"
|
|
39
39
|
end
|
|
40
40
|
```
|
|
41
41
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpcoreClient::PaginatedArtifactDistributionResponseList
|
|
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<ArtifactDistributionResponse>**](ArtifactDistributionResponse.md) | | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpcoreClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpcoreClient::PaginatedArtifactDistributionResponseList.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
|
+
|
data/docs/PublicationsApi.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# PulpcoreClient::PublicationsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**list**](PublicationsApi.md#list) | **GET** /pulp/api/v3/publications/ | List publications
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## list
|
|
12
12
|
|
|
13
|
-
> PaginatedPublicationResponseList
|
|
13
|
+
> PaginatedPublicationResponseList list(opts)
|
|
14
14
|
|
|
15
15
|
List publications
|
|
16
16
|
|
|
@@ -35,7 +35,7 @@ opts = {
|
|
|
35
35
|
limit: 56, # Integer | Number of results to return per page.
|
|
36
36
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
37
37
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
38
|
-
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime |
|
|
38
|
+
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
|
39
39
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
|
40
40
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
|
41
41
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
|
@@ -49,10 +49,10 @@ opts = {
|
|
|
49
49
|
|
|
50
50
|
begin
|
|
51
51
|
#List publications
|
|
52
|
-
result = api_instance.
|
|
52
|
+
result = api_instance.list(opts)
|
|
53
53
|
p result
|
|
54
54
|
rescue PulpcoreClient::ApiError => e
|
|
55
|
-
puts "Exception when calling PublicationsApi->
|
|
55
|
+
puts "Exception when calling PublicationsApi->list: #{e}"
|
|
56
56
|
end
|
|
57
57
|
```
|
|
58
58
|
|
|
@@ -66,7 +66,7 @@ Name | Type | Description | Notes
|
|
|
66
66
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
67
67
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
68
68
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
69
|
-
**pulp_created** | **DateTime**|
|
|
69
|
+
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
|
70
70
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
|
71
71
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
|
72
72
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
data/docs/RemoteResponse.md
CHANGED
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
13
13
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
14
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
15
|
-
**pulp_labels** |
|
|
15
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
18
18
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
|
|
|
23
23
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
24
24
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
25
25
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
26
|
+
**hidden_fields** | [**Array<RemoteResponseHiddenFields>**](RemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
|
26
27
|
|
|
27
28
|
## Code Sample
|
|
28
29
|
|
|
@@ -47,7 +48,8 @@ instance = PulpcoreClient::RemoteResponse.new(pulp_href: null,
|
|
|
47
48
|
sock_connect_timeout: null,
|
|
48
49
|
sock_read_timeout: null,
|
|
49
50
|
headers: null,
|
|
50
|
-
rate_limit: null
|
|
51
|
+
rate_limit: null,
|
|
52
|
+
hidden_fields: null)
|
|
51
53
|
```
|
|
52
54
|
|
|
53
55
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# PulpcoreClient::RemoteResponseHiddenFields
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**name** | **String** | | [optional]
|
|
8
|
+
**is_set** | **Boolean** | | [optional]
|
|
9
|
+
|
|
10
|
+
## Code Sample
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'PulpcoreClient'
|
|
14
|
+
|
|
15
|
+
instance = PulpcoreClient::RemoteResponseHiddenFields.new(name: null,
|
|
16
|
+
is_set: null)
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
|
data/docs/RemotesApi.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# PulpcoreClient::RemotesApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**list**](RemotesApi.md#list) | **GET** /pulp/api/v3/remotes/ | List remotes
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## list
|
|
12
12
|
|
|
13
|
-
> PaginatedRemoteResponseList
|
|
13
|
+
> PaginatedRemoteResponseList list(opts)
|
|
14
14
|
|
|
15
15
|
List remotes
|
|
16
16
|
|
|
@@ -31,7 +31,7 @@ end
|
|
|
31
31
|
api_instance = PulpcoreClient::RemotesApi.new
|
|
32
32
|
opts = {
|
|
33
33
|
limit: 56, # Integer | Number of results to return per page.
|
|
34
|
-
name: 'name_example', # String |
|
|
34
|
+
name: 'name_example', # String | Filter results where name matches value
|
|
35
35
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
36
36
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
|
37
37
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
@@ -39,7 +39,7 @@ opts = {
|
|
|
39
39
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
40
40
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
41
41
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
42
|
-
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime |
|
|
42
|
+
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
|
|
43
43
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
|
44
44
|
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
|
|
45
45
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
|
@@ -51,10 +51,10 @@ opts = {
|
|
|
51
51
|
|
|
52
52
|
begin
|
|
53
53
|
#List remotes
|
|
54
|
-
result = api_instance.
|
|
54
|
+
result = api_instance.list(opts)
|
|
55
55
|
p result
|
|
56
56
|
rescue PulpcoreClient::ApiError => e
|
|
57
|
-
puts "Exception when calling RemotesApi->
|
|
57
|
+
puts "Exception when calling RemotesApi->list: #{e}"
|
|
58
58
|
end
|
|
59
59
|
```
|
|
60
60
|
|
|
@@ -64,7 +64,7 @@ end
|
|
|
64
64
|
Name | Type | Description | Notes
|
|
65
65
|
------------- | ------------- | ------------- | -------------
|
|
66
66
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
67
|
-
**name** | **String**|
|
|
67
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
|
68
68
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
69
69
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
|
70
70
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
|
|
|
72
72
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
73
73
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
74
74
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
|
75
|
-
**pulp_last_updated** | **DateTime**|
|
|
75
|
+
**pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
|
|
76
76
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
|
77
77
|
**pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
|
|
78
78
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
data/docs/RepairApi.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# PulpcoreClient::RepairApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**post**](RepairApi.md#post) | **POST** /pulp/api/v3/repair/ | Repair Artifact Storage
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## post
|
|
12
12
|
|
|
13
|
-
> AsyncOperationResponse
|
|
13
|
+
> AsyncOperationResponse post(repair)
|
|
14
14
|
|
|
15
15
|
Repair Artifact Storage
|
|
16
16
|
|
|
@@ -33,10 +33,10 @@ repair = PulpcoreClient::Repair.new # Repair |
|
|
|
33
33
|
|
|
34
34
|
begin
|
|
35
35
|
#Repair Artifact Storage
|
|
36
|
-
result = api_instance.
|
|
36
|
+
result = api_instance.post(repair)
|
|
37
37
|
p result
|
|
38
38
|
rescue PulpcoreClient::ApiError => e
|
|
39
|
-
puts "Exception when calling RepairApi->
|
|
39
|
+
puts "Exception when calling RepairApi->post: #{e}"
|
|
40
40
|
end
|
|
41
41
|
```
|
|
42
42
|
|
data/docs/RepositoriesApi.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# PulpcoreClient::RepositoriesApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**list**](RepositoriesApi.md#list) | **GET** /pulp/api/v3/repositories/ | List repositories
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## list
|
|
12
12
|
|
|
13
|
-
> PaginatedRepositoryResponseList
|
|
13
|
+
> PaginatedRepositoryResponseList list(opts)
|
|
14
14
|
|
|
15
15
|
List repositories
|
|
16
16
|
|
|
@@ -31,7 +31,7 @@ end
|
|
|
31
31
|
api_instance = PulpcoreClient::RepositoriesApi.new
|
|
32
32
|
opts = {
|
|
33
33
|
limit: 56, # Integer | Number of results to return per page.
|
|
34
|
-
name: 'name_example', # String |
|
|
34
|
+
name: 'name_example', # String | Filter results where name matches value
|
|
35
35
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
36
36
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
|
37
37
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
@@ -46,10 +46,10 @@ opts = {
|
|
|
46
46
|
|
|
47
47
|
begin
|
|
48
48
|
#List repositories
|
|
49
|
-
result = api_instance.
|
|
49
|
+
result = api_instance.list(opts)
|
|
50
50
|
p result
|
|
51
51
|
rescue PulpcoreClient::ApiError => e
|
|
52
|
-
puts "Exception when calling RepositoriesApi->
|
|
52
|
+
puts "Exception when calling RepositoriesApi->list: #{e}"
|
|
53
53
|
end
|
|
54
54
|
```
|
|
55
55
|
|
|
@@ -59,7 +59,7 @@ end
|
|
|
59
59
|
Name | Type | Description | Notes
|
|
60
60
|
------------- | ------------- | ------------- | -------------
|
|
61
61
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
62
|
-
**name** | **String**|
|
|
62
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
|
63
63
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
64
64
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
|
65
65
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
@@ -67,7 +67,7 @@ Name | Type | Description | Notes
|
|
|
67
67
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
68
68
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
69
69
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
|
70
|
-
**remote** |
|
|
70
|
+
**remote** | **String**| Foreign Key referenced by HREF | [optional]
|
|
71
71
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
72
72
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
73
73
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# PulpcoreClient::RepositoriesReclaimSpaceApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**reclaim**](RepositoriesReclaimSpaceApi.md#reclaim) | **POST** /pulp/api/v3/repositories/reclaim_space/ |
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## reclaim
|
|
12
12
|
|
|
13
|
-
> AsyncOperationResponse
|
|
13
|
+
> AsyncOperationResponse reclaim(reclaim_space)
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -32,10 +32,10 @@ api_instance = PulpcoreClient::RepositoriesReclaimSpaceApi.new
|
|
|
32
32
|
reclaim_space = PulpcoreClient::ReclaimSpace.new # ReclaimSpace |
|
|
33
33
|
|
|
34
34
|
begin
|
|
35
|
-
result = api_instance.
|
|
35
|
+
result = api_instance.reclaim(reclaim_space)
|
|
36
36
|
p result
|
|
37
37
|
rescue PulpcoreClient::ApiError => e
|
|
38
|
-
puts "Exception when calling RepositoriesReclaimSpaceApi->
|
|
38
|
+
puts "Exception when calling RepositoriesReclaimSpaceApi->reclaim: #{e}"
|
|
39
39
|
end
|
|
40
40
|
```
|
|
41
41
|
|
data/docs/RepositoryResponse.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
9
|
**versions_href** | **String** | | [optional] [readonly]
|
|
10
|
-
**pulp_labels** |
|
|
10
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# PulpcoreClient::RepositoryVersionsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**list**](RepositoryVersionsApi.md#list) | **GET** /pulp/api/v3/repository_versions/ | List repository versions
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## list
|
|
12
12
|
|
|
13
|
-
> PaginatedRepositoryVersionResponseList
|
|
13
|
+
> PaginatedRepositoryVersionResponseList list(opts)
|
|
14
14
|
|
|
15
15
|
List repository versions
|
|
16
16
|
|
|
@@ -31,7 +31,7 @@ opts = {
|
|
|
31
31
|
content: 'content_example', # String | Content Unit referenced by HREF
|
|
32
32
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
|
33
33
|
limit: 56, # Integer | Number of results to return per page.
|
|
34
|
-
number: 56, # Integer |
|
|
34
|
+
number: 56, # Integer | Filter results where number matches value
|
|
35
35
|
number__gt: 56, # Integer | Filter results where number is greater than value
|
|
36
36
|
number__gte: 56, # Integer | Filter results where number is greater than or equal to value
|
|
37
37
|
number__lt: 56, # Integer | Filter results where number is less than value
|
|
@@ -39,7 +39,7 @@ opts = {
|
|
|
39
39
|
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
|
40
40
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
41
41
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
42
|
-
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime |
|
|
42
|
+
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
|
43
43
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
|
44
44
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
|
45
45
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
|
@@ -51,10 +51,10 @@ opts = {
|
|
|
51
51
|
|
|
52
52
|
begin
|
|
53
53
|
#List repository versions
|
|
54
|
-
result = api_instance.
|
|
54
|
+
result = api_instance.list(opts)
|
|
55
55
|
p result
|
|
56
56
|
rescue PulpcoreClient::ApiError => e
|
|
57
|
-
puts "Exception when calling RepositoryVersionsApi->
|
|
57
|
+
puts "Exception when calling RepositoryVersionsApi->list: #{e}"
|
|
58
58
|
end
|
|
59
59
|
```
|
|
60
60
|
|
|
@@ -66,7 +66,7 @@ Name | Type | Description | Notes
|
|
|
66
66
|
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
67
67
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
|
68
68
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
69
|
-
**number** | **Integer**|
|
|
69
|
+
**number** | **Integer**| Filter results where number matches value | [optional]
|
|
70
70
|
**number__gt** | **Integer**| Filter results where number is greater than value | [optional]
|
|
71
71
|
**number__gte** | **Integer**| Filter results where number is greater than or equal to value | [optional]
|
|
72
72
|
**number__lt** | **Integer**| Filter results where number is less than value | [optional]
|
|
@@ -74,7 +74,7 @@ Name | Type | Description | Notes
|
|
|
74
74
|
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
|
75
75
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
76
76
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
77
|
-
**pulp_created** | **DateTime**|
|
|
77
|
+
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
|
78
78
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
|
79
79
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
|
80
80
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|