pulp_ansible_client 0.24.1 → 0.24.3
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 +16 -4
- data/docs/AnsibleAnsibleCollectionDeprecated.md +2 -0
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
- data/docs/AnsibleCollectionVersionResponse.md +6 -4
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -0
- data/docs/AnsibleRoleResponse.md +6 -4
- 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 +150 -2
- data/docs/ContentRolesApi.md +150 -2
- data/docs/DistributionsAnsibleApi.md +4 -2
- data/docs/PatchedansibleGitRemote.md +30 -30
- 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 +154 -3
- data/lib/pulp_ansible_client/api/content_roles_api.rb +154 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +6 -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 +33 -21
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +248 -248
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +165 -165
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -17
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +239 -239
- data/lib/pulp_ansible_client/models/unset_label.rb +1 -1
- data/lib/pulp_ansible_client/models/unset_label_response.rb +1 -1
- 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 +28 -1
- data/spec/api/content_roles_api_spec.rb +28 -1
- data/spec/api/distributions_ansible_api_spec.rb +2 -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 +20 -20
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +9 -3
- data/spec/models/ansible_role_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- 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: 0a9a0349a49b983c61f958caaf37ef5351a1e8a540b6c72fa1a45b04d4a51807
|
4
|
+
data.tar.gz: f4cef5ff940f2f47faec5f87f3ede2400885dbc84b4a047f5f24d612c6976628
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78a7d1b8b9102f5def11ce87e2876a224863f01a015040c03a037d5ece18d0dbc589782cadbdd20470c1146582e84ab280a696c5e7ca473ca5a53524e66d1b47
|
7
|
+
data.tar.gz: 60e34dcdfcfabf18ba42df440d3a61a1baaeefcd467ae743c84f1379437c6a1c1c1fabbbb6a8965070390dc38df029d4e1a25fe82cda02f024c9aec0b465416e
|
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.3
|
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.3.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.3.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.3'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -102,21 +102,33 @@ 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
|
125
|
+
*PulpAnsibleClient::ContentNamespacesApi* | [**set_label**](docs/ContentNamespacesApi.md#set_label) | **POST** {ansible_ansible_namespace_metadata_href}set_label/ | Set a label
|
126
|
+
*PulpAnsibleClient::ContentNamespacesApi* | [**unset_label**](docs/ContentNamespacesApi.md#unset_label) | **POST** {ansible_ansible_namespace_metadata_href}unset_label/ | Unset a label
|
117
127
|
*PulpAnsibleClient::ContentRolesApi* | [**create**](docs/ContentRolesApi.md#create) | **POST** /pulp/api/v3/content/ansible/roles/ | Create a role
|
118
128
|
*PulpAnsibleClient::ContentRolesApi* | [**list**](docs/ContentRolesApi.md#list) | **GET** /pulp/api/v3/content/ansible/roles/ | List roles
|
119
129
|
*PulpAnsibleClient::ContentRolesApi* | [**read**](docs/ContentRolesApi.md#read) | **GET** {ansible_role_href} | Inspect a role
|
130
|
+
*PulpAnsibleClient::ContentRolesApi* | [**set_label**](docs/ContentRolesApi.md#set_label) | **POST** {ansible_role_href}set_label/ | Set a label
|
131
|
+
*PulpAnsibleClient::ContentRolesApi* | [**unset_label**](docs/ContentRolesApi.md#unset_label) | **POST** {ansible_role_href}unset_label/ | Unset a label
|
120
132
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**add_role**](docs/DistributionsAnsibleApi.md#add_role) | **POST** {ansible_ansible_distribution_href}add_role/ | Add a role
|
121
133
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**create**](docs/DistributionsAnsibleApi.md#create) | **POST** /pulp/api/v3/distributions/ansible/ansible/ | Create an ansible distribution
|
122
134
|
*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
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
7
8
|
| **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
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
10
12
|
| **pulp_href** | **String** | | [optional][readonly] |
|
11
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
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(
|
44
|
+
prn: null,
|
43
45
|
pulp_last_updated: null,
|
44
|
-
artifact: null,
|
45
46
|
pulp_created: null,
|
47
|
+
pulp_labels: null,
|
48
|
+
artifact: null,
|
46
49
|
pulp_href: null,
|
47
|
-
prn: 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
|
-
| **
|
8
|
-
| **
|
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
|
-
| **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] |
|
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
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
7
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
8
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
16
9
|
| **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] |
|
17
10
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
18
|
-
| **
|
19
|
-
| **
|
20
|
-
| **
|
21
|
-
| **
|
11
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
12
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
13
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
14
|
+
| **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] |
|
22
15
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
16
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
17
|
+
| **url** | **String** | The URL of an external content source. | |
|
18
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
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] |
|
23
20
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
24
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
25
21
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
26
|
-
| **
|
22
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
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
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
26
|
+
| **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] |
|
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
|
-
|
37
|
-
|
38
|
-
name: null,
|
39
|
-
pulp_labels: null,
|
40
|
-
proxy_username: null,
|
41
|
-
sock_connect_timeout: null,
|
42
|
-
connect_timeout: null,
|
43
|
-
tls_validation: null,
|
44
|
-
headers: null,
|
36
|
+
rate_limit: null,
|
37
|
+
download_concurrency: null,
|
45
38
|
total_timeout: null,
|
46
39
|
client_key: null,
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
40
|
+
headers: null,
|
41
|
+
tls_validation: null,
|
42
|
+
pulp_labels: null,
|
43
|
+
sock_connect_timeout: null,
|
51
44
|
ca_cert: null,
|
45
|
+
password: null,
|
46
|
+
url: null,
|
47
|
+
proxy_username: null,
|
48
|
+
sock_read_timeout: null,
|
52
49
|
proxy_url: null,
|
53
|
-
proxy_password: null,
|
54
50
|
username: null,
|
55
|
-
|
51
|
+
client_cert: null,
|
52
|
+
max_retries: null,
|
53
|
+
name: null,
|
54
|
+
proxy_password: null,
|
55
|
+
connect_timeout: 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
|
-
| **
|
8
|
-
| **
|
7
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
8
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
9
|
+
| **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] |
|
10
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
11
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
9
12
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
10
13
|
| **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] |
|
11
|
-
| **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
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
14
|
-
| **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] |
|
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] |
|
17
|
-
| **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
14
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
15
|
+
| **url** | **String** | The URL of an external content source. | |
|
16
|
+
| **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] |
|
23
17
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
18
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
19
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
20
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
|
21
|
+
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
22
|
+
| **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
23
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
25
24
|
| **pulp_href** | **String** | | [optional][readonly] |
|
26
|
-
| **
|
25
|
+
| **name** | **String** | A unique name for this remote. | |
|
26
|
+
| **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] |
|
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
|
-
|
37
|
-
|
36
|
+
rate_limit: null,
|
37
|
+
download_concurrency: null,
|
38
|
+
total_timeout: null,
|
39
|
+
headers: null,
|
40
|
+
tls_validation: null,
|
38
41
|
pulp_labels: null,
|
39
42
|
sock_connect_timeout: null,
|
40
|
-
connect_timeout: null,
|
41
|
-
tls_validation: null,
|
42
|
-
headers: null,
|
43
|
-
total_timeout: null,
|
44
|
-
hidden_fields: null,
|
45
|
-
prn: null,
|
46
|
-
pulp_last_updated: null,
|
47
|
-
client_cert: null,
|
48
|
-
download_concurrency: null,
|
49
|
-
sock_read_timeout: null,
|
50
|
-
url: null,
|
51
43
|
ca_cert: null,
|
44
|
+
url: null,
|
45
|
+
sock_read_timeout: null,
|
52
46
|
proxy_url: null,
|
47
|
+
prn: null,
|
48
|
+
client_cert: null,
|
49
|
+
hidden_fields: null,
|
50
|
+
pulp_last_updated: null,
|
51
|
+
max_retries: null,
|
53
52
|
pulp_created: null,
|
54
53
|
pulp_href: null,
|
55
|
-
|
54
|
+
name: null,
|
55
|
+
connect_timeout: null,
|
56
56
|
metadata_only: null,
|
57
57
|
git_ref: null
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
@@ -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
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
9
10
|
| **version** | **String** | | |
|
10
11
|
| **name** | **String** | | |
|
@@ -17,6 +18,7 @@ require 'pulp_ansible_client'
|
|
17
18
|
|
18
19
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
19
20
|
repository: null,
|
21
|
+
pulp_labels: null,
|
20
22
|
artifact: null,
|
21
23
|
version: null,
|
22
24
|
name: 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
7
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
8
|
+
| **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
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
|
-
| **
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
11
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
12
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
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
23
|
prn: null,
|
24
|
+
pulp_last_updated: null,
|
24
25
|
pulp_created: null,
|
25
|
-
|
26
|
+
pulp_labels: null,
|
26
27
|
artifact: null,
|
28
|
+
pulp_href: 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
|
+
|