pulp_ostree_client 2.0.0a1
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 +7 -0
- data/Gemfile +9 -0
- data/README.md +174 -0
- data/Rakefile +10 -0
- data/docs/AsyncOperationResponse.md +17 -0
- 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/ContentSummariesApi.md +138 -0
- data/docs/ContentSummary.md +21 -0
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsOstreeApi.md +372 -0
- data/docs/OstreeOstreeCommitResponse.md +25 -0
- data/docs/OstreeOstreeConfigResponse.md +21 -0
- data/docs/OstreeOstreeDistribution.md +27 -0
- data/docs/OstreeOstreeDistributionResponse.md +33 -0
- data/docs/OstreeOstreeObjectResponse.md +27 -0
- data/docs/OstreeOstreeRefResponse.md +25 -0
- data/docs/OstreeOstreeRemote.md +59 -0
- data/docs/OstreeOstreeRemoteResponse.md +55 -0
- data/docs/OstreeOstreeRepository.md +25 -0
- data/docs/OstreeOstreeRepositoryResponse.md +33 -0
- data/docs/OstreeOstreeSummaryResponse.md +21 -0
- data/docs/OstreeRepoImport.md +23 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +23 -0
- data/docs/PaginatedostreeOstreeCommitResponseList.md +23 -0
- data/docs/PaginatedostreeOstreeConfigResponseList.md +23 -0
- data/docs/PaginatedostreeOstreeDistributionResponseList.md +23 -0
- data/docs/PaginatedostreeOstreeObjectResponseList.md +23 -0
- data/docs/PaginatedostreeOstreeRefResponseList.md +23 -0
- data/docs/PaginatedostreeOstreeRemoteResponseList.md +23 -0
- data/docs/PaginatedostreeOstreeRepositoryResponseList.md +23 -0
- data/docs/PaginatedostreeOstreeSummaryResponseList.md +23 -0
- data/docs/PatchedostreeOstreeDistribution.md +27 -0
- data/docs/PatchedostreeOstreeRemote.md +59 -0
- data/docs/PatchedostreeOstreeRepository.md +25 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/RemotesOstreeApi.md +376 -0
- data/docs/RepositoriesOstreeApi.md +532 -0
- data/docs/RepositoriesOstreeVersionsApi.md +271 -0
- data/docs/RepositoryAddRemoveContent.md +21 -0
- data/docs/RepositorySyncURL.md +19 -0
- data/docs/RepositoryVersion.md +17 -0
- data/docs/RepositoryVersionResponse.md +27 -0
- data/git_push.sh +58 -0
- 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_summaries_api.rb +170 -0
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +457 -0
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +463 -0
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +655 -0
- data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +339 -0
- data/lib/pulp_ostree_client/api_client.rb +406 -0
- data/lib/pulp_ostree_client/api_error.rb +57 -0
- data/lib/pulp_ostree_client/configuration.rb +250 -0
- data/lib/pulp_ostree_client/models/async_operation_response.rb +213 -0
- data/lib/pulp_ostree_client/models/content_summary.rb +246 -0
- data/lib/pulp_ostree_client/models/content_summary_response.rb +246 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +256 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +232 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +270 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +299 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +275 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +260 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +536 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +510 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +270 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +307 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +232 -0
- data/lib/pulp_ostree_client/models/ostree_repo_import.rb +248 -0
- data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +237 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +237 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +237 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_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/paginatedostree_ostree_ref_response_list.rb +237 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +237 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +237 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +237 -0
- data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +260 -0
- data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +526 -0
- data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +265 -0
- data/lib/pulp_ostree_client/models/policy_enum.rb +36 -0
- data/lib/pulp_ostree_client/models/repository_add_remove_content.rb +232 -0
- data/lib/pulp_ostree_client/models/repository_sync_url.rb +220 -0
- data/lib/pulp_ostree_client/models/repository_version.rb +208 -0
- data/lib/pulp_ostree_client/models/repository_version_response.rb +255 -0
- data/lib/pulp_ostree_client/version.rb +15 -0
- data/lib/pulp_ostree_client.rb +80 -0
- data/pulp_ostree_client.gemspec +39 -0
- data/spec/api/content_commits_api_spec.rb +68 -0
- 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 +125 -0
- data/spec/api/remotes_ostree_api_spec.rb +127 -0
- data/spec/api/repositories_ostree_api_spec.rb +160 -0
- data/spec/api/repositories_ostree_versions_api_spec.rb +104 -0
- data/spec/api_client_spec.rb +188 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/async_operation_response_spec.rb +41 -0
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +53 -0
- data/spec/models/ostree_ostree_commit_response_spec.rb +65 -0
- data/spec/models/ostree_ostree_config_response_spec.rb +53 -0
- data/spec/models/ostree_ostree_distribution_response_spec.rb +89 -0
- data/spec/models/ostree_ostree_distribution_spec.rb +71 -0
- data/spec/models/ostree_ostree_object_response_spec.rb +71 -0
- data/spec/models/ostree_ostree_ref_response_spec.rb +65 -0
- data/spec/models/ostree_ostree_remote_response_spec.rb +155 -0
- data/spec/models/ostree_ostree_remote_spec.rb +167 -0
- data/spec/models/ostree_ostree_repository_response_spec.rb +89 -0
- data/spec/models/ostree_ostree_repository_spec.rb +65 -0
- data/spec/models/ostree_ostree_summary_response_spec.rb +53 -0
- data/spec/models/ostree_repo_import_spec.rb +59 -0
- data/spec/models/paginated_repository_version_response_list_spec.rb +59 -0
- data/spec/models/paginatedostree_ostree_commit_response_list_spec.rb +59 -0
- data/spec/models/paginatedostree_ostree_config_response_list_spec.rb +59 -0
- data/spec/models/paginatedostree_ostree_distribution_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_remote_response_list_spec.rb +59 -0
- data/spec/models/paginatedostree_ostree_repository_response_list_spec.rb +59 -0
- data/spec/models/paginatedostree_ostree_summary_response_list_spec.rb +59 -0
- data/spec/models/patchedostree_ostree_distribution_spec.rb +71 -0
- data/spec/models/patchedostree_ostree_remote_spec.rb +167 -0
- data/spec/models/patchedostree_ostree_repository_spec.rb +65 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/repository_add_remove_content_spec.rb +53 -0
- data/spec/models/repository_sync_url_spec.rb +47 -0
- data/spec/models/repository_version_response_spec.rb +71 -0
- data/spec/models/repository_version_spec.rb +41 -0
- data/spec/spec_helper.rb +111 -0
- metadata +277 -0
|
@@ -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
|
+
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# PulpOstreeClient::ContentRefsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**list**](ContentRefsApi.md#list) | **GET** /pulp/api/v3/content/ostree/refs/ | List ostree refs
|
|
8
|
+
[**read**](ContentRefsApi.md#read) | **GET** {ostree_ostree_ref_href} | Inspect an ostree ref
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## list
|
|
13
|
+
|
|
14
|
+
> PaginatedostreeOstreeRefResponseList list(opts)
|
|
15
|
+
|
|
16
|
+
List ostree refs
|
|
17
|
+
|
|
18
|
+
A ViewSet class for OSTree head 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::ContentRefsApi.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 refs
|
|
46
|
+
result = api_instance.list(opts)
|
|
47
|
+
p result
|
|
48
|
+
rescue PulpOstreeClient::ApiError => e
|
|
49
|
+
puts "Exception when calling ContentRefsApi->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
|
+
[**PaginatedostreeOstreeRefResponseList**](PaginatedostreeOstreeRefResponseList.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
|
+
> OstreeOstreeRefResponse read(ostree_ostree_ref_href, opts)
|
|
84
|
+
|
|
85
|
+
Inspect an ostree ref
|
|
86
|
+
|
|
87
|
+
A ViewSet class for OSTree head 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::ContentRefsApi.new
|
|
102
|
+
ostree_ostree_ref_href = 'ostree_ostree_ref_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 ref
|
|
110
|
+
result = api_instance.read(ostree_ostree_ref_href, opts)
|
|
111
|
+
p result
|
|
112
|
+
rescue PulpOstreeClient::ApiError => e
|
|
113
|
+
puts "Exception when calling ContentRefsApi->read: #{e}"
|
|
114
|
+
end
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Parameters
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
Name | Type | Description | Notes
|
|
121
|
+
------------- | ------------- | ------------- | -------------
|
|
122
|
+
**ostree_ostree_ref_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
|
+
[**OstreeOstreeRefResponse**](OstreeOstreeRefResponse.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::ContentSummariesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**list**](ContentSummariesApi.md#list) | **GET** /pulp/api/v3/content/ostree/summaries/ | List ostree summarys
|
|
8
|
+
[**read**](ContentSummariesApi.md#read) | **GET** {ostree_ostree_summary_href} | Inspect an ostree summary
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## list
|
|
13
|
+
|
|
14
|
+
> PaginatedostreeOstreeSummaryResponseList list(opts)
|
|
15
|
+
|
|
16
|
+
List ostree summarys
|
|
17
|
+
|
|
18
|
+
A ViewSet class for OSTree repository summary files.
|
|
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::ContentSummariesApi.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 summarys
|
|
46
|
+
result = api_instance.list(opts)
|
|
47
|
+
p result
|
|
48
|
+
rescue PulpOstreeClient::ApiError => e
|
|
49
|
+
puts "Exception when calling ContentSummariesApi->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
|
+
[**PaginatedostreeOstreeSummaryResponseList**](PaginatedostreeOstreeSummaryResponseList.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
|
+
> OstreeOstreeSummaryResponse read(ostree_ostree_summary_href, opts)
|
|
84
|
+
|
|
85
|
+
Inspect an ostree summary
|
|
86
|
+
|
|
87
|
+
A ViewSet class for OSTree repository summary files.
|
|
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::ContentSummariesApi.new
|
|
102
|
+
ostree_ostree_summary_href = 'ostree_ostree_summary_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 summary
|
|
110
|
+
result = api_instance.read(ostree_ostree_summary_href, opts)
|
|
111
|
+
p result
|
|
112
|
+
rescue PulpOstreeClient::ApiError => e
|
|
113
|
+
puts "Exception when calling ContentSummariesApi->read: #{e}"
|
|
114
|
+
end
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Parameters
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
Name | Type | Description | Notes
|
|
121
|
+
------------- | ------------- | ------------- | -------------
|
|
122
|
+
**ostree_ostree_summary_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
|
+
[**OstreeOstreeSummaryResponse**](OstreeOstreeSummaryResponse.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,21 @@
|
|
|
1
|
+
# PulpOstreeClient::ContentSummary
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**added** | **Hash<String, Object>** | |
|
|
8
|
+
**removed** | **Hash<String, Object>** | |
|
|
9
|
+
**present** | **Hash<String, Object>** | |
|
|
10
|
+
|
|
11
|
+
## Code Sample
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'PulpOstreeClient'
|
|
15
|
+
|
|
16
|
+
instance = PulpOstreeClient::ContentSummary.new(added: null,
|
|
17
|
+
removed: null,
|
|
18
|
+
present: null)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# PulpOstreeClient::ContentSummaryResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**added** | **Hash<String, Object>** | |
|
|
8
|
+
**removed** | **Hash<String, Object>** | |
|
|
9
|
+
**present** | **Hash<String, Object>** | |
|
|
10
|
+
|
|
11
|
+
## Code Sample
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'PulpOstreeClient'
|
|
15
|
+
|
|
16
|
+
instance = PulpOstreeClient::ContentSummaryResponse.new(added: null,
|
|
17
|
+
removed: null,
|
|
18
|
+
present: null)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
|