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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PulpcoreClient::EnvVarHeaderContentGuard
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | The unique name. | |
|
|
8
|
+
| **description** | **String** | An optional description. | [optional] |
|
|
9
|
+
| **header_name** | **String** | The header name the guard will check on. | |
|
|
10
|
+
| **env_var** | **String** | Name of a content-app environment variable holding the expected secret (plaintext UTF-8). Must be listed in ENVVAR_HEADER_CONTENT_GUARD_ALLOWED_VARS. The request header must send that value Base64-encoded. The value is never stored in or returned by the API. | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'pulpcore_client'
|
|
16
|
+
|
|
17
|
+
instance = PulpcoreClient::EnvVarHeaderContentGuard.new(
|
|
18
|
+
name: null,
|
|
19
|
+
description: null,
|
|
20
|
+
header_name: null,
|
|
21
|
+
env_var: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PulpcoreClient::EnvVarHeaderContentGuardResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
8
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
+
| **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] |
|
|
11
|
+
| **name** | **String** | The unique name. | |
|
|
12
|
+
| **description** | **String** | An optional description. | [optional] |
|
|
13
|
+
| **header_name** | **String** | The header name the guard will check on. | |
|
|
14
|
+
| **env_var** | **String** | Name of a content-app environment variable holding the expected secret (plaintext UTF-8). Must be listed in ENVVAR_HEADER_CONTENT_GUARD_ALLOWED_VARS. The request header must send that value Base64-encoded. The value is never stored in or returned by the API. | |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'pulpcore_client'
|
|
20
|
+
|
|
21
|
+
instance = PulpcoreClient::EnvVarHeaderContentGuardResponse.new(
|
|
22
|
+
pulp_href: null,
|
|
23
|
+
prn: null,
|
|
24
|
+
pulp_created: null,
|
|
25
|
+
pulp_last_updated: null,
|
|
26
|
+
name: null,
|
|
27
|
+
description: null,
|
|
28
|
+
header_name: null,
|
|
29
|
+
env_var: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PulpcoreClient::PaginatedEnvVarHeaderContentGuardResponseList
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **count** | **Integer** | | |
|
|
8
|
+
| **_next** | **String** | | [optional] |
|
|
9
|
+
| **previous** | **String** | | [optional] |
|
|
10
|
+
| **results** | [**Array<EnvVarHeaderContentGuardResponse>**](EnvVarHeaderContentGuardResponse.md) | | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'pulpcore_client'
|
|
16
|
+
|
|
17
|
+
instance = PulpcoreClient::PaginatedEnvVarHeaderContentGuardResponseList.new(
|
|
18
|
+
count: 123,
|
|
19
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
20
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
21
|
+
results: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PulpcoreClient::PatchedEnvVarHeaderContentGuard
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | The unique name. | [optional] |
|
|
8
|
+
| **description** | **String** | An optional description. | [optional] |
|
|
9
|
+
| **header_name** | **String** | The header name the guard will check on. | [optional] |
|
|
10
|
+
| **env_var** | **String** | Name of a content-app environment variable holding the expected secret (plaintext UTF-8). Must be listed in ENVVAR_HEADER_CONTENT_GUARD_ALLOWED_VARS. The request header must send that value Base64-encoded. The value is never stored in or returned by the API. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'pulpcore_client'
|
|
16
|
+
|
|
17
|
+
instance = PulpcoreClient::PatchedEnvVarHeaderContentGuard.new(
|
|
18
|
+
name: null,
|
|
19
|
+
description: null,
|
|
20
|
+
header_name: null,
|
|
21
|
+
env_var: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
data/docs/Purge.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2026-08-
|
|
7
|
+
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2026-08-24'] |
|
|
8
8
|
| **states** | [**Array<StatesEnum>**](StatesEnum.md) | List of task-states to be purged. Only 'final' states are allowed. | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
@@ -38,8 +38,8 @@ module PulpcoreClient
|
|
|
38
38
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
39
39
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
40
40
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
41
|
-
# @option opts [String] :pulp_type 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
|
|
42
|
-
# @option opts [Array<String>] :pulp_type__in 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
|
|
41
|
+
# @option opts [String] :pulp_type 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
|
|
42
|
+
# @option opts [Array<String>] :pulp_type__in 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
|
|
43
43
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
44
44
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
45
45
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -68,8 +68,8 @@ module PulpcoreClient
|
|
|
68
68
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
69
69
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
70
70
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
71
|
-
# @option opts [String] :pulp_type 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
|
|
72
|
-
# @option opts [Array<String>] :pulp_type__in 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
|
|
71
|
+
# @option opts [String] :pulp_type 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
|
|
72
|
+
# @option opts [Array<String>] :pulp_type__in 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
|
|
73
73
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
74
74
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
75
75
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -82,11 +82,11 @@ module PulpcoreClient
|
|
|
82
82
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
83
83
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
84
84
|
end
|
|
85
|
-
allowable_values = ["certguard.rhsm", "certguard.x509", "core.composite", "core.content_redirect", "core.header", "core.rbac"]
|
|
85
|
+
allowable_values = ["certguard.rhsm", "certguard.x509", "core.composite", "core.content_redirect", "core.envvar_header", "core.header", "core.rbac"]
|
|
86
86
|
if @api_client.config.client_side_validation && opts[:'pulp_type'] && !allowable_values.include?(opts[:'pulp_type'])
|
|
87
87
|
fail ArgumentError, "invalid value for \"pulp_type\", must be one of #{allowable_values}"
|
|
88
88
|
end
|
|
89
|
-
allowable_values = ["certguard.rhsm", "certguard.x509", "core.composite", "core.content_redirect", "core.header", "core.rbac"]
|
|
89
|
+
allowable_values = ["certguard.rhsm", "certguard.x509", "core.composite", "core.content_redirect", "core.envvar_header", "core.header", "core.rbac"]
|
|
90
90
|
if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
|
|
91
91
|
fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
|
|
92
92
|
end
|