pulp_ansible_client 0.24.1 → 0.24.2
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 +14 -4
- data/docs/AnsibleAnsibleCollectionDeprecated.md +2 -0
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
- data/docs/AnsibleCollectionVersionResponse.md +8 -6
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -0
- data/docs/AnsibleRoleResponse.md +8 -6
- data/docs/ContentCollectionDeprecationsApi.md +148 -0
- data/docs/ContentCollectionMarksApi.md +150 -2
- data/docs/ContentCollectionSignaturesApi.md +152 -2
- data/docs/ContentCollectionVersionsApi.md +156 -6
- data/docs/ContentNamespacesApi.md +4 -2
- data/docs/ContentRolesApi.md +150 -2
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3NamespacesApi.md +2 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +2 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +2 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +2 -2
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +151 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +154 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +157 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +163 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +6 -3
- data/lib/pulp_ansible_client/api/content_roles_api.rb +154 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +36 -24
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +219 -219
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +148 -148
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +39 -27
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +209 -209
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +27 -0
- data/spec/api/content_collection_marks_api_spec.rb +28 -1
- data/spec/api/content_collection_signatures_api_spec.rb +29 -1
- data/spec/api/content_collection_versions_api_spec.rb +31 -3
- data/spec/api/content_namespaces_api_spec.rb +2 -1
- data/spec/api/content_roles_api_spec.rb +28 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +1 -1
- data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
- data/spec/models/ansible_ansible_collection_deprecated_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +10 -4
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +17 -17
- data/spec/models/ansible_role_response_spec.rb +11 -5
- data/spec/models/ansible_role_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +17 -17
- metadata +123 -123
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5bfb13fe5d742f3eacd4161ea6bf24ffd435916ac8a64260c8eafde54620ebb
|
4
|
+
data.tar.gz: e76d9733e2ec4d47a190a15edf61e7d636978df5471f161068dd6e10e956d684
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bddae897c18ccafb2bb8e69e3f17a6be2632b3ff143f518677ad735108d8404760d9edf0422d2b24311a3c65f9924cb545d1caa9fb4257d42adea5326302d9c0
|
7
|
+
data.tar.gz: f0c9c8088c7bdb626dc22ffde944a90dcd8ee26f404d2f58a0598d653f42051cd0bfd316cc216183aad60bb66d503596afc6c9bde6e672f49ef9fcfc9c10cf7e
|
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: 0.24.
|
10
|
+
- Package version: 0.24.2
|
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 pulp_ansible_client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./pulp_ansible_client-0.24.
|
28
|
+
gem install ./pulp_ansible_client-0.24.2.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.24.
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.24.2.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 'pulp_ansible_client', '~> 0.24.
|
37
|
+
gem 'pulp_ansible_client', '~> 0.24.2'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -102,21 +102,31 @@ Class | Method | HTTP request | Description
|
|
102
102
|
*PulpAnsibleClient::ContentCollectionDeprecationsApi* | [**create**](docs/ContentCollectionDeprecationsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_deprecations/ | Create an ansible collection deprecated
|
103
103
|
*PulpAnsibleClient::ContentCollectionDeprecationsApi* | [**list**](docs/ContentCollectionDeprecationsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_deprecations/ | List ansible collection deprecateds
|
104
104
|
*PulpAnsibleClient::ContentCollectionDeprecationsApi* | [**read**](docs/ContentCollectionDeprecationsApi.md#read) | **GET** {ansible_ansible_collection_deprecated_href} | Inspect an ansible collection deprecated
|
105
|
+
*PulpAnsibleClient::ContentCollectionDeprecationsApi* | [**set_label**](docs/ContentCollectionDeprecationsApi.md#set_label) | **POST** {ansible_ansible_collection_deprecated_href}set_label/ | Set a label
|
106
|
+
*PulpAnsibleClient::ContentCollectionDeprecationsApi* | [**unset_label**](docs/ContentCollectionDeprecationsApi.md#unset_label) | **POST** {ansible_ansible_collection_deprecated_href}unset_label/ | Unset a label
|
105
107
|
*PulpAnsibleClient::ContentCollectionMarksApi* | [**create**](docs/ContentCollectionMarksApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_marks/ | Create a collection version mark
|
106
108
|
*PulpAnsibleClient::ContentCollectionMarksApi* | [**list**](docs/ContentCollectionMarksApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_marks/ | List collection version marks
|
107
109
|
*PulpAnsibleClient::ContentCollectionMarksApi* | [**read**](docs/ContentCollectionMarksApi.md#read) | **GET** {ansible_collection_version_mark_href} | Inspect a collection version mark
|
110
|
+
*PulpAnsibleClient::ContentCollectionMarksApi* | [**set_label**](docs/ContentCollectionMarksApi.md#set_label) | **POST** {ansible_collection_version_mark_href}set_label/ | Set a label
|
111
|
+
*PulpAnsibleClient::ContentCollectionMarksApi* | [**unset_label**](docs/ContentCollectionMarksApi.md#unset_label) | **POST** {ansible_collection_version_mark_href}unset_label/ | Unset a label
|
108
112
|
*PulpAnsibleClient::ContentCollectionSignaturesApi* | [**create**](docs/ContentCollectionSignaturesApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_signatures/ | Create a collection version signature
|
109
113
|
*PulpAnsibleClient::ContentCollectionSignaturesApi* | [**list**](docs/ContentCollectionSignaturesApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_signatures/ | List collection version signatures
|
110
114
|
*PulpAnsibleClient::ContentCollectionSignaturesApi* | [**read**](docs/ContentCollectionSignaturesApi.md#read) | **GET** {ansible_collection_version_signature_href} | Inspect a collection version signature
|
115
|
+
*PulpAnsibleClient::ContentCollectionSignaturesApi* | [**set_label**](docs/ContentCollectionSignaturesApi.md#set_label) | **POST** {ansible_collection_version_signature_href}set_label/ | Set a label
|
116
|
+
*PulpAnsibleClient::ContentCollectionSignaturesApi* | [**unset_label**](docs/ContentCollectionSignaturesApi.md#unset_label) | **POST** {ansible_collection_version_signature_href}unset_label/ | Unset a label
|
111
117
|
*PulpAnsibleClient::ContentCollectionVersionsApi* | [**create**](docs/ContentCollectionVersionsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_versions/ | Create a collection version
|
112
118
|
*PulpAnsibleClient::ContentCollectionVersionsApi* | [**list**](docs/ContentCollectionVersionsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_versions/ | List collection versions
|
113
119
|
*PulpAnsibleClient::ContentCollectionVersionsApi* | [**read**](docs/ContentCollectionVersionsApi.md#read) | **GET** {ansible_collection_version_href} | Inspect a collection version
|
120
|
+
*PulpAnsibleClient::ContentCollectionVersionsApi* | [**set_label**](docs/ContentCollectionVersionsApi.md#set_label) | **POST** {ansible_collection_version_href}set_label/ | Set a label
|
121
|
+
*PulpAnsibleClient::ContentCollectionVersionsApi* | [**unset_label**](docs/ContentCollectionVersionsApi.md#unset_label) | **POST** {ansible_collection_version_href}unset_label/ | Unset a label
|
114
122
|
*PulpAnsibleClient::ContentNamespacesApi* | [**avatar**](docs/ContentNamespacesApi.md#avatar) | **GET** {ansible_ansible_namespace_metadata_href}avatar/ |
|
115
123
|
*PulpAnsibleClient::ContentNamespacesApi* | [**list**](docs/ContentNamespacesApi.md#list) | **GET** /pulp/api/v3/content/ansible/namespaces/ | List ansible namespace metadatas
|
116
124
|
*PulpAnsibleClient::ContentNamespacesApi* | [**read**](docs/ContentNamespacesApi.md#read) | **GET** {ansible_ansible_namespace_metadata_href} | Inspect an ansible namespace metadata
|
117
125
|
*PulpAnsibleClient::ContentRolesApi* | [**create**](docs/ContentRolesApi.md#create) | **POST** /pulp/api/v3/content/ansible/roles/ | Create a role
|
118
126
|
*PulpAnsibleClient::ContentRolesApi* | [**list**](docs/ContentRolesApi.md#list) | **GET** /pulp/api/v3/content/ansible/roles/ | List roles
|
119
127
|
*PulpAnsibleClient::ContentRolesApi* | [**read**](docs/ContentRolesApi.md#read) | **GET** {ansible_role_href} | Inspect a role
|
128
|
+
*PulpAnsibleClient::ContentRolesApi* | [**set_label**](docs/ContentRolesApi.md#set_label) | **POST** {ansible_role_href}set_label/ | Set a label
|
129
|
+
*PulpAnsibleClient::ContentRolesApi* | [**unset_label**](docs/ContentRolesApi.md#unset_label) | **POST** {ansible_role_href}unset_label/ | Unset a label
|
120
130
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**add_role**](docs/DistributionsAnsibleApi.md#add_role) | **POST** {ansible_ansible_distribution_href}add_role/ | Add a role
|
121
131
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**create**](docs/DistributionsAnsibleApi.md#create) | **POST** /pulp/api/v3/distributions/ansible/ansible/ | Create an ansible distribution
|
122
132
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**delete**](docs/DistributionsAnsibleApi.md#delete) | **DELETE** {ansible_ansible_distribution_href} | Delete an ansible distribution
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
8
9
|
| **name** | **String** | The name of the Collection. | |
|
9
10
|
| **namespace** | **String** | The namespace of the Collection. | |
|
10
11
|
|
@@ -15,6 +16,7 @@ require 'pulp_ansible_client'
|
|
15
16
|
|
16
17
|
instance = PulpAnsibleClient::AnsibleAnsibleCollectionDeprecated.new(
|
17
18
|
repository: null,
|
19
|
+
pulp_labels: null,
|
18
20
|
name: null,
|
19
21
|
namespace: null
|
20
22
|
)
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
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
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **name** | **String** | The name of the Collection. | |
|
12
13
|
| **namespace** | **String** | The namespace of the Collection. | |
|
13
14
|
|
@@ -21,6 +22,7 @@ instance = PulpAnsibleClient::AnsibleAnsibleCollectionDeprecatedResponse.new(
|
|
21
22
|
prn: null,
|
22
23
|
pulp_created: null,
|
23
24
|
pulp_last_updated: null,
|
25
|
+
pulp_labels: null,
|
24
26
|
name: null,
|
25
27
|
namespace: null
|
26
28
|
)
|
@@ -4,11 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **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] |
|
8
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
9
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
7
|
| **pulp_href** | **String** | | [optional][readonly] |
|
8
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
9
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
11
10
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
11
|
+
| **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] |
|
12
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
13
|
| **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
|
13
14
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
14
15
|
| **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
|
@@ -40,11 +41,12 @@
|
|
40
41
|
require 'pulp_ansible_client'
|
41
42
|
|
42
43
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
43
|
-
pulp_last_updated: null,
|
44
|
-
artifact: null,
|
45
|
-
pulp_created: null,
|
46
44
|
pulp_href: null,
|
45
|
+
pulp_created: null,
|
46
|
+
artifact: null,
|
47
47
|
prn: null,
|
48
|
+
pulp_last_updated: null,
|
49
|
+
pulp_labels: null,
|
48
50
|
sha256: null,
|
49
51
|
md5: null,
|
50
52
|
sha1: null,
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
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
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **signed_collection** | **String** | The content this signature is pointing to. | |
|
12
13
|
| **pubkey_fingerprint** | **String** | The fingerprint of the public key. | [optional][readonly] |
|
13
14
|
| **signing_service** | **String** | The signing service used to create the signature. | [optional][readonly] |
|
@@ -22,6 +23,7 @@ instance = PulpAnsibleClient::AnsibleCollectionVersionSignatureResponse.new(
|
|
22
23
|
prn: null,
|
23
24
|
pulp_created: null,
|
24
25
|
pulp_last_updated: null,
|
26
|
+
pulp_labels: null,
|
25
27
|
signed_collection: null,
|
26
28
|
pubkey_fingerprint: null,
|
27
29
|
signing_service: null
|
data/docs/AnsibleGitRemote.md
CHANGED
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
8
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
9
|
-
| **name** | **String** | A unique name for this remote. | |
|
10
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
11
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
12
7
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
8
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
9
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
10
|
+
| **url** | **String** | The URL of an external content source. | |
|
11
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
12
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
13
13
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
14
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
15
14
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
16
|
-
| **
|
15
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
16
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
17
17
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
18
18
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
19
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
20
19
|
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
21
|
-
| **
|
22
|
-
| **
|
23
|
-
| **
|
24
|
-
| **
|
20
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
21
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
22
|
+
| **name** | **String** | A unique name for this remote. | |
|
23
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
25
24
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
26
|
-
| **
|
25
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
26
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
29
29
|
|
@@ -33,26 +33,26 @@
|
|
33
33
|
require 'pulp_ansible_client'
|
34
34
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
36
|
-
password: null,
|
37
|
-
max_retries: null,
|
38
|
-
name: null,
|
39
|
-
pulp_labels: null,
|
40
|
-
proxy_username: null,
|
41
36
|
sock_connect_timeout: null,
|
37
|
+
ca_cert: null,
|
38
|
+
rate_limit: null,
|
39
|
+
url: null,
|
40
|
+
password: null,
|
41
|
+
proxy_password: null,
|
42
42
|
connect_timeout: null,
|
43
|
-
tls_validation: null,
|
44
43
|
headers: null,
|
45
|
-
|
44
|
+
tls_validation: null,
|
45
|
+
proxy_url: null,
|
46
46
|
client_key: null,
|
47
47
|
client_cert: null,
|
48
|
-
download_concurrency: null,
|
49
48
|
sock_read_timeout: null,
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
49
|
+
download_concurrency: null,
|
50
|
+
max_retries: null,
|
51
|
+
name: null,
|
52
|
+
total_timeout: null,
|
54
53
|
username: null,
|
55
|
-
|
54
|
+
proxy_username: null,
|
55
|
+
pulp_labels: null,
|
56
56
|
metadata_only: null,
|
57
57
|
git_ref: null
|
58
58
|
)
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
8
|
-
| **name** | **String** | A unique name for this remote. | |
|
9
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
10
7
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
8
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
9
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
|
10
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
11
|
+
| **url** | **String** | The URL of an external content source. | |
|
12
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
11
13
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
12
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
13
14
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
14
|
-
| **
|
15
|
-
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
|
16
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
15
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
17
16
|
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
18
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
19
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
20
|
-
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
21
|
-
| **url** | **String** | The URL of an external content source. | |
|
22
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
23
17
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
24
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
25
18
|
| **pulp_href** | **String** | | [optional][readonly] |
|
26
|
-
| **
|
19
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
20
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
21
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
22
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
23
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
24
|
+
| **name** | **String** | A unique name for this remote. | |
|
25
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
26
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
29
29
|
|
@@ -33,26 +33,26 @@
|
|
33
33
|
require 'pulp_ansible_client'
|
34
34
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
36
|
-
max_retries: null,
|
37
|
-
name: null,
|
38
|
-
pulp_labels: null,
|
39
36
|
sock_connect_timeout: null,
|
37
|
+
ca_cert: null,
|
38
|
+
hidden_fields: null,
|
39
|
+
rate_limit: null,
|
40
|
+
url: null,
|
41
|
+
pulp_created: null,
|
40
42
|
connect_timeout: null,
|
41
|
-
tls_validation: null,
|
42
43
|
headers: null,
|
43
|
-
|
44
|
-
hidden_fields: null,
|
45
|
-
prn: null,
|
44
|
+
tls_validation: null,
|
46
45
|
pulp_last_updated: null,
|
47
|
-
client_cert: null,
|
48
|
-
download_concurrency: null,
|
49
|
-
sock_read_timeout: null,
|
50
|
-
url: null,
|
51
|
-
ca_cert: null,
|
52
46
|
proxy_url: null,
|
53
|
-
pulp_created: null,
|
54
47
|
pulp_href: null,
|
55
|
-
|
48
|
+
client_cert: null,
|
49
|
+
sock_read_timeout: null,
|
50
|
+
download_concurrency: null,
|
51
|
+
prn: null,
|
52
|
+
max_retries: null,
|
53
|
+
name: null,
|
54
|
+
total_timeout: null,
|
55
|
+
pulp_labels: null,
|
56
56
|
metadata_only: null,
|
57
57
|
git_ref: null
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
8
8
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
9
10
|
| **version** | **String** | | |
|
10
11
|
| **name** | **String** | | |
|
11
12
|
| **namespace** | **String** | | |
|
@@ -18,6 +19,7 @@ require 'pulp_ansible_client'
|
|
18
19
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
19
20
|
repository: null,
|
20
21
|
artifact: null,
|
22
|
+
pulp_labels: null,
|
21
23
|
version: null,
|
22
24
|
name: null,
|
23
25
|
namespace: null
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -4,11 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **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] |
|
8
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
7
|
| **pulp_href** | **String** | | [optional][readonly] |
|
8
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
11
9
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
10
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
11
|
+
| **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] |
|
12
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
13
|
| **version** | **String** | | |
|
13
14
|
| **name** | **String** | | |
|
14
15
|
| **namespace** | **String** | | |
|
@@ -19,11 +20,12 @@
|
|
19
20
|
require 'pulp_ansible_client'
|
20
21
|
|
21
22
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
22
|
-
pulp_last_updated: null,
|
23
|
-
prn: null,
|
24
|
-
pulp_created: null,
|
25
23
|
pulp_href: null,
|
24
|
+
pulp_created: null,
|
26
25
|
artifact: null,
|
26
|
+
prn: null,
|
27
|
+
pulp_last_updated: null,
|
28
|
+
pulp_labels: null,
|
27
29
|
version: null,
|
28
30
|
name: null,
|
29
31
|
namespace: null
|
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
|
|
7
7
|
| [**create**](ContentCollectionDeprecationsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_deprecations/ | Create an ansible collection deprecated |
|
8
8
|
| [**list**](ContentCollectionDeprecationsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_deprecations/ | List ansible collection deprecateds |
|
9
9
|
| [**read**](ContentCollectionDeprecationsApi.md#read) | **GET** {ansible_ansible_collection_deprecated_href} | Inspect an ansible collection deprecated |
|
10
|
+
| [**set_label**](ContentCollectionDeprecationsApi.md#set_label) | **POST** {ansible_ansible_collection_deprecated_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentCollectionDeprecationsApi.md#unset_label) | **POST** {ansible_ansible_collection_deprecated_href}unset_label/ | Unset a label |
|
10
12
|
|
11
13
|
|
12
14
|
## create
|
@@ -108,6 +110,7 @@ opts = {
|
|
108
110
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
109
111
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
110
112
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
113
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
111
114
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
112
115
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
113
116
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
@@ -154,6 +157,7 @@ end
|
|
154
157
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
155
158
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
156
159
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
160
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
157
161
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
158
162
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
159
163
|
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -250,3 +254,147 @@ end
|
|
250
254
|
- **Content-Type**: Not defined
|
251
255
|
- **Accept**: application/json
|
252
256
|
|
257
|
+
|
258
|
+
## set_label
|
259
|
+
|
260
|
+
> <SetLabelResponse> set_label(ansible_ansible_collection_deprecated_href, set_label)
|
261
|
+
|
262
|
+
Set a label
|
263
|
+
|
264
|
+
Set a single pulp_label on the object to a specific value or null.
|
265
|
+
|
266
|
+
### Examples
|
267
|
+
|
268
|
+
```ruby
|
269
|
+
require 'time'
|
270
|
+
require 'pulp_ansible_client'
|
271
|
+
# setup authorization
|
272
|
+
PulpAnsibleClient.configure do |config|
|
273
|
+
# Configure HTTP basic authorization: basicAuth
|
274
|
+
config.username = 'YOUR USERNAME'
|
275
|
+
config.password = 'YOUR PASSWORD'
|
276
|
+
end
|
277
|
+
|
278
|
+
api_instance = PulpAnsibleClient::ContentCollectionDeprecationsApi.new
|
279
|
+
ansible_ansible_collection_deprecated_href = 'ansible_ansible_collection_deprecated_href_example' # String |
|
280
|
+
set_label = PulpAnsibleClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
281
|
+
|
282
|
+
begin
|
283
|
+
# Set a label
|
284
|
+
result = api_instance.set_label(ansible_ansible_collection_deprecated_href, set_label)
|
285
|
+
p result
|
286
|
+
rescue PulpAnsibleClient::ApiError => e
|
287
|
+
puts "Error when calling ContentCollectionDeprecationsApi->set_label: #{e}"
|
288
|
+
end
|
289
|
+
```
|
290
|
+
|
291
|
+
#### Using the set_label_with_http_info variant
|
292
|
+
|
293
|
+
This returns an Array which contains the response data, status code and headers.
|
294
|
+
|
295
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_ansible_collection_deprecated_href, set_label)
|
296
|
+
|
297
|
+
```ruby
|
298
|
+
begin
|
299
|
+
# Set a label
|
300
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ansible_ansible_collection_deprecated_href, set_label)
|
301
|
+
p status_code # => 2xx
|
302
|
+
p headers # => { ... }
|
303
|
+
p data # => <SetLabelResponse>
|
304
|
+
rescue PulpAnsibleClient::ApiError => e
|
305
|
+
puts "Error when calling ContentCollectionDeprecationsApi->set_label_with_http_info: #{e}"
|
306
|
+
end
|
307
|
+
```
|
308
|
+
|
309
|
+
### Parameters
|
310
|
+
|
311
|
+
| Name | Type | Description | Notes |
|
312
|
+
| ---- | ---- | ----------- | ----- |
|
313
|
+
| **ansible_ansible_collection_deprecated_href** | **String** | | |
|
314
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
315
|
+
|
316
|
+
### Return type
|
317
|
+
|
318
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
319
|
+
|
320
|
+
### Authorization
|
321
|
+
|
322
|
+
[basicAuth](../README.md#basicAuth)
|
323
|
+
|
324
|
+
### HTTP request headers
|
325
|
+
|
326
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
327
|
+
- **Accept**: application/json
|
328
|
+
|
329
|
+
|
330
|
+
## unset_label
|
331
|
+
|
332
|
+
> <UnsetLabelResponse> unset_label(ansible_ansible_collection_deprecated_href, unset_label)
|
333
|
+
|
334
|
+
Unset a label
|
335
|
+
|
336
|
+
Unset a single pulp_label on the object.
|
337
|
+
|
338
|
+
### Examples
|
339
|
+
|
340
|
+
```ruby
|
341
|
+
require 'time'
|
342
|
+
require 'pulp_ansible_client'
|
343
|
+
# setup authorization
|
344
|
+
PulpAnsibleClient.configure do |config|
|
345
|
+
# Configure HTTP basic authorization: basicAuth
|
346
|
+
config.username = 'YOUR USERNAME'
|
347
|
+
config.password = 'YOUR PASSWORD'
|
348
|
+
end
|
349
|
+
|
350
|
+
api_instance = PulpAnsibleClient::ContentCollectionDeprecationsApi.new
|
351
|
+
ansible_ansible_collection_deprecated_href = 'ansible_ansible_collection_deprecated_href_example' # String |
|
352
|
+
unset_label = PulpAnsibleClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
353
|
+
|
354
|
+
begin
|
355
|
+
# Unset a label
|
356
|
+
result = api_instance.unset_label(ansible_ansible_collection_deprecated_href, unset_label)
|
357
|
+
p result
|
358
|
+
rescue PulpAnsibleClient::ApiError => e
|
359
|
+
puts "Error when calling ContentCollectionDeprecationsApi->unset_label: #{e}"
|
360
|
+
end
|
361
|
+
```
|
362
|
+
|
363
|
+
#### Using the unset_label_with_http_info variant
|
364
|
+
|
365
|
+
This returns an Array which contains the response data, status code and headers.
|
366
|
+
|
367
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_ansible_collection_deprecated_href, unset_label)
|
368
|
+
|
369
|
+
```ruby
|
370
|
+
begin
|
371
|
+
# Unset a label
|
372
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_ansible_collection_deprecated_href, unset_label)
|
373
|
+
p status_code # => 2xx
|
374
|
+
p headers # => { ... }
|
375
|
+
p data # => <UnsetLabelResponse>
|
376
|
+
rescue PulpAnsibleClient::ApiError => e
|
377
|
+
puts "Error when calling ContentCollectionDeprecationsApi->unset_label_with_http_info: #{e}"
|
378
|
+
end
|
379
|
+
```
|
380
|
+
|
381
|
+
### Parameters
|
382
|
+
|
383
|
+
| Name | Type | Description | Notes |
|
384
|
+
| ---- | ---- | ----------- | ----- |
|
385
|
+
| **ansible_ansible_collection_deprecated_href** | **String** | | |
|
386
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
387
|
+
|
388
|
+
### Return type
|
389
|
+
|
390
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
391
|
+
|
392
|
+
### Authorization
|
393
|
+
|
394
|
+
[basicAuth](../README.md#basicAuth)
|
395
|
+
|
396
|
+
### HTTP request headers
|
397
|
+
|
398
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
399
|
+
- **Accept**: application/json
|
400
|
+
|