pulpcore_client 3.118.1 → 3.119.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 +18 -4
- data/docs/ArtifactDistributionResponse.md +17 -17
- data/docs/ContentguardsApi.md +4 -4
- data/docs/ContentguardsEnvvarHeaderApi.md +810 -0
- data/docs/EnvVarHeaderContentGuard.md +24 -0
- data/docs/EnvVarHeaderContentGuardResponse.md +32 -0
- data/docs/PaginatedEnvVarHeaderContentGuardResponseList.md +24 -0
- data/docs/PatchedEnvVarHeaderContentGuard.md +24 -0
- data/docs/Purge.md +1 -1
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -6
- data/lib/pulpcore_client/api/contentguards_envvar_header_api.rb +799 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +85 -85
- data/lib/pulpcore_client/models/env_var_header_content_guard.rb +340 -0
- data/lib/pulpcore_client/models/env_var_header_content_guard_response.rb +307 -0
- data/lib/pulpcore_client/models/paginated_env_var_header_content_guard_response_list.rb +257 -0
- data/lib/pulpcore_client/models/patched_env_var_header_content_guard.rb +319 -0
- data/lib/pulpcore_client/models/purge.rb +1 -1
- 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_envvar_header_api_spec.rb +192 -0
- data/spec/models/artifact_distribution_response_spec.rb +13 -13
- data/spec/models/env_var_header_content_guard_response_spec.rb +78 -0
- data/spec/models/env_var_header_content_guard_spec.rb +54 -0
- data/spec/models/paginated_env_var_header_content_guard_response_list_spec.rb +54 -0
- data/spec/models/patched_env_var_header_content_guard_spec.rb +54 -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: fafb0cc40105aff80794d2aefe76317e3988a317fa06cd5bd377f5d29979ccf4
|
|
4
|
+
data.tar.gz: b4ab9e905fc99acb76f6152b2ed8e52922d004b6448ade25158eb86e7558f50b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84c65e211195b4c82c9dff57e5ef2b8f7eda960beb12a3253d29a087f709086d07f4275faf731905a4e40677d985931ab6763b0029125ffba6749aa48407ea34
|
|
7
|
+
data.tar.gz: 5683716667bc344e37af11a3626f7adeea01fc64ffff787e009f44d963991c379efc413549dcdf3c8b7b7f47dbdf100da9778ec576e045259b48851f09e3b549
|
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.119.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulpcore_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulpcore_client-3.
|
|
28
|
+
gem install ./pulpcore_client-3.119.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulpcore_client-3.119.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulpcore_client', '~> 3.
|
|
37
|
+
gem 'pulpcore_client', '~> 3.119.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -159,6 +159,16 @@ Class | Method | HTTP request | Description
|
|
|
159
159
|
*PulpcoreClient::ContentguardsContentRedirectApi* | [**read**](docs/ContentguardsContentRedirectApi.md#read) | **GET** {content_redirect_content_guard_href} | Inspect a content redirect content guard
|
|
160
160
|
*PulpcoreClient::ContentguardsContentRedirectApi* | [**remove_role**](docs/ContentguardsContentRedirectApi.md#remove_role) | **POST** {content_redirect_content_guard_href}remove_role/ | Remove a role
|
|
161
161
|
*PulpcoreClient::ContentguardsContentRedirectApi* | [**update**](docs/ContentguardsContentRedirectApi.md#update) | **PUT** {content_redirect_content_guard_href} | Update a content redirect content guard
|
|
162
|
+
*PulpcoreClient::ContentguardsEnvvarHeaderApi* | [**add_role**](docs/ContentguardsEnvvarHeaderApi.md#add_role) | **POST** {env_var_header_content_guard_href}add_role/ | Add a role
|
|
163
|
+
*PulpcoreClient::ContentguardsEnvvarHeaderApi* | [**create**](docs/ContentguardsEnvvarHeaderApi.md#create) | **POST** /pulp/api/v3/contentguards/core/envvar_header/ | Create an env var header content guard
|
|
164
|
+
*PulpcoreClient::ContentguardsEnvvarHeaderApi* | [**delete**](docs/ContentguardsEnvvarHeaderApi.md#delete) | **DELETE** {env_var_header_content_guard_href} | Delete an env var header content guard
|
|
165
|
+
*PulpcoreClient::ContentguardsEnvvarHeaderApi* | [**list**](docs/ContentguardsEnvvarHeaderApi.md#list) | **GET** /pulp/api/v3/contentguards/core/envvar_header/ | List env var header content guards
|
|
166
|
+
*PulpcoreClient::ContentguardsEnvvarHeaderApi* | [**list_roles**](docs/ContentguardsEnvvarHeaderApi.md#list_roles) | **GET** {env_var_header_content_guard_href}list_roles/ | List roles
|
|
167
|
+
*PulpcoreClient::ContentguardsEnvvarHeaderApi* | [**my_permissions**](docs/ContentguardsEnvvarHeaderApi.md#my_permissions) | **GET** {env_var_header_content_guard_href}my_permissions/ | List user permissions
|
|
168
|
+
*PulpcoreClient::ContentguardsEnvvarHeaderApi* | [**partial_update**](docs/ContentguardsEnvvarHeaderApi.md#partial_update) | **PATCH** {env_var_header_content_guard_href} | Update an env var header content guard
|
|
169
|
+
*PulpcoreClient::ContentguardsEnvvarHeaderApi* | [**read**](docs/ContentguardsEnvvarHeaderApi.md#read) | **GET** {env_var_header_content_guard_href} | Inspect an env var header content guard
|
|
170
|
+
*PulpcoreClient::ContentguardsEnvvarHeaderApi* | [**remove_role**](docs/ContentguardsEnvvarHeaderApi.md#remove_role) | **POST** {env_var_header_content_guard_href}remove_role/ | Remove a role
|
|
171
|
+
*PulpcoreClient::ContentguardsEnvvarHeaderApi* | [**update**](docs/ContentguardsEnvvarHeaderApi.md#update) | **PUT** {env_var_header_content_guard_href} | Update an env var header content guard
|
|
162
172
|
*PulpcoreClient::ContentguardsHeaderApi* | [**add_role**](docs/ContentguardsHeaderApi.md#add_role) | **POST** {header_content_guard_href}add_role/ | Add a role
|
|
163
173
|
*PulpcoreClient::ContentguardsHeaderApi* | [**create**](docs/ContentguardsHeaderApi.md#create) | **POST** /pulp/api/v3/contentguards/core/header/ | Create a header content guard
|
|
164
174
|
*PulpcoreClient::ContentguardsHeaderApi* | [**delete**](docs/ContentguardsHeaderApi.md#delete) | **DELETE** {header_content_guard_href} | Delete a header content guard
|
|
@@ -361,6 +371,8 @@ Class | Method | HTTP request | Description
|
|
|
361
371
|
- [PulpcoreClient::Domain](docs/Domain.md)
|
|
362
372
|
- [PulpcoreClient::DomainBackendMigrator](docs/DomainBackendMigrator.md)
|
|
363
373
|
- [PulpcoreClient::DomainResponse](docs/DomainResponse.md)
|
|
374
|
+
- [PulpcoreClient::EnvVarHeaderContentGuard](docs/EnvVarHeaderContentGuard.md)
|
|
375
|
+
- [PulpcoreClient::EnvVarHeaderContentGuardResponse](docs/EnvVarHeaderContentGuardResponse.md)
|
|
364
376
|
- [PulpcoreClient::EvaluationResponse](docs/EvaluationResponse.md)
|
|
365
377
|
- [PulpcoreClient::FilesystemExport](docs/FilesystemExport.md)
|
|
366
378
|
- [PulpcoreClient::FilesystemExportResponse](docs/FilesystemExportResponse.md)
|
|
@@ -414,6 +426,7 @@ Class | Method | HTTP request | Description
|
|
|
414
426
|
- [PulpcoreClient::PaginatedContentRedirectContentGuardResponseList](docs/PaginatedContentRedirectContentGuardResponseList.md)
|
|
415
427
|
- [PulpcoreClient::PaginatedDistributionResponseList](docs/PaginatedDistributionResponseList.md)
|
|
416
428
|
- [PulpcoreClient::PaginatedDomainResponseList](docs/PaginatedDomainResponseList.md)
|
|
429
|
+
- [PulpcoreClient::PaginatedEnvVarHeaderContentGuardResponseList](docs/PaginatedEnvVarHeaderContentGuardResponseList.md)
|
|
417
430
|
- [PulpcoreClient::PaginatedFilesystemExportResponseList](docs/PaginatedFilesystemExportResponseList.md)
|
|
418
431
|
- [PulpcoreClient::PaginatedFilesystemExporterResponseList](docs/PaginatedFilesystemExporterResponseList.md)
|
|
419
432
|
- [PulpcoreClient::PaginatedGenericRemoteResponseList](docs/PaginatedGenericRemoteResponseList.md)
|
|
@@ -452,6 +465,7 @@ Class | Method | HTTP request | Description
|
|
|
452
465
|
- [PulpcoreClient::PatchedCompositeContentGuard](docs/PatchedCompositeContentGuard.md)
|
|
453
466
|
- [PulpcoreClient::PatchedContentRedirectContentGuard](docs/PatchedContentRedirectContentGuard.md)
|
|
454
467
|
- [PulpcoreClient::PatchedDomain](docs/PatchedDomain.md)
|
|
468
|
+
- [PulpcoreClient::PatchedEnvVarHeaderContentGuard](docs/PatchedEnvVarHeaderContentGuard.md)
|
|
455
469
|
- [PulpcoreClient::PatchedFilesystemExporter](docs/PatchedFilesystemExporter.md)
|
|
456
470
|
- [PulpcoreClient::PatchedGroup](docs/PatchedGroup.md)
|
|
457
471
|
- [PulpcoreClient::PatchedHeaderContentGuard](docs/PatchedHeaderContentGuard.md)
|
|
@@ -4,19 +4,19 @@
|
|
|
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\") | |
|
|
7
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
9
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
10
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
11
|
+
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
12
|
+
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
8
13
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
14
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
15
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
16
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
9
17
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
10
|
-
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
11
18
|
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
12
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
13
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
14
19
|
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
15
|
-
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
16
|
-
| **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\") | |
|
|
17
|
-
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
18
|
-
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
19
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
20
20
|
|
|
21
21
|
## Example
|
|
22
22
|
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
require 'pulpcore_client'
|
|
25
25
|
|
|
26
26
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
27
|
+
base_path: null,
|
|
27
28
|
prn: null,
|
|
28
|
-
name: null,
|
|
29
|
-
repository_version: null,
|
|
30
|
-
content_guard: null,
|
|
31
|
-
no_content_change_since: null,
|
|
32
|
-
pulp_href: null,
|
|
33
|
-
pulp_created: null,
|
|
34
|
-
content_guard_prn: null,
|
|
35
29
|
hidden: null,
|
|
36
|
-
|
|
30
|
+
pulp_href: null,
|
|
37
31
|
base_url: null,
|
|
32
|
+
content_guard: null,
|
|
33
|
+
name: null,
|
|
34
|
+
pulp_labels: null,
|
|
35
|
+
pulp_created: null,
|
|
38
36
|
pulp_last_updated: null,
|
|
39
|
-
|
|
37
|
+
repository_version: null,
|
|
38
|
+
no_content_change_since: null,
|
|
39
|
+
content_guard_prn: null
|
|
40
40
|
)
|
|
41
41
|
```
|
|
42
42
|
|
data/docs/ContentguardsApi.md
CHANGED
|
@@ -45,8 +45,8 @@ opts = {
|
|
|
45
45
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
46
46
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
47
47
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
48
|
-
pulp_type: 'certguard.rhsm', # String | Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
|
|
49
|
-
pulp_type__in: ['certguard.rhsm'], # 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 * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
|
|
48
|
+
pulp_type: 'certguard.rhsm', # String | Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.envvar_header` - core.envvar_header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
|
|
49
|
+
pulp_type__in: ['certguard.rhsm'], # Array<String> | Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.envvar_header` - core.envvar_header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
|
|
50
50
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
51
51
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
52
52
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
@@ -99,8 +99,8 @@ end
|
|
|
99
99
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
100
100
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
101
101
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
102
|
-
| **pulp_type** | **String** | Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509 | [optional] |
|
|
103
|
-
| **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 * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509 | [optional] |
|
|
102
|
+
| **pulp_type** | **String** | Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.envvar_header` - core.envvar_header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509 | [optional] |
|
|
103
|
+
| **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.envvar_header` - core.envvar_header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509 | [optional] |
|
|
104
104
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
105
105
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
106
106
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|