pulp_ansible_client 0.24.2 → 0.24.4

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.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/docs/AnsibleCollectionVersionResponse.md +6 -6
  4. data/docs/AnsibleGitRemote.md +24 -24
  5. data/docs/AnsibleGitRemoteResponse.md +24 -24
  6. data/docs/AnsibleRoleResponse.md +6 -6
  7. data/docs/ContentCollectionVersionsApi.md +4 -4
  8. data/docs/ContentNamespacesApi.md +146 -0
  9. data/docs/DistributionsAnsibleApi.md +4 -2
  10. data/docs/PatchedansibleGitRemote.md +24 -24
  11. data/docs/RemotesGitApi.md +2 -2
  12. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  13. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +148 -0
  14. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +6 -3
  15. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +27 -27
  16. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +218 -218
  17. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +146 -146
  18. data/lib/pulp_ansible_client/models/ansible_role_response.rb +27 -27
  19. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +213 -213
  20. data/lib/pulp_ansible_client/models/unset_label.rb +1 -1
  21. data/lib/pulp_ansible_client/models/unset_label_response.rb +1 -1
  22. data/lib/pulp_ansible_client/version.rb +1 -1
  23. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  24. data/spec/api/content_namespaces_api_spec.rb +26 -0
  25. data/spec/api/distributions_ansible_api_spec.rb +2 -1
  26. data/spec/models/ansible_collection_version_response_spec.rb +5 -5
  27. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  28. data/spec/models/ansible_git_remote_spec.rb +18 -18
  29. data/spec/models/ansible_role_response_spec.rb +5 -5
  30. data/spec/models/patchedansible_git_remote_spec.rb +18 -18
  31. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5bfb13fe5d742f3eacd4161ea6bf24ffd435916ac8a64260c8eafde54620ebb
4
- data.tar.gz: e76d9733e2ec4d47a190a15edf61e7d636978df5471f161068dd6e10e956d684
3
+ metadata.gz: 9ba65ce9a5f83bb5a725f652f90a99be9a7efe0d4d76e4047fdd45c3043275cf
4
+ data.tar.gz: f04f80db18c95e3277a0fdee9aaa114c320601b42d89bc34e3ea218a88fe2e5c
5
5
  SHA512:
6
- metadata.gz: bddae897c18ccafb2bb8e69e3f17a6be2632b3ff143f518677ad735108d8404760d9edf0422d2b24311a3c65f9924cb545d1caa9fb4257d42adea5326302d9c0
7
- data.tar.gz: f0c9c8088c7bdb626dc22ffde944a90dcd8ee26f404d2f58a0598d653f42051cd0bfd316cc216183aad60bb66d503596afc6c9bde6e672f49ef9fcfc9c10cf7e
6
+ metadata.gz: c30d2950e6a1bc8d6cb528b15dae46f1c218dc54ce588a29a32319d2f2c7a3d07bca338b68a287a9b260c1fe899235c2815e1ed7c2a924b82b9b82d8bffe514e
7
+ data.tar.gz: 8db6cd47ee08a90719c9dcfa236e6e5dc2414cef8aa1e2500a49b15e6500e9cecb01343223e0d76d7532fcd82bcc2302a8876de5879c2cff90f20c47e481e7ac
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.2
10
+ - Package version: 0.24.4
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.2.gem
28
+ gem install ./pulp_ansible_client-0.24.4.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_ansible_client-0.24.2.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ansible_client-0.24.4.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.2'
37
+ gem 'pulp_ansible_client', '~> 0.24.4'
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
7
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
10
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
11
9
  | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
12
10
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
+ | **pulp_href** | **String** | | [optional][readonly] |
12
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [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
44
  artifact: null,
47
- prn: null,
45
+ pulp_created: null,
48
46
  pulp_last_updated: null,
49
47
  pulp_labels: null,
48
+ pulp_href: null,
49
+ prn: null,
50
50
  sha256: null,
51
51
  md5: null,
52
52
  sha1: null,
@@ -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
7
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
9
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
10
- | **url** | **String** | The URL of an external content source. | |
11
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
12
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
13
8
  | **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] |
