pulp_ansible_client 0.24.2 → 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 +6 -4
- data/docs/AnsibleCollectionVersionResponse.md +6 -6
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/ContentNamespacesApi.md +146 -0
- data/docs/DistributionsAnsibleApi.md +4 -2
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +148 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +6 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +30 -30
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +223 -223
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +154 -154
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +32 -32
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +221 -221
- 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_versions_api_spec.rb +3 -3
- data/spec/api/content_namespaces_api_spec.rb +26 -0
- data/spec/api/distributions_ansible_api_spec.rb +2 -1
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +2 -2
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
|
|
@@ -122,6 +122,8 @@ Class | Method | HTTP request | Description
|
|
122
122
|
*PulpAnsibleClient::ContentNamespacesApi* | [**avatar**](docs/ContentNamespacesApi.md#avatar) | **GET** {ansible_ansible_namespace_metadata_href}avatar/ |
|
123
123
|
*PulpAnsibleClient::ContentNamespacesApi* | [**list**](docs/ContentNamespacesApi.md#list) | **GET** /pulp/api/v3/content/ansible/namespaces/ | List ansible namespace metadatas
|
124
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
|
125
127
|
*PulpAnsibleClient::ContentRolesApi* | [**create**](docs/ContentRolesApi.md#create) | **POST** /pulp/api/v3/content/ansible/roles/ | Create a role
|
126
128
|
*PulpAnsibleClient::ContentRolesApi* | [**list**](docs/ContentRolesApi.md#list) | **GET** /pulp/api/v3/content/ansible/roles/ | List roles
|
127
129
|
*PulpAnsibleClient::ContentRolesApi* | [**read**](docs/ContentRolesApi.md#read) | **GET** {ansible_role_href} | Inspect a role
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
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] |
|
10
7
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
11
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
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
12
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] |
|
12
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
13
13
|
| **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
|
14
14
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
15
15
|
| **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
|
@@ -41,12 +41,12 @@
|
|
41
41
|
require 'pulp_ansible_client'
|
42
42
|
|
43
43
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
44
|
-
pulp_href: null,
|
45
|
-
pulp_created: null,
|
46
|
-
artifact: null,
|
47
44
|
prn: null,
|
48
45
|
pulp_last_updated: null,
|
46
|
+
pulp_created: null,
|
49
47
|
pulp_labels: null,
|
48
|
+
artifact: null,
|
49
|
+
pulp_href: null,
|
50
50
|
sha256: null,
|
51
51
|
md5: null,
|
52
52
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
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
7
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
10
|
-
| **
|
11
|
-
| **
|
12
|
-
| **
|
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] |
|
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
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
14
11
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
15
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] |
|
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] |
|
16
20
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
17
|
-
| **
|
21
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
18
22
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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] |
|
20
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
21
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] |
|
22
24
|
| **name** | **String** | A unique name for this remote. | |
|
23
|
-
| **
|
24
|
-
| **
|
25
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
26
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
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
|
-
sock_connect_timeout: null,
|
37
|
-
ca_cert: null,
|
38
36
|
rate_limit: null,
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
connect_timeout: null,
|
37
|
+
download_concurrency: null,
|
38
|
+
total_timeout: null,
|
39
|
+
client_key: null,
|
43
40
|
headers: null,
|
44
41
|
tls_validation: null,
|
42
|
+
pulp_labels: null,
|
43
|
+
sock_connect_timeout: null,
|
44
|
+
ca_cert: null,
|
45
|
+
password: null,
|
46
|
+
url: null,
|
47
|
+
proxy_username: null,
|
48
|
+
sock_read_timeout: null,
|
45
49
|
proxy_url: null,
|
46
|
-
|
50
|
+
username: null,
|
47
51
|
client_cert: null,
|
48
|
-
sock_read_timeout: null,
|
49
|
-
download_concurrency: null,
|
50
52
|
max_retries: null,
|
51
53
|
name: null,
|
52
|
-
|
53
|
-
|
54
|
-
proxy_username: null,
|
55
|
-
pulp_labels: 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
|
-
| **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
7
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
11
|
-
| **
|
12
|
-
| **
|
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] |
|
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] |
|
14
10
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
15
11
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
16
|
-
| **
|
17
|
-
| **
|
18
|
-
| **
|
19
|
-
| **
|
12
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
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] |
|
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. | |
|
20
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] |
|
21
|
-
| **
|
17
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
22
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] |
|
23
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] |
|
23
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
24
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
24
25
|
| **name** | **String** | A unique name for this remote. | |
|
25
|
-
| **
|
26
|
-
| **pulp_labels** | **Hash<String, String>** | | [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::AnsibleGitRemoteResponse.new(
|
36
|
-
sock_connect_timeout: null,
|
37
|
-
ca_cert: null,
|
38
|
-
hidden_fields: null,
|
39
36
|
rate_limit: null,
|
40
|
-
|
41
|
-
|
42
|
-
connect_timeout: null,
|
37
|
+
download_concurrency: null,
|
38
|
+
total_timeout: null,
|
43
39
|
headers: null,
|
44
40
|
tls_validation: null,
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
41
|
+
pulp_labels: null,
|
42
|
+
sock_connect_timeout: null,
|
43
|
+
ca_cert: null,
|
44
|
+
url: null,
|
49
45
|
sock_read_timeout: null,
|
50
|
-
|
46
|
+
proxy_url: null,
|
51
47
|
prn: null,
|
48
|
+
client_cert: null,
|
49
|
+
hidden_fields: null,
|
50
|
+
pulp_last_updated: null,
|
52
51
|
max_retries: null,
|
52
|
+
pulp_created: null,
|
53
|
+
pulp_href: null,
|
53
54
|
name: null,
|
54
|
-
|
55
|
-
pulp_labels: null,
|
55
|
+
connect_timeout: null,
|
56
56
|
metadata_only: null,
|
57
57
|
git_ref: null
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
@@ -5,8 +5,8 @@
|
|
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
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
9
8
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
9
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
10
10
|
| **version** | **String** | | |
|
11
11
|
| **name** | **String** | | |
|
12
12
|
| **namespace** | **String** | | |
|
@@ -18,8 +18,8 @@ require 'pulp_ansible_client'
|
|
18
18
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
20
20
|
repository: null,
|
21
|
-
artifact: null,
|
22
21
|
pulp_labels: null,
|
22
|
+
artifact: null,
|
23
23
|
version: null,
|
24
24
|
name: null,
|
25
25
|
namespace: null
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
8
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
9
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
10
7
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
11
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
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
12
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 | |
|
12
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
13
13
|
| **version** | **String** | | |
|
14
14
|
| **name** | **String** | | |
|
15
15
|
| **namespace** | **String** | | |
|
@@ -20,12 +20,12 @@
|
|
20
20
|
require 'pulp_ansible_client'
|
21
21
|
|
22
22
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
23
|
-
pulp_href: null,
|
24
|
-
pulp_created: null,
|
25
|
-
artifact: null,
|
26
23
|
prn: null,
|
27
24
|
pulp_last_updated: null,
|
25
|
+
pulp_created: null,
|
28
26
|
pulp_labels: null,
|
27
|
+
artifact: null,
|
28
|
+
pulp_href: null,
|
29
29
|
version: null,
|
30
30
|
name: null,
|
31
31
|
namespace: null
|
@@ -33,12 +33,12 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
35
35
|
opts = {
|
36
|
-
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
37
36
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
38
37
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
39
|
-
|
40
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
38
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
41
39
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
40
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
41
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
42
42
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
43
43
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
44
44
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
@@ -75,12 +75,12 @@ end
|
|
75
75
|
|
76
76
|
| Name | Type | Description | Notes |
|
77
77
|
| ---- | ---- | ----------- | ----- |
|
78
|
-
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
79
78
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
80
79
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
81
|
-
| **
|
82
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
80
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
83
81
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
82
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
83
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
84
84
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
85
85
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
86
86
|
| **expected_version** | **String** | The version of the collection. | [optional] |
|
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
|
|
7
7
|
| [**avatar**](ContentNamespacesApi.md#avatar) | **GET** {ansible_ansible_namespace_metadata_href}avatar/ | |
|
8
8
|
| [**list**](ContentNamespacesApi.md#list) | **GET** /pulp/api/v3/content/ansible/namespaces/ | List ansible namespace metadatas |
|
9
9
|
| [**read**](ContentNamespacesApi.md#read) | **GET** {ansible_ansible_namespace_metadata_href} | Inspect an ansible namespace metadata |
|
10
|
+
| [**set_label**](ContentNamespacesApi.md#set_label) | **POST** {ansible_ansible_namespace_metadata_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentNamespacesApi.md#unset_label) | **POST** {ansible_ansible_namespace_metadata_href}unset_label/ | Unset a label |
|
10
12
|
|
11
13
|
|
12
14
|
## avatar
|
@@ -297,3 +299,147 @@ end
|
|
297
299
|
- **Content-Type**: Not defined
|
298
300
|
- **Accept**: application/json
|
299
301
|
|
302
|
+
|
303
|
+
## set_label
|
304
|
+
|
305
|
+
> <SetLabelResponse> set_label(ansible_ansible_namespace_metadata_href, set_label)
|
306
|
+
|
307
|
+
Set a label
|
308
|
+
|
309
|
+
Set a single pulp_label on the object to a specific value or null.
|
310
|
+
|
311
|
+
### Examples
|
312
|
+
|
313
|
+
```ruby
|
314
|
+
require 'time'
|
315
|
+
require 'pulp_ansible_client'
|
316
|
+
# setup authorization
|
317
|
+
PulpAnsibleClient.configure do |config|
|
318
|
+
# Configure HTTP basic authorization: basicAuth
|
319
|
+
config.username = 'YOUR USERNAME'
|
320
|
+
config.password = 'YOUR PASSWORD'
|
321
|
+
end
|
322
|
+
|
323
|
+
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
324
|
+
ansible_ansible_namespace_metadata_href = 'ansible_ansible_namespace_metadata_href_example' # String |
|
325
|
+
set_label = PulpAnsibleClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
326
|
+
|
327
|
+
begin
|
328
|
+
# Set a label
|
329
|
+
result = api_instance.set_label(ansible_ansible_namespace_metadata_href, set_label)
|
330
|
+
p result
|
331
|
+
rescue PulpAnsibleClient::ApiError => e
|
332
|
+
puts "Error when calling ContentNamespacesApi->set_label: #{e}"
|
333
|
+
end
|
334
|
+
```
|
335
|
+
|
336
|
+
#### Using the set_label_with_http_info variant
|
337
|
+
|
338
|
+
This returns an Array which contains the response data, status code and headers.
|
339
|
+
|
340
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label)
|
341
|
+
|
342
|
+
```ruby
|
343
|
+
begin
|
344
|
+
# Set a label
|
345
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label)
|
346
|
+
p status_code # => 2xx
|
347
|
+
p headers # => { ... }
|
348
|
+
p data # => <SetLabelResponse>
|
349
|
+
rescue PulpAnsibleClient::ApiError => e
|
350
|
+
puts "Error when calling ContentNamespacesApi->set_label_with_http_info: #{e}"
|
351
|
+
end
|
352
|
+
```
|
353
|
+
|
354
|
+
### Parameters
|
355
|
+
|
356
|
+
| Name | Type | Description | Notes |
|
357
|
+
| ---- | ---- | ----------- | ----- |
|
358
|
+
| **ansible_ansible_namespace_metadata_href** | **String** | | |
|
359
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
360
|
+
|
361
|
+
### Return type
|
362
|
+
|
363
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
364
|
+
|
365
|
+
### Authorization
|
366
|
+
|
367
|
+
[basicAuth](../README.md#basicAuth)
|
368
|
+
|
369
|
+
### HTTP request headers
|
370
|
+
|
371
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
372
|
+
- **Accept**: application/json
|
373
|
+
|
374
|
+
|
375
|
+
## unset_label
|
376
|
+
|
377
|
+
> <UnsetLabelResponse> unset_label(ansible_ansible_namespace_metadata_href, unset_label)
|
378
|
+
|
379
|
+
Unset a label
|
380
|
+
|
381
|
+
Unset a single pulp_label on the object.
|
382
|
+
|
383
|
+
### Examples
|
384
|
+
|
385
|
+
```ruby
|
386
|
+
require 'time'
|
387
|
+
require 'pulp_ansible_client'
|
388
|
+
# setup authorization
|
389
|
+
PulpAnsibleClient.configure do |config|
|
390
|
+
# Configure HTTP basic authorization: basicAuth
|
391
|
+
config.username = 'YOUR USERNAME'
|
392
|
+
config.password = 'YOUR PASSWORD'
|
393
|
+
end
|
394
|
+
|
395
|
+
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
396
|
+
ansible_ansible_namespace_metadata_href = 'ansible_ansible_namespace_metadata_href_example' # String |
|
397
|
+
unset_label = PulpAnsibleClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
398
|
+
|
399
|
+
begin
|
400
|
+
# Unset a label
|
401
|
+
result = api_instance.unset_label(ansible_ansible_namespace_metadata_href, unset_label)
|
402
|
+
p result
|
403
|
+
rescue PulpAnsibleClient::ApiError => e
|
404
|
+
puts "Error when calling ContentNamespacesApi->unset_label: #{e}"
|
405
|
+
end
|
406
|
+
```
|
407
|
+
|
408
|
+
#### Using the unset_label_with_http_info variant
|
409
|
+
|
410
|
+
This returns an Array which contains the response data, status code and headers.
|
411
|
+
|
412
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label)
|
413
|
+
|
414
|
+
```ruby
|
415
|
+
begin
|
416
|
+
# Unset a label
|
417
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label)
|
418
|
+
p status_code # => 2xx
|
419
|
+
p headers # => { ... }
|
420
|
+
p data # => <UnsetLabelResponse>
|
421
|
+
rescue PulpAnsibleClient::ApiError => e
|
422
|
+
puts "Error when calling ContentNamespacesApi->unset_label_with_http_info: #{e}"
|
423
|
+
end
|
424
|
+
```
|
425
|
+
|
426
|
+
### Parameters
|
427
|
+
|
428
|
+
| Name | Type | Description | Notes |
|
429
|
+
| ---- | ---- | ----------- | ----- |
|
430
|
+
| **ansible_ansible_namespace_metadata_href** | **String** | | |
|
431
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
432
|
+
|
433
|
+
### Return type
|
434
|
+
|
435
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
436
|
+
|
437
|
+
### Authorization
|
438
|
+
|
439
|
+
[basicAuth](../README.md#basicAuth)
|
440
|
+
|
441
|
+
### HTTP request headers
|
442
|
+
|
443
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
444
|
+
- **Accept**: application/json
|
445
|
+
|
@@ -256,6 +256,7 @@ opts = {
|
|
256
256
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
257
257
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
258
258
|
base_path__in: ['inner_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
259
|
+
checkpoint: true, # Boolean | Filter results where checkpoint matches value
|
259
260
|
limit: 56, # Integer | Number of results to return per page.
|
260
261
|
name: 'name_example', # String | Filter results where name matches value
|
261
262
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -267,7 +268,7 @@ opts = {
|
|
267
268
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
268
269
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
269
270
|
offset: 56, # Integer | The initial index from which to return the results.
|
270
|
-
ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
271
|
+
ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
271
272
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
272
273
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
273
274
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -315,6 +316,7 @@ end
|
|
315
316
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
316
317
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
317
318
|
| **base_path__in** | [**Array<String>**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
|
319
|
+
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
318
320
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
319
321
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
320
322
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -326,7 +328,7 @@ end
|
|
326
328
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
327
329
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
328
330
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
329
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
331
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
330
332
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
331
333
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
332
334
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
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
7
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
10
|
-
| **
|
11
|
-
| **
|
12
|
-
| **
|
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] |
|
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
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
14
11
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
15
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] |
|
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. | [optional] |
|
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] |
|
16
20
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
17
|
-
| **
|
21
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
18
22
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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] |
|
20
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
21
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] |
|
22
24
|
| **name** | **String** | A unique name for this remote. | [optional] |
|
23
|
-
| **
|
24
|
-
| **
|
25
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
26
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
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::PatchedansibleGitRemote.new(
|
36
|
-
sock_connect_timeout: null,
|
37
|
-
ca_cert: null,
|
38
36
|
rate_limit: null,
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
connect_timeout: null,
|
37
|
+
download_concurrency: null,
|
38
|
+
total_timeout: null,
|
39
|
+
client_key: null,
|
43
40
|
headers: null,
|
44
41
|
tls_validation: null,
|
42
|
+
pulp_labels: null,
|
43
|
+
sock_connect_timeout: null,
|
44
|
+
ca_cert: null,
|
45
|
+
password: null,
|
46
|
+
url: null,
|
47
|
+
proxy_username: null,
|
48
|
+
sock_read_timeout: null,
|
45
49
|
proxy_url: null,
|
46
|
-
|
50
|
+
username: null,
|
47
51
|
client_cert: null,
|
48
|
-
sock_read_timeout: null,
|
49
|
-
download_concurrency: null,
|
50
52
|
max_retries: null,
|
51
53
|
name: null,
|
52
|
-
|
53
|
-
|
54
|
-
proxy_username: null,
|
55
|
-
pulp_labels: null,
|
54
|
+
proxy_password: null,
|
55
|
+
connect_timeout: null,
|
56
56
|
metadata_only: null,
|
57
57
|
git_ref: null
|
58
58
|
)
|