pulp_ostree_client 2.0.0a1.dev1626751709 → 2.0.0a1.dev1631416829
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_ostree_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +41 -23
- data/docs/ContentCommitsApi.md +138 -0
- data/docs/ContentConfigsApi.md +138 -0
- data/docs/ContentObjectsApi.md +138 -0
- data/docs/ContentRefsApi.md +138 -0
- data/docs/{ContentOstreeApi.md → ContentSummariesApi.md} +21 -75
- data/docs/DistributionsOstreeApi.md +3 -3
- data/docs/OstreeOstreeCommitResponse.md +25 -0
- data/docs/OstreeOstreeConfigResponse.md +21 -0
- data/docs/OstreeOstreeDistribution.md +2 -2
- data/docs/OstreeOstreeDistributionResponse.md +2 -2
- data/docs/OstreeOstreeObjectResponse.md +27 -0
- data/docs/OstreeOstreeRefResponse.md +25 -0
- data/docs/OstreeOstreeRemote.md +4 -2
- data/docs/OstreeOstreeRemoteResponse.md +4 -2
- data/docs/OstreeOstreeRepository.md +3 -3
- data/docs/OstreeOstreeRepositoryResponse.md +3 -3
- data/docs/{OstreeOstreeContentResponse.md → OstreeOstreeSummaryResponse.md} +2 -2
- data/docs/OstreeRepoImport.md +23 -0
- data/docs/{PaginatedostreeOstreePublicationResponseList.md → PaginatedostreeOstreeCommitResponseList.md} +3 -3
- data/docs/PaginatedostreeOstreeConfigResponseList.md +23 -0
- data/docs/PaginatedostreeOstreeObjectResponseList.md +23 -0
- data/docs/PaginatedostreeOstreeRefResponseList.md +23 -0
- data/docs/{PaginatedostreeOstreeContentResponseList.md → PaginatedostreeOstreeSummaryResponseList.md} +3 -3
- data/docs/PatchedostreeOstreeDistribution.md +2 -2
- data/docs/PatchedostreeOstreeRemote.md +4 -2
- data/docs/PatchedostreeOstreeRepository.md +3 -3
- data/docs/RemotesOstreeApi.md +4 -4
- data/docs/RepositoriesOstreeApi.md +60 -4
- data/docs/RepositoriesOstreeVersionsApi.md +3 -3
- data/lib/pulp_ostree_client/api/content_commits_api.rb +170 -0
- data/lib/pulp_ostree_client/api/content_configs_api.rb +170 -0
- data/lib/pulp_ostree_client/api/content_objects_api.rb +170 -0
- data/lib/pulp_ostree_client/api/content_refs_api.rb +170 -0
- data/lib/pulp_ostree_client/api/{content_ostree_api.rb → content_summaries_api.rb} +29 -93
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +4 -4
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +6 -6
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +76 -6
- data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +4 -4
- data/lib/pulp_ostree_client/configuration.rb +2 -2
- data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +256 -0
- data/lib/pulp_ostree_client/models/{ostree_ostree_publication_response.rb → ostree_ostree_config_response.rb} +17 -21
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +10 -10
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +10 -10
- data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +275 -0
- data/lib/pulp_ostree_client/models/{ostree_ostree_content.rb → ostree_ostree_ref_response.rb} +47 -15
- data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +34 -7
- data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +34 -7
- data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +18 -17
- data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +18 -17
- data/lib/pulp_ostree_client/models/{ostree_ostree_content_response.rb → ostree_ostree_summary_response.rb} +4 -4
- data/lib/pulp_ostree_client/models/ostree_repo_import.rb +248 -0
- data/lib/pulp_ostree_client/models/{paginatedostree_ostree_publication_response_list.rb → paginatedostree_ostree_commit_response_list.rb} +4 -4
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +237 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +237 -0
- data/lib/pulp_ostree_client/models/{ostree_ostree_publication.rb → paginatedostree_ostree_ref_response_list.rb} +38 -18
- data/lib/pulp_ostree_client/models/{paginatedostree_ostree_content_response_list.rb → paginatedostree_ostree_summary_response_list.rb} +4 -4
- data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +10 -10
- data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +34 -7
- data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +18 -17
- data/lib/pulp_ostree_client/models/policy_enum.rb +1 -1
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/lib/pulp_ostree_client.rb +16 -8
- data/spec/api/{content_ostree_api_spec.rb → content_commits_api_spec.rb} +13 -25
- data/spec/api/content_configs_api_spec.rb +68 -0
- data/spec/api/content_objects_api_spec.rb +68 -0
- data/spec/api/content_refs_api_spec.rb +68 -0
- data/spec/api/content_summaries_api_spec.rb +68 -0
- data/spec/api/distributions_ostree_api_spec.rb +2 -2
- data/spec/api/remotes_ostree_api_spec.rb +3 -3
- data/spec/api/repositories_ostree_api_spec.rb +16 -3
- data/spec/api/repositories_ostree_versions_api_spec.rb +2 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ostree_ostree_commit_response_spec.rb +65 -0
- data/spec/models/{ostree_ostree_content_spec.rb → ostree_ostree_config_response_spec.rb} +14 -8
- data/spec/models/ostree_ostree_distribution_response_spec.rb +1 -1
- data/spec/models/ostree_ostree_distribution_spec.rb +1 -1
- data/spec/models/ostree_ostree_object_response_spec.rb +71 -0
- data/spec/models/{ostree_ostree_publication_response_spec.rb → ostree_ostree_ref_response_spec.rb} +14 -8
- data/spec/models/ostree_ostree_remote_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_remote_spec.rb +6 -0
- data/spec/models/ostree_ostree_repository_response_spec.rb +1 -1
- data/spec/models/ostree_ostree_repository_spec.rb +1 -1
- data/spec/models/{ostree_ostree_content_response_spec.rb → ostree_ostree_summary_response_spec.rb} +6 -6
- data/spec/models/ostree_repo_import_spec.rb +59 -0
- data/spec/models/{paginatedostree_ostree_publication_response_list_spec.rb → paginatedostree_ostree_commit_response_list_spec.rb} +6 -6
- data/spec/models/paginatedostree_ostree_config_response_list_spec.rb +59 -0
- data/spec/models/paginatedostree_ostree_object_response_list_spec.rb +59 -0
- data/spec/models/paginatedostree_ostree_ref_response_list_spec.rb +59 -0
- data/spec/models/{paginatedostree_ostree_content_response_list_spec.rb → paginatedostree_ostree_summary_response_list_spec.rb} +6 -6
- data/spec/models/patchedostree_ostree_distribution_spec.rb +1 -1
- data/spec/models/patchedostree_ostree_remote_spec.rb +6 -0
- data/spec/models/patchedostree_ostree_repository_spec.rb +1 -1
- metadata +81 -49
- data/docs/OstreeOstreeContent.md +0 -19
- data/docs/OstreeOstreePublication.md +0 -19
- data/docs/OstreeOstreePublicationResponse.md +0 -23
- data/docs/PublicationsOstreeApi.md +0 -257
- data/lib/pulp_ostree_client/api/publications_ostree_api.rb +0 -312
- data/spec/api/publications_ostree_api_spec.rb +0 -98
- data/spec/models/ostree_ostree_publication_spec.rb +0 -47
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpOstreeClient::OstreeOstreeRefResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
10
|
+
**commit** | **String** | |
|
11
|
+
**name** | **String** | |
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'PulpOstreeClient'
|
17
|
+
|
18
|
+
instance = PulpOstreeClient::OstreeOstreeRefResponse.new(pulp_href: null,
|
19
|
+
pulp_created: null,
|
20
|
+
artifact: null,
|
21
|
+
commit: null,
|
22
|
+
name: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
data/docs/OstreeOstreeRemote.md
CHANGED
@@ -18,13 +18,14 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) |
|
21
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All OSTree objects are downloaded and saved during synchronization. on_demand - Only commits, dirtrees, and refs are downloaded. Other OSTree objects are not downloaded until they are requested for the first time by a client. | [optional]
|
22
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
23
|
**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]
|
24
24
|
**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]
|
25
25
|
**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]
|
26
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
27
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
28
|
+
**depth** | **Integer** | An option to specify how many commits to traverse. | [optional] [default to 0]
|
28
29
|
|
29
30
|
## Code Sample
|
30
31
|
|
@@ -51,7 +52,8 @@ instance = PulpOstreeClient::OstreeOstreeRemote.new(name: null,
|
|
51
52
|
sock_connect_timeout: null,
|
52
53
|
sock_read_timeout: null,
|
53
54
|
headers: null,
|
54
|
-
rate_limit: null
|
55
|
+
rate_limit: null,
|
56
|
+
depth: null)
|
55
57
|
```
|
56
58
|
|
57
59
|
|
@@ -16,13 +16,14 @@ Name | Type | Description | Notes
|
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
18
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
19
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) |
|
19
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All OSTree objects are downloaded and saved during synchronization. on_demand - Only commits, dirtrees, and refs are downloaded. Other OSTree objects are not downloaded until they are requested for the first time by a client. | [optional]
|
20
20
|
**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]
|
21
21
|
**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]
|
22
22
|
**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]
|
23
23
|
**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
24
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
25
25
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
26
|
+
**depth** | **Integer** | An option to specify how many commits to traverse. | [optional] [default to 0]
|
26
27
|
|
27
28
|
## Code Sample
|
28
29
|
|
@@ -47,7 +48,8 @@ instance = PulpOstreeClient::OstreeOstreeRemoteResponse.new(pulp_href: null,
|
|
47
48
|
sock_connect_timeout: null,
|
48
49
|
sock_read_timeout: null,
|
49
50
|
headers: null,
|
50
|
-
rate_limit: null
|
51
|
+
rate_limit: null,
|
52
|
+
depth: null)
|
51
53
|
```
|
52
54
|
|
53
55
|
|
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
-
**
|
11
|
-
**remote** | **String** |
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
11
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
@@ -18,7 +18,7 @@ require 'PulpOstreeClient'
|
|
18
18
|
instance = PulpOstreeClient::OstreeOstreeRepository.new(pulp_labels: null,
|
19
19
|
name: null,
|
20
20
|
description: null,
|
21
|
-
|
21
|
+
retain_repo_versions: null,
|
22
22
|
remote: null)
|
23
23
|
```
|
24
24
|
|
@@ -11,8 +11,8 @@ Name | Type | Description | Notes
|
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
14
|
-
**
|
15
|
-
**remote** | **String** |
|
14
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
15
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
16
16
|
|
17
17
|
## Code Sample
|
18
18
|
|
@@ -26,7 +26,7 @@ instance = PulpOstreeClient::OstreeOstreeRepositoryResponse.new(pulp_href: null,
|
|
26
26
|
latest_version_href: null,
|
27
27
|
name: null,
|
28
28
|
description: null,
|
29
|
-
|
29
|
+
retain_repo_versions: null,
|
30
30
|
remote: null)
|
31
31
|
```
|
32
32
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpOstreeClient::
|
1
|
+
# PulpOstreeClient::OstreeOstreeSummaryResponse
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
|
|
13
13
|
```ruby
|
14
14
|
require 'PulpOstreeClient'
|
15
15
|
|
16
|
-
instance = PulpOstreeClient::
|
16
|
+
instance = PulpOstreeClient::OstreeOstreeSummaryResponse.new(pulp_href: null,
|
17
17
|
pulp_created: null,
|
18
18
|
artifact: null)
|
19
19
|
```
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpOstreeClient::OstreeRepoImport
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**artifact** | **String** | An artifact representing OSTree content compressed as a tarball. |
|
8
|
+
**repository_name** | **String** | The name of a repository that contains the compressed OSTree content. |
|
9
|
+
**ref** | **String** | The name of a ref branch that holds the reference to the last commit. | [optional]
|
10
|
+
**parent_commit** | **String** | The checksum of a parent commit with which the content needs to be associated. | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpOstreeClient'
|
16
|
+
|
17
|
+
instance = PulpOstreeClient::OstreeRepoImport.new(artifact: null,
|
18
|
+
repository_name: null,
|
19
|
+
ref: null,
|
20
|
+
parent_commit: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpOstreeClient::
|
1
|
+
# PulpOstreeClient::PaginatedostreeOstreeCommitResponseList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -7,14 +7,14 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<OstreeOstreeCommitResponse>**](OstreeOstreeCommitResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpOstreeClient'
|
16
16
|
|
17
|
-
instance = PulpOstreeClient::
|
17
|
+
instance = PulpOstreeClient::PaginatedostreeOstreeCommitResponseList.new(count: 123,
|
18
18
|
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
19
|
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
20
|
results: null)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpOstreeClient::PaginatedostreeOstreeConfigResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<OstreeOstreeConfigResponse>**](OstreeOstreeConfigResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpOstreeClient'
|
16
|
+
|
17
|
+
instance = PulpOstreeClient::PaginatedostreeOstreeConfigResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpOstreeClient::PaginatedostreeOstreeObjectResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<OstreeOstreeObjectResponse>**](OstreeOstreeObjectResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpOstreeClient'
|
16
|
+
|
17
|
+
instance = PulpOstreeClient::PaginatedostreeOstreeObjectResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpOstreeClient::PaginatedostreeOstreeRefResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<OstreeOstreeRefResponse>**](OstreeOstreeRefResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpOstreeClient'
|
16
|
+
|
17
|
+
instance = PulpOstreeClient::PaginatedostreeOstreeRefResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpOstreeClient::
|
1
|
+
# PulpOstreeClient::PaginatedostreeOstreeSummaryResponseList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -7,14 +7,14 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<OstreeOstreeSummaryResponse>**](OstreeOstreeSummaryResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpOstreeClient'
|
16
16
|
|
17
|
-
instance = PulpOstreeClient::
|
17
|
+
instance = PulpOstreeClient::PaginatedostreeOstreeSummaryResponseList.new(count: 123,
|
18
18
|
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
19
|
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
20
|
results: null)
|
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
|
-
**
|
12
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
13
|
|
14
14
|
## Code Sample
|
15
15
|
|
@@ -21,7 +21,7 @@ instance = PulpOstreeClient::PatchedostreeOstreeDistribution.new(base_path: null
|
|
21
21
|
pulp_labels: null,
|
22
22
|
name: null,
|
23
23
|
repository: null,
|
24
|
-
|
24
|
+
repository_version: null)
|
25
25
|
```
|
26
26
|
|
27
27
|
|
@@ -18,13 +18,14 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) |
|
21
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All OSTree objects are downloaded and saved during synchronization. on_demand - Only commits, dirtrees, and refs are downloaded. Other OSTree objects are not downloaded until they are requested for the first time by a client. | [optional]
|
22
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
23
|
**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]
|
24
24
|
**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]
|
25
25
|
**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]
|
26
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
27
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
28
|
+
**depth** | **Integer** | An option to specify how many commits to traverse. | [optional] [default to 0]
|
28
29
|
|
29
30
|
## Code Sample
|
30
31
|
|
@@ -51,7 +52,8 @@ instance = PulpOstreeClient::PatchedostreeOstreeRemote.new(name: null,
|
|
51
52
|
sock_connect_timeout: null,
|
52
53
|
sock_read_timeout: null,
|
53
54
|
headers: null,
|
54
|
-
rate_limit: null
|
55
|
+
rate_limit: null,
|
56
|
+
depth: null)
|
55
57
|
```
|
56
58
|
|
57
59
|
|
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
-
**
|
11
|
-
**remote** | **String** |
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
11
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
@@ -18,7 +18,7 @@ require 'PulpOstreeClient'
|
|
18
18
|
instance = PulpOstreeClient::PatchedostreeOstreeRepository.new(pulp_labels: null,
|
19
19
|
name: null,
|
20
20
|
description: null,
|
21
|
-
|
21
|
+
retain_repo_versions: null,
|
22
22
|
remote: null)
|
23
23
|
```
|
24
24
|
|
data/docs/RemotesOstreeApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpOstreeClient::RemotesOstreeApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -19,7 +19,7 @@ Method | HTTP request | Description
|
|
19
19
|
|
20
20
|
Create an ostree remote
|
21
21
|
|
22
|
-
A ViewSet for
|
22
|
+
A ViewSet class for OSTree remote repositories.
|
23
23
|
|
24
24
|
### Example
|
25
25
|
|
@@ -125,7 +125,7 @@ Name | Type | Description | Notes
|
|
125
125
|
|
126
126
|
List ostree remotes
|
127
127
|
|
128
|
-
A ViewSet for
|
128
|
+
A ViewSet class for OSTree remote repositories.
|
129
129
|
|
130
130
|
### Example
|
131
131
|
|
@@ -267,7 +267,7 @@ Name | Type | Description | Notes
|
|
267
267
|
|
268
268
|
Inspect an ostree remote
|
269
269
|
|
270
|
-
A ViewSet for
|
270
|
+
A ViewSet class for OSTree remote repositories.
|
271
271
|
|
272
272
|
### Example
|
273
273
|
|
@@ -1,11 +1,12 @@
|
|
1
1
|
# PulpOstreeClient::RepositoriesOstreeApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](RepositoriesOstreeApi.md#create) | **POST** /pulp/api/v3/repositories/ostree/ostree/ | Create an ostree repository
|
8
8
|
[**delete**](RepositoriesOstreeApi.md#delete) | **DELETE** {ostree_ostree_repository_href} | Delete an ostree repository
|
9
|
+
[**import_commits**](RepositoriesOstreeApi.md#import_commits) | **POST** {ostree_ostree_repository_href}import_commits/ | Import commits to a repository
|
9
10
|
[**list**](RepositoriesOstreeApi.md#list) | **GET** /pulp/api/v3/repositories/ostree/ostree/ | List ostree repositorys
|
10
11
|
[**modify**](RepositoriesOstreeApi.md#modify) | **POST** {ostree_ostree_repository_href}modify/ | Modify Repository Content
|
11
12
|
[**partial_update**](RepositoriesOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_repository_href} | Update an ostree repository
|
@@ -21,7 +22,7 @@ Method | HTTP request | Description
|
|
21
22
|
|
22
23
|
Create an ostree repository
|
23
24
|
|
24
|
-
A ViewSet for
|
25
|
+
A ViewSet class for OSTree repositories.
|
25
26
|
|
26
27
|
### Example
|
27
28
|
|
@@ -121,13 +122,68 @@ Name | Type | Description | Notes
|
|
121
122
|
- **Accept**: application/json
|
122
123
|
|
123
124
|
|
125
|
+
## import_commits
|
126
|
+
|
127
|
+
> AsyncOperationResponse import_commits(ostree_ostree_repository_href, ostree_repo_import)
|
128
|
+
|
129
|
+
Import commits to a repository
|
130
|
+
|
131
|
+
Trigger an asynchronous task to create a new OSTree repository version.
|
132
|
+
|
133
|
+
### Example
|
134
|
+
|
135
|
+
```ruby
|
136
|
+
# load the gem
|
137
|
+
require 'pulp_ostree_client'
|
138
|
+
# setup authorization
|
139
|
+
PulpOstreeClient.configure do |config|
|
140
|
+
# Configure HTTP basic authorization: basicAuth
|
141
|
+
config.username = 'YOUR USERNAME'
|
142
|
+
config.password = 'YOUR PASSWORD'
|
143
|
+
end
|
144
|
+
|
145
|
+
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
146
|
+
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
147
|
+
ostree_repo_import = PulpOstreeClient::OstreeRepoImport.new # OstreeRepoImport |
|
148
|
+
|
149
|
+
begin
|
150
|
+
#Import commits to a repository
|
151
|
+
result = api_instance.import_commits(ostree_ostree_repository_href, ostree_repo_import)
|
152
|
+
p result
|
153
|
+
rescue PulpOstreeClient::ApiError => e
|
154
|
+
puts "Exception when calling RepositoriesOstreeApi->import_commits: #{e}"
|
155
|
+
end
|
156
|
+
```
|
157
|
+
|
158
|
+
### Parameters
|
159
|
+
|
160
|
+
|
161
|
+
Name | Type | Description | Notes
|
162
|
+
------------- | ------------- | ------------- | -------------
|
163
|
+
**ostree_ostree_repository_href** | **String**| |
|
164
|
+
**ostree_repo_import** | [**OstreeRepoImport**](OstreeRepoImport.md)| |
|
165
|
+
|
166
|
+
### Return type
|
167
|
+
|
168
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
169
|
+
|
170
|
+
### Authorization
|
171
|
+
|
172
|
+
[basicAuth](../README.md#basicAuth)
|
173
|
+
|
174
|
+
### HTTP request headers
|
175
|
+
|
176
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
177
|
+
- **Accept**: application/json
|
178
|
+
|
179
|
+
|
124
180
|
## list
|
125
181
|
|
126
182
|
> PaginatedostreeOstreeRepositoryResponseList list(opts)
|
127
183
|
|
128
184
|
List ostree repositorys
|
129
185
|
|
130
|
-
A ViewSet for
|
186
|
+
A ViewSet class for OSTree repositories.
|
131
187
|
|
132
188
|
### Example
|
133
189
|
|
@@ -312,7 +368,7 @@ Name | Type | Description | Notes
|
|
312
368
|
|
313
369
|
Inspect an ostree repository
|
314
370
|
|
315
|
-
A ViewSet for
|
371
|
+
A ViewSet class for OSTree repositories.
|
316
372
|
|
317
373
|
### Example
|
318
374
|
|