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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '098c8b3fc03e3fdd09a6c7f26f0a40d2fce2ba583f97e2db1b4a8b0106b65a0a'
|
4
|
+
data.tar.gz: 434123eff501931a3df66620cd906257a7b23c19683b7722b7f71e70fd86e2d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d490d295c5e495a186c547823c9cea4b5e72f127004f300c41dfe3dc1a0d601a87298990f9a5188e4a60589cac57e8b8830ebe2eed4a4ddf113c87726bcdeae2
|
7
|
+
data.tar.gz: 466ed753f18c184e0cd33aafc4bf95d4271e2decb1b02e20fcff76d50f321606727fabff3dc68453047fd2e7dfd96c2cc09c8b754c8277df8f0e8909f2addc3c
|
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.0a1.
|
10
|
+
- Package version: 2.0.0a1.dev1631416829
|
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.0a1.
|
27
|
+
gem install ./pulp_ostree_client-2.0.0a1.dev1631416829.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ostree_client-2.0.0a1.
|
30
|
+
(for development, run `gem install --dev ./pulp_ostree_client-2.0.0a1.dev1631416829.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.0a1.
|
36
|
+
gem 'pulp_ostree_client', '~> 2.0.0a1.dev1631416829'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -64,38 +64,50 @@ PulpOstreeClient.configure do |config|
|
|
64
64
|
config.password = 'YOUR_PASSWORD'
|
65
65
|
end
|
66
66
|
|
67
|
-
api_instance = PulpOstreeClient::
|
68
|
-
|
67
|
+
api_instance = PulpOstreeClient::ContentCommitsApi.new
|
68
|
+
opts = {
|
69
|
+
limit: 56, # Integer | Number of results to return per page.
|
70
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
71
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
72
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
73
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
74
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
75
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
76
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
77
|
+
}
|
69
78
|
|
70
79
|
begin
|
71
|
-
#
|
72
|
-
result = api_instance.
|
80
|
+
#List ostree commits
|
81
|
+
result = api_instance.list(opts)
|
73
82
|
p result
|
74
83
|
rescue PulpOstreeClient::ApiError => e
|
75
|
-
puts "Exception when calling
|
84
|
+
puts "Exception when calling ContentCommitsApi->list: #{e}"
|
76
85
|
end
|
77
86
|
|
78
87
|
```
|
79
88
|
|
80
89
|
## Documentation for API Endpoints
|
81
90
|
|
82
|
-
All URIs are relative to *
|
91
|
+
All URIs are relative to *https://pulp*
|
83
92
|
|
84
93
|
Class | Method | HTTP request | Description
|
85
94
|
------------ | ------------- | ------------- | -------------
|
86
|
-
*PulpOstreeClient::
|
87
|
-
*PulpOstreeClient::
|
88
|
-
*PulpOstreeClient::
|
95
|
+
*PulpOstreeClient::ContentCommitsApi* | [**list**](docs/ContentCommitsApi.md#list) | **GET** /pulp/api/v3/content/ostree/commits/ | List ostree commits
|
96
|
+
*PulpOstreeClient::ContentCommitsApi* | [**read**](docs/ContentCommitsApi.md#read) | **GET** {ostree_ostree_commit_href} | Inspect an ostree commit
|
97
|
+
*PulpOstreeClient::ContentConfigsApi* | [**list**](docs/ContentConfigsApi.md#list) | **GET** /pulp/api/v3/content/ostree/configs/ | List ostree configs
|
98
|
+
*PulpOstreeClient::ContentConfigsApi* | [**read**](docs/ContentConfigsApi.md#read) | **GET** {ostree_ostree_config_href} | Inspect an ostree config
|
99
|
+
*PulpOstreeClient::ContentObjectsApi* | [**list**](docs/ContentObjectsApi.md#list) | **GET** /pulp/api/v3/content/ostree/objects/ | List ostree objects
|
100
|
+
*PulpOstreeClient::ContentObjectsApi* | [**read**](docs/ContentObjectsApi.md#read) | **GET** {ostree_ostree_object_href} | Inspect an ostree object
|
101
|
+
*PulpOstreeClient::ContentRefsApi* | [**list**](docs/ContentRefsApi.md#list) | **GET** /pulp/api/v3/content/ostree/refs/ | List ostree refs
|
102
|
+
*PulpOstreeClient::ContentRefsApi* | [**read**](docs/ContentRefsApi.md#read) | **GET** {ostree_ostree_ref_href} | Inspect an ostree ref
|
103
|
+
*PulpOstreeClient::ContentSummariesApi* | [**list**](docs/ContentSummariesApi.md#list) | **GET** /pulp/api/v3/content/ostree/summaries/ | List ostree summarys
|
104
|
+
*PulpOstreeClient::ContentSummariesApi* | [**read**](docs/ContentSummariesApi.md#read) | **GET** {ostree_ostree_summary_href} | Inspect an ostree summary
|
89
105
|
*PulpOstreeClient::DistributionsOstreeApi* | [**create**](docs/DistributionsOstreeApi.md#create) | **POST** /pulp/api/v3/distributions/ostree/ostree/ | Create an ostree distribution
|
90
106
|
*PulpOstreeClient::DistributionsOstreeApi* | [**delete**](docs/DistributionsOstreeApi.md#delete) | **DELETE** {ostree_ostree_distribution_href} | Delete an ostree distribution
|
91
107
|
*PulpOstreeClient::DistributionsOstreeApi* | [**list**](docs/DistributionsOstreeApi.md#list) | **GET** /pulp/api/v3/distributions/ostree/ostree/ | List ostree distributions
|
92
108
|
*PulpOstreeClient::DistributionsOstreeApi* | [**partial_update**](docs/DistributionsOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_distribution_href} | Update an ostree distribution
|
93
109
|
*PulpOstreeClient::DistributionsOstreeApi* | [**read**](docs/DistributionsOstreeApi.md#read) | **GET** {ostree_ostree_distribution_href} | Inspect an ostree distribution
|
94
110
|
*PulpOstreeClient::DistributionsOstreeApi* | [**update**](docs/DistributionsOstreeApi.md#update) | **PUT** {ostree_ostree_distribution_href} | Update an ostree distribution
|
95
|
-
*PulpOstreeClient::PublicationsOstreeApi* | [**create**](docs/PublicationsOstreeApi.md#create) | **POST** /pulp/api/v3/publications/ostree/ostree/ | Create an ostree publication
|
96
|
-
*PulpOstreeClient::PublicationsOstreeApi* | [**delete**](docs/PublicationsOstreeApi.md#delete) | **DELETE** {ostree_ostree_publication_href} | Delete an ostree publication
|
97
|
-
*PulpOstreeClient::PublicationsOstreeApi* | [**list**](docs/PublicationsOstreeApi.md#list) | **GET** /pulp/api/v3/publications/ostree/ostree/ | List ostree publications
|
98
|
-
*PulpOstreeClient::PublicationsOstreeApi* | [**read**](docs/PublicationsOstreeApi.md#read) | **GET** {ostree_ostree_publication_href} | Inspect an ostree publication
|
99
111
|
*PulpOstreeClient::RemotesOstreeApi* | [**create**](docs/RemotesOstreeApi.md#create) | **POST** /pulp/api/v3/remotes/ostree/ostree/ | Create an ostree remote
|
100
112
|
*PulpOstreeClient::RemotesOstreeApi* | [**delete**](docs/RemotesOstreeApi.md#delete) | **DELETE** {ostree_ostree_remote_href} | Delete an ostree remote
|
101
113
|
*PulpOstreeClient::RemotesOstreeApi* | [**list**](docs/RemotesOstreeApi.md#list) | **GET** /pulp/api/v3/remotes/ostree/ostree/ | List ostree remotes
|
@@ -104,6 +116,7 @@ Class | Method | HTTP request | Description
|
|
104
116
|
*PulpOstreeClient::RemotesOstreeApi* | [**update**](docs/RemotesOstreeApi.md#update) | **PUT** {ostree_ostree_remote_href} | Update an ostree remote
|
105
117
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**create**](docs/RepositoriesOstreeApi.md#create) | **POST** /pulp/api/v3/repositories/ostree/ostree/ | Create an ostree repository
|
106
118
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**delete**](docs/RepositoriesOstreeApi.md#delete) | **DELETE** {ostree_ostree_repository_href} | Delete an ostree repository
|
119
|
+
*PulpOstreeClient::RepositoriesOstreeApi* | [**import_commits**](docs/RepositoriesOstreeApi.md#import_commits) | **POST** {ostree_ostree_repository_href}import_commits/ | Import commits to a repository
|
107
120
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**list**](docs/RepositoriesOstreeApi.md#list) | **GET** /pulp/api/v3/repositories/ostree/ostree/ | List ostree repositorys
|
108
121
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**modify**](docs/RepositoriesOstreeApi.md#modify) | **POST** {ostree_ostree_repository_href}modify/ | Modify Repository Content
|
109
122
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**partial_update**](docs/RepositoriesOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_repository_href} | Update an ostree repository
|
@@ -121,22 +134,27 @@ Class | Method | HTTP request | Description
|
|
121
134
|
- [PulpOstreeClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
122
135
|
- [PulpOstreeClient::ContentSummary](docs/ContentSummary.md)
|
123
136
|
- [PulpOstreeClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
124
|
-
- [PulpOstreeClient::
|
125
|
-
- [PulpOstreeClient::
|
137
|
+
- [PulpOstreeClient::OstreeOstreeCommitResponse](docs/OstreeOstreeCommitResponse.md)
|
138
|
+
- [PulpOstreeClient::OstreeOstreeConfigResponse](docs/OstreeOstreeConfigResponse.md)
|
126
139
|
- [PulpOstreeClient::OstreeOstreeDistribution](docs/OstreeOstreeDistribution.md)
|
127
140
|
- [PulpOstreeClient::OstreeOstreeDistributionResponse](docs/OstreeOstreeDistributionResponse.md)
|
128
|
-
- [PulpOstreeClient::
|
129
|
-
- [PulpOstreeClient::
|
141
|
+
- [PulpOstreeClient::OstreeOstreeObjectResponse](docs/OstreeOstreeObjectResponse.md)
|
142
|
+
- [PulpOstreeClient::OstreeOstreeRefResponse](docs/OstreeOstreeRefResponse.md)
|
130
143
|
- [PulpOstreeClient::OstreeOstreeRemote](docs/OstreeOstreeRemote.md)
|
131
144
|
- [PulpOstreeClient::OstreeOstreeRemoteResponse](docs/OstreeOstreeRemoteResponse.md)
|
132
145
|
- [PulpOstreeClient::OstreeOstreeRepository](docs/OstreeOstreeRepository.md)
|
133
146
|
- [PulpOstreeClient::OstreeOstreeRepositoryResponse](docs/OstreeOstreeRepositoryResponse.md)
|
147
|
+
- [PulpOstreeClient::OstreeOstreeSummaryResponse](docs/OstreeOstreeSummaryResponse.md)
|
148
|
+
- [PulpOstreeClient::OstreeRepoImport](docs/OstreeRepoImport.md)
|
134
149
|
- [PulpOstreeClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
135
|
-
- [PulpOstreeClient::
|
150
|
+
- [PulpOstreeClient::PaginatedostreeOstreeCommitResponseList](docs/PaginatedostreeOstreeCommitResponseList.md)
|
151
|
+
- [PulpOstreeClient::PaginatedostreeOstreeConfigResponseList](docs/PaginatedostreeOstreeConfigResponseList.md)
|
136
152
|
- [PulpOstreeClient::PaginatedostreeOstreeDistributionResponseList](docs/PaginatedostreeOstreeDistributionResponseList.md)
|
137
|
-
- [PulpOstreeClient::
|
153
|
+
- [PulpOstreeClient::PaginatedostreeOstreeObjectResponseList](docs/PaginatedostreeOstreeObjectResponseList.md)
|
154
|
+
- [PulpOstreeClient::PaginatedostreeOstreeRefResponseList](docs/PaginatedostreeOstreeRefResponseList.md)
|
138
155
|
- [PulpOstreeClient::PaginatedostreeOstreeRemoteResponseList](docs/PaginatedostreeOstreeRemoteResponseList.md)
|
139
156
|
- [PulpOstreeClient::PaginatedostreeOstreeRepositoryResponseList](docs/PaginatedostreeOstreeRepositoryResponseList.md)
|
157
|
+
- [PulpOstreeClient::PaginatedostreeOstreeSummaryResponseList](docs/PaginatedostreeOstreeSummaryResponseList.md)
|
140
158
|
- [PulpOstreeClient::PatchedostreeOstreeDistribution](docs/PatchedostreeOstreeDistribution.md)
|
141
159
|
- [PulpOstreeClient::PatchedostreeOstreeRemote](docs/PatchedostreeOstreeRemote.md)
|
142
160
|
- [PulpOstreeClient::PatchedostreeOstreeRepository](docs/PatchedostreeOstreeRepository.md)
|
@@ -0,0 +1,138 @@
|
|
1
|
+
# PulpOstreeClient::ContentCommitsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](ContentCommitsApi.md#list) | **GET** /pulp/api/v3/content/ostree/commits/ | List ostree commits
|
8
|
+
[**read**](ContentCommitsApi.md#read) | **GET** {ostree_ostree_commit_href} | Inspect an ostree commit
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## list
|
13
|
+
|
14
|
+
> PaginatedostreeOstreeCommitResponseList list(opts)
|
15
|
+
|
16
|
+
List ostree commits
|
17
|
+
|
18
|
+
A ViewSet class for OSTree commits.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'pulp_ostree_client'
|
25
|
+
# setup authorization
|
26
|
+
PulpOstreeClient.configure do |config|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
28
|
+
config.username = 'YOUR USERNAME'
|
29
|
+
config.password = 'YOUR PASSWORD'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = PulpOstreeClient::ContentCommitsApi.new
|
33
|
+
opts = {
|
34
|
+
limit: 56, # Integer | Number of results to return per page.
|
35
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
36
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
37
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
38
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
39
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
40
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
41
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
42
|
+
}
|
43
|
+
|
44
|
+
begin
|
45
|
+
#List ostree commits
|
46
|
+
result = api_instance.list(opts)
|
47
|
+
p result
|
48
|
+
rescue PulpOstreeClient::ApiError => e
|
49
|
+
puts "Exception when calling ContentCommitsApi->list: #{e}"
|
50
|
+
end
|
51
|
+
```
|
52
|
+
|
53
|
+
### Parameters
|
54
|
+
|
55
|
+
|
56
|
+
Name | Type | Description | Notes
|
57
|
+
------------- | ------------- | ------------- | -------------
|
58
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
59
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
60
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
61
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
62
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
63
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
64
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
65
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
66
|
+
|
67
|
+
### Return type
|
68
|
+
|
69
|
+
[**PaginatedostreeOstreeCommitResponseList**](PaginatedostreeOstreeCommitResponseList.md)
|
70
|
+
|
71
|
+
### Authorization
|
72
|
+
|
73
|
+
[basicAuth](../README.md#basicAuth)
|
74
|
+
|
75
|
+
### HTTP request headers
|
76
|
+
|
77
|
+
- **Content-Type**: Not defined
|
78
|
+
- **Accept**: application/json
|
79
|
+
|
80
|
+
|
81
|
+
## read
|
82
|
+
|
83
|
+
> OstreeOstreeCommitResponse read(ostree_ostree_commit_href, opts)
|
84
|
+
|
85
|
+
Inspect an ostree commit
|
86
|
+
|
87
|
+
A ViewSet class for OSTree commits.
|
88
|
+
|
89
|
+
### Example
|
90
|
+
|
91
|
+
```ruby
|
92
|
+
# load the gem
|
93
|
+
require 'pulp_ostree_client'
|
94
|
+
# setup authorization
|
95
|
+
PulpOstreeClient.configure do |config|
|
96
|
+
# Configure HTTP basic authorization: basicAuth
|
97
|
+
config.username = 'YOUR USERNAME'
|
98
|
+
config.password = 'YOUR PASSWORD'
|
99
|
+
end
|
100
|
+
|
101
|
+
api_instance = PulpOstreeClient::ContentCommitsApi.new
|
102
|
+
ostree_ostree_commit_href = 'ostree_ostree_commit_href_example' # String |
|
103
|
+
opts = {
|
104
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
105
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
106
|
+
}
|
107
|
+
|
108
|
+
begin
|
109
|
+
#Inspect an ostree commit
|
110
|
+
result = api_instance.read(ostree_ostree_commit_href, opts)
|
111
|
+
p result
|
112
|
+
rescue PulpOstreeClient::ApiError => e
|
113
|
+
puts "Exception when calling ContentCommitsApi->read: #{e}"
|
114
|
+
end
|
115
|
+
```
|
116
|
+
|
117
|
+
### Parameters
|
118
|
+
|
119
|
+
|
120
|
+
Name | Type | Description | Notes
|
121
|
+
------------- | ------------- | ------------- | -------------
|
122
|
+
**ostree_ostree_commit_href** | **String**| |
|
123
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
124
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
125
|
+
|
126
|
+
### Return type
|
127
|
+
|
128
|
+
[**OstreeOstreeCommitResponse**](OstreeOstreeCommitResponse.md)
|
129
|
+
|
130
|
+
### Authorization
|
131
|
+
|
132
|
+
[basicAuth](../README.md#basicAuth)
|
133
|
+
|
134
|
+
### HTTP request headers
|
135
|
+
|
136
|
+
- **Content-Type**: Not defined
|
137
|
+
- **Accept**: application/json
|
138
|
+
|
@@ -0,0 +1,138 @@
|
|
1
|
+
# PulpOstreeClient::ContentConfigsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](ContentConfigsApi.md#list) | **GET** /pulp/api/v3/content/ostree/configs/ | List ostree configs
|
8
|
+
[**read**](ContentConfigsApi.md#read) | **GET** {ostree_ostree_config_href} | Inspect an ostree config
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## list
|
13
|
+
|
14
|
+
> PaginatedostreeOstreeConfigResponseList list(opts)
|
15
|
+
|
16
|
+
List ostree configs
|
17
|
+
|
18
|
+
A ViewSet class for OSTree repository configurations.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'pulp_ostree_client'
|
25
|
+
# setup authorization
|
26
|
+
PulpOstreeClient.configure do |config|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
28
|
+
config.username = 'YOUR USERNAME'
|
29
|
+
config.password = 'YOUR PASSWORD'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = PulpOstreeClient::ContentConfigsApi.new
|
33
|
+
opts = {
|
34
|
+
limit: 56, # Integer | Number of results to return per page.
|
35
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
36
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
37
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
38
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
39
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
40
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
41
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
42
|
+
}
|
43
|
+
|
44
|
+
begin
|
45
|
+
#List ostree configs
|
46
|
+
result = api_instance.list(opts)
|
47
|
+
p result
|
48
|
+
rescue PulpOstreeClient::ApiError => e
|
49
|
+
puts "Exception when calling ContentConfigsApi->list: #{e}"
|
50
|
+
end
|
51
|
+
```
|
52
|
+
|
53
|
+
### Parameters
|
54
|
+
|
55
|
+
|
56
|
+
Name | Type | Description | Notes
|
57
|
+
------------- | ------------- | ------------- | -------------
|
58
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
59
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
60
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
61
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
62
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
63
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
64
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
65
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
66
|
+
|
67
|
+
### Return type
|
68
|
+
|
69
|
+
[**PaginatedostreeOstreeConfigResponseList**](PaginatedostreeOstreeConfigResponseList.md)
|
70
|
+
|
71
|
+
### Authorization
|
72
|
+
|
73
|
+
[basicAuth](../README.md#basicAuth)
|
74
|
+
|
75
|
+
### HTTP request headers
|
76
|
+
|
77
|
+
- **Content-Type**: Not defined
|
78
|
+
- **Accept**: application/json
|
79
|
+
|
80
|
+
|
81
|
+
## read
|
82
|
+
|
83
|
+
> OstreeOstreeConfigResponse read(ostree_ostree_config_href, opts)
|
84
|
+
|
85
|
+
Inspect an ostree config
|
86
|
+
|
87
|
+
A ViewSet class for OSTree repository configurations.
|
88
|
+
|
89
|
+
### Example
|
90
|
+
|
91
|
+
```ruby
|
92
|
+
# load the gem
|
93
|
+
require 'pulp_ostree_client'
|
94
|
+
# setup authorization
|
95
|
+
PulpOstreeClient.configure do |config|
|
96
|
+
# Configure HTTP basic authorization: basicAuth
|
97
|
+
config.username = 'YOUR USERNAME'
|
98
|
+
config.password = 'YOUR PASSWORD'
|
99
|
+
end
|
100
|
+
|
101
|
+
api_instance = PulpOstreeClient::ContentConfigsApi.new
|
102
|
+
ostree_ostree_config_href = 'ostree_ostree_config_href_example' # String |
|
103
|
+
opts = {
|
104
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
105
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
106
|
+
}
|
107
|
+
|
108
|
+
begin
|
109
|
+
#Inspect an ostree config
|
110
|
+
result = api_instance.read(ostree_ostree_config_href, opts)
|
111
|
+
p result
|
112
|
+
rescue PulpOstreeClient::ApiError => e
|
113
|
+
puts "Exception when calling ContentConfigsApi->read: #{e}"
|
114
|
+
end
|
115
|
+
```
|
116
|
+
|
117
|
+
### Parameters
|
118
|
+
|
119
|
+
|
120
|
+
Name | Type | Description | Notes
|
121
|
+
------------- | ------------- | ------------- | -------------
|
122
|
+
**ostree_ostree_config_href** | **String**| |
|
123
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
124
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
125
|
+
|
126
|
+
### Return type
|
127
|
+
|
128
|
+
[**OstreeOstreeConfigResponse**](OstreeOstreeConfigResponse.md)
|
129
|
+
|
130
|
+
### Authorization
|
131
|
+
|
132
|
+
[basicAuth](../README.md#basicAuth)
|
133
|
+
|
134
|
+
### HTTP request headers
|
135
|
+
|
136
|
+
- **Content-Type**: Not defined
|
137
|
+
- **Accept**: application/json
|
138
|
+
|
@@ -0,0 +1,138 @@
|
|
1
|
+
# PulpOstreeClient::ContentObjectsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](ContentObjectsApi.md#list) | **GET** /pulp/api/v3/content/ostree/objects/ | List ostree objects
|
8
|
+
[**read**](ContentObjectsApi.md#read) | **GET** {ostree_ostree_object_href} | Inspect an ostree object
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## list
|
13
|
+
|
14
|
+
> PaginatedostreeOstreeObjectResponseList list(opts)
|
15
|
+
|
16
|
+
List ostree objects
|
17
|
+
|
18
|
+
A ViewSet class for OSTree objects (e.g., dirtree, dirmeta, file).
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'pulp_ostree_client'
|
25
|
+
# setup authorization
|
26
|
+
PulpOstreeClient.configure do |config|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
28
|
+
config.username = 'YOUR USERNAME'
|
29
|
+
config.password = 'YOUR PASSWORD'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = PulpOstreeClient::ContentObjectsApi.new
|
33
|
+
opts = {
|
34
|
+
limit: 56, # Integer | Number of results to return per page.
|
35
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
36
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
37
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
38
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
39
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
40
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
41
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
42
|
+
}
|
43
|
+
|
44
|
+
begin
|
45
|
+
#List ostree objects
|
46
|
+
result = api_instance.list(opts)
|
47
|
+
p result
|
48
|
+
rescue PulpOstreeClient::ApiError => e
|
49
|
+
puts "Exception when calling ContentObjectsApi->list: #{e}"
|
50
|
+
end
|
51
|
+
```
|
52
|
+
|
53
|
+
### Parameters
|
54
|
+
|
55
|
+
|
56
|
+
Name | Type | Description | Notes
|
57
|
+
------------- | ------------- | ------------- | -------------
|
58
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
59
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
60
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
61
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
62
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
63
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
64
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
65
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
66
|
+
|
67
|
+
### Return type
|
68
|
+
|
69
|
+
[**PaginatedostreeOstreeObjectResponseList**](PaginatedostreeOstreeObjectResponseList.md)
|
70
|
+
|
71
|
+
### Authorization
|
72
|
+
|
73
|
+
[basicAuth](../README.md#basicAuth)
|
74
|
+
|
75
|
+
### HTTP request headers
|
76
|
+
|
77
|
+
- **Content-Type**: Not defined
|
78
|
+
- **Accept**: application/json
|
79
|
+
|
80
|
+
|
81
|
+
## read
|
82
|
+
|
83
|
+
> OstreeOstreeObjectResponse read(ostree_ostree_object_href, opts)
|
84
|
+
|
85
|
+
Inspect an ostree object
|
86
|
+
|
87
|
+
A ViewSet class for OSTree objects (e.g., dirtree, dirmeta, file).
|
88
|
+
|
89
|
+
### Example
|
90
|
+
|
91
|
+
```ruby
|
92
|
+
# load the gem
|
93
|
+
require 'pulp_ostree_client'
|
94
|
+
# setup authorization
|
95
|
+
PulpOstreeClient.configure do |config|
|
96
|
+
# Configure HTTP basic authorization: basicAuth
|
97
|
+
config.username = 'YOUR USERNAME'
|
98
|
+
config.password = 'YOUR PASSWORD'
|
99
|
+
end
|
100
|
+
|
101
|
+
api_instance = PulpOstreeClient::ContentObjectsApi.new
|
102
|
+
ostree_ostree_object_href = 'ostree_ostree_object_href_example' # String |
|
103
|
+
opts = {
|
104
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
105
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
106
|
+
}
|
107
|
+
|
108
|
+
begin
|
109
|
+
#Inspect an ostree object
|
110
|
+
result = api_instance.read(ostree_ostree_object_href, opts)
|
111
|
+
p result
|
112
|
+
rescue PulpOstreeClient::ApiError => e
|
113
|
+
puts "Exception when calling ContentObjectsApi->read: #{e}"
|
114
|
+
end
|
115
|
+
```
|
116
|
+
|
117
|
+
### Parameters
|
118
|
+
|
119
|
+
|
120
|
+
Name | Type | Description | Notes
|
121
|
+
------------- | ------------- | ------------- | -------------
|
122
|
+
**ostree_ostree_object_href** | **String**| |
|
123
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
124
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
125
|
+
|
126
|
+
### Return type
|
127
|
+
|
128
|
+
[**OstreeOstreeObjectResponse**](OstreeOstreeObjectResponse.md)
|
129
|
+
|
130
|
+
### Authorization
|
131
|
+
|
132
|
+
[basicAuth](../README.md#basicAuth)
|
133
|
+
|
134
|
+
### HTTP request headers
|
135
|
+
|
136
|
+
- **Content-Type**: Not defined
|
137
|
+
- **Accept**: application/json
|
138
|
+
|