pulpcore_client 3.38.1 → 3.39.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 +10 -10
- data/docs/ContentguardsApi.md +4 -4
- data/docs/ContentguardsHeaderApi.md +607 -0
- data/docs/HeaderContentGuard.md +25 -0
- data/docs/HeaderContentGuardResponse.md +29 -0
- data/docs/PaginatedHeaderContentGuardResponseList.md +23 -0
- data/docs/PatchedHeaderContentGuard.md +25 -0
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -6
- data/lib/pulpcore_client/api/contentguards_header_api.rb +741 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +46 -46
- data/lib/pulpcore_client/models/header_content_guard.rb +352 -0
- data/lib/pulpcore_client/models/header_content_guard_response.rb +284 -0
- data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +237 -0
- data/lib/pulpcore_client/models/patched_header_content_guard.rb +325 -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_header_api_spec.rb +181 -0
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/header_content_guard_response_spec.rb +77 -0
- data/spec/models/header_content_guard_spec.rb +65 -0
- data/spec/models/paginated_header_content_guard_response_list_spec.rb +59 -0
- data/spec/models/patched_header_content_guard_spec.rb +65 -0
- metadata +160 -140
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5be1393e7e68cf50c921860252e3675fc770928019d92fbb3b4992a0f884083b
|
4
|
+
data.tar.gz: 235e0702352f7d3f90c8d0c3ee5e116d47a706439a1c9ece470fab157f281984
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d769fb6def3bb4ae8a9ef380ea85ca64a902e424257a9f2bf998bac495b250273f7dd96e6de5faf8ca19a79d10191917ced1a4f3be0641f0f4c31383f64b40da
|
7
|
+
data.tar.gz: d71d3b65cff34ac75043b799b747ac566100f632883647aa82bfb372d395a87e0a2e6caed6af821c4bb779d4597c98f4b1ceaf695d63dadad12f4f01de575474
|
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.39.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.39.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.39.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.39.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -123,6 +123,16 @@ Class | Method | HTTP request | Description
|
|
123
123
|
*PulpcoreClient::ContentguardsContentRedirectApi* | [**read**](docs/ContentguardsContentRedirectApi.md#read) | **GET** {content_redirect_content_guard_href} | Inspect a content redirect content guard
|
124
124
|
*PulpcoreClient::ContentguardsContentRedirectApi* | [**remove_role**](docs/ContentguardsContentRedirectApi.md#remove_role) | **POST** {content_redirect_content_guard_href}remove_role/ | Remove a role
|
125
125
|
*PulpcoreClient::ContentguardsContentRedirectApi* | [**update**](docs/ContentguardsContentRedirectApi.md#update) | **PUT** {content_redirect_content_guard_href} | Update a content redirect content guard
|
126
|
+
*PulpcoreClient::ContentguardsHeaderApi* | [**add_role**](docs/ContentguardsHeaderApi.md#add_role) | **POST** {header_content_guard_href}add_role/ | Add a role
|
127
|
+
*PulpcoreClient::ContentguardsHeaderApi* | [**create**](docs/ContentguardsHeaderApi.md#create) | **POST** /pulp/api/v3/contentguards/core/header/ | Create a header content guard
|
128
|
+
*PulpcoreClient::ContentguardsHeaderApi* | [**delete**](docs/ContentguardsHeaderApi.md#delete) | **DELETE** {header_content_guard_href} | Delete a header content guard
|
129
|
+
*PulpcoreClient::ContentguardsHeaderApi* | [**list**](docs/ContentguardsHeaderApi.md#list) | **GET** /pulp/api/v3/contentguards/core/header/ | List header content guards
|
130
|
+
*PulpcoreClient::ContentguardsHeaderApi* | [**list_roles**](docs/ContentguardsHeaderApi.md#list_roles) | **GET** {header_content_guard_href}list_roles/ | List roles
|
131
|
+
*PulpcoreClient::ContentguardsHeaderApi* | [**my_permissions**](docs/ContentguardsHeaderApi.md#my_permissions) | **GET** {header_content_guard_href}my_permissions/ | List user permissions
|
132
|
+
*PulpcoreClient::ContentguardsHeaderApi* | [**partial_update**](docs/ContentguardsHeaderApi.md#partial_update) | **PATCH** {header_content_guard_href} | Update a header content guard
|
133
|
+
*PulpcoreClient::ContentguardsHeaderApi* | [**read**](docs/ContentguardsHeaderApi.md#read) | **GET** {header_content_guard_href} | Inspect a header content guard
|
134
|
+
*PulpcoreClient::ContentguardsHeaderApi* | [**remove_role**](docs/ContentguardsHeaderApi.md#remove_role) | **POST** {header_content_guard_href}remove_role/ | Remove a role
|
135
|
+
*PulpcoreClient::ContentguardsHeaderApi* | [**update**](docs/ContentguardsHeaderApi.md#update) | **PUT** {header_content_guard_href} | Update a header content guard
|
126
136
|
*PulpcoreClient::ContentguardsRbacApi* | [**add_role**](docs/ContentguardsRbacApi.md#add_role) | **POST** {r_b_a_c_content_guard_href}add_role/ | Add a role
|
127
137
|
*PulpcoreClient::ContentguardsRbacApi* | [**create**](docs/ContentguardsRbacApi.md#create) | **POST** /pulp/api/v3/contentguards/core/rbac/ | Create a rbac content guard
|
128
138
|
*PulpcoreClient::ContentguardsRbacApi* | [**delete**](docs/ContentguardsRbacApi.md#delete) | **DELETE** {r_b_a_c_content_guard_href} | Delete a rbac content guard
|
@@ -290,6 +300,8 @@ Class | Method | HTTP request | Description
|
|
290
300
|
- [PulpcoreClient::GroupRoleResponse](docs/GroupRoleResponse.md)
|
291
301
|
- [PulpcoreClient::GroupUser](docs/GroupUser.md)
|
292
302
|
- [PulpcoreClient::GroupUserResponse](docs/GroupUserResponse.md)
|
303
|
+
- [PulpcoreClient::HeaderContentGuard](docs/HeaderContentGuard.md)
|
304
|
+
- [PulpcoreClient::HeaderContentGuardResponse](docs/HeaderContentGuardResponse.md)
|
293
305
|
- [PulpcoreClient::ImportResponse](docs/ImportResponse.md)
|
294
306
|
- [PulpcoreClient::MethodEnum](docs/MethodEnum.md)
|
295
307
|
- [PulpcoreClient::MinimalTaskResponse](docs/MinimalTaskResponse.md)
|
@@ -311,6 +323,7 @@ Class | Method | HTTP request | Description
|
|
311
323
|
- [PulpcoreClient::PaginatedGroupResponseList](docs/PaginatedGroupResponseList.md)
|
312
324
|
- [PulpcoreClient::PaginatedGroupRoleResponseList](docs/PaginatedGroupRoleResponseList.md)
|
313
325
|
- [PulpcoreClient::PaginatedGroupUserResponseList](docs/PaginatedGroupUserResponseList.md)
|
326
|
+
- [PulpcoreClient::PaginatedHeaderContentGuardResponseList](docs/PaginatedHeaderContentGuardResponseList.md)
|
314
327
|
- [PulpcoreClient::PaginatedImportResponseList](docs/PaginatedImportResponseList.md)
|
315
328
|
- [PulpcoreClient::PaginatedMultipleArtifactContentResponseList](docs/PaginatedMultipleArtifactContentResponseList.md)
|
316
329
|
- [PulpcoreClient::PaginatedPublicationResponseList](docs/PaginatedPublicationResponseList.md)
|
@@ -336,6 +349,7 @@ Class | Method | HTTP request | Description
|
|
336
349
|
- [PulpcoreClient::PatchedDomain](docs/PatchedDomain.md)
|
337
350
|
- [PulpcoreClient::PatchedFilesystemExporter](docs/PatchedFilesystemExporter.md)
|
338
351
|
- [PulpcoreClient::PatchedGroup](docs/PatchedGroup.md)
|
352
|
+
- [PulpcoreClient::PatchedHeaderContentGuard](docs/PatchedHeaderContentGuard.md)
|
339
353
|
- [PulpcoreClient::PatchedPulpExporter](docs/PatchedPulpExporter.md)
|
340
354
|
- [PulpcoreClient::PatchedPulpImporter](docs/PatchedPulpImporter.md)
|
341
355
|
- [PulpcoreClient::PatchedRBACContentGuard](docs/PatchedRBACContentGuard.md)
|
@@ -4,28 +4,28 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**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\") |
|
8
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
9
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
7
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
12
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
12
14
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
13
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
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(base_path: null,
|
22
|
+
hidden: null,
|
23
|
+
base_url: null,
|
24
|
+
pulp_labels: null,
|
25
|
+
pulp_href: null,
|
22
26
|
pulp_created: null,
|
23
|
-
base_path: null,
|
24
27
|
name: null,
|
25
|
-
|
26
|
-
content_guard: null,
|
27
|
-
hidden: null,
|
28
|
-
base_url: null)
|
28
|
+
content_guard: null)
|
29
29
|
```
|
30
30
|
|
31
31
|
|
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 * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
|
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 * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
|
47
|
+
pulp_type: 'pulp_type_example', # String | Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
|
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 * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
|
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 * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509 | [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 * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509 | [optional]
|
82
|
+
**pulp_type** | **String**| Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509 | [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 * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509 | [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]
|