pulp_deb_client 3.7.1 → 3.8.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 +27 -16
- data/docs/AcsDebApi.md +886 -0
- data/docs/DebAptAlternateContentSource.md +24 -0
- data/docs/DebAptAlternateContentSourceResponse.md +32 -0
- data/docs/DebAptRepository.md +2 -0
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/PaginateddebAptAlternateContentSourceResponseList.md +24 -0
- data/docs/PatcheddebAptAlternateContentSource.md +24 -0
- data/docs/PatcheddebAptRepository.md +2 -0
- data/docs/TaskGroupOperationResponse.md +18 -0
- data/lib/pulp_deb_client/api/acs_deb_api.rb +865 -0
- data/lib/pulp_deb_client/models/deb_apt_alternate_content_source.rb +282 -0
- data/lib/pulp_deb_client/models/deb_apt_alternate_content_source_response.rb +302 -0
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +13 -1
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +13 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_alternate_content_source_response_list.rb +257 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_alternate_content_source.rb +268 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +13 -1
- data/lib/pulp_deb_client/models/task_group_operation_response.rb +223 -0
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +6 -0
- data/spec/api/acs_deb_api_spec.rb +204 -0
- data/spec/models/deb_apt_alternate_content_source_response_spec.rb +78 -0
- data/spec/models/deb_apt_alternate_content_source_spec.rb +54 -0
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- data/spec/models/deb_apt_repository_spec.rb +6 -0
- data/spec/models/paginateddeb_apt_alternate_content_source_response_list_spec.rb +54 -0
- data/spec/models/patcheddeb_apt_alternate_content_source_spec.rb +54 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +6 -0
- data/spec/models/task_group_operation_response_spec.rb +36 -0
- metadata +98 -74
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PulpDebClient::DebAptAlternateContentSource
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | Name of Alternate Content Source. | |
|
|
8
|
+
| **last_refreshed** | **Time** | Date of last refresh of AlternateContentSource. | [optional] |
|
|
9
|
+
| **paths** | **Array<String>** | List of paths that will be appended to the Remote url when searching for content. | [optional] |
|
|
10
|
+
| **remote** | **String** | The remote to provide alternate content source. | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'pulp_deb_client'
|
|
16
|
+
|
|
17
|
+
instance = PulpDebClient::DebAptAlternateContentSource.new(
|
|
18
|
+
name: null,
|
|
19
|
+
last_refreshed: null,
|
|
20
|
+
paths: null,
|
|
21
|
+
remote: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PulpDebClient::DebAptAlternateContentSourceResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
8
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
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
|
+
| **name** | **String** | Name of Alternate Content Source. | |
|
|
12
|
+
| **last_refreshed** | **Time** | Date of last refresh of AlternateContentSource. | [optional] |
|
|
13
|
+
| **paths** | **Array<String>** | List of paths that will be appended to the Remote url when searching for content. | [optional] |
|
|
14
|
+
| **remote** | **String** | The remote to provide alternate content source. | |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'pulp_deb_client'
|
|
20
|
+
|
|
21
|
+
instance = PulpDebClient::DebAptAlternateContentSourceResponse.new(
|
|
22
|
+
pulp_href: null,
|
|
23
|
+
prn: null,
|
|
24
|
+
pulp_created: null,
|
|
25
|
+
pulp_last_updated: null,
|
|
26
|
+
name: null,
|
|
27
|
+
last_refreshed: null,
|
|
28
|
+
paths: null,
|
|
29
|
+
remote: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
data/docs/DebAptRepository.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
11
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
|
+
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. Will create a standard structured APT publication. | [optional][default to false] |
|
|
12
13
|
| **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional] |
|
|
13
14
|
| **signing_service** | **String** | A reference to an associated signing service. Used if AptPublication.signing_service is not set | [optional] |
|
|
14
15
|
| **signing_service_release_overrides** | **Hash<String, String>** | A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"} | [optional] |
|
|
@@ -24,6 +25,7 @@ instance = PulpDebClient::DebAptRepository.new(
|
|
|
24
25
|
description: null,
|
|
25
26
|
retain_repo_versions: null,
|
|
26
27
|
remote: null,
|
|
28
|
+
autopublish: null,
|
|
27
29
|
publish_upstream_release_fields: null,
|
|
28
30
|
signing_service: null,
|
|
29
31
|
signing_service_release_overrides: null
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
|
16
16
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
17
17
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
18
|
+
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. Will create a standard structured APT publication. | [optional][default to false] |
|
|
18
19
|
| **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional] |
|
|
19
20
|
| **signing_service** | **String** | A reference to an associated signing service. Used if AptPublication.signing_service is not set | [optional] |
|
|
20
21
|
| **signing_service_release_overrides** | **Hash<String, String>** | A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"} | [optional] |
|
|
@@ -36,6 +37,7 @@ instance = PulpDebClient::DebAptRepositoryResponse.new(
|
|
|
36
37
|
description: null,
|
|
37
38
|
retain_repo_versions: null,
|
|
38
39
|
remote: null,
|
|
40
|
+
autopublish: null,
|
|
39
41
|
publish_upstream_release_fields: null,
|
|
40
42
|
signing_service: null,
|
|
41
43
|
signing_service_release_overrides: null
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PulpDebClient::PaginateddebAptAlternateContentSourceResponseList
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **count** | **Integer** | | |
|
|
8
|
+
| **_next** | **String** | | [optional] |
|
|
9
|
+
| **previous** | **String** | | [optional] |
|
|
10
|
+
| **results** | [**Array<DebAptAlternateContentSourceResponse>**](DebAptAlternateContentSourceResponse.md) | | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'pulp_deb_client'
|
|
16
|
+
|
|
17
|
+
instance = PulpDebClient::PaginateddebAptAlternateContentSourceResponseList.new(
|
|
18
|
+
count: 123,
|
|
19
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
20
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
21
|
+
results: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PulpDebClient::PatcheddebAptAlternateContentSource
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | Name of Alternate Content Source. | [optional] |
|
|
8
|
+
| **last_refreshed** | **Time** | Date of last refresh of AlternateContentSource. | [optional] |
|
|
9
|
+
| **paths** | **Array<String>** | List of paths that will be appended to the Remote url when searching for content. | [optional] |
|
|
10
|
+
| **remote** | **String** | The remote to provide alternate content source. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'pulp_deb_client'
|
|
16
|
+
|
|
17
|
+
instance = PulpDebClient::PatcheddebAptAlternateContentSource.new(
|
|
18
|
+
name: null,
|
|
19
|
+
last_refreshed: null,
|
|
20
|
+
paths: null,
|
|
21
|
+
remote: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
11
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
|
+
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. Will create a standard structured APT publication. | [optional][default to false] |
|
|
12
13
|
| **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional] |
|
|
13
14
|
| **signing_service** | **String** | A reference to an associated signing service. Used if AptPublication.signing_service is not set | [optional] |
|
|
14
15
|
| **signing_service_release_overrides** | **Hash<String, String>** | A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"} | [optional] |
|
|
@@ -24,6 +25,7 @@ instance = PulpDebClient::PatcheddebAptRepository.new(
|
|
|
24
25
|
description: null,
|
|
25
26
|
retain_repo_versions: null,
|
|
26
27
|
remote: null,
|
|
28
|
+
autopublish: null,
|
|
27
29
|
publish_upstream_release_fields: null,
|
|
28
30
|
signing_service: null,
|
|
29
31
|
signing_service_release_overrides: null
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# PulpDebClient::TaskGroupOperationResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **task_group** | **String** | The href of the task group. | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'pulp_deb_client'
|
|
13
|
+
|
|
14
|
+
instance = PulpDebClient::TaskGroupOperationResponse.new(
|
|
15
|
+
task_group: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|