pulpcore_client 3.21.29 → 3.22.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 +11 -5
- data/docs/AccessPoliciesApi.md +2 -2
- data/docs/ArtifactDistributionResponse.md +29 -0
- data/docs/ContentSettingsResponse.md +19 -0
- data/docs/ContentguardsApi.md +2 -2
- data/docs/ContentguardsContentRedirectApi.md +2 -2
- data/docs/ContentguardsRbacApi.md +2 -2
- data/docs/DistributionResponse.md +1 -1
- data/docs/DistributionsApi.md +5 -5
- data/docs/DistributionsArtifactsApi.md +154 -0
- data/docs/ExportersFilesystemApi.md +2 -2
- data/docs/ExportersPulpApi.md +2 -2
- data/docs/FilesystemExport.md +1 -3
- data/docs/ImportersPulpApi.md +2 -2
- data/docs/PaginatedArtifactDistributionResponseList.md +23 -0
- data/docs/PublicationsApi.md +2 -2
- data/docs/RemoteResponse.md +4 -2
- data/docs/RemoteResponseHiddenFields.md +19 -0
- data/docs/RemotesApi.md +4 -4
- data/docs/RepositoriesApi.md +3 -3
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +4 -4
- data/docs/SigningServicesApi.md +4 -2
- data/docs/StatusResponse.md +3 -1
- data/docs/TaskGroupsApi.md +0 -2
- data/docs/TaskSchedulesApi.md +4 -4
- data/docs/TasksApi.md +32 -18
- data/docs/UploadsApi.md +10 -0
- data/docs/UserResponse.md +3 -1
- data/docs/WorkersApi.md +4 -4
- data/lib/pulpcore_client/api/access_policies_api.rb +3 -3
- data/lib/pulpcore_client/api/artifacts_api.rb +1 -1
- data/lib/pulpcore_client/api/contentguards_api.rb +3 -3
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +3 -3
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +3 -3
- data/lib/pulpcore_client/api/distributions_api.rb +7 -7
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +198 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +3 -3
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +3 -3
- data/lib/pulpcore_client/api/groups_api.rb +1 -1
- data/lib/pulpcore_client/api/importers_pulp_api.rb +3 -3
- data/lib/pulpcore_client/api/publications_api.rb +3 -3
- data/lib/pulpcore_client/api/remotes_api.rb +5 -5
- data/lib/pulpcore_client/api/repositories_api.rb +3 -3
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +1 -1
- data/lib/pulpcore_client/api/signing_services_api.rb +9 -2
- data/lib/pulpcore_client/api/task_groups_api.rb +0 -7
- data/lib/pulpcore_client/api/task_schedules_api.rb +5 -5
- data/lib/pulpcore_client/api/tasks_api.rb +40 -19
- data/lib/pulpcore_client/api/uploads_api.rb +19 -0
- data/lib/pulpcore_client/api/users_api.rb +1 -1
- data/lib/pulpcore_client/api/workers_api.rb +5 -5
- 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 +21 -7
- 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 -0
- data/spec/api/access_policies_api_spec.rb +1 -1
- data/spec/api/contentguards_api_spec.rb +1 -1
- data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
- data/spec/api/contentguards_rbac_api_spec.rb +1 -1
- data/spec/api/distributions_api_spec.rb +3 -3
- data/spec/api/distributions_artifacts_api_spec.rb +76 -0
- data/spec/api/exporters_filesystem_api_spec.rb +1 -1
- data/spec/api/exporters_pulp_api_spec.rb +1 -1
- data/spec/api/importers_pulp_api_spec.rb +1 -1
- data/spec/api/publications_api_spec.rb +1 -1
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +1 -1
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/signing_services_api_spec.rb +2 -1
- data/spec/api/task_groups_api_spec.rb +0 -1
- data/spec/api/task_schedules_api_spec.rb +2 -2
- data/spec/api/tasks_api_spec.rb +16 -9
- data/spec/api/uploads_api_spec.rb +5 -0
- data/spec/api/workers_api_spec.rb +2 -2
- 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 +148 -128
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 527ba4be26f6969adf4aae7076ac8c1eb320f436cb06f961658e108c1e3eed5a
|
4
|
+
data.tar.gz: d07e1f7580a57890b9c9df5011a748cf0a0174238261f9ec1e78f09da3bfc2dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3fc3d212f1638f00aedc64449113990eda3b0b324eb5873bdb7fdb76ed970b3d27bc634dd5d59e97475abcf0e5fbd6af68f1f4131b967d140b5ee119310addc
|
7
|
+
data.tar.gz: 3a447b81301c2de3b57a916a2578d96d1dd77d98d1e7f23275094b23e647daed977a8850704610259b7da48c67659452de1bdbf6293aab717d011eab88e47037
|
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.22.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 pulpcore_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulpcore_client-3.
|
27
|
+
gem install ./pulpcore_client-3.22.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.22.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 'pulpcore_client', '~> 3.
|
36
|
+
gem 'pulpcore_client', '~> 3.22.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -66,7 +66,7 @@ end
|
|
66
66
|
|
67
67
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
68
68
|
opts = {
|
69
|
-
customized: true, # Boolean |
|
69
|
+
customized: true, # Boolean | Filter results where customized matches value
|
70
70
|
limit: 56, # Integer | Number of results to return per page.
|
71
71
|
offset: 56, # Integer | The initial index from which to return the results.
|
72
72
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
@@ -127,6 +127,8 @@ Class | Method | HTTP request | Description
|
|
127
127
|
*PulpcoreClient::ContentguardsRbacApi* | [**remove_role**](docs/ContentguardsRbacApi.md#remove_role) | **POST** {r_b_a_c_content_guard_href}remove_role/ |
|
128
128
|
*PulpcoreClient::ContentguardsRbacApi* | [**update**](docs/ContentguardsRbacApi.md#update) | **PUT** {r_b_a_c_content_guard_href} | Update a rbac content guard
|
129
129
|
*PulpcoreClient::DistributionsApi* | [**list**](docs/DistributionsApi.md#list) | **GET** /pulp/api/v3/distributions/ | List distributions
|
130
|
+
*PulpcoreClient::DistributionsArtifactsApi* | [**list**](docs/DistributionsArtifactsApi.md#list) | **GET** /pulp/api/v3/distributions/core/artifacts/ | List artifact distributions
|
131
|
+
*PulpcoreClient::DistributionsArtifactsApi* | [**read**](docs/DistributionsArtifactsApi.md#read) | **GET** {artifact_distribution_href} | Inspect an artifact distribution
|
130
132
|
*PulpcoreClient::ExportersFilesystemApi* | [**create**](docs/ExportersFilesystemApi.md#create) | **POST** /pulp/api/v3/exporters/core/filesystem/ | Create a filesystem exporter
|
131
133
|
*PulpcoreClient::ExportersFilesystemApi* | [**delete**](docs/ExportersFilesystemApi.md#delete) | **DELETE** {filesystem_exporter_href} | Delete a filesystem exporter
|
132
134
|
*PulpcoreClient::ExportersFilesystemApi* | [**list**](docs/ExportersFilesystemApi.md#list) | **GET** /pulp/api/v3/exporters/core/filesystem/ | List filesystem exporters
|
@@ -238,12 +240,14 @@ Class | Method | HTTP request | Description
|
|
238
240
|
- [PulpcoreClient::AccessPolicy](docs/AccessPolicy.md)
|
239
241
|
- [PulpcoreClient::AccessPolicyResponse](docs/AccessPolicyResponse.md)
|
240
242
|
- [PulpcoreClient::Artifact](docs/Artifact.md)
|
243
|
+
- [PulpcoreClient::ArtifactDistributionResponse](docs/ArtifactDistributionResponse.md)
|
241
244
|
- [PulpcoreClient::ArtifactResponse](docs/ArtifactResponse.md)
|
242
245
|
- [PulpcoreClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
243
246
|
- [PulpcoreClient::ContentAppStatusResponse](docs/ContentAppStatusResponse.md)
|
244
247
|
- [PulpcoreClient::ContentGuardResponse](docs/ContentGuardResponse.md)
|
245
248
|
- [PulpcoreClient::ContentRedirectContentGuard](docs/ContentRedirectContentGuard.md)
|
246
249
|
- [PulpcoreClient::ContentRedirectContentGuardResponse](docs/ContentRedirectContentGuardResponse.md)
|
250
|
+
- [PulpcoreClient::ContentSettingsResponse](docs/ContentSettingsResponse.md)
|
247
251
|
- [PulpcoreClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
248
252
|
- [PulpcoreClient::DatabaseConnectionResponse](docs/DatabaseConnectionResponse.md)
|
249
253
|
- [PulpcoreClient::DistributionResponse](docs/DistributionResponse.md)
|
@@ -269,6 +273,7 @@ Class | Method | HTTP request | Description
|
|
269
273
|
- [PulpcoreClient::ObjectRolesResponse](docs/ObjectRolesResponse.md)
|
270
274
|
- [PulpcoreClient::OrphansCleanup](docs/OrphansCleanup.md)
|
271
275
|
- [PulpcoreClient::PaginatedAccessPolicyResponseList](docs/PaginatedAccessPolicyResponseList.md)
|
276
|
+
- [PulpcoreClient::PaginatedArtifactDistributionResponseList](docs/PaginatedArtifactDistributionResponseList.md)
|
272
277
|
- [PulpcoreClient::PaginatedArtifactResponseList](docs/PaginatedArtifactResponseList.md)
|
273
278
|
- [PulpcoreClient::PaginatedContentGuardResponseList](docs/PaginatedContentGuardResponseList.md)
|
274
279
|
- [PulpcoreClient::PaginatedContentRedirectContentGuardResponseList](docs/PaginatedContentRedirectContentGuardResponseList.md)
|
@@ -325,6 +330,7 @@ Class | Method | HTTP request | Description
|
|
325
330
|
- [PulpcoreClient::ReclaimSpace](docs/ReclaimSpace.md)
|
326
331
|
- [PulpcoreClient::RedisConnectionResponse](docs/RedisConnectionResponse.md)
|
327
332
|
- [PulpcoreClient::RemoteResponse](docs/RemoteResponse.md)
|
333
|
+
- [PulpcoreClient::RemoteResponseHiddenFields](docs/RemoteResponseHiddenFields.md)
|
328
334
|
- [PulpcoreClient::Repair](docs/Repair.md)
|
329
335
|
- [PulpcoreClient::RepositoryResponse](docs/RepositoryResponse.md)
|
330
336
|
- [PulpcoreClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
data/docs/AccessPoliciesApi.md
CHANGED
@@ -34,7 +34,7 @@ end
|
|
34
34
|
|
35
35
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
36
36
|
opts = {
|
37
|
-
customized: true, # Boolean |
|
37
|
+
customized: true, # Boolean | Filter results where customized matches value
|
38
38
|
limit: 56, # Integer | Number of results to return per page.
|
39
39
|
offset: 56, # Integer | The initial index from which to return the results.
|
40
40
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
@@ -61,7 +61,7 @@ end
|
|
61
61
|
|
62
62
|
Name | Type | Description | Notes
|
63
63
|
------------- | ------------- | ------------- | -------------
|
64
|
-
**customized** | **Boolean**|
|
64
|
+
**customized** | **Boolean**| Filter results where customized matches value | [optional]
|
65
65
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
66
66
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
67
67
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# PulpcoreClient::ArtifactDistributionResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
8
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
11
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
13
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'PulpcoreClient'
|
19
|
+
|
20
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(content_guard: null,
|
21
|
+
pulp_labels: null,
|
22
|
+
pulp_created: null,
|
23
|
+
base_path: null,
|
24
|
+
base_url: null,
|
25
|
+
pulp_href: null,
|
26
|
+
name: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpcoreClient::ContentSettingsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**content_origin** | **String** | The CONTENT_ORIGIN setting for this Pulp instance |
|
8
|
+
**content_path_prefix** | **String** | The CONTENT_PATH_PREFIX setting for this Pulp instance |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpcoreClient'
|
14
|
+
|
15
|
+
instance = PulpcoreClient::ContentSettingsResponse.new(content_origin: null,
|
16
|
+
content_path_prefix: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/ContentguardsApi.md
CHANGED
@@ -31,7 +31,7 @@ end
|
|
31
31
|
api_instance = PulpcoreClient::ContentguardsApi.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
|
@@ -57,7 +57,7 @@ end
|
|
57
57
|
Name | Type | Description | Notes
|
58
58
|
------------- | ------------- | ------------- | -------------
|
59
59
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
60
|
-
**name** | **String**|
|
60
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
61
61
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
62
62
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
63
63
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
@@ -199,7 +199,7 @@ end
|
|
199
199
|
api_instance = PulpcoreClient::ContentguardsContentRedirectApi.new
|
200
200
|
opts = {
|
201
201
|
limit: 56, # Integer | Number of results to return per page.
|
202
|
-
name: 'name_example', # String |
|
202
|
+
name: 'name_example', # String | Filter results where name matches value
|
203
203
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
204
204
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
205
205
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -225,7 +225,7 @@ end
|
|
225
225
|
Name | Type | Description | Notes
|
226
226
|
------------- | ------------- | ------------- | -------------
|
227
227
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
228
|
-
**name** | **String**|
|
228
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
229
229
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
230
230
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
231
231
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
@@ -199,7 +199,7 @@ end
|
|
199
199
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
200
200
|
opts = {
|
201
201
|
limit: 56, # Integer | Number of results to return per page.
|
202
|
-
name: 'name_example', # String |
|
202
|
+
name: 'name_example', # String | Filter results where name matches value
|
203
203
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
204
204
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
205
205
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -225,7 +225,7 @@ end
|
|
225
225
|
Name | Type | Description | Notes
|
226
226
|
------------- | ------------- | ------------- | -------------
|
227
227
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
228
|
-
**name** | **String**|
|
228
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
229
229
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
230
230
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
231
231
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
10
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
-
**pulp_labels** |
|
12
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
13
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
14
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
15
15
|
|
data/docs/DistributionsApi.md
CHANGED
@@ -14,7 +14,7 @@ Method | HTTP request | Description
|
|
14
14
|
|
15
15
|
List distributions
|
16
16
|
|
17
|
-
|
17
|
+
Provides base viewset for Distributions.
|
18
18
|
|
19
19
|
### Example
|
20
20
|
|
@@ -30,12 +30,12 @@ end
|
|
30
30
|
|
31
31
|
api_instance = PulpcoreClient::DistributionsApi.new
|
32
32
|
opts = {
|
33
|
-
base_path: 'base_path_example', # String |
|
33
|
+
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
34
34
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
35
35
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
36
36
|
base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
37
37
|
limit: 56, # Integer | Number of results to return per page.
|
38
|
-
name: 'name_example', # String |
|
38
|
+
name: 'name_example', # String | Filter results where name matches value
|
39
39
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
40
40
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
41
41
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -62,12 +62,12 @@ end
|
|
62
62
|
|
63
63
|
Name | Type | Description | Notes
|
64
64
|
------------- | ------------- | ------------- | -------------
|
65
|
-
**base_path** | **String**|
|
65
|
+
**base_path** | **String**| Filter results where base_path matches value | [optional]
|
66
66
|
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
67
67
|
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
68
68
|
**base_path__in** | [**Array<String>**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
|
69
69
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
70
|
-
**name** | **String**|
|
70
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
71
71
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
72
72
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
73
73
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
@@ -0,0 +1,154 @@
|
|
1
|
+
# PulpcoreClient::DistributionsArtifactsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](DistributionsArtifactsApi.md#list) | **GET** /pulp/api/v3/distributions/core/artifacts/ | List artifact distributions
|
8
|
+
[**read**](DistributionsArtifactsApi.md#read) | **GET** {artifact_distribution_href} | Inspect an artifact distribution
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## list
|
13
|
+
|
14
|
+
> PaginatedArtifactDistributionResponseList list(opts)
|
15
|
+
|
16
|
+
List artifact distributions
|
17
|
+
|
18
|
+
ViewSet for ArtifactDistribution.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'pulpcore_client'
|
25
|
+
# setup authorization
|
26
|
+
PulpcoreClient.configure do |config|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
28
|
+
config.username = 'YOUR USERNAME'
|
29
|
+
config.password = 'YOUR PASSWORD'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = PulpcoreClient::DistributionsArtifactsApi.new
|
33
|
+
opts = {
|
34
|
+
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
35
|
+
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
36
|
+
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
37
|
+
base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
38
|
+
limit: 56, # Integer | Number of results to return per page.
|
39
|
+
name: 'name_example', # String | Filter results where name matches value
|
40
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
41
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
42
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
43
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
44
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
45
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
46
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
47
|
+
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
48
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
49
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
50
|
+
}
|
51
|
+
|
52
|
+
begin
|
53
|
+
#List artifact distributions
|
54
|
+
result = api_instance.list(opts)
|
55
|
+
p result
|
56
|
+
rescue PulpcoreClient::ApiError => e
|
57
|
+
puts "Exception when calling DistributionsArtifactsApi->list: #{e}"
|
58
|
+
end
|
59
|
+
```
|
60
|
+
|
61
|
+
### Parameters
|
62
|
+
|
63
|
+
|
64
|
+
Name | Type | Description | Notes
|
65
|
+
------------- | ------------- | ------------- | -------------
|
66
|
+
**base_path** | **String**| Filter results where base_path matches value | [optional]
|
67
|
+
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
68
|
+
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
69
|
+
**base_path__in** | [**Array<String>**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
|
70
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
71
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
72
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
73
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
74
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
75
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
76
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
77
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
78
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
79
|
+
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
80
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
81
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
82
|
+
|
83
|
+
### Return type
|
84
|
+
|
85
|
+
[**PaginatedArtifactDistributionResponseList**](PaginatedArtifactDistributionResponseList.md)
|
86
|
+
|
87
|
+
### Authorization
|
88
|
+
|
89
|
+
[basicAuth](../README.md#basicAuth)
|
90
|
+
|
91
|
+
### HTTP request headers
|
92
|
+
|
93
|
+
- **Content-Type**: Not defined
|
94
|
+
- **Accept**: application/json
|
95
|
+
|
96
|
+
|
97
|
+
## read
|
98
|
+
|
99
|
+
> ArtifactDistributionResponse read(artifact_distribution_href, opts)
|
100
|
+
|
101
|
+
Inspect an artifact distribution
|
102
|
+
|
103
|
+
ViewSet for ArtifactDistribution.
|
104
|
+
|
105
|
+
### Example
|
106
|
+
|
107
|
+
```ruby
|
108
|
+
# load the gem
|
109
|
+
require 'pulpcore_client'
|
110
|
+
# setup authorization
|
111
|
+
PulpcoreClient.configure do |config|
|
112
|
+
# Configure HTTP basic authorization: basicAuth
|
113
|
+
config.username = 'YOUR USERNAME'
|
114
|
+
config.password = 'YOUR PASSWORD'
|
115
|
+
end
|
116
|
+
|
117
|
+
api_instance = PulpcoreClient::DistributionsArtifactsApi.new
|
118
|
+
artifact_distribution_href = 'artifact_distribution_href_example' # String |
|
119
|
+
opts = {
|
120
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
121
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
122
|
+
}
|
123
|
+
|
124
|
+
begin
|
125
|
+
#Inspect an artifact distribution
|
126
|
+
result = api_instance.read(artifact_distribution_href, opts)
|
127
|
+
p result
|
128
|
+
rescue PulpcoreClient::ApiError => e
|
129
|
+
puts "Exception when calling DistributionsArtifactsApi->read: #{e}"
|
130
|
+
end
|
131
|
+
```
|
132
|
+
|
133
|
+
### Parameters
|
134
|
+
|
135
|
+
|
136
|
+
Name | Type | Description | Notes
|
137
|
+
------------- | ------------- | ------------- | -------------
|
138
|
+
**artifact_distribution_href** | **String**| |
|
139
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
140
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
141
|
+
|
142
|
+
### Return type
|
143
|
+
|
144
|
+
[**ArtifactDistributionResponse**](ArtifactDistributionResponse.md)
|
145
|
+
|
146
|
+
### Authorization
|
147
|
+
|
148
|
+
[basicAuth](../README.md#basicAuth)
|
149
|
+
|
150
|
+
### HTTP request headers
|
151
|
+
|
152
|
+
- **Content-Type**: Not defined
|
153
|
+
- **Accept**: application/json
|
154
|
+
|
@@ -142,7 +142,7 @@ end
|
|
142
142
|
api_instance = PulpcoreClient::ExportersFilesystemApi.new
|
143
143
|
opts = {
|
144
144
|
limit: 56, # Integer | Number of results to return per page.
|
145
|
-
name: 'name_example', # String |
|
145
|
+
name: 'name_example', # String | Filter results where name matches value
|
146
146
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
147
147
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
148
148
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -168,7 +168,7 @@ end
|
|
168
168
|
Name | Type | Description | Notes
|
169
169
|
------------- | ------------- | ------------- | -------------
|
170
170
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
171
|
-
**name** | **String**|
|
171
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
172
172
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
173
173
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
174
174
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
data/docs/ExportersPulpApi.md
CHANGED
@@ -142,7 +142,7 @@ end
|
|
142
142
|
api_instance = PulpcoreClient::ExportersPulpApi.new
|
143
143
|
opts = {
|
144
144
|
limit: 56, # Integer | Number of results to return per page.
|
145
|
-
name: 'name_example', # String |
|
145
|
+
name: 'name_example', # String | Filter results where name matches value
|
146
146
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
147
147
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
148
148
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -168,7 +168,7 @@ end
|
|
168
168
|
Name | Type | Description | Notes
|
169
169
|
------------- | ------------- | ------------- | -------------
|
170
170
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
171
|
-
**name** | **String**|
|
171
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
172
172
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
173
173
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
174
174
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
data/docs/FilesystemExport.md
CHANGED
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
|
|
7
7
|
**task** | **String** | A URI of the task that ran the Export. | [optional]
|
8
8
|
**publication** | **String** | A URI of the publication to be exported. | [optional]
|
9
9
|
**repository_version** | **String** | A URI of the repository version export. | [optional]
|
10
|
-
**start_repository_version** | **String** | The URI of the last-exported-repo-version. | [optional]
|
11
10
|
|
12
11
|
## Code Sample
|
13
12
|
|
@@ -16,8 +15,7 @@ require 'PulpcoreClient'
|
|
16
15
|
|
17
16
|
instance = PulpcoreClient::FilesystemExport.new(task: null,
|
18
17
|
publication: null,
|
19
|
-
repository_version: null
|
20
|
-
start_repository_version: null)
|
18
|
+
repository_version: null)
|
21
19
|
```
|
22
20
|
|
23
21
|
|
data/docs/ImportersPulpApi.md
CHANGED
@@ -141,7 +141,7 @@ end
|
|
141
141
|
api_instance = PulpcoreClient::ImportersPulpApi.new
|
142
142
|
opts = {
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
|
-
name: 'name_example', # String |
|
144
|
+
name: 'name_example', # String | Filter results where name matches value
|
145
145
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
146
146
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
147
147
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -167,7 +167,7 @@ end
|
|
167
167
|
Name | Type | Description | Notes
|
168
168
|
------------- | ------------- | ------------- | -------------
|
169
169
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
|
-
**name** | **String**|
|
170
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
171
171
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
172
172
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
173
173
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
@@ -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
@@ -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
|
@@ -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
@@ -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
|
@@ -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]
|