pulp_ansible_client 0.28.9 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleAnsibleDistribution.md +3 -5
- data/docs/AnsibleAnsibleDistributionResponse.md +4 -12
- data/docs/AnsibleCollectionVersionResponse.md +14 -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/PatchedansibleAnsibleDistribution.md +3 -5
- 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/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +20 -62
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +75 -33
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +222 -222
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +138 -138
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +33 -33
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +213 -213
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/models/ansible_ansible_distribution_response_spec.rb +4 -28
- data/spec/models/ansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/ansible_collection_version_response_spec.rb +30 -6
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +122 -122
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '08e47cc08b6d2dff5e7b644d3abd1e3db44feb2a0bcc552274a2cfbe7f3df72f'
|
|
4
|
+
data.tar.gz: eebe73d7286a1cfbe5aeb5a0235064a42e094a7982c67bf8c31f5a46d7b3571c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0933d8edf00a195c8eebfea53f8d55b82ffc7e2e59ea250d3236f850768b847041127681a79a4d6db184e6d3bb2cfc7dcf6f23cc455f798dd29f48d95ec8aaaa'
|
|
7
|
+
data.tar.gz: 8a8bd7d5065b0eb205a71b9abdfc04fe447e9bc7e08286c7e7a3e88d1daf7620e7318581bc960aa6d7936a270b07527c0f6f4130eb2387498d62b92a32134c87
|
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.
|
|
10
|
+
- Package version: 0.29.0
|
|
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.
|
|
28
|
+
gem install ./pulp_ansible_client-0.29.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.29.0.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.
|
|
37
|
+
gem 'pulp_ansible_client', '~> 0.29.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
8
8
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
9
|
-
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
10
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
9
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
12
10
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
11
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
12
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
14
13
|
|
|
15
14
|
## Example
|
|
16
15
|
|
|
@@ -20,11 +19,10 @@ require 'pulp_ansible_client'
|
|
|
20
19
|
instance = PulpAnsibleClient::AnsibleAnsibleDistribution.new(
|
|
21
20
|
base_path: null,
|
|
22
21
|
content_guard: null,
|
|
23
|
-
hidden: null,
|
|
24
|
-
pulp_labels: null,
|
|
25
22
|
name: null,
|
|
26
23
|
repository: null,
|
|
27
|
-
repository_version: null
|
|
24
|
+
repository_version: null,
|
|
25
|
+
pulp_labels: null
|
|
28
26
|
)
|
|
29
27
|
```
|
|
30
28
|
|
|
@@ -5,18 +5,14 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
8
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
9
8
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
-
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
11
9
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
12
10
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
13
|
-
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
14
|
-
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
15
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
16
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
17
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
18
|
-
| **client_url** | **String** | The URL of a Collection content source. | [optional][readonly] |
|
|
19
13
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
14
|
+
| **client_url** | **String** | The URL of a Collection content source. | [optional][readonly] |
|
|
15
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
20
16
|
|
|
21
17
|
## Example
|
|
22
18
|
|
|
@@ -25,18 +21,14 @@ require 'pulp_ansible_client'
|
|
|
25
21
|
|
|
26
22
|
instance = PulpAnsibleClient::AnsibleAnsibleDistributionResponse.new(
|
|
27
23
|
pulp_href: null,
|
|
28
|
-
prn: null,
|
|
29
24
|
pulp_created: null,
|
|
30
|
-
pulp_last_updated: null,
|
|
31
25
|
base_path: null,
|
|
32
26
|
content_guard: null,
|
|
33
|
-
no_content_change_since: null,
|
|
34
|
-
hidden: null,
|
|
35
|
-
pulp_labels: null,
|
|
36
27
|
name: null,
|
|
37
28
|
repository: null,
|
|
29
|
+
repository_version: null,
|
|
38
30
|
client_url: null,
|
|
39
|
-
|
|
31
|
+
pulp_labels: null
|
|
40
32
|
)
|
|
41
33
|
```
|
|
42
34
|
|
|
@@ -4,12 +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
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
9
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
10
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
11
8
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
12
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
11
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
12
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
13
13
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
14
14
|
| **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
|
|
15
15
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
|
@@ -19,8 +19,12 @@
|
|
|
19
19
|
| **sha512** | **String** | The SHA-512 checksum if available. | [optional][readonly] |
|
|
20
20
|
| **id** | **String** | A collection identifier. | [optional][readonly] |
|
|
21
21
|
| **authors** | **Array<String>** | A list of the CollectionVersion content's authors. | [optional] |
|
|
22
|
+
| **contents** | **Array<Object>** | A JSON field with data about the contents. | [optional] |
|
|
22
23
|
| **dependencies** | **Object** | A dict declaring Collections that this collection requires to be installed for it to be usable. | [optional][readonly] |
|
|
23
24
|
| **description** | **String** | A short summary description of the collection. | [optional][readonly] |
|
|
25
|
+
| **docs_blob** | **Object** | A JSON field holding the various documentation blobs in the collection. | [optional][readonly] |
|
|
26
|
+
| **manifest** | **Object** | A JSON field holding MANIFEST.json data. | [optional][readonly] |
|
|
27
|
+
| **files** | **Object** | A JSON field holding FILES.json data. | [optional][readonly] |
|
|
24
28
|
| **documentation** | **String** | The URL to any online docs. | [optional][readonly] |
|
|
25
29
|
| **homepage** | **String** | The URL to the homepage of the collection/project. | [optional][readonly] |
|
|
26
30
|
| **issues** | **String** | The URL to the collection issue tracker. | [optional][readonly] |
|
|
@@ -38,12 +42,12 @@
|
|
|
38
42
|
require 'pulp_ansible_client'
|
|
39
43
|
|
|
40
44
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
41
|
-
pulp_last_updated: null,
|
|
42
45
|
pulp_href: null,
|
|
43
|
-
pulp_labels: null,
|
|
44
|
-
artifact: null,
|
|
45
46
|
vuln_report: null,
|
|
46
47
|
pulp_created: null,
|
|
48
|
+
pulp_last_updated: null,
|
|
49
|
+
artifact: null,
|
|
50
|
+
pulp_labels: null,
|
|
47
51
|
prn: null,
|
|
48
52
|
sha256: null,
|
|
49
53
|
md5: null,
|
|
@@ -53,8 +57,12 @@ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
|
53
57
|
sha512: null,
|
|
54
58
|
id: null,
|
|
55
59
|
authors: null,
|
|
60
|
+
contents: null,
|
|
56
61
|
dependencies: null,
|
|
57
62
|
description: null,
|
|
63
|
+
docs_blob: null,
|
|
64
|
+
manifest: null,
|
|
65
|
+
files: null,
|
|
58
66
|
documentation: null,
|
|
59
67
|
homepage: null,
|
|
60
68
|
issues: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
8
|
-
| **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] |
|
|
9
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
10
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
11
|
-
| **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] |
|
|
12
7
|
| **name** | **String** | A unique name for this remote. | |
|
|
13
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
14
|
-
| **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] |
|
|
15
8
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
9
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
10
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
11
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
18
12
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
19
|
-
| **
|
|
13
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
14
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
15
|
+
| **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] |
|
|
16
|
+
| **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] |
|
|
20
17
|
| **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] |
|
|
18
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
21
19
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
22
20
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
23
|
-
| **
|
|
24
|
-
| **
|
|
21
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
22
|
+
| **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] |
|
|
23
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
25
24
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
26
|
-
| **
|
|
25
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
26
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will 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
|
-
rate_limit: null,
|
|
37
|
-
total_timeout: null,
|
|
38
|
-
max_retries: null,
|
|
39
|
-
password: null,
|
|
40
|
-
sock_connect_timeout: null,
|
|
41
36
|
name: null,
|
|
42
|
-
proxy_username: null,
|
|
43
|
-
connect_timeout: null,
|
|
44
37
|
proxy_password: null,
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
password: null,
|
|
39
|
+
proxy_username: null,
|
|
40
|
+
username: null,
|
|
47
41
|
ca_cert: null,
|
|
48
|
-
|
|
42
|
+
url: null,
|
|
43
|
+
rate_limit: null,
|
|
44
|
+
sock_connect_timeout: null,
|
|
45
|
+
connect_timeout: null,
|
|
49
46
|
sock_read_timeout: null,
|
|
47
|
+
pulp_labels: null,
|
|
50
48
|
proxy_url: null,
|
|
51
49
|
headers: null,
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
client_key: null,
|
|
51
|
+
total_timeout: null,
|
|
52
|
+
client_cert: null,
|
|
54
53
|
tls_validation: null,
|
|
55
|
-
|
|
54
|
+
download_concurrency: null,
|
|
55
|
+
max_retries: 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
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
7
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
9
8
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
|
-
| **
|
|
11
|
-
| **
|
|
9
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
10
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
11
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
12
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
|
-
| **name** | **String** | A unique name for this remote. | |
|
|
14
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
15
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] |
|
|
16
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
17
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
18
|
-
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
19
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
20
14
|
| **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] |
|
|
15
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
16
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
21
17
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
22
18
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
23
|
-
| **
|
|
24
|
-
| **
|
|
19
|
+
| **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] |
|
|
20
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
21
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
22
|
+
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
25
23
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
26
|
-
| **
|
|
24
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
25
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
26
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
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
|
-
rate_limit: null,
|
|
36
|
+
name: null,
|
|
38
37
|
pulp_href: null,
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
ca_cert: null,
|
|
39
|
+
url: null,
|
|
40
|
+
rate_limit: null,
|
|
41
41
|
sock_connect_timeout: null,
|
|
42
|
-
name: null,
|
|
43
|
-
pulp_created: null,
|
|
44
42
|
connect_timeout: null,
|
|
45
|
-
client_cert: null,
|
|
46
|
-
ca_cert: null,
|
|
47
|
-
hidden_fields: null,
|
|
48
|
-
download_concurrency: null,
|
|
49
43
|
sock_read_timeout: null,
|
|
44
|
+
pulp_labels: null,
|
|
45
|
+
hidden_fields: null,
|
|
50
46
|
proxy_url: null,
|
|
51
47
|
headers: null,
|
|
52
|
-
|
|
53
|
-
|
|
48
|
+
total_timeout: null,
|
|
49
|
+
client_cert: null,
|
|
50
|
+
pulp_created: null,
|
|
51
|
+
pulp_last_updated: null,
|
|
54
52
|
tls_validation: null,
|
|
55
|
-
|
|
53
|
+
download_concurrency: null,
|
|
54
|
+
max_retries: null,
|
|
55
|
+
prn: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
8
7
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
9
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
10
10
|
| **version** | **String** | | |
|
|
11
11
|
| **name** | **String** | | |
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
require 'pulp_ansible_client'
|
|
18
18
|
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
|
20
|
-
pulp_labels: null,
|
|
21
20
|
artifact: null,
|
|
21
|
+
pulp_labels: null,
|
|
22
22
|
repository: null,
|
|
23
23
|
version: null,
|
|
24
24
|
name: null,
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,12 +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
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
9
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
10
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
11
8
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
12
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
11
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
12
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
13
13
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
14
14
|
| **version** | **String** | | |
|
|
15
15
|
| **name** | **String** | | |
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
require 'pulp_ansible_client'
|
|
22
22
|
|
|
23
23
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
|
24
|
-
pulp_last_updated: null,
|
|
25
24
|
pulp_href: null,
|
|
26
|
-
pulp_labels: null,
|
|
27
|
-
artifact: null,
|
|
28
25
|
vuln_report: null,
|
|
29
26
|
pulp_created: null,
|
|
27
|
+
pulp_last_updated: null,
|
|
28
|
+
artifact: null,
|
|
29
|
+
pulp_labels: null,
|
|
30
30
|
prn: null,
|
|
31
31
|
version: null,
|
|
32
32
|
name: null,
|
|
@@ -34,11 +34,11 @@ end
|
|
|
34
34
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
|
35
35
|
opts = {
|
|
36
36
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
|
-
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
38
37
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
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
38
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
39
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
40
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
41
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
42
42
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
43
43
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
|
44
44
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
|
@@ -77,11 +77,11 @@ end
|
|
|
77
77
|
| Name | Type | Description | Notes |
|
|
78
78
|
| ---- | ---- | ----------- | ----- |
|
|
79
79
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
80
|
-
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
81
80
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
82
|
-
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
83
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
84
81
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
82
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
83
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
84
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
85
85
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
86
86
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
|
87
87
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] |
|
|
8
8
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
9
|
-
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
10
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
9
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
|
12
10
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
11
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
12
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
14
13
|
|
|
15
14
|
## Example
|
|
16
15
|
|
|
@@ -20,11 +19,10 @@ require 'pulp_ansible_client'
|
|
|
20
19
|
instance = PulpAnsibleClient::PatchedansibleAnsibleDistribution.new(
|
|
21
20
|
base_path: null,
|
|
22
21
|
content_guard: null,
|
|
23
|
-
hidden: null,
|
|
24
|
-
pulp_labels: null,
|
|
25
22
|
name: null,
|
|
26
23
|
repository: null,
|
|
27
|
-
repository_version: null
|
|
24
|
+
repository_version: null,
|
|
25
|
+
pulp_labels: null
|
|
28
26
|
)
|
|
29
27
|
```
|
|
30
28
|
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
8
|
-
| **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] |
|
|
9
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
10
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
11
|
-
| **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] |
|
|
12
7
|
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
13
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
14
|
-
| **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] |
|
|
15
8
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
9
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
10
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
11
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
18
12
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
19
|
-
| **
|
|
13
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
14
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
15
|
+
| **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] |
|
|
16
|
+
| **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] |
|
|
20
17
|
| **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] |
|
|
18
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
21
19
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
22
20
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
23
|
-
| **
|
|
24
|
-
| **
|
|
21
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
22
|
+
| **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] |
|
|
23
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
25
24
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
26
|
-
| **
|
|
25
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
26
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will 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
|
-
rate_limit: null,
|
|
37
|
-
total_timeout: null,
|
|
38
|
-
max_retries: null,
|
|
39
|
-
password: null,
|
|
40
|
-
sock_connect_timeout: null,
|
|
41
36
|
name: null,
|
|
42
|
-
proxy_username: null,
|
|
43
|
-
connect_timeout: null,
|
|
44
37
|
proxy_password: null,
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
password: null,
|
|
39
|
+
proxy_username: null,
|
|
40
|
+
username: null,
|
|
47
41
|
ca_cert: null,
|
|
48
|
-
|
|
42
|
+
url: null,
|
|
43
|
+
rate_limit: null,
|
|
44
|
+
sock_connect_timeout: null,
|
|
45
|
+
connect_timeout: null,
|
|
49
46
|
sock_read_timeout: null,
|
|
47
|
+
pulp_labels: null,
|
|
50
48
|
proxy_url: null,
|
|
51
49
|
headers: null,
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
client_key: null,
|
|
51
|
+
total_timeout: null,
|
|
52
|
+
client_cert: null,
|
|
54
53
|
tls_validation: null,
|
|
55
|
-
|
|
54
|
+
download_concurrency: null,
|
|
55
|
+
max_retries: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -23,11 +23,11 @@ module PulpAnsibleClient
|
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
|
-
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
27
26
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
28
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
29
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
30
27
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
28
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
29
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
30
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
31
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
32
32
|
# @option opts [String] :expected_name The name of the collection.
|
|
33
33
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
@@ -42,11 +42,11 @@ module PulpAnsibleClient
|
|
|
42
42
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
43
43
|
# @param [Hash] opts the optional parameters
|
|
44
44
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
45
|
-
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
46
45
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
47
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
48
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
49
46
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
47
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
48
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
49
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
50
50
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
51
51
|
# @option opts [String] :expected_name The name of the collection.
|
|
52
52
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
@@ -103,11 +103,11 @@ module PulpAnsibleClient
|
|
|
103
103
|
|
|
104
104
|
# form parameters
|
|
105
105
|
form_params = opts[:form_params] || {}
|
|
106
|
-
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
107
106
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
108
|
-
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
109
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
110
107
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
108
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
109
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
110
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
111
111
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
112
112
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
|
113
113
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb
CHANGED
|
@@ -74,7 +74,7 @@ module PulpAnsibleClient
|
|
|
74
74
|
fail ArgumentError, 'invalid value for "name" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, the character length must be great than or equal to 3.'
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
77
|
+
pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
|
|
78
78
|
if @api_client.config.client_side_validation && name !~ pattern
|
|
79
79
|
fail ArgumentError, "invalid value for 'name' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, must conform to the pattern #{pattern}."
|
|
80
80
|
end
|
|
@@ -438,7 +438,7 @@ module PulpAnsibleClient
|
|
|
438
438
|
fail ArgumentError, 'invalid value for "opts[:"name2"]" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, the character length must be great than or equal to 3.'
|
|
439
439
|
end
|
|
440
440
|
|
|
441
|
-
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
441
|
+
pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
|
|
442
442
|
if @api_client.config.client_side_validation && !opts[:'name2'].nil? && opts[:'name2'] !~ pattern
|
|
443
443
|
fail ArgumentError, "invalid value for 'opts[:\"name2\"]' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, must conform to the pattern #{pattern}."
|
|
444
444
|
end
|
|
@@ -68,7 +68,7 @@ module PulpAnsibleClient
|
|
|
68
68
|
fail ArgumentError, 'invalid value for "name" when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.create, the character length must be great than or equal to 3.'
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
71
|
+
pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
|
|
72
72
|
if @api_client.config.client_side_validation && name !~ pattern
|
|
73
73
|
fail ArgumentError, "invalid value for 'name' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.create, must conform to the pattern #{pattern}."
|
|
74
74
|
end
|
|
@@ -414,7 +414,7 @@ module PulpAnsibleClient
|
|
|
414
414
|
fail ArgumentError, 'invalid value for "opts[:"name2"]" when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.partial_update, the character length must be great than or equal to 3.'
|
|
415
415
|
end
|
|
416
416
|
|
|
417
|
-
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
417
|
+
pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
|
|
418
418
|
if @api_client.config.client_side_validation && !opts[:'name2'].nil? && opts[:'name2'] !~ pattern
|
|
419
419
|
fail ArgumentError, "invalid value for 'opts[:\"name2\"]' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.partial_update, must conform to the pattern #{pattern}."
|
|
420
420
|
end
|