pulpcore_client 3.42.0 → 3.43.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 +18 -4
- data/docs/ArtifactDistributionResponse.md +9 -9
- data/docs/CompositeContentGuard.md +21 -0
- data/docs/CompositeContentGuardResponse.md +25 -0
- data/docs/ContentguardsApi.md +4 -4
- data/docs/ContentguardsCompositeApi.md +607 -0
- data/docs/PaginatedCompositeContentGuardResponseList.md +23 -0
- data/docs/PatchedCompositeContentGuard.md +21 -0
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -6
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +741 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +45 -45
- data/lib/pulpcore_client/models/composite_content_guard.rb +270 -0
- data/lib/pulpcore_client/models/composite_content_guard_response.rb +255 -0
- data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +237 -0
- data/lib/pulpcore_client/models/patched_composite_content_guard.rb +261 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +5 -0
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/contentguards_composite_api_spec.rb +181 -0
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/composite_content_guard_response_spec.rb +65 -0
- data/spec/models/composite_content_guard_spec.rb +53 -0
- data/spec/models/paginated_composite_content_guard_response_list_spec.rb +59 -0
- data/spec/models/patched_composite_content_guard_spec.rb +53 -0
- metadata +22 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f20aae1106c8b942ad29757546260ffa0e56d995cc0847230d07b8631444f904
|
4
|
+
data.tar.gz: de2f74eed6f590cfdbbcd50c89eb34e9080d3d8e24691da9f54d26693df276b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a066e9589455beed8b072a37466ce2bf14e220a30ea78cc15d83fd2ea2a38ae2f89788cea010e7b1973324c1a0e7cda4d1ea4fd7652ca4021dc3fd4d4b4fe9e1
|
7
|
+
data.tar.gz: 21ebbeac23ea271bd79ca2126509dcd79e1c03ca6184e43ceacbce9d0042b20c31b15e500af7bbcd7689bde5cdd501a137487c514ac998750b782c9fd2c5f4d1
|
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.43.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.43.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.43.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.43.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -113,6 +113,16 @@ Class | Method | HTTP request | Description
|
|
113
113
|
*PulpcoreClient::ArtifactsApi* | [**read**](docs/ArtifactsApi.md#read) | **GET** {artifact_href} | Inspect an artifact
|
114
114
|
*PulpcoreClient::ContentApi* | [**list**](docs/ContentApi.md#list) | **GET** /pulp/api/v3/content/ | List content
|
115
115
|
*PulpcoreClient::ContentguardsApi* | [**list**](docs/ContentguardsApi.md#list) | **GET** /pulp/api/v3/contentguards/ | List content guards
|
116
|
+
*PulpcoreClient::ContentguardsCompositeApi* | [**add_role**](docs/ContentguardsCompositeApi.md#add_role) | **POST** {composite_content_guard_href}add_role/ | Add a role
|
117
|
+
*PulpcoreClient::ContentguardsCompositeApi* | [**create**](docs/ContentguardsCompositeApi.md#create) | **POST** /pulp/api/v3/contentguards/core/composite/ | Create a composite content guard
|
118
|
+
*PulpcoreClient::ContentguardsCompositeApi* | [**delete**](docs/ContentguardsCompositeApi.md#delete) | **DELETE** {composite_content_guard_href} | Delete a composite content guard
|
119
|
+
*PulpcoreClient::ContentguardsCompositeApi* | [**list**](docs/ContentguardsCompositeApi.md#list) | **GET** /pulp/api/v3/contentguards/core/composite/ | List composite content guards
|
120
|
+
*PulpcoreClient::ContentguardsCompositeApi* | [**list_roles**](docs/ContentguardsCompositeApi.md#list_roles) | **GET** {composite_content_guard_href}list_roles/ | List roles
|
121
|
+
*PulpcoreClient::ContentguardsCompositeApi* | [**my_permissions**](docs/ContentguardsCompositeApi.md#my_permissions) | **GET** {composite_content_guard_href}my_permissions/ | List user permissions
|
122
|
+
*PulpcoreClient::ContentguardsCompositeApi* | [**partial_update**](docs/ContentguardsCompositeApi.md#partial_update) | **PATCH** {composite_content_guard_href} | Update a composite content guard
|
123
|
+
*PulpcoreClient::ContentguardsCompositeApi* | [**read**](docs/ContentguardsCompositeApi.md#read) | **GET** {composite_content_guard_href} | Inspect a composite content guard
|
124
|
+
*PulpcoreClient::ContentguardsCompositeApi* | [**remove_role**](docs/ContentguardsCompositeApi.md#remove_role) | **POST** {composite_content_guard_href}remove_role/ | Remove a role
|
125
|
+
*PulpcoreClient::ContentguardsCompositeApi* | [**update**](docs/ContentguardsCompositeApi.md#update) | **PUT** {composite_content_guard_href} | Update a composite content guard
|
116
126
|
*PulpcoreClient::ContentguardsContentRedirectApi* | [**add_role**](docs/ContentguardsContentRedirectApi.md#add_role) | **POST** {content_redirect_content_guard_href}add_role/ | Add a role
|
117
127
|
*PulpcoreClient::ContentguardsContentRedirectApi* | [**create**](docs/ContentguardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/contentguards/core/content_redirect/ | Create a content redirect content guard
|
118
128
|
*PulpcoreClient::ContentguardsContentRedirectApi* | [**delete**](docs/ContentguardsContentRedirectApi.md#delete) | **DELETE** {content_redirect_content_guard_href} | Delete a content redirect content guard
|
@@ -278,6 +288,8 @@ Class | Method | HTTP request | Description
|
|
278
288
|
- [PulpcoreClient::ArtifactDistributionResponse](docs/ArtifactDistributionResponse.md)
|
279
289
|
- [PulpcoreClient::ArtifactResponse](docs/ArtifactResponse.md)
|
280
290
|
- [PulpcoreClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
291
|
+
- [PulpcoreClient::CompositeContentGuard](docs/CompositeContentGuard.md)
|
292
|
+
- [PulpcoreClient::CompositeContentGuardResponse](docs/CompositeContentGuardResponse.md)
|
281
293
|
- [PulpcoreClient::ContentAppStatusResponse](docs/ContentAppStatusResponse.md)
|
282
294
|
- [PulpcoreClient::ContentGuardResponse](docs/ContentGuardResponse.md)
|
283
295
|
- [PulpcoreClient::ContentRedirectContentGuard](docs/ContentRedirectContentGuard.md)
|
@@ -314,6 +326,7 @@ Class | Method | HTTP request | Description
|
|
314
326
|
- [PulpcoreClient::PaginatedAccessPolicyResponseList](docs/PaginatedAccessPolicyResponseList.md)
|
315
327
|
- [PulpcoreClient::PaginatedArtifactDistributionResponseList](docs/PaginatedArtifactDistributionResponseList.md)
|
316
328
|
- [PulpcoreClient::PaginatedArtifactResponseList](docs/PaginatedArtifactResponseList.md)
|
329
|
+
- [PulpcoreClient::PaginatedCompositeContentGuardResponseList](docs/PaginatedCompositeContentGuardResponseList.md)
|
317
330
|
- [PulpcoreClient::PaginatedContentGuardResponseList](docs/PaginatedContentGuardResponseList.md)
|
318
331
|
- [PulpcoreClient::PaginatedContentRedirectContentGuardResponseList](docs/PaginatedContentRedirectContentGuardResponseList.md)
|
319
332
|
- [PulpcoreClient::PaginatedDistributionResponseList](docs/PaginatedDistributionResponseList.md)
|
@@ -345,6 +358,7 @@ Class | Method | HTTP request | Description
|
|
345
358
|
- [PulpcoreClient::PaginatedUserRoleResponseList](docs/PaginatedUserRoleResponseList.md)
|
346
359
|
- [PulpcoreClient::PaginatedWorkerResponseList](docs/PaginatedWorkerResponseList.md)
|
347
360
|
- [PulpcoreClient::PatchedAccessPolicy](docs/PatchedAccessPolicy.md)
|
361
|
+
- [PulpcoreClient::PatchedCompositeContentGuard](docs/PatchedCompositeContentGuard.md)
|
348
362
|
- [PulpcoreClient::PatchedContentRedirectContentGuard](docs/PatchedContentRedirectContentGuard.md)
|
349
363
|
- [PulpcoreClient::PatchedDomain](docs/PatchedDomain.md)
|
350
364
|
- [PulpcoreClient::PatchedFilesystemExporter](docs/PatchedFilesystemExporter.md)
|
@@ -4,28 +4,28 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
8
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [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\") |
|
9
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
|
-
**
|
12
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
11
13
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
14
|
**pulp_href** | **String** | | [optional] [readonly]
|
13
|
-
**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\") |
|
14
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
15
15
|
|
16
16
|
## Code Sample
|
17
17
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpcoreClient'
|
20
20
|
|
21
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
21
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(hidden: null,
|
22
22
|
pulp_labels: null,
|
23
|
+
base_url: null,
|
24
|
+
base_path: null,
|
23
25
|
name: null,
|
24
|
-
|
26
|
+
pulp_created: null,
|
25
27
|
content_guard: null,
|
26
|
-
pulp_href: null
|
27
|
-
base_path: null,
|
28
|
-
base_url: null)
|
28
|
+
pulp_href: null)
|
29
29
|
```
|
30
30
|
|
31
31
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpcoreClient::CompositeContentGuard
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | The unique name. |
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
9
|
+
**guards** | **Array<String>** | List of ContentGuards to ask for access-permission. | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpcoreClient'
|
15
|
+
|
16
|
+
instance = PulpcoreClient::CompositeContentGuard.new(name: null,
|
17
|
+
description: null,
|
18
|
+
guards: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpcoreClient::CompositeContentGuardResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**name** | **String** | The unique name. |
|
10
|
+
**description** | **String** | An optional description. | [optional]
|
11
|
+
**guards** | **Array<String>** | List of ContentGuards to ask for access-permission. | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'PulpcoreClient'
|
17
|
+
|
18
|
+
instance = PulpcoreClient::CompositeContentGuardResponse.new(pulp_href: null,
|
19
|
+
pulp_created: null,
|
20
|
+
name: null,
|
21
|
+
description: null,
|
22
|
+
guards: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
data/docs/ContentguardsApi.md
CHANGED
@@ -44,8 +44,8 @@ opts = {
|
|
44
44
|
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
45
45
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
46
46
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
47
|
-
pulp_type: 'pulp_type_example', # String | Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
48
|
-
pulp_type__in: ['pulp_type__in_example'], # Array<String> | Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header
|
47
|
+
pulp_type: 'pulp_type_example', # String | Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite
|
48
|
+
pulp_type__in: ['pulp_type__in_example'], # Array<String> | Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite
|
49
49
|
q: 'q_example', # String |
|
50
50
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
51
51
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
@@ -79,8 +79,8 @@ Name | Type | Description | Notes
|
|
79
79
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
80
80
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
81
81
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
82
|
-
**pulp_type** | **String**| Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header | [optional]
|
83
|
-
**pulp_type__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header | [optional]
|
82
|
+
**pulp_type** | **String**| Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite | [optional]
|
83
|
+
**pulp_type__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite | [optional]
|
84
84
|
**q** | **String**| | [optional]
|
85
85
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
86
86
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|