9
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
14
10
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
15
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
16
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
17
11
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
18
- | **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] |
12
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
13
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
14
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
21
15
  | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
16
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
17
+ | **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] |
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] |
22
20
  | **name** | **String** | A unique name for this remote. | |
21
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
23
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] |
24
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
25
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
26
23
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
24
+ | **url** | **String** | The URL of an external content source. | |
25
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value 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
- sock_connect_timeout: null,
37
36
  ca_cert: null,
38
- rate_limit: null,
39
- url: null,
40
- password: null,
41
- proxy_password: null,
42
37
  connect_timeout: null,
38
+ username: null,
43
39
  headers: null,
44
- tls_validation: null,
45
- proxy_url: null,
46
40
  client_key: null,
47
- client_cert: null,
48
- sock_read_timeout: null,
49
- download_concurrency: null,
41
+ proxy_password: null,
42
+ proxy_url: null,
43
+ rate_limit: null,
50
44
  max_retries: null,
45
+ tls_validation: null,
46
+ sock_connect_timeout: null,
47
+ proxy_username: null,
48
+ sock_read_timeout: null,
51
49
  name: null,
50
+ client_cert: null,
52
51
  total_timeout: null,
53
- username: null,
54
- proxy_username: null,
55
52
  pulp_labels: null,
53
+ url: null,
54
+ password: null,
55
+ download_concurrency: 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
7
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
9
- | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
10
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
11
- | **url** | **String** | The URL of an external content source. | |
12
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
13
8
  | **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] |
9
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
14
10
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
15
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
16
- | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
17
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
18
11
  | **pulp_href** | **String** | | [optional][readonly] |
19
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
20
- | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
21
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
22
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
12
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
13
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
23
14
  | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
15
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
16
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
17
+ | **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] |
18
+ | **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] |
24
19
  | **name** | **String** | A unique name for this remote. | |
20
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
25
21
  | **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] |
22
+ | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
26
23
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
24
+ | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
25
+ | **url** | **String** | The URL of an external content source. | |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value 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::AnsibleGitRemoteResponse.new(
36
- sock_connect_timeout: null,
37
36
  ca_cert: null,
38
- hidden_fields: null,
39
- rate_limit: null,
40
- url: null,
41
- pulp_created: null,
42
37
  connect_timeout: null,
38
+ pulp_created: null,
43
39
  headers: null,
44
- tls_validation: null,
45
- pulp_last_updated: null,
46
- proxy_url: null,
47
40
  pulp_href: null,
48
- client_cert: null,
49
- sock_read_timeout: null,
50
- download_concurrency: null,
51
- prn: null,
41
+ proxy_url: null,
42
+ rate_limit: null,
52
43
  max_retries: null,
44
+ tls_validation: null,
45
+ prn: null,
46
+ sock_connect_timeout: null,
47
+ sock_read_timeout: null,
53
48
  name: null,
49
+ client_cert: null,
54
50
  total_timeout: null,
51
+ pulp_last_updated: null,
55
52
  pulp_labels: null,
53
+ hidden_fields: null,
54
+ url: null,
55
+ download_concurrency: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -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
7
  | **artifact** | **String** | Artifact file representing the physical content | |
10
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
11
9
  | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
12
10
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
+ | **pulp_href** | **String** | | [optional][readonly] |
12
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [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
23
  artifact: null,
26
- prn: null,
24
+ pulp_created: null,
27
25
  pulp_last_updated: null,
28
26
  pulp_labels: null,
27
+ pulp_href: null,
28
+ prn: null,
29
29
  version: null,
30
30
  name: null,
31
31
  namespace: null
@@ -34,11 +34,11 @@ end
34
34
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
35
35
  opts = {
36
36
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
37
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
37
38
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
38
- file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
39
39
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
40
- artifact: 'artifact_example', # String | Artifact file representing the physical content
41
40
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned 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.
@@ -76,11 +76,11 @@ end
76
76
  | Name | Type | Description | Notes |
77
77
  | ---- | ---- | ----------- | ----- |
78
78
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
79
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
79
80
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
80
- | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
81
81
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
82
- | **artifact** | **String** | Artifact file representing the physical content | [optional] |
83
82
  | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
83
+ | **file** | **File** | An uploaded file that may be turned 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&lt;String&gt;**](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&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
331
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
330
332
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
331
333
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
332
334
  | **pulp_id__in** | [**Array&lt;String&gt;**](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
7
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
9
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
10
- | **url** | **String** | The URL of an external content source. | [optional] |
11
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
12
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
13
8
  | **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] |
9
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
14
10
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
15
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
16
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
17
11
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
18
- | **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] |
12
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
13
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
14
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
21
15
  | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
16
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
17
+ | **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] |
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] |
22
20
  | **name** | **String** | A unique name for this remote. | [optional] |
