pulp_container_client 2.14.14 → 2.14.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (250) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +222 -246
  3. data/docs/AccessPoliciesApi.md +28 -32
  4. data/docs/ArtifactDistributionResponse.md +7 -7
  5. data/docs/ArtifactsApi.md +23 -27
  6. data/docs/ContainerContainerDistribution.md +5 -5
  7. data/docs/ContainerContainerDistributionResponse.md +8 -8
  8. data/docs/ContainerContainerPushRepository.md +5 -5
  9. data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
  10. data/docs/ContainerContainerRemote.md +1 -1
  11. data/docs/ContainerContainerRemoteResponse.md +1 -1
  12. data/docs/ContainerContainerRepository.md +1 -1
  13. data/docs/ContainerContainerRepositoryResponse.md +1 -1
  14. data/docs/ContentApi.md +8 -14
  15. data/docs/ContentBlobsApi.md +13 -17
  16. data/docs/ContentManifestsApi.md +15 -19
  17. data/docs/ContentSignaturesApi.md +13 -17
  18. data/docs/ContentTagsApi.md +15 -19
  19. data/docs/ContentguardsApi.md +8 -14
  20. data/docs/ContentguardsContentRedirectApi.md +53 -57
  21. data/docs/ContentguardsRbacApi.md +53 -57
  22. data/docs/DistributionsApi.md +8 -18
  23. data/docs/DistributionsArtifactsApi.md +13 -21
  24. data/docs/DistributionsContainerApi.md +53 -61
  25. data/docs/DocsApiJsonApi.md +6 -6
  26. data/docs/DocsApiYamlApi.md +6 -6
  27. data/docs/ExportersFilesystemApi.md +36 -40
  28. data/docs/ExportersFilesystemExportsApi.md +24 -24
  29. data/docs/ExportersPulpApi.md +33 -37
  30. data/docs/ExportersPulpExportsApi.md +21 -21
  31. data/docs/FilesystemExporter.md +1 -1
  32. data/docs/FilesystemExporterResponse.md +1 -1
  33. data/docs/GroupRole.md +1 -3
  34. data/docs/GroupRoleResponse.md +1 -3
  35. data/docs/GroupsApi.md +59 -63
  36. data/docs/GroupsRolesApi.md +27 -33
  37. data/docs/GroupsUsersApi.md +16 -16
  38. data/docs/ImportersPulpApi.md +33 -37
  39. data/docs/ImportersPulpImportCheckApi.md +1 -1
  40. data/docs/ImportersPulpImportsApi.md +21 -21
  41. data/docs/OrphansApi.md +6 -6
  42. data/docs/OrphansCleanupApi.md +6 -6
  43. data/docs/PatchedFilesystemExporter.md +1 -1
  44. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  45. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  46. data/docs/PatchedcontainerContainerRemote.md +1 -1
  47. data/docs/PatchedcontainerContainerRepository.md +1 -1
  48. data/docs/PublicationsApi.md +9 -15
  49. data/docs/PulpContainerNamespacesApi.md +43 -47
  50. data/docs/RemoteResponse.md +1 -1
  51. data/docs/RemoteResponseHiddenFields.md +2 -2
  52. data/docs/RemotesApi.md +8 -14
  53. data/docs/RemotesContainerApi.md +53 -57
  54. data/docs/RepairApi.md +6 -6
  55. data/docs/RepositoriesApi.md +8 -30
  56. data/docs/RepositoriesContainerApi.md +102 -122
  57. data/docs/RepositoriesContainerPushApi.md +68 -88
  58. data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
  59. data/docs/RepositoriesContainerVersionsApi.md +23 -25
  60. data/docs/RepositoriesReclaimSpaceApi.md +6 -6
  61. data/docs/RepositoryResponse.md +1 -1
  62. data/docs/RepositoryVersionsApi.md +8 -12
  63. data/docs/RolesApi.md +39 -43
  64. data/docs/SigningServicesApi.md +13 -17
  65. data/docs/StatusApi.md +1 -1
  66. data/docs/StatusResponse.md +1 -3
  67. data/docs/TaskGroupsApi.md +11 -11
  68. data/docs/TaskSchedulesApi.md +35 -39
  69. data/docs/TasksApi.md +101 -105
  70. data/docs/TokenApi.md +6 -6
  71. data/docs/UploadsApi.md +53 -57
  72. data/docs/UserRole.md +2 -4
  73. data/docs/UserRoleResponse.md +2 -4
  74. data/docs/UsersApi.md +39 -43
  75. data/docs/UsersRolesApi.md +27 -33
  76. data/docs/VersionResponse.md +1 -3
  77. data/docs/WorkersApi.md +13 -17
  78. data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
  79. data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
  80. data/lib/pulp_container_client/api/content_api.rb +7 -20
  81. data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
  82. data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
  83. data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
  84. data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
  85. data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
  86. data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
  87. data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
  88. data/lib/pulp_container_client/api/distributions_api.rb +7 -26
  89. data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
  90. data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
  91. data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
  92. data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
  93. data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
  94. data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
  95. data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
  96. data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
  97. data/lib/pulp_container_client/api/groups_api.rb +77 -83
  98. data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
  99. data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
  100. data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
  101. data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
  102. data/lib/pulp_container_client/api/orphans_api.rb +5 -5
  103. data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
  104. data/lib/pulp_container_client/api/publications_api.rb +9 -18
  105. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
  106. data/lib/pulp_container_client/api/remotes_api.rb +7 -20
  107. data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
  108. data/lib/pulp_container_client/api/repair_api.rb +6 -6
  109. data/lib/pulp_container_client/api/repositories_api.rb +7 -44
  110. data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
  111. data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
  112. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
  113. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
  114. data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
  115. data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
  116. data/lib/pulp_container_client/api/roles_api.rb +51 -57
  117. data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
  118. data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
  119. data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
  120. data/lib/pulp_container_client/api/tasks_api.rb +125 -131
  121. data/lib/pulp_container_client/api/token_api.rb +5 -5
  122. data/lib/pulp_container_client/api/uploads_api.rb +67 -73
  123. data/lib/pulp_container_client/api/users_api.rb +51 -57
  124. data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
  125. data/lib/pulp_container_client/api/workers_api.rb +14 -20
  126. data/lib/pulp_container_client/configuration.rb +3 -3
  127. data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
  128. data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
  129. data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
  130. data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
  131. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
  132. data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
  133. data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
  134. data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
  135. data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
  136. data/lib/pulp_container_client/models/filesystem_exporter.rb +1 -1
  137. data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
  138. data/lib/pulp_container_client/models/group_role.rb +5 -16
  139. data/lib/pulp_container_client/models/group_role_response.rb +4 -15
  140. data/lib/pulp_container_client/models/nested_role.rb +0 -19
  141. data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
  142. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
  143. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
  144. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
  145. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
  146. data/lib/pulp_container_client/models/remote_response.rb +21 -21
  147. data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
  148. data/lib/pulp_container_client/models/repository_response.rb +1 -1
  149. data/lib/pulp_container_client/models/status_response.rb +4 -19
  150. data/lib/pulp_container_client/models/user_role.rb +6 -17
  151. data/lib/pulp_container_client/models/user_role_response.rb +5 -16
  152. data/lib/pulp_container_client/models/version_response.rb +4 -19
  153. data/lib/pulp_container_client/version.rb +1 -1
  154. data/lib/pulp_container_client.rb +0 -11
  155. data/spec/api/access_policies_api_spec.rb +11 -13
  156. data/spec/api/artifacts_api_spec.rb +9 -11
  157. data/spec/api/content_api_spec.rb +3 -6
  158. data/spec/api/content_blobs_api_spec.rb +5 -7
  159. data/spec/api/content_manifests_api_spec.rb +6 -8
  160. data/spec/api/content_signatures_api_spec.rb +5 -7
  161. data/spec/api/content_tags_api_spec.rb +6 -8
  162. data/spec/api/contentguards_api_spec.rb +3 -6
  163. data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
  164. data/spec/api/contentguards_rbac_api_spec.rb +21 -23
  165. data/spec/api/distributions_api_spec.rb +3 -8
  166. data/spec/api/distributions_artifacts_api_spec.rb +5 -9
  167. data/spec/api/distributions_container_api_spec.rb +21 -25
  168. data/spec/api/docs_api_json_api_spec.rb +2 -2
  169. data/spec/api/docs_api_yaml_api_spec.rb +2 -2
  170. data/spec/api/exporters_filesystem_api_spec.rb +16 -18
  171. data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
  172. data/spec/api/exporters_pulp_api_spec.rb +13 -15
  173. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  174. data/spec/api/groups_api_spec.rb +27 -29
  175. data/spec/api/groups_roles_api_spec.rb +13 -16
  176. data/spec/api/groups_users_api_spec.rb +6 -6
  177. data/spec/api/importers_pulp_api_spec.rb +13 -15
  178. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  179. data/spec/api/orphans_api_spec.rb +2 -2
  180. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  181. data/spec/api/publications_api_spec.rb +4 -7
  182. data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
  183. data/spec/api/remotes_api_spec.rb +3 -6
  184. data/spec/api/remotes_container_api_spec.rb +21 -23
  185. data/spec/api/repair_api_spec.rb +2 -2
  186. data/spec/api/repositories_api_spec.rb +3 -14
  187. data/spec/api/repositories_container_api_spec.rb +39 -49
  188. data/spec/api/repositories_container_push_api_spec.rb +27 -37
  189. data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
  190. data/spec/api/repositories_container_versions_api_spec.rb +9 -10
  191. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  192. data/spec/api/repository_versions_api_spec.rb +3 -5
  193. data/spec/api/roles_api_spec.rb +19 -21
  194. data/spec/api/signing_services_api_spec.rb +5 -7
  195. data/spec/api/task_groups_api_spec.rb +4 -4
  196. data/spec/api/task_schedules_api_spec.rb +15 -17
  197. data/spec/api/tasks_api_spec.rb +32 -34
  198. data/spec/api/token_api_spec.rb +2 -2
  199. data/spec/api/uploads_api_spec.rb +21 -23
  200. data/spec/api/users_api_spec.rb +19 -21
  201. data/spec/api/users_roles_api_spec.rb +13 -16
  202. data/spec/api/workers_api_spec.rb +5 -7
  203. data/spec/configuration_spec.rb +3 -3
  204. data/spec/models/artifact_distribution_response_spec.rb +7 -7
  205. data/spec/models/container_container_distribution_response_spec.rb +6 -6
  206. data/spec/models/container_container_distribution_spec.rb +4 -4
  207. data/spec/models/container_container_push_repository_response_spec.rb +6 -6
  208. data/spec/models/container_container_push_repository_spec.rb +4 -4
  209. data/spec/models/group_role_response_spec.rb +0 -6
  210. data/spec/models/group_role_spec.rb +0 -6
  211. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  212. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  213. data/spec/models/status_response_spec.rb +0 -6
  214. data/spec/models/user_role_response_spec.rb +0 -6
  215. data/spec/models/user_role_spec.rb +0 -6
  216. data/spec/models/version_response_spec.rb +0 -6
  217. metadata +196 -240
  218. data/docs/Domain.md +0 -27
  219. data/docs/DomainResponse.md +0 -31
  220. data/docs/DomainsApi.md +0 -366
  221. data/docs/PaginatedDomainResponseList.md +0 -23
  222. data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
  223. data/docs/PatchedDomain.md +0 -27
  224. data/docs/PatchedUpstreamPulp.md +0 -37
  225. data/docs/StorageClassEnum.md +0 -16
  226. data/docs/UpstreamPulp.md +0 -37
  227. data/docs/UpstreamPulpResponse.md +0 -39
  228. data/docs/UpstreamPulpsApi.md +0 -405
  229. data/lib/pulp_container_client/api/domains_api.rb +0 -452
  230. data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
  231. data/lib/pulp_container_client/models/domain.rb +0 -323
  232. data/lib/pulp_container_client/models/domain_response.rb +0 -318
  233. data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
  234. data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
  235. data/lib/pulp_container_client/models/patched_domain.rb +0 -304
  236. data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
  237. data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
  238. data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
  239. data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
  240. data/spec/api/domains_api_spec.rb +0 -122
  241. data/spec/api/upstream_pulps_api_spec.rb +0 -127
  242. data/spec/models/domain_response_spec.rb +0 -83
  243. data/spec/models/domain_spec.rb +0 -71
  244. data/spec/models/paginated_domain_response_list_spec.rb +0 -59
  245. data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
  246. data/spec/models/patched_domain_spec.rb +0 -71
  247. data/spec/models/patched_upstream_pulp_spec.rb +0 -101
  248. data/spec/models/storage_class_enum_spec.rb +0 -35
  249. data/spec/models/upstream_pulp_response_spec.rb +0 -107
  250. data/spec/models/upstream_pulp_spec.rb +0 -101
