pulp_certguard_client 3.69.1 → 3.70.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 +9 -5
- data/docs/CertguardRHSMCertGuard.md +12 -11
- data/docs/CertguardRHSMCertGuardResponse.md +20 -19
- data/docs/CertguardX509CertGuard.md +12 -11
- data/docs/CertguardX509CertGuardResponse.md +20 -19
- data/docs/ContentguardsRhsmApi.md +195 -94
- data/docs/ContentguardsX509Api.md +195 -94
- data/docs/PaginatedcertguardRHSMCertGuardResponseList.md +14 -13
- data/docs/PaginatedcertguardX509CertGuardResponseList.md +14 -13
- data/docs/PatchedcertguardRHSMCertGuard.md +12 -11
- data/docs/PatchedcertguardX509CertGuard.md +12 -11
- data/lib/pulp_certguard_client/api/contentguards_rhsm_api.rb +42 -27
- data/lib/pulp_certguard_client/api/contentguards_x509_api.rb +42 -27
- data/lib/pulp_certguard_client/api_client.rb +137 -102
- data/lib/pulp_certguard_client/api_error.rb +2 -1
- data/lib/pulp_certguard_client/configuration.rb +162 -21
- data/lib/pulp_certguard_client/models/certguard_rhsm_cert_guard.rb +34 -22
- data/lib/pulp_certguard_client/models/certguard_rhsm_cert_guard_response.rb +36 -24
- data/lib/pulp_certguard_client/models/certguard_x509_cert_guard.rb +34 -22
- data/lib/pulp_certguard_client/models/certguard_x509_cert_guard_response.rb +36 -24
- data/lib/pulp_certguard_client/models/paginatedcertguard_rhsm_cert_guard_response_list.rb +34 -22
- data/lib/pulp_certguard_client/models/paginatedcertguard_x509_cert_guard_response_list.rb +34 -22
- data/lib/pulp_certguard_client/models/patchedcertguard_rhsm_cert_guard.rb +40 -24
- data/lib/pulp_certguard_client/models/patchedcertguard_x509_cert_guard.rb +40 -24
- data/lib/pulp_certguard_client/version.rb +2 -2
- data/lib/pulp_certguard_client.rb +1 -1
- data/pulp_certguard_client.gemspec +9 -6
- data/spec/api/contentguards_rhsm_api_spec.rb +7 -7
- data/spec/api/contentguards_x509_api_spec.rb +7 -7
- data/spec/models/certguard_rhsm_cert_guard_response_spec.rb +13 -18
- data/spec/models/certguard_rhsm_cert_guard_spec.rb +9 -14
- data/spec/models/certguard_x509_cert_guard_response_spec.rb +13 -18
- data/spec/models/certguard_x509_cert_guard_spec.rb +9 -14
- data/spec/models/paginatedcertguard_rhsm_cert_guard_response_list_spec.rb +10 -15
- data/spec/models/paginatedcertguard_x509_cert_guard_response_list_spec.rb +10 -15
- data/spec/models/patchedcertguard_rhsm_cert_guard_spec.rb +9 -14
- data/spec/models/patchedcertguard_x509_cert_guard_spec.rb +9 -14
- data/spec/spec_helper.rb +1 -1
- metadata +41 -17
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc56826a84afd301bc289e7db30e8ef90903c89240b052f66796700179902030
|
4
|
+
data.tar.gz: 548becf9641ab93318217c5c5a03d2df0fd2f2a8e87f24823039949d07fc9cc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e68a13b6fa4e15f999d0349837da2edcfefbebdb3351e13581350c6783aa1c9d83041775ee2e3ce8c8a734aef25ad9f3dbc7e40bd6ce86bd24fe9acce65089e1
|
7
|
+
data.tar.gz: 26ac4718ebe58b2f9eee8b8def30e5f476e5b8822099a8b12ec955fe6524587f2f015a0d9d5187aa24168d1a79b7ec5ca25d92aef3ba05d151ed128454006e84
|
data/README.md
CHANGED
@@ -7,7 +7,8 @@ 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.70.0
|
11
|
+
- Generator version: 7.10.0
|
11
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
14
|
|
@@ -24,16 +25,16 @@ gem build pulp_certguard_client.gemspec
|
|
24
25
|
Then either install the gem locally:
|
25
26
|
|
26
27
|
```shell
|
27
|
-
gem install ./pulp_certguard_client-3.
|
28
|
+
gem install ./pulp_certguard_client-3.70.0.gem
|
28
29
|
```
|
29
30
|
|
30
|
-
(for development, run `gem install --dev ./pulp_certguard_client-3.
|
31
|
+
(for development, run `gem install --dev ./pulp_certguard_client-3.70.0.gem` to install the development dependencies)
|
31
32
|
|
32
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
34
|
|
34
35
|
Finally add this to the Gemfile:
|
35
36
|
|
36
|
-
gem 'pulp_certguard_client', '~> 3.
|
37
|
+
gem 'pulp_certguard_client', '~> 3.70.0'
|
37
38
|
|
38
39
|
### Install from Git
|
39
40
|
|
@@ -62,10 +63,12 @@ PulpCertguardClient.configure do |config|
|
|
62
63
|
# Configure HTTP basic authorization: basicAuth
|
63
64
|
config.username = 'YOUR_USERNAME'
|
64
65
|
config.password = 'YOUR_PASSWORD'
|
66
|
+
# Configure faraday connection
|
67
|
+
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
65
68
|
end
|
66
69
|
|
67
70
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
68
|
-
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new # CertguardRHSMCertGuard |
|
71
|
+
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new({name: 'name_example', ca_certificate: 'ca_certificate_example'}) # CertguardRHSMCertGuard |
|
69
72
|
|
70
73
|
begin
|
71
74
|
#Create a rhsm cert guard
|
@@ -112,6 +115,7 @@ Class | Method | HTTP request | Description
|
|
112
115
|
## Documentation for Authorization
|
113
116
|
|
114
117
|
|
118
|
+
Authentication schemes defined for the API:
|
115
119
|
### basicAuth
|
116
120
|
|
117
121
|
- **Type**: HTTP basic authentication
|
@@ -2,20 +2,21 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**name** | **String** | The unique name. |
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
9
|
-
**ca_certificate** | **String** | A Certificate Authority (CA) certificate (or a bundle thereof) used to verify client-certificate authenticity. |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | The unique name. | |
|
8
|
+
| **description** | **String** | An optional description. | [optional] |
|
9
|
+
| **ca_certificate** | **String** | A Certificate Authority (CA) certificate (or a bundle thereof) used to verify client-certificate authenticity. | |
|
10
10
|
|
11
|
-
##
|
11
|
+
## Example
|
12
12
|
|
13
13
|
```ruby
|
14
|
-
require '
|
14
|
+
require 'pulp_certguard_client'
|
15
15
|
|
16
|
-
instance = PulpCertguardClient::CertguardRHSMCertGuard.new(
|
17
|
-
|
18
|
-
|
16
|
+
instance = PulpCertguardClient::CertguardRHSMCertGuard.new(
|
17
|
+
name: null,
|
18
|
+
description: null,
|
19
|
+
ca_certificate: null
|
20
|
+
)
|
19
21
|
```
|
20
22
|
|
21
|
-
|
@@ -2,28 +2,29 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**pulp_href** | **String** | | [optional]
|
8
|
-
**prn** | **String** | The Pulp Resource Name (PRN). | [optional]
|
9
|
-
**pulp_created** | **
|
10
|
-
**pulp_last_updated** | **
|
11
|
-
**name** | **String** | The unique name. |
|
12
|
-
**description** | **String** | An optional description. | [optional]
|
13
|
-
**ca_certificate** | **String** | A Certificate Authority (CA) certificate (or a bundle thereof) used to verify client-certificate authenticity. |
|
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
|
+
| **ca_certificate** | **String** | A Certificate Authority (CA) certificate (or a bundle thereof) used to verify client-certificate authenticity. | |
|
14
14
|
|
15
|
-
##
|
15
|
+
## Example
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
require '
|
18
|
+
require 'pulp_certguard_client'
|
19
19
|
|
20
|
-
instance = PulpCertguardClient::CertguardRHSMCertGuardResponse.new(
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
20
|
+
instance = PulpCertguardClient::CertguardRHSMCertGuardResponse.new(
|
21
|
+
pulp_href: null,
|
22
|
+
prn: null,
|
23
|
+
pulp_created: null,
|
24
|
+
pulp_last_updated: null,
|
25
|
+
name: null,
|
26
|
+
description: null,
|
27
|
+
ca_certificate: null
|
28
|
+
)
|
27
29
|
```
|
28
30
|
|
29
|
-
|
@@ -2,20 +2,21 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**name** | **String** | The unique name. |
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
9
|
-
**ca_certificate** | **String** | A Certificate Authority (CA) certificate (or a bundle thereof) used to verify client-certificate authenticity. |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | The unique name. | |
|
8
|
+
| **description** | **String** | An optional description. | [optional] |
|
9
|
+
| **ca_certificate** | **String** | A Certificate Authority (CA) certificate (or a bundle thereof) used to verify client-certificate authenticity. | |
|
10
10
|
|
11
|
-
##
|
11
|
+
## Example
|
12
12
|
|
13
13
|
```ruby
|
14
|
-
require '
|
14
|
+
require 'pulp_certguard_client'
|
15
15
|
|
16
|
-
instance = PulpCertguardClient::CertguardX509CertGuard.new(
|
17
|
-
|
18
|
-
|
16
|
+
instance = PulpCertguardClient::CertguardX509CertGuard.new(
|
17
|
+
name: null,
|
18
|
+
description: null,
|
19
|
+
ca_certificate: null
|
20
|
+
)
|
19
21
|
```
|
20
22
|
|
21
|
-
|
@@ -2,28 +2,29 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**pulp_href** | **String** | | [optional]
|
8
|
-
**prn** | **String** | The Pulp Resource Name (PRN). | [optional]
|
9
|
-
**pulp_created** | **
|
10
|
-
**pulp_last_updated** | **
|
11
|
-
**name** | **String** | The unique name. |
|
12
|
-
**description** | **String** | An optional description. | [optional]
|
13
|
-
**ca_certificate** | **String** | A Certificate Authority (CA) certificate (or a bundle thereof) used to verify client-certificate authenticity. |
|
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
|
+
| **ca_certificate** | **String** | A Certificate Authority (CA) certificate (or a bundle thereof) used to verify client-certificate authenticity. | |
|
14
14
|
|
15
|
-
##
|
15
|
+
## Example
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
require '
|
18
|
+
require 'pulp_certguard_client'
|
19
19
|
|
20
|
-
instance = PulpCertguardClient::CertguardX509CertGuardResponse.new(
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
20
|
+
instance = PulpCertguardClient::CertguardX509CertGuardResponse.new(
|
21
|
+
pulp_href: null,
|
22
|
+
prn: null,
|
23
|
+
pulp_created: null,
|
24
|
+
pulp_last_updated: null,
|
25
|
+
name: null,
|
26
|
+
description: null,
|
27
|
+
ca_certificate: null
|
28
|
+
)
|
27
29
|
```
|
28
30
|
|
29
|
-
|