21
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
23
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] |
24
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
25
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
26
23
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
24
+ | **url** | **String** | The URL of an external content source. | [optional] |
25
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value 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
- sock_connect_timeout: null,
37
36
  ca_cert: null,
38
- rate_limit: null,
39
- url: null,
40
- password: null,
41
- proxy_password: null,
42
37
  connect_timeout: null,
38
+ username: null,
43
39
  headers: null,
44
- tls_validation: null,
45
- proxy_url: null,
46
40
  client_key: null,
47
- client_cert: null,
48
- sock_read_timeout: null,
49
- download_concurrency: null,
41
+ proxy_password: null,
42
+ proxy_url: null,
43
+ rate_limit: null,
50
44
  max_retries: null,
45
+ tls_validation: null,
46
+ sock_connect_timeout: null,
47
+ proxy_username: null,
48
+ sock_read_timeout: null,
51
49
  name: null,
50
+ client_cert: null,
52
51
  total_timeout: null,
53
- username: null,
54
- proxy_username: null,
55
52
  pulp_labels: null,
53
+ url: null,
54
+ password: null,
55
+ download_concurrency: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -111,7 +111,7 @@ PulpAnsibleClient.configure do |config|
111
111
  end
112
112
 
113
113
  api_instance = PulpAnsibleClient::RemotesGitApi.new
114
- ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
114
+ ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleGitRemote |
115
115
 
116
116
  begin
117
117
  # Create a git remote
@@ -890,7 +890,7 @@ end
890
890
 
891
891
  api_instance = PulpAnsibleClient::RemotesGitApi.new
892
892
  ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
893
- ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
893
+ ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleGitRemote |
894
894
 
895
895
  begin
896
896
  # Update a git remote
@@ -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 [String] :repository A URI of a repository the new content unit should be associated with.
26
+ # @option opts [String] :artifact Artifact file representing the physical content
26
27
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
27
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
28
28
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
29
- # @option opts [String] :artifact Artifact file representing the physical content
30
29
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
30
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
31
31
  # @option opts [String] :expected_name The name of the collection.
32
32
  # @option opts [String] :expected_namespace The namespace of the collection.
33
33
  # @option opts [String] :expected_version The version of the collection.
@@ -41,11 +41,11 @@ module PulpAnsibleClient
41
41
  # Trigger an asynchronous task to create content,optionally create new repository version.
42
42
  # @param [Hash] opts the optional parameters
43
43
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
44
+ # @option opts [String] :artifact Artifact file representing the physical content
44
45
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
45
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
46
46
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
47
- # @option opts [String] :artifact Artifact file representing the physical content
48
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 [File] :file An uploaded file that may be turned into the content unit.
49
49
  # @option opts [String] :expected_name The name of the collection.
50
50
  # @option opts [String] :expected_namespace The namespace of the collection.
51
51
  # @option opts [String] :expected_version The version of the collection.
@@ -101,11 +101,11 @@ module PulpAnsibleClient
101
101
  # form parameters
102
102
  form_params = opts[:form_params] || {}
103
103
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
104
+ form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
104
105
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
105
- form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
106
106
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
107
- form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
108
107
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
108
+ form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
109
109
  form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
110
110
  form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
111
111
  form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?