@@ -1,405 +0,0 @@
1
- # PulpContainerClient::UpstreamPulpsApi
2
-
3
- All URIs are relative to *https://pulp*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](UpstreamPulpsApi.md#create) | **POST** /pulp/api/v3/upstream-pulps/ | Create an upstream pulp
8
- [**delete**](UpstreamPulpsApi.md#delete) | **DELETE** {upstream_pulp_href} | Delete an upstream pulp
9
- [**list**](UpstreamPulpsApi.md#list) | **GET** /pulp/api/v3/upstream-pulps/ | List upstream pulps
10
- [**partial_update**](UpstreamPulpsApi.md#partial_update) | **PATCH** {upstream_pulp_href} | Update an upstream pulp
11
- [**read**](UpstreamPulpsApi.md#read) | **GET** {upstream_pulp_href} | Inspect an upstream pulp
12
- [**replicate**](UpstreamPulpsApi.md#replicate) | **POST** {upstream_pulp_href}replicate/ | Replicate
13
- [**update**](UpstreamPulpsApi.md#update) | **PUT** {upstream_pulp_href} | Update an upstream pulp
14
-
15
-
16
-
17
- ## create
18
-
19
- > UpstreamPulpResponse create(upstream_pulp)
20
-
21
- Create an upstream pulp
22
-
23
- API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
24
-
25
- ### Example
26
-
27
- ```ruby
28
- # load the gem
29
- require 'pulp_container_client'
30
- # setup authorization
31
- PulpContainerClient.configure do |config|
32
- # Configure HTTP basic authorization: basicAuth
33
- config.username = 'YOUR USERNAME'
34
- config.password = 'YOUR PASSWORD'
35
- end
36
-
37
- api_instance = PulpContainerClient::UpstreamPulpsApi.new
38
- upstream_pulp = PulpContainerClient::UpstreamPulp.new # UpstreamPulp |
39
-
40
- begin
41
- #Create an upstream pulp
42
- result = api_instance.create(upstream_pulp)
43
- p result
44
- rescue PulpContainerClient::ApiError => e
45
- puts "Exception when calling UpstreamPulpsApi->create: #{e}"
46
- end
47
- ```
48
-
49
- ### Parameters
50
-
51
-
52
- Name | Type | Description | Notes
53
- ------------- | ------------- | ------------- | -------------
54
- **upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md)| |
55
-
56
- ### Return type
57
-
58
- [**UpstreamPulpResponse**](UpstreamPulpResponse.md)
59
-
60
- ### Authorization
61
-
62
- [basicAuth](../README.md#basicAuth)
63
-
64
- ### HTTP request headers
65
-
66
- - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
67
- - **Accept**: application/json
68
-
69
-
70
- ## delete
71
-
72
- > delete(upstream_pulp_href)
73
-
74
- Delete an upstream pulp
75
-
76
- API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
77
-
78
- ### Example
79
-
80
- ```ruby
81
- # load the gem
82
- require 'pulp_container_client'
83
- # setup authorization
84
- PulpContainerClient.configure do |config|
85
- # Configure HTTP basic authorization: basicAuth
86
- config.username = 'YOUR USERNAME'
87
- config.password = 'YOUR PASSWORD'
88
- end
89
-
90
- api_instance = PulpContainerClient::UpstreamPulpsApi.new
91
- upstream_pulp_href = 'upstream_pulp_href_example' # String |
92
-
93
- begin
94
- #Delete an upstream pulp
95
- api_instance.delete(upstream_pulp_href)
96
- rescue PulpContainerClient::ApiError => e
97
- puts "Exception when calling UpstreamPulpsApi->delete: #{e}"
98
- end
99
- ```
100
-
101
- ### Parameters
102
-
103
-
104
- Name | Type | Description | Notes
105
- ------------- | ------------- | ------------- | -------------
106
- **upstream_pulp_href** | **String**| |
107
-
108
- ### Return type
109
-
110
- nil (empty response body)
111
-
112
- ### Authorization
113
-
114
- [basicAuth](../README.md#basicAuth)
115
-
116
- ### HTTP request headers
117
-
118
- - **Content-Type**: Not defined
119
- - **Accept**: Not defined
120
-
121
-
122
- ## list
123
-
124
- > PaginatedUpstreamPulpResponseList list(opts)
125
-
126
- List upstream pulps
127
-
128
- API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
129
-
130
- ### Example
131
-
132
- ```ruby
133
- # load the gem
134
- require 'pulp_container_client'
135
- # setup authorization
136
- PulpContainerClient.configure do |config|
137
- # Configure HTTP basic authorization: basicAuth
138
- config.username = 'YOUR USERNAME'
139
- config.password = 'YOUR PASSWORD'
140
- end
141
-
142
- api_instance = PulpContainerClient::UpstreamPulpsApi.new
143
- opts = {
144
- limit: 56, # Integer | Number of results to return per page.
145
- offset: 56, # Integer | The initial index from which to return the results.
146
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
147
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
148
- }
149
-
150
- begin
151
- #List upstream pulps
152
- result = api_instance.list(opts)
153
- p result
154
- rescue PulpContainerClient::ApiError => e
155
- puts "Exception when calling UpstreamPulpsApi->list: #{e}"
156
- end
157
- ```
158
-
159
- ### Parameters
160
-
161
-
162
- Name | Type | Description | Notes
163
- ------------- | ------------- | ------------- | -------------
164
- **limit** | **Integer**| Number of results to return per page. | [optional]
165
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
166
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
167
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
168
-
169
- ### Return type
170
-
171
- [**PaginatedUpstreamPulpResponseList**](PaginatedUpstreamPulpResponseList.md)
172
-
173
- ### Authorization
174
-
175
- [basicAuth](../README.md#basicAuth)
176
-
177
- ### HTTP request headers
178
-
179
- - **Content-Type**: Not defined
180
- - **Accept**: application/json
181
-
182
-
183
- ## partial_update
184
-
185
- > UpstreamPulpResponse partial_update(upstream_pulp_href, patched_upstream_pulp)
186
-
187
- Update an upstream pulp
188
-
189
- API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
190
-
191
- ### Example
192
-
193
- ```ruby
194
- # load the gem
195
- require 'pulp_container_client'
196
- # setup authorization
197
- PulpContainerClient.configure do |config|
198
- # Configure HTTP basic authorization: basicAuth
199
- config.username = 'YOUR USERNAME'
200
- config.password = 'YOUR PASSWORD'
201
- end
202
-
203
- api_instance = PulpContainerClient::UpstreamPulpsApi.new
204
- upstream_pulp_href = 'upstream_pulp_href_example' # String |
205
- patched_upstream_pulp = PulpContainerClient::PatchedUpstreamPulp.new # PatchedUpstreamPulp |
206
-
207
- begin
208
- #Update an upstream pulp
209
- result = api_instance.partial_update(upstream_pulp_href, patched_upstream_pulp)
210
- p result
211
- rescue PulpContainerClient::ApiError => e
212
- puts "Exception when calling UpstreamPulpsApi->partial_update: #{e}"
213
- end
214
- ```
215
-
216
- ### Parameters
217
-
218
-
219
- Name | Type | Description | Notes
220
- ------------- | ------------- | ------------- | -------------
221
- **upstream_pulp_href** | **String**| |
222
- **patched_upstream_pulp** | [**PatchedUpstreamPulp**](PatchedUpstreamPulp.md)| |
223
-
224
- ### Return type
225
-
226
- [**UpstreamPulpResponse**](UpstreamPulpResponse.md)
227
-
228
- ### Authorization
229
-
230
- [basicAuth](../README.md#basicAuth)
231
-
232
- ### HTTP request headers
233
-
234
- - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
235
- - **Accept**: application/json
236
-
237
-
238
- ## read
239
-
240
- > UpstreamPulpResponse read(upstream_pulp_href, opts)
241
-
242
- Inspect an upstream pulp
243
-
244
- API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
245
-
246
- ### Example
247
-
248
- ```ruby
249
- # load the gem
250
- require 'pulp_container_client'
251
- # setup authorization
252
- PulpContainerClient.configure do |config|
253
- # Configure HTTP basic authorization: basicAuth
254
- config.username = 'YOUR USERNAME'
255
- config.password = 'YOUR PASSWORD'
256
- end
257
-
258
- api_instance = PulpContainerClient::UpstreamPulpsApi.new
259
- upstream_pulp_href = 'upstream_pulp_href_example' # String |
260
- opts = {
261
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
262
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
263
- }
264
-
265
- begin
266
- #Inspect an upstream pulp
267
- result = api_instance.read(upstream_pulp_href, opts)
268
- p result
269
- rescue PulpContainerClient::ApiError => e
270
- puts "Exception when calling UpstreamPulpsApi->read: #{e}"
271
- end
272
- ```
273
-
274
- ### Parameters
275
-
276
-
277
- Name | Type | Description | Notes
278
- ------------- | ------------- | ------------- | -------------
279
- **upstream_pulp_href** | **String**| |
280
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
281
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
282
-
283
- ### Return type
284
-
285
- [**UpstreamPulpResponse**](UpstreamPulpResponse.md)
286
-
287
- ### Authorization
288
-
289
- [basicAuth](../README.md#basicAuth)
290
-
291
- ### HTTP request headers
292
-
293
- - **Content-Type**: Not defined
294
- - **Accept**: application/json
295
-
296
-
297
- ## replicate
298
-
299
- > AsyncOperationResponse replicate(upstream_pulp_href, upstream_pulp)
300
-
301
- Replicate
302
-
303
- Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
304
-
305
- ### Example
306
-
307
- ```ruby
308
- # load the gem
309
- require 'pulp_container_client'
310
- # setup authorization
311
- PulpContainerClient.configure do |config|
312
- # Configure HTTP basic authorization: basicAuth
313
- config.username = 'YOUR USERNAME'
314
- config.password = 'YOUR PASSWORD'
315
- end
316
-
317
- api_instance = PulpContainerClient::UpstreamPulpsApi.new
318
- upstream_pulp_href = 'upstream_pulp_href_example' # String |
319
- upstream_pulp = PulpContainerClient::UpstreamPulp.new # UpstreamPulp |
320
-
321
- begin
322
- #Replicate
323
- result = api_instance.replicate(upstream_pulp_href, upstream_pulp)
324
- p result
325
- rescue PulpContainerClient::ApiError => e
326
- puts "Exception when calling UpstreamPulpsApi->replicate: #{e}"
327
- end
328
- ```
329
-
330
- ### Parameters
331
-
332
-
333
- Name | Type | Description | Notes
334
- ------------- | ------------- | ------------- | -------------
335
- **upstream_pulp_href** | **String**| |
336
- **upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md)| |
337
-
338
- ### Return type
339
-
340
- [**AsyncOperationResponse**](AsyncOperationResponse.md)
341
-
342
- ### Authorization
343
-
344
- [basicAuth](../README.md#basicAuth)
345
-
346
- ### HTTP request headers
347
-
348
- - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
349
- - **Accept**: application/json
350
-
351
-
352
- ## update
353
-
354
- > UpstreamPulpResponse update(upstream_pulp_href, upstream_pulp)
355
-
356
- Update an upstream pulp
357
-
358
- API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
359
-
360
- ### Example
361
-
362
- ```ruby
363
- # load the gem
364
- require 'pulp_container_client'
365
- # setup authorization
366
- PulpContainerClient.configure do |config|
367
- # Configure HTTP basic authorization: basicAuth
368
- config.username = 'YOUR USERNAME'
369
- config.password = 'YOUR PASSWORD'
370
- end
371
-
372
- api_instance = PulpContainerClient::UpstreamPulpsApi.new
373
- upstream_pulp_href = 'upstream_pulp_href_example' # String |
374
- upstream_pulp = PulpContainerClient::UpstreamPulp.new # UpstreamPulp |
375
-
376
- begin
377
- #Update an upstream pulp
378
- result = api_instance.update(upstream_pulp_href, upstream_pulp)
379
- p result
380
- rescue PulpContainerClient::ApiError => e
381
- puts "Exception when calling UpstreamPulpsApi->update: #{e}"
382
- end
383
- ```
384
-
385
- ### Parameters
386
-
387
-
388
- Name | Type | Description | Notes
389
- ------------- | ------------- | ------------- | -------------
390
- **upstream_pulp_href** | **String**| |
391
- **upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md)| |
392
-
393
- ### Return type
394
-
395
- [**UpstreamPulpResponse**](UpstreamPulpResponse.md)
396
-
397
- ### Authorization
398
-
399
- [basicAuth](../README.md#basicAuth)
400
-
401
- ### HTTP request headers
402
-
403
- - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
404
- - **Accept**: application/json
405
-