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.
Files changed (138) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +174 -0
  4. data/Rakefile +10 -0
  5. data/docs/AsyncOperationResponse.md +17 -0
  6. data/docs/ContentCommitsApi.md +138 -0
  7. data/docs/ContentConfigsApi.md +138 -0
  8. data/docs/ContentObjectsApi.md +138 -0
  9. data/docs/ContentRefsApi.md +138 -0
  10. data/docs/ContentSummariesApi.md +138 -0
  11. data/docs/ContentSummary.md +21 -0
  12. data/docs/ContentSummaryResponse.md +21 -0
  13. data/docs/DistributionsOstreeApi.md +372 -0
  14. data/docs/OstreeOstreeCommitResponse.md +25 -0
  15. data/docs/OstreeOstreeConfigResponse.md +21 -0
  16. data/docs/OstreeOstreeDistribution.md +27 -0
  17. data/docs/OstreeOstreeDistributionResponse.md +33 -0
  18. data/docs/OstreeOstreeObjectResponse.md +27 -0
  19. data/docs/OstreeOstreeRefResponse.md +25 -0
  20. data/docs/OstreeOstreeRemote.md +59 -0
  21. data/docs/OstreeOstreeRemoteResponse.md +55 -0
  22. data/docs/OstreeOstreeRepository.md +25 -0
  23. data/docs/OstreeOstreeRepositoryResponse.md +33 -0
  24. data/docs/OstreeOstreeSummaryResponse.md +21 -0
  25. data/docs/OstreeRepoImport.md +23 -0
  26. data/docs/PaginatedRepositoryVersionResponseList.md +23 -0
  27. data/docs/PaginatedostreeOstreeCommitResponseList.md +23 -0
  28. data/docs/PaginatedostreeOstreeConfigResponseList.md +23 -0
  29. data/docs/PaginatedostreeOstreeDistributionResponseList.md +23 -0
  30. data/docs/PaginatedostreeOstreeObjectResponseList.md +23 -0
  31. data/docs/PaginatedostreeOstreeRefResponseList.md +23 -0
  32. data/docs/PaginatedostreeOstreeRemoteResponseList.md +23 -0
  33. data/docs/PaginatedostreeOstreeRepositoryResponseList.md +23 -0
  34. data/docs/PaginatedostreeOstreeSummaryResponseList.md +23 -0
  35. data/docs/PatchedostreeOstreeDistribution.md +27 -0
  36. data/docs/PatchedostreeOstreeRemote.md +59 -0
  37. data/docs/PatchedostreeOstreeRepository.md +25 -0
  38. data/docs/PolicyEnum.md +16 -0
  39. data/docs/RemotesOstreeApi.md +376 -0
  40. data/docs/RepositoriesOstreeApi.md +532 -0
  41. data/docs/RepositoriesOstreeVersionsApi.md +271 -0
  42. data/docs/RepositoryAddRemoveContent.md +21 -0
  43. data/docs/RepositorySyncURL.md +19 -0
  44. data/docs/RepositoryVersion.md +17 -0
  45. data/docs/RepositoryVersionResponse.md +27 -0
  46. data/git_push.sh +58 -0
  47. data/lib/pulp_ostree_client/api/content_commits_api.rb +170 -0
  48. data/lib/pulp_ostree_client/api/content_configs_api.rb +170 -0
  49. data/lib/pulp_ostree_client/api/content_objects_api.rb +170 -0
  50. data/lib/pulp_ostree_client/api/content_refs_api.rb +170 -0
  51. data/lib/pulp_ostree_client/api/content_summaries_api.rb +170 -0
  52. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +457 -0
  53. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +463 -0
  54. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +655 -0
  55. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +339 -0
  56. data/lib/pulp_ostree_client/api_client.rb +406 -0
  57. data/lib/pulp_ostree_client/api_error.rb +57 -0
  58. data/lib/pulp_ostree_client/configuration.rb +250 -0
  59. data/lib/pulp_ostree_client/models/async_operation_response.rb +213 -0
  60. data/lib/pulp_ostree_client/models/content_summary.rb +246 -0
  61. data/lib/pulp_ostree_client/models/content_summary_response.rb +246 -0
  62. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +256 -0
  63. data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +232 -0
  64. data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +270 -0
  65. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +299 -0
  66. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +275 -0
  67. data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +260 -0
  68. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +536 -0
  69. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +510 -0
  70. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +270 -0
  71. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +307 -0
  72. data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +232 -0
  73. data/lib/pulp_ostree_client/models/ostree_repo_import.rb +248 -0
  74. data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +237 -0
  75. data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +237 -0
  76. data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +237 -0
  77. data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +237 -0
  78. data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +237 -0
  79. data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +237 -0
  80. data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +237 -0
  81. data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +237 -0
  82. data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +237 -0
  83. data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +260 -0
  84. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +526 -0
  85. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +265 -0
  86. data/lib/pulp_ostree_client/models/policy_enum.rb +36 -0
  87. data/lib/pulp_ostree_client/models/repository_add_remove_content.rb +232 -0
  88. data/lib/pulp_ostree_client/models/repository_sync_url.rb +220 -0
  89. data/lib/pulp_ostree_client/models/repository_version.rb +208 -0
  90. data/lib/pulp_ostree_client/models/repository_version_response.rb +255 -0
  91. data/lib/pulp_ostree_client/version.rb +15 -0
  92. data/lib/pulp_ostree_client.rb +80 -0
  93. data/pulp_ostree_client.gemspec +39 -0
  94. data/spec/api/content_commits_api_spec.rb +68 -0
  95. data/spec/api/content_configs_api_spec.rb +68 -0
  96. data/spec/api/content_objects_api_spec.rb +68 -0
  97. data/spec/api/content_refs_api_spec.rb +68 -0
  98. data/spec/api/content_summaries_api_spec.rb +68 -0
  99. data/spec/api/distributions_ostree_api_spec.rb +125 -0
  100. data/spec/api/remotes_ostree_api_spec.rb +127 -0
  101. data/spec/api/repositories_ostree_api_spec.rb +160 -0
  102. data/spec/api/repositories_ostree_versions_api_spec.rb +104 -0
  103. data/spec/api_client_spec.rb +188 -0
  104. data/spec/configuration_spec.rb +42 -0
  105. data/spec/models/async_operation_response_spec.rb +41 -0
  106. data/spec/models/content_summary_response_spec.rb +53 -0
  107. data/spec/models/content_summary_spec.rb +53 -0
  108. data/spec/models/ostree_ostree_commit_response_spec.rb +65 -0
  109. data/spec/models/ostree_ostree_config_response_spec.rb +53 -0
  110. data/spec/models/ostree_ostree_distribution_response_spec.rb +89 -0
  111. data/spec/models/ostree_ostree_distribution_spec.rb +71 -0
  112. data/spec/models/ostree_ostree_object_response_spec.rb +71 -0
  113. data/spec/models/ostree_ostree_ref_response_spec.rb +65 -0
  114. data/spec/models/ostree_ostree_remote_response_spec.rb +155 -0
  115. data/spec/models/ostree_ostree_remote_spec.rb +167 -0
  116. data/spec/models/ostree_ostree_repository_response_spec.rb +89 -0
  117. data/spec/models/ostree_ostree_repository_spec.rb +65 -0
  118. data/spec/models/ostree_ostree_summary_response_spec.rb +53 -0
  119. data/spec/models/ostree_repo_import_spec.rb +59 -0
  120. data/spec/models/paginated_repository_version_response_list_spec.rb +59 -0
  121. data/spec/models/paginatedostree_ostree_commit_response_list_spec.rb +59 -0
  122. data/spec/models/paginatedostree_ostree_config_response_list_spec.rb +59 -0
  123. data/spec/models/paginatedostree_ostree_distribution_response_list_spec.rb +59 -0
  124. data/spec/models/paginatedostree_ostree_object_response_list_spec.rb +59 -0
  125. data/spec/models/paginatedostree_ostree_ref_response_list_spec.rb +59 -0
  126. data/spec/models/paginatedostree_ostree_remote_response_list_spec.rb +59 -0
  127. data/spec/models/paginatedostree_ostree_repository_response_list_spec.rb +59 -0
  128. data/spec/models/paginatedostree_ostree_summary_response_list_spec.rb +59 -0
  129. data/spec/models/patchedostree_ostree_distribution_spec.rb +71 -0
  130. data/spec/models/patchedostree_ostree_remote_spec.rb +167 -0
  131. data/spec/models/patchedostree_ostree_repository_spec.rb +65 -0
  132. data/spec/models/policy_enum_spec.rb +35 -0
  133. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  134. data/spec/models/repository_sync_url_spec.rb +47 -0
  135. data/spec/models/repository_version_response_spec.rb +71 -0
  136. data/spec/models/repository_version_spec.rb +41 -0
  137. data/spec/spec_helper.rb +111 -0
  138. metadata +277 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c263bb2409ae8957279ac0a95f577122a2a7d168e3e5b0fa7bb1f0a0780741ec
4
+ data.tar.gz: 213166cfe96d69d53227de1a2aa8f08ce0a9148f1e7f071c4ca551c803ae0997
5
+ SHA512:
6
+ metadata.gz: c46daf80e796483a517a3ff7f5d26f78e87b2d6b390cc151e9547ed6a6c00a09df4237e4d8ee8978b03cedba2dca35afb06266418d3b56e72cc028e2eb39e6fe
7
+ data.tar.gz: 310dddc3cf6b2d7479be4f89228db76382649bb07ae985e5d8a023b23aff53c65393a5b3c371978be9d1b216c07a3a8e4889a3f3c793096b93ac7422ad44bd8e
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 13.0.1'
7
+ gem 'pry-byebug'
8
+ gem 'rubocop', '~> 0.66.0'
9
+ end
data/README.md ADDED
@@ -0,0 +1,174 @@
1
+ # pulp_ostree_client
2
+
3
+ PulpOstreeClient - the Ruby gem for the Pulp 3 API
4
+
5
+ Fetch, Upload, Organize, and Distribute Software Packages
6
+
7
+ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
+
9
+ - API version: v3
10
+ - Package version: 2.0.0a1
11
+ - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
+ For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
+
14
+ ## Installation
15
+
16
+ ### Build a gem
17
+
18
+ To build the Ruby code into a gem:
19
+
20
+ ```shell
21
+ gem build pulp_ostree_client.gemspec
22
+ ```
23
+
24
+ Then either install the gem locally:
25
+
26
+ ```shell
27
+ gem install ./pulp_ostree_client-2.0.0a1.gem
28
+ ```
29
+
30
+ (for development, run `gem install --dev ./pulp_ostree_client-2.0.0a1.gem` to install the development dependencies)
31
+
32
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
+
34
+ Finally add this to the Gemfile:
35
+
36
+ gem 'pulp_ostree_client', '~> 2.0.0a1'
37
+
38
+ ### Install from Git
39
+
40
+ If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
41
+
42
+ gem 'pulp_ostree_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
43
+
44
+ ### Include the Ruby code directly
45
+
46
+ Include the Ruby code directly using `-I` as follows:
47
+
48
+ ```shell
49
+ ruby -Ilib script.rb
50
+ ```
51
+
52
+ ## Getting Started
53
+
54
+ Please follow the [installation](#installation) procedure and then run the following code:
55
+
56
+ ```ruby
57
+ # Load the gem
58
+ require 'pulp_ostree_client'
59
+
60
+ # Setup authorization
61
+ PulpOstreeClient.configure do |config|
62
+ # Configure HTTP basic authorization: basicAuth
63
+ config.username = 'YOUR_USERNAME'
64
+ config.password = 'YOUR_PASSWORD'
65
+ end
66
+
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
+ }
78
+
79
+ begin
80
+ #List ostree commits
81
+ result = api_instance.list(opts)
82
+ p result
83
+ rescue PulpOstreeClient::ApiError => e
84
+ puts "Exception when calling ContentCommitsApi->list: #{e}"
85
+ end
86
+
87
+ ```
88
+
89
+ ## Documentation for API Endpoints
90
+
91
+ All URIs are relative to *https://pulp*
92
+
93
+ Class | Method | HTTP request | Description
94
+ ------------ | ------------- | ------------- | -------------
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
105
+ *PulpOstreeClient::DistributionsOstreeApi* | [**create**](docs/DistributionsOstreeApi.md#create) | **POST** /pulp/api/v3/distributions/ostree/ostree/ | Create an ostree distribution
106
+ *PulpOstreeClient::DistributionsOstreeApi* | [**delete**](docs/DistributionsOstreeApi.md#delete) | **DELETE** {ostree_ostree_distribution_href} | Delete an ostree distribution
107
+ *PulpOstreeClient::DistributionsOstreeApi* | [**list**](docs/DistributionsOstreeApi.md#list) | **GET** /pulp/api/v3/distributions/ostree/ostree/ | List ostree distributions
108
+ *PulpOstreeClient::DistributionsOstreeApi* | [**partial_update**](docs/DistributionsOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_distribution_href} | Update an ostree distribution
109
+ *PulpOstreeClient::DistributionsOstreeApi* | [**read**](docs/DistributionsOstreeApi.md#read) | **GET** {ostree_ostree_distribution_href} | Inspect an ostree distribution
110
+ *PulpOstreeClient::DistributionsOstreeApi* | [**update**](docs/DistributionsOstreeApi.md#update) | **PUT** {ostree_ostree_distribution_href} | Update an ostree distribution
111
+ *PulpOstreeClient::RemotesOstreeApi* | [**create**](docs/RemotesOstreeApi.md#create) | **POST** /pulp/api/v3/remotes/ostree/ostree/ | Create an ostree remote
112
+ *PulpOstreeClient::RemotesOstreeApi* | [**delete**](docs/RemotesOstreeApi.md#delete) | **DELETE** {ostree_ostree_remote_href} | Delete an ostree remote
113
+ *PulpOstreeClient::RemotesOstreeApi* | [**list**](docs/RemotesOstreeApi.md#list) | **GET** /pulp/api/v3/remotes/ostree/ostree/ | List ostree remotes
114
+ *PulpOstreeClient::RemotesOstreeApi* | [**partial_update**](docs/RemotesOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_remote_href} | Update an ostree remote
115
+ *PulpOstreeClient::RemotesOstreeApi* | [**read**](docs/RemotesOstreeApi.md#read) | **GET** {ostree_ostree_remote_href} | Inspect an ostree remote
116
+ *PulpOstreeClient::RemotesOstreeApi* | [**update**](docs/RemotesOstreeApi.md#update) | **PUT** {ostree_ostree_remote_href} | Update an ostree remote
117
+ *PulpOstreeClient::RepositoriesOstreeApi* | [**create**](docs/RepositoriesOstreeApi.md#create) | **POST** /pulp/api/v3/repositories/ostree/ostree/ | Create an ostree repository
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
120
+ *PulpOstreeClient::RepositoriesOstreeApi* | [**list**](docs/RepositoriesOstreeApi.md#list) | **GET** /pulp/api/v3/repositories/ostree/ostree/ | List ostree repositorys
121
+ *PulpOstreeClient::RepositoriesOstreeApi* | [**modify**](docs/RepositoriesOstreeApi.md#modify) | **POST** {ostree_ostree_repository_href}modify/ | Modify Repository Content
122
+ *PulpOstreeClient::RepositoriesOstreeApi* | [**partial_update**](docs/RepositoriesOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_repository_href} | Update an ostree repository
123
+ *PulpOstreeClient::RepositoriesOstreeApi* | [**read**](docs/RepositoriesOstreeApi.md#read) | **GET** {ostree_ostree_repository_href} | Inspect an ostree repository
124
+ *PulpOstreeClient::RepositoriesOstreeApi* | [**sync**](docs/RepositoriesOstreeApi.md#sync) | **POST** {ostree_ostree_repository_href}sync/ | Sync from remote
125
+ *PulpOstreeClient::RepositoriesOstreeApi* | [**update**](docs/RepositoriesOstreeApi.md#update) | **PUT** {ostree_ostree_repository_href} | Update an ostree repository
126
+ *PulpOstreeClient::RepositoriesOstreeVersionsApi* | [**delete**](docs/RepositoriesOstreeVersionsApi.md#delete) | **DELETE** {ostree_ostree_repository_version_href} | Delete a repository version
127
+ *PulpOstreeClient::RepositoriesOstreeVersionsApi* | [**list**](docs/RepositoriesOstreeVersionsApi.md#list) | **GET** {ostree_ostree_repository_href}versions/ | List repository versions
128
+ *PulpOstreeClient::RepositoriesOstreeVersionsApi* | [**read**](docs/RepositoriesOstreeVersionsApi.md#read) | **GET** {ostree_ostree_repository_version_href} | Inspect a repository version
129
+ *PulpOstreeClient::RepositoriesOstreeVersionsApi* | [**repair**](docs/RepositoriesOstreeVersionsApi.md#repair) | **POST** {ostree_ostree_repository_version_href}repair/ |
130
+
131
+
132
+ ## Documentation for Models
133
+
134
+ - [PulpOstreeClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
135
+ - [PulpOstreeClient::ContentSummary](docs/ContentSummary.md)
136
+ - [PulpOstreeClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
137
+ - [PulpOstreeClient::OstreeOstreeCommitResponse](docs/OstreeOstreeCommitResponse.md)
138
+ - [PulpOstreeClient::OstreeOstreeConfigResponse](docs/OstreeOstreeConfigResponse.md)
139
+ - [PulpOstreeClient::OstreeOstreeDistribution](docs/OstreeOstreeDistribution.md)
140
+ - [PulpOstreeClient::OstreeOstreeDistributionResponse](docs/OstreeOstreeDistributionResponse.md)
141
+ - [PulpOstreeClient::OstreeOstreeObjectResponse](docs/OstreeOstreeObjectResponse.md)
142
+ - [PulpOstreeClient::OstreeOstreeRefResponse](docs/OstreeOstreeRefResponse.md)
143
+ - [PulpOstreeClient::OstreeOstreeRemote](docs/OstreeOstreeRemote.md)
144
+ - [PulpOstreeClient::OstreeOstreeRemoteResponse](docs/OstreeOstreeRemoteResponse.md)
145
+ - [PulpOstreeClient::OstreeOstreeRepository](docs/OstreeOstreeRepository.md)
146
+ - [PulpOstreeClient::OstreeOstreeRepositoryResponse](docs/OstreeOstreeRepositoryResponse.md)
147
+ - [PulpOstreeClient::OstreeOstreeSummaryResponse](docs/OstreeOstreeSummaryResponse.md)
148
+ - [PulpOstreeClient::OstreeRepoImport](docs/OstreeRepoImport.md)
149
+ - [PulpOstreeClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
150
+ - [PulpOstreeClient::PaginatedostreeOstreeCommitResponseList](docs/PaginatedostreeOstreeCommitResponseList.md)
151
+ - [PulpOstreeClient::PaginatedostreeOstreeConfigResponseList](docs/PaginatedostreeOstreeConfigResponseList.md)
152
+ - [PulpOstreeClient::PaginatedostreeOstreeDistributionResponseList](docs/PaginatedostreeOstreeDistributionResponseList.md)
153
+ - [PulpOstreeClient::PaginatedostreeOstreeObjectResponseList](docs/PaginatedostreeOstreeObjectResponseList.md)
154
+ - [PulpOstreeClient::PaginatedostreeOstreeRefResponseList](docs/PaginatedostreeOstreeRefResponseList.md)
155
+ - [PulpOstreeClient::PaginatedostreeOstreeRemoteResponseList](docs/PaginatedostreeOstreeRemoteResponseList.md)
156
+ - [PulpOstreeClient::PaginatedostreeOstreeRepositoryResponseList](docs/PaginatedostreeOstreeRepositoryResponseList.md)
157
+ - [PulpOstreeClient::PaginatedostreeOstreeSummaryResponseList](docs/PaginatedostreeOstreeSummaryResponseList.md)
158
+ - [PulpOstreeClient::PatchedostreeOstreeDistribution](docs/PatchedostreeOstreeDistribution.md)
159
+ - [PulpOstreeClient::PatchedostreeOstreeRemote](docs/PatchedostreeOstreeRemote.md)
160
+ - [PulpOstreeClient::PatchedostreeOstreeRepository](docs/PatchedostreeOstreeRepository.md)
161
+ - [PulpOstreeClient::PolicyEnum](docs/PolicyEnum.md)
162
+ - [PulpOstreeClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
163
+ - [PulpOstreeClient::RepositorySyncURL](docs/RepositorySyncURL.md)
164
+ - [PulpOstreeClient::RepositoryVersion](docs/RepositoryVersion.md)
165
+ - [PulpOstreeClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
166
+
167
+
168
+ ## Documentation for Authorization
169
+
170
+
171
+ ### basicAuth
172
+
173
+ - **Type**: HTTP basic authentication
174
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ begin
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+ task default: :spec
8
+ rescue LoadError
9
+ # no rspec available
10
+ end
@@ -0,0 +1,17 @@
1
+ # PulpOstreeClient::AsyncOperationResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **task** | **String** | The href of the task. |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpOstreeClient'
13
+
14
+ instance = PulpOstreeClient::AsyncOperationResponse.new(task: null)
15
+ ```
16
+
17
+
@@ -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
+