pulp_ostree_client 2.0.0a5 → 2.0.0a6
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 +10 -9
- data/docs/ContentCommitsApi.md +2 -2
- data/docs/ContentConfigsApi.md +2 -2
- data/docs/ContentObjectsApi.md +2 -2
- data/docs/ContentRefsApi.md +2 -2
- data/docs/ContentSummariesApi.md +2 -2
- data/docs/DistributionsOstreeApi.md +2 -2
- data/docs/OstreeImportAll.md +19 -0
- data/docs/{OstreeRepoImport.md → OstreeImportCommitsToRef.md} +3 -3
- data/docs/OstreeOstreeRemote.md +7 -3
- data/docs/OstreeOstreeRemoteResponse.md +5 -1
- data/docs/PatchedostreeOstreeRemote.md +7 -3
- data/docs/RemotesOstreeApi.md +2 -2
- data/docs/Repair.md +17 -0
- data/docs/RepositoriesOstreeApi.md +66 -10
- data/docs/RepositoriesOstreeVersionsApi.md +6 -6
- data/lib/pulp_ostree_client/api/content_commits_api.rb +7 -3
- data/lib/pulp_ostree_client/api/content_configs_api.rb +7 -3
- data/lib/pulp_ostree_client/api/content_objects_api.rb +7 -3
- data/lib/pulp_ostree_client/api/content_refs_api.rb +7 -3
- data/lib/pulp_ostree_client/api/content_summaries_api.rb +7 -3
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +7 -3
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +7 -3
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +90 -16
- data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +16 -12
- data/lib/pulp_ostree_client/api_client.rb +1 -4
- data/lib/pulp_ostree_client/configuration.rb +1 -0
- data/lib/pulp_ostree_client/models/{content_summary.rb → ostree_import_all.rb} +42 -41
- data/lib/pulp_ostree_client/models/{ostree_repo_import.rb → ostree_import_commits_to_ref.rb} +16 -7
- data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +32 -6
- data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +30 -4
- data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +32 -6
- data/lib/pulp_ostree_client/models/{repository_version.rb → repair.rb} +13 -12
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/lib/pulp_ostree_client.rb +3 -3
- data/spec/api/content_commits_api_spec.rb +1 -1
- data/spec/api/content_configs_api_spec.rb +1 -1
- data/spec/api/content_objects_api_spec.rb +1 -1
- data/spec/api/content_refs_api_spec.rb +1 -1
- data/spec/api/content_summaries_api_spec.rb +1 -1
- data/spec/api/distributions_ostree_api_spec.rb +1 -1
- data/spec/api/remotes_ostree_api_spec.rb +1 -1
- data/spec/api/repositories_ostree_api_spec.rb +17 -4
- data/spec/api/repositories_ostree_versions_api_spec.rb +2 -2
- data/spec/models/{content_summary_spec.rb → ostree_import_all_spec.rb} +8 -14
- data/spec/models/{ostree_repo_import_spec.rb → ostree_import_commits_to_ref_spec.rb} +6 -6
- data/spec/models/ostree_ostree_remote_response_spec.rb +12 -0
- data/spec/models/ostree_ostree_remote_spec.rb +12 -0
- data/spec/models/patchedostree_ostree_remote_spec.rb +12 -0
- data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
- metadata +41 -41
- data/docs/ContentSummary.md +0 -21
- data/docs/RepositoryVersion.md +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21f66086909a0b3a934c9f360ff955a8539ae26ee50b87a99d2d8de9621d72df
|
4
|
+
data.tar.gz: 9e4ef8da5bdd90ab3eda3e776e57b7c6f3f32244b38bbc6273e3dbbf54d36abb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8ce9dbc541cf34eb6df420da88c2365b10f409d8392155c977242581bb5ce729c47cc94029ecebbb4c74d98ef06881895ef026a156addf00f8e6d6b42b074ee
|
7
|
+
data.tar.gz: 888774fb5c87e0e3aa1ea3c2a950bda95f2bf28c3ccdfc7c7ad5c6f93b3efa53bc9d14a968cf002d04d987ff0b0c5ed3c30b5a2fcf4ddc8734a1d386009ba91d
|
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: 2.0.
|
10
|
+
- Package version: 2.0.0a6
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_ostree_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_ostree_client-2.0.
|
27
|
+
gem install ./pulp_ostree_client-2.0.0a6.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ostree_client-2.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_ostree_client-2.0.0a6.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_ostree_client', '~> 2.0.
|
36
|
+
gem 'pulp_ostree_client', '~> 2.0.0a6'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -69,7 +69,7 @@ opts = {
|
|
69
69
|
checksum: 'checksum_example', # String | Filter results where checksum matches value
|
70
70
|
limit: 56, # Integer | Number of results to return per page.
|
71
71
|
offset: 56, # Integer | The initial index from which to return the results.
|
72
|
-
ordering: 'ordering_example', # String |
|
72
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
73
73
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
74
74
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
75
75
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -117,7 +117,8 @@ Class | Method | HTTP request | Description
|
|
117
117
|
*PulpOstreeClient::RemotesOstreeApi* | [**update**](docs/RemotesOstreeApi.md#update) | **PUT** {ostree_ostree_remote_href} | Update an ostree remote
|
118
118
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**create**](docs/RepositoriesOstreeApi.md#create) | **POST** /pulp/api/v3/repositories/ostree/ostree/ | Create an ostree repository
|
119
119
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**delete**](docs/RepositoriesOstreeApi.md#delete) | **DELETE** {ostree_ostree_repository_href} | Delete an ostree repository
|
120
|
-
*PulpOstreeClient::RepositoriesOstreeApi* | [**
|
120
|
+
*PulpOstreeClient::RepositoriesOstreeApi* | [**import_all**](docs/RepositoriesOstreeApi.md#import_all) | **POST** {ostree_ostree_repository_href}import_all/ | Import refs and commits to a repository
|
121
|
+
*PulpOstreeClient::RepositoriesOstreeApi* | [**import_commits**](docs/RepositoriesOstreeApi.md#import_commits) | **POST** {ostree_ostree_repository_href}import_commits/ | Append child commits to a repository
|
121
122
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**list**](docs/RepositoriesOstreeApi.md#list) | **GET** /pulp/api/v3/repositories/ostree/ostree/ | List ostree repositorys
|
122
123
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**modify**](docs/RepositoriesOstreeApi.md#modify) | **POST** {ostree_ostree_repository_href}modify/ | Modify repository
|
123
124
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**partial_update**](docs/RepositoriesOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_repository_href} | Update an ostree repository
|
@@ -133,8 +134,9 @@ Class | Method | HTTP request | Description
|
|
133
134
|
## Documentation for Models
|
134
135
|
|
135
136
|
- [PulpOstreeClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
136
|
-
- [PulpOstreeClient::ContentSummary](docs/ContentSummary.md)
|
137
137
|
- [PulpOstreeClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
138
|
+
- [PulpOstreeClient::OstreeImportAll](docs/OstreeImportAll.md)
|
139
|
+
- [PulpOstreeClient::OstreeImportCommitsToRef](docs/OstreeImportCommitsToRef.md)
|
138
140
|
- [PulpOstreeClient::OstreeOstreeCommitResponse](docs/OstreeOstreeCommitResponse.md)
|
139
141
|
- [PulpOstreeClient::OstreeOstreeConfigResponse](docs/OstreeOstreeConfigResponse.md)
|
140
142
|
- [PulpOstreeClient::OstreeOstreeDistribution](docs/OstreeOstreeDistribution.md)
|
@@ -146,7 +148,6 @@ Class | Method | HTTP request | Description
|
|
146
148
|
- [PulpOstreeClient::OstreeOstreeRepository](docs/OstreeOstreeRepository.md)
|
147
149
|
- [PulpOstreeClient::OstreeOstreeRepositoryResponse](docs/OstreeOstreeRepositoryResponse.md)
|
148
150
|
- [PulpOstreeClient::OstreeOstreeSummaryResponse](docs/OstreeOstreeSummaryResponse.md)
|
149
|
-
- [PulpOstreeClient::OstreeRepoImport](docs/OstreeRepoImport.md)
|
150
151
|
- [PulpOstreeClient::OstreeRepositoryAddRemoveContent](docs/OstreeRepositoryAddRemoveContent.md)
|
151
152
|
- [PulpOstreeClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
152
153
|
- [PulpOstreeClient::PaginatedostreeOstreeCommitResponseList](docs/PaginatedostreeOstreeCommitResponseList.md)
|
@@ -161,8 +162,8 @@ Class | Method | HTTP request | Description
|
|
161
162
|
- [PulpOstreeClient::PatchedostreeOstreeRemote](docs/PatchedostreeOstreeRemote.md)
|
162
163
|
- [PulpOstreeClient::PatchedostreeOstreeRepository](docs/PatchedostreeOstreeRepository.md)
|
163
164
|
- [PulpOstreeClient::PolicyEnum](docs/PolicyEnum.md)
|
165
|
+
- [PulpOstreeClient::Repair](docs/Repair.md)
|
164
166
|
- [PulpOstreeClient::RepositorySyncURL](docs/RepositorySyncURL.md)
|
165
|
-
- [PulpOstreeClient::RepositoryVersion](docs/RepositoryVersion.md)
|
166
167
|
- [PulpOstreeClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
167
168
|
|
168
169
|
|
data/docs/ContentCommitsApi.md
CHANGED
@@ -34,7 +34,7 @@ opts = {
|
|
34
34
|
checksum: 'checksum_example', # String | Filter results where checksum matches value
|
35
35
|
limit: 56, # Integer | Number of results to return per page.
|
36
36
|
offset: 56, # Integer | The initial index from which to return the results.
|
37
|
-
ordering: 'ordering_example', # String |
|
37
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
38
38
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
39
39
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
40
40
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -59,7 +59,7 @@ Name | Type | Description | Notes
|
|
59
59
|
**checksum** | **String**| Filter results where checksum matches value | [optional]
|
60
60
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
61
61
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
62
|
-
**ordering** | **String
|
62
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
63
63
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
64
64
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
65
65
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentConfigsApi.md
CHANGED
@@ -33,7 +33,7 @@ api_instance = PulpOstreeClient::ContentConfigsApi.new
|
|
33
33
|
opts = {
|
34
34
|
limit: 56, # Integer | Number of results to return per page.
|
35
35
|
offset: 56, # Integer | The initial index from which to return the results.
|
36
|
-
ordering: 'ordering_example', # String |
|
36
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
37
37
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
38
38
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
39
39
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -57,7 +57,7 @@ Name | Type | Description | Notes
|
|
57
57
|
------------- | ------------- | ------------- | -------------
|
58
58
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
59
59
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
60
|
-
**ordering** | **String
|
60
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
61
61
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
62
62
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
63
63
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentObjectsApi.md
CHANGED
@@ -34,7 +34,7 @@ opts = {
|
|
34
34
|
checksum: 'checksum_example', # String | Filter results where checksum matches value
|
35
35
|
limit: 56, # Integer | Number of results to return per page.
|
36
36
|
offset: 56, # Integer | The initial index from which to return the results.
|
37
|
-
ordering: 'ordering_example', # String |
|
37
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
38
38
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
39
39
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
40
40
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -59,7 +59,7 @@ Name | Type | Description | Notes
|
|
59
59
|
**checksum** | **String**| Filter results where checksum matches value | [optional]
|
60
60
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
61
61
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
62
|
-
**ordering** | **String
|
62
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
63
63
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
64
64
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
65
65
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentRefsApi.md
CHANGED
@@ -39,7 +39,7 @@ opts = {
|
|
39
39
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
40
40
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
41
41
|
offset: 56, # Integer | The initial index from which to return the results.
|
42
|
-
ordering: 'ordering_example', # String |
|
42
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
43
43
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
44
44
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
45
45
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -69,7 +69,7 @@ Name | Type | Description | Notes
|
|
69
69
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
70
70
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
71
71
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
72
|
-
**ordering** | **String
|
72
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
73
73
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
74
74
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
75
75
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentSummariesApi.md
CHANGED
@@ -33,7 +33,7 @@ api_instance = PulpOstreeClient::ContentSummariesApi.new
|
|
33
33
|
opts = {
|
34
34
|
limit: 56, # Integer | Number of results to return per page.
|
35
35
|
offset: 56, # Integer | The initial index from which to return the results.
|
36
|
-
ordering: 'ordering_example', # String |
|
36
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
37
37
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
38
38
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
39
39
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -57,7 +57,7 @@ Name | Type | Description | Notes
|
|
57
57
|
------------- | ------------- | ------------- | -------------
|
58
58
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
59
59
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
60
|
-
**ordering** | **String
|
60
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
61
61
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
62
62
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
63
63
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -152,7 +152,7 @@ opts = {
|
|
152
152
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
153
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
ordering: 'ordering_example', # String |
|
155
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
156
156
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
157
157
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
158
158
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -183,7 +183,7 @@ Name | Type | Description | Notes
|
|
183
183
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
184
184
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
185
185
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
186
|
-
**ordering** | **String
|
186
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
187
187
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
188
188
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
189
189
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpOstreeClient::OstreeImportAll
|
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
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpOstreeClient'
|
14
|
+
|
15
|
+
instance = PulpOstreeClient::OstreeImportAll.new(artifact: null,
|
16
|
+
repository_name: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpOstreeClient::
|
1
|
+
# PulpOstreeClient::OstreeImportCommitsToRef
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -6,14 +6,14 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**artifact** | **String** | An artifact representing OSTree content compressed as a tarball. |
|
8
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. |
|
9
|
+
**ref** | **String** | The name of a ref branch that holds the reference to the last commit. |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
13
13
|
```ruby
|
14
14
|
require 'PulpOstreeClient'
|
15
15
|
|
16
|
-
instance = PulpOstreeClient::
|
16
|
+
instance = PulpOstreeClient::OstreeImportCommitsToRef.new(artifact: null,
|
17
17
|
repository_name: null,
|
18
18
|
ref: null)
|
19
19
|
```
|
data/docs/OstreeOstreeRemote.md
CHANGED
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
|
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
14
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
-
**proxy_password** | **String** | The password to
|
15
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
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]
|
@@ -26,6 +26,8 @@ Name | Type | Description | Notes
|
|
26
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
27
27
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
28
28
|
**depth** | **Integer** | An option to specify how many commits to traverse. | [optional] [default to 0]
|
29
|
+
**include_refs** | **Array<String>** | A list of refs to include during a sync. The wildcards *, ? are recognized. 'include_refs' is evaluated before 'exclude_refs'. | [optional]
|
30
|
+
**exclude_refs** | **Array<String>** | A list of tags to exclude during a sync. The wildcards *, ? are recognized. 'exclude_refs' is evaluated after 'include_refs'. | [optional]
|
29
31
|
|
30
32
|
## Code Sample
|
31
33
|
|
@@ -53,7 +55,9 @@ instance = PulpOstreeClient::OstreeOstreeRemote.new(name: null,
|
|
53
55
|
sock_read_timeout: null,
|
54
56
|
headers: null,
|
55
57
|
rate_limit: null,
|
56
|
-
depth: null
|
58
|
+
depth: null,
|
59
|
+
include_refs: null,
|
60
|
+
exclude_refs: null)
|
57
61
|
```
|
58
62
|
|
59
63
|
|
@@ -24,6 +24,8 @@ Name | Type | Description | Notes
|
|
24
24
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
25
25
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
26
26
|
**depth** | **Integer** | An option to specify how many commits to traverse. | [optional] [default to 0]
|
27
|
+
**include_refs** | **Array<String>** | A list of refs to include during a sync. The wildcards *, ? are recognized. 'include_refs' is evaluated before 'exclude_refs'. | [optional]
|
28
|
+
**exclude_refs** | **Array<String>** | A list of tags to exclude during a sync. The wildcards *, ? are recognized. 'exclude_refs' is evaluated after 'include_refs'. | [optional]
|
27
29
|
|
28
30
|
## Code Sample
|
29
31
|
|
@@ -49,7 +51,9 @@ instance = PulpOstreeClient::OstreeOstreeRemoteResponse.new(pulp_href: null,
|
|
49
51
|
sock_read_timeout: null,
|
50
52
|
headers: null,
|
51
53
|
rate_limit: null,
|
52
|
-
depth: null
|
54
|
+
depth: null,
|
55
|
+
include_refs: null,
|
56
|
+
exclude_refs: null)
|
53
57
|
```
|
54
58
|
|
55
59
|
|
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
|
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
14
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
-
**proxy_password** | **String** | The password to
|
15
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
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]
|
@@ -26,6 +26,8 @@ Name | Type | Description | Notes
|
|
26
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
27
27
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
28
28
|
**depth** | **Integer** | An option to specify how many commits to traverse. | [optional] [default to 0]
|
29
|
+
**include_refs** | **Array<String>** | A list of refs to include during a sync. The wildcards *, ? are recognized. 'include_refs' is evaluated before 'exclude_refs'. | [optional]
|
30
|
+
**exclude_refs** | **Array<String>** | A list of tags to exclude during a sync. The wildcards *, ? are recognized. 'exclude_refs' is evaluated after 'include_refs'. | [optional]
|
29
31
|
|
30
32
|
## Code Sample
|
31
33
|
|
@@ -53,7 +55,9 @@ instance = PulpOstreeClient::PatchedostreeOstreeRemote.new(name: null,
|
|
53
55
|
sock_read_timeout: null,
|
54
56
|
headers: null,
|
55
57
|
rate_limit: null,
|
56
|
-
depth: null
|
58
|
+
depth: null,
|
59
|
+
include_refs: null,
|
60
|
+
exclude_refs: null)
|
57
61
|
```
|
58
62
|
|
59
63
|
|
data/docs/RemotesOstreeApi.md
CHANGED
@@ -148,7 +148,7 @@ opts = {
|
|
148
148
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
149
149
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
|
-
ordering: 'ordering_example', # String |
|
151
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
152
152
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
153
|
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
154
154
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
@@ -181,7 +181,7 @@ Name | Type | Description | Notes
|
|
181
181
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
182
182
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
183
183
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
184
|
-
**ordering** | **String
|
184
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
185
185
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
186
186
|
**pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
187
187
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
data/docs/Repair.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpOstreeClient::Repair
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**verify_checksums** | **Boolean** | Will verify that the checksum of all stored files matches what saved in the database. Otherwise only the existence of the files will be checked. Enabled by default | [optional] [default to true]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpOstreeClient'
|
13
|
+
|
14
|
+
instance = PulpOstreeClient::Repair.new(verify_checksums: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -6,7 +6,8 @@ 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
|
-
[**
|
9
|
+
[**import_all**](RepositoriesOstreeApi.md#import_all) | **POST** {ostree_ostree_repository_href}import_all/ | Import refs and commits to a repository
|
10
|
+
[**import_commits**](RepositoriesOstreeApi.md#import_commits) | **POST** {ostree_ostree_repository_href}import_commits/ | Append child commits to a repository
|
10
11
|
[**list**](RepositoriesOstreeApi.md#list) | **GET** /pulp/api/v3/repositories/ostree/ostree/ | List ostree repositorys
|
11
12
|
[**modify**](RepositoriesOstreeApi.md#modify) | **POST** {ostree_ostree_repository_href}modify/ | Modify repository
|
12
13
|
[**partial_update**](RepositoriesOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_repository_href} | Update an ostree repository
|
@@ -122,13 +123,68 @@ Name | Type | Description | Notes
|
|
122
123
|
- **Accept**: application/json
|
123
124
|
|
124
125
|
|
126
|
+
## import_all
|
127
|
+
|
128
|
+
> AsyncOperationResponse import_all(ostree_ostree_repository_href, ostree_import_all)
|
129
|
+
|
130
|
+
Import refs and commits to a repository
|
131
|
+
|
132
|
+
Trigger an asynchronous task to import all refs and commits to a repository.
|
133
|
+
|
134
|
+
### Example
|
135
|
+
|
136
|
+
```ruby
|
137
|
+
# load the gem
|
138
|
+
require 'pulp_ostree_client'
|
139
|
+
# setup authorization
|
140
|
+
PulpOstreeClient.configure do |config|
|
141
|
+
# Configure HTTP basic authorization: basicAuth
|
142
|
+
config.username = 'YOUR USERNAME'
|
143
|
+
config.password = 'YOUR PASSWORD'
|
144
|
+
end
|
145
|
+
|
146
|
+
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
147
|
+
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
148
|
+
ostree_import_all = PulpOstreeClient::OstreeImportAll.new # OstreeImportAll |
|
149
|
+
|
150
|
+
begin
|
151
|
+
#Import refs and commits to a repository
|
152
|
+
result = api_instance.import_all(ostree_ostree_repository_href, ostree_import_all)
|
153
|
+
p result
|
154
|
+
rescue PulpOstreeClient::ApiError => e
|
155
|
+
puts "Exception when calling RepositoriesOstreeApi->import_all: #{e}"
|
156
|
+
end
|
157
|
+
```
|
158
|
+
|
159
|
+
### Parameters
|
160
|
+
|
161
|
+
|
162
|
+
Name | Type | Description | Notes
|
163
|
+
------------- | ------------- | ------------- | -------------
|
164
|
+
**ostree_ostree_repository_href** | **String**| |
|
165
|
+
**ostree_import_all** | [**OstreeImportAll**](OstreeImportAll.md)| |
|
166
|
+
|
167
|
+
### Return type
|
168
|
+
|
169
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
170
|
+
|
171
|
+
### Authorization
|
172
|
+
|
173
|
+
[basicAuth](../README.md#basicAuth)
|
174
|
+
|
175
|
+
### HTTP request headers
|
176
|
+
|
177
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
178
|
+
- **Accept**: application/json
|
179
|
+
|
180
|
+
|
125
181
|
## import_commits
|
126
182
|
|
127
|
-
> AsyncOperationResponse import_commits(ostree_ostree_repository_href,
|
183
|
+
> AsyncOperationResponse import_commits(ostree_ostree_repository_href, ostree_import_commits_to_ref)
|
128
184
|
|
129
|
-
|
185
|
+
Append child commits to a repository
|
130
186
|
|
131
|
-
Trigger an asynchronous task to
|
187
|
+
Trigger an asynchronous task to append child commits to a repository.
|
132
188
|
|
133
189
|
### Example
|
134
190
|
|
@@ -144,11 +200,11 @@ end
|
|
144
200
|
|
145
201
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
146
202
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
147
|
-
|
203
|
+
ostree_import_commits_to_ref = PulpOstreeClient::OstreeImportCommitsToRef.new # OstreeImportCommitsToRef |
|
148
204
|
|
149
205
|
begin
|
150
|
-
#
|
151
|
-
result = api_instance.import_commits(ostree_ostree_repository_href,
|
206
|
+
#Append child commits to a repository
|
207
|
+
result = api_instance.import_commits(ostree_ostree_repository_href, ostree_import_commits_to_ref)
|
152
208
|
p result
|
153
209
|
rescue PulpOstreeClient::ApiError => e
|
154
210
|
puts "Exception when calling RepositoriesOstreeApi->import_commits: #{e}"
|
@@ -161,7 +217,7 @@ end
|
|
161
217
|
Name | Type | Description | Notes
|
162
218
|
------------- | ------------- | ------------- | -------------
|
163
219
|
**ostree_ostree_repository_href** | **String**| |
|
164
|
-
**
|
220
|
+
**ostree_import_commits_to_ref** | [**OstreeImportCommitsToRef**](OstreeImportCommitsToRef.md)| |
|
165
221
|
|
166
222
|
### Return type
|
167
223
|
|
@@ -206,7 +262,7 @@ opts = {
|
|
206
262
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
207
263
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
208
264
|
offset: 56, # Integer | The initial index from which to return the results.
|
209
|
-
ordering: 'ordering_example', # String |
|
265
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
210
266
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
211
267
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
212
268
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -233,7 +289,7 @@ Name | Type | Description | Notes
|
|
233
289
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
234
290
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
235
291
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
236
|
-
**ordering** | **String
|
292
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
237
293
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
238
294
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
239
295
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
@@ -97,7 +97,7 @@ opts = {
|
|
97
97
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
98
98
|
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
99
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
100
|
-
ordering: 'ordering_example', # String |
|
100
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
101
101
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
102
102
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
103
103
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
|
|
133
133
|
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
134
134
|
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
135
135
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
136
|
-
**ordering** | **String
|
136
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
137
137
|
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
138
138
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
139
139
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
@@ -218,7 +218,7 @@ Name | Type | Description | Notes
|
|
218
218
|
|
219
219
|
## repair
|
220
220
|
|
221
|
-
> AsyncOperationResponse repair(ostree_ostree_repository_version_href,
|
221
|
+
> AsyncOperationResponse repair(ostree_ostree_repository_version_href, repair)
|
222
222
|
|
223
223
|
|
224
224
|
|
@@ -238,10 +238,10 @@ end
|
|
238
238
|
|
239
239
|
api_instance = PulpOstreeClient::RepositoriesOstreeVersionsApi.new
|
240
240
|
ostree_ostree_repository_version_href = 'ostree_ostree_repository_version_href_example' # String |
|
241
|
-
|
241
|
+
repair = PulpOstreeClient::Repair.new # Repair |
|
242
242
|
|
243
243
|
begin
|
244
|
-
result = api_instance.repair(ostree_ostree_repository_version_href,
|
244
|
+
result = api_instance.repair(ostree_ostree_repository_version_href, repair)
|
245
245
|
p result
|
246
246
|
rescue PulpOstreeClient::ApiError => e
|
247
247
|
puts "Exception when calling RepositoriesOstreeVersionsApi->repair: #{e}"
|
@@ -254,7 +254,7 @@ end
|
|
254
254
|
Name | Type | Description | Notes
|
255
255
|
------------- | ------------- | ------------- | -------------
|
256
256
|
**ostree_ostree_repository_version_href** | **String**| |
|
257
|
-
**
|
257
|
+
**repair** | [**Repair**](Repair.md)| |
|
258
258
|
|
259
259
|
### Return type
|
260
260
|
|
@@ -25,7 +25,7 @@ module PulpOstreeClient
|
|
25
25
|
# @option opts [String] :checksum Filter results where checksum matches value
|
26
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
27
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
28
|
-
# @option opts [String] :ordering
|
28
|
+
# @option opts [Array<String>] :ordering Ordering
|
29
29
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
30
30
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
31
31
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -43,7 +43,7 @@ module PulpOstreeClient
|
|
43
43
|
# @option opts [String] :checksum Filter results where checksum matches value
|
44
44
|
# @option opts [Integer] :limit Number of results to return per page.
|
45
45
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
|
-
# @option opts [String] :ordering
|
46
|
+
# @option opts [Array<String>] :ordering Ordering
|
47
47
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
48
48
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
49
49
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -54,6 +54,10 @@ module PulpOstreeClient
|
|
54
54
|
if @api_client.config.debugging
|
55
55
|
@api_client.config.logger.debug 'Calling API: ContentCommitsApi.list ...'
|
56
56
|
end
|
57
|
+
allowable_values = ["-_artifacts", "-checksum", "-content_ptr", "-contentartifact", "-group_roles", "-object_commit", "-objs", "-ostree_ostreecommit", "-parent_commit", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-refs_commit", "-relative_path", "-repositories", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "checksum", "content_ptr", "contentartifact", "group_roles", "object_commit", "objs", "ostree_ostreecommit", "parent_commit", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "refs_commit", "relative_path", "repositories", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
|
58
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
59
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
60
|
+
end
|
57
61
|
# resource path
|
58
62
|
local_var_path = '/pulp/api/v3/content/ostree/commits/'
|
59
63
|
|
@@ -62,7 +66,7 @@ module PulpOstreeClient
|
|
62
66
|
query_params[:'checksum'] = opts[:'checksum'] if !opts[:'checksum'].nil?
|
63
67
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
64
68
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
65
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
69
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
66
70
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
67
71
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
68
72
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -24,7 +24,7 @@ module PulpOstreeClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [String] :ordering
|
27
|
+
# @option opts [Array<String>] :ordering Ordering
|
28
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
29
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
30
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -41,7 +41,7 @@ module PulpOstreeClient
|
|
41
41
|
# @param [Hash] opts the optional parameters
|
42
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
43
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
44
|
-
# @option opts [String] :ordering
|
44
|
+
# @option opts [Array<String>] :ordering Ordering
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -52,6 +52,10 @@ module PulpOstreeClient
|
|
52
52
|
if @api_client.config.debugging
|
53
53
|
@api_client.config.logger.debug 'Calling API: ContentConfigsApi.list ...'
|
54
54
|
end
|
55
|
+
allowable_values = ["-pk", "pk"]
|
56
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
57
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
58
|
+
end
|
55
59
|
# resource path
|
56
60
|
local_var_path = '/pulp/api/v3/content/ostree/configs/'
|
57
61
|
|
@@ -59,7 +63,7 @@ module PulpOstreeClient
|
|
59
63
|
query_params = opts[:query_params] || {}
|
60
64
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
61
65
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
62
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
66
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
63
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
64
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
65
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|