pulp_container_client 2.6.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +16 -12
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepository.md +23 -0
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -11
- data/docs/ContainerContainerRemote.md +7 -5
- data/docs/ContainerContainerRemoteResponse.md +7 -5
- data/docs/ManifestCopy.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +23 -0
- data/docs/PatchedcontainerContainerRemote.md +7 -5
- data/docs/RecursiveManage.md +1 -1
- data/docs/RepositoriesContainerPushApi.md +112 -0
- data/docs/RepositoriesContainerPushVersionsApi.md +271 -0
- data/docs/RepositoriesContainerVersionsApi.md +16 -279
- data/docs/TagCopy.md +1 -1
- data/lib/pulp_container_client.rb +4 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +1 -1
- data/lib/pulp_container_client/api/content_manifests_api.rb +1 -1
- data/lib/pulp_container_client/api/content_tags_api.rb +1 -1
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +1 -1
- data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +1 -1
- data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +141 -1
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +339 -0
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +26 -343
- data/lib/pulp_container_client/api/token_api.rb +1 -1
- data/lib/pulp_container_client/api_client.rb +12 -8
- data/lib/pulp_container_client/api_error.rb +1 -1
- data/lib/pulp_container_client/configuration.rb +8 -1
- data/lib/pulp_container_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_container_client/models/container_blob_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +25 -25
- data/lib/pulp_container_client/models/container_container_namespace.rb +1 -1
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository.rb +259 -0
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -43
- data/lib/pulp_container_client/models/container_container_remote.rb +19 -7
- data/lib/pulp_container_client/models/container_container_remote_response.rb +19 -7
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +1 -1
- data/lib/pulp_container_client/models/container_manifest_response.rb +1 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +1 -1
- data/lib/pulp_container_client/models/content_summary.rb +1 -1
- data/lib/pulp_container_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_container_client/models/manifest_copy.rb +2 -2
- data/lib/pulp_container_client/models/media_types_enum.rb +1 -1
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_content_redirect_content_guard_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +254 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +19 -7
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/policy_enum.rb +1 -1
- data/lib/pulp_container_client/models/recursive_manage.rb +2 -2
- data/lib/pulp_container_client/models/remove_image.rb +1 -1
- data/lib/pulp_container_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_container_client/models/repository_version.rb +1 -1
- data/lib/pulp_container_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_container_client/models/tag_copy.rb +2 -2
- data/lib/pulp_container_client/models/tag_image.rb +1 -1
- data/lib/pulp_container_client/models/un_tag_image.rb +1 -1
- data/lib/pulp_container_client/version.rb +2 -2
- data/pulp_container_client.gemspec +1 -1
- data/spec/api/content_blobs_api_spec.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +1 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
- data/spec/api/remotes_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_push_api_spec.rb +27 -1
- data/spec/api/repositories_container_push_versions_api_spec.rb +104 -0
- data/spec/api/repositories_container_versions_api_spec.rb +5 -74
- data/spec/api/token_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/container_blob_response_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_namespace_response_spec.rb +1 -1
- data/spec/models/container_container_namespace_spec.rb +1 -1
- data/spec/models/container_container_push_repository_response_spec.rb +7 -13
- data/spec/models/container_container_push_repository_spec.rb +59 -0
- data/spec/models/container_container_remote_response_spec.rb +7 -1
- data/spec/models/container_container_remote_spec.rb +7 -1
- data/spec/models/container_container_repository_response_spec.rb +1 -1
- data/spec/models/container_container_repository_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/container_manifest_response_spec.rb +1 -1
- data/spec/models/container_tag_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/manifest_copy_spec.rb +1 -1
- data/spec/models/media_types_enum_spec.rb +1 -1
- data/spec/models/oci_build_image_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_blob_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_namespace_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_manifest_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_tag_response_list_spec.rb +1 -1
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +59 -0
- data/spec/models/patchedcontainer_container_remote_spec.rb +7 -1
- data/spec/models/patchedcontainer_container_repository_spec.rb +1 -1
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/recursive_manage_spec.rb +1 -1
- data/spec/models/remove_image_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/tag_copy_spec.rb +1 -1
- data/spec/models/tag_image_spec.rb +1 -1
- data/spec/models/un_tag_image_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +51 -39
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
# PulpContainerClient::RepositoriesContainerPushVersionsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**delete**](RepositoriesContainerPushVersionsApi.md#delete) | **DELETE** {container_container_push_repository_version_href} | Delete a repository version
|
|
8
|
+
[**list**](RepositoriesContainerPushVersionsApi.md#list) | **GET** {container_container_push_repository_href}versions/ | List repository versions
|
|
9
|
+
[**read**](RepositoriesContainerPushVersionsApi.md#read) | **GET** {container_container_push_repository_version_href} | Inspect a repository version
|
|
10
|
+
[**repair**](RepositoriesContainerPushVersionsApi.md#repair) | **POST** {container_container_push_repository_version_href}repair/ |
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## delete
|
|
15
|
+
|
|
16
|
+
> AsyncOperationResponse delete(container_container_push_repository_version_href)
|
|
17
|
+
|
|
18
|
+
Delete a repository version
|
|
19
|
+
|
|
20
|
+
Trigger an asynchronous task to delete a repository version.
|
|
21
|
+
|
|
22
|
+
### Example
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
# load the gem
|
|
26
|
+
require 'pulp_container_client'
|
|
27
|
+
# setup authorization
|
|
28
|
+
PulpContainerClient.configure do |config|
|
|
29
|
+
# Configure HTTP basic authorization: basicAuth
|
|
30
|
+
config.username = 'YOUR USERNAME'
|
|
31
|
+
config.password = 'YOUR PASSWORD'
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushVersionsApi.new
|
|
35
|
+
container_container_push_repository_version_href = 'container_container_push_repository_version_href_example' # String |
|
|
36
|
+
|
|
37
|
+
begin
|
|
38
|
+
#Delete a repository version
|
|
39
|
+
result = api_instance.delete(container_container_push_repository_version_href)
|
|
40
|
+
p result
|
|
41
|
+
rescue PulpContainerClient::ApiError => e
|
|
42
|
+
puts "Exception when calling RepositoriesContainerPushVersionsApi->delete: #{e}"
|
|
43
|
+
end
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Parameters
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
Name | Type | Description | Notes
|
|
50
|
+
------------- | ------------- | ------------- | -------------
|
|
51
|
+
**container_container_push_repository_version_href** | **String**| |
|
|
52
|
+
|
|
53
|
+
### Return type
|
|
54
|
+
|
|
55
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
56
|
+
|
|
57
|
+
### Authorization
|
|
58
|
+
|
|
59
|
+
[basicAuth](../README.md#basicAuth)
|
|
60
|
+
|
|
61
|
+
### HTTP request headers
|
|
62
|
+
|
|
63
|
+
- **Content-Type**: Not defined
|
|
64
|
+
- **Accept**: application/json
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
## list
|
|
68
|
+
|
|
69
|
+
> PaginatedRepositoryVersionResponseList list(container_container_push_repository_href, opts)
|
|
70
|
+
|
|
71
|
+
List repository versions
|
|
72
|
+
|
|
73
|
+
ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
|
74
|
+
|
|
75
|
+
### Example
|
|
76
|
+
|
|
77
|
+
```ruby
|
|
78
|
+
# load the gem
|
|
79
|
+
require 'pulp_container_client'
|
|
80
|
+
# setup authorization
|
|
81
|
+
PulpContainerClient.configure do |config|
|
|
82
|
+
# Configure HTTP basic authorization: basicAuth
|
|
83
|
+
config.username = 'YOUR USERNAME'
|
|
84
|
+
config.password = 'YOUR PASSWORD'
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushVersionsApi.new
|
|
88
|
+
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
|
89
|
+
opts = {
|
|
90
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
|
91
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
|
92
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
93
|
+
number: 56, # Integer |
|
|
94
|
+
number__gt: 56, # Integer | Filter results where number is greater than value
|
|
95
|
+
number__gte: 56, # Integer | Filter results where number is greater than or equal to value
|
|
96
|
+
number__lt: 56, # Integer | Filter results where number is less than value
|
|
97
|
+
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
|
98
|
+
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
|
99
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
100
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
101
|
+
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
|
102
|
+
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
|
103
|
+
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
|
104
|
+
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
|
105
|
+
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
|
106
|
+
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
|
107
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
108
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
begin
|
|
112
|
+
#List repository versions
|
|
113
|
+
result = api_instance.list(container_container_push_repository_href, opts)
|
|
114
|
+
p result
|
|
115
|
+
rescue PulpContainerClient::ApiError => e
|
|
116
|
+
puts "Exception when calling RepositoriesContainerPushVersionsApi->list: #{e}"
|
|
117
|
+
end
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Parameters
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
Name | Type | Description | Notes
|
|
124
|
+
------------- | ------------- | ------------- | -------------
|
|
125
|
+
**container_container_push_repository_href** | **String**| |
|
|
126
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
127
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
|
128
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
129
|
+
**number** | **Integer**| | [optional]
|
|
130
|
+
**number__gt** | **Integer**| Filter results where number is greater than value | [optional]
|
|
131
|
+
**number__gte** | **Integer**| Filter results where number is greater than or equal to value | [optional]
|
|
132
|
+
**number__lt** | **Integer**| Filter results where number is less than value | [optional]
|
|
133
|
+
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
|
134
|
+
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
|
135
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
136
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
137
|
+
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
|
138
|
+
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
|
139
|
+
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
|
140
|
+
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
|
141
|
+
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
|
142
|
+
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
|
143
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
144
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
145
|
+
|
|
146
|
+
### Return type
|
|
147
|
+
|
|
148
|
+
[**PaginatedRepositoryVersionResponseList**](PaginatedRepositoryVersionResponseList.md)
|
|
149
|
+
|
|
150
|
+
### Authorization
|
|
151
|
+
|
|
152
|
+
[basicAuth](../README.md#basicAuth)
|
|
153
|
+
|
|
154
|
+
### HTTP request headers
|
|
155
|
+
|
|
156
|
+
- **Content-Type**: Not defined
|
|
157
|
+
- **Accept**: application/json
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
## read
|
|
161
|
+
|
|
162
|
+
> RepositoryVersionResponse read(container_container_push_repository_version_href, opts)
|
|
163
|
+
|
|
164
|
+
Inspect a repository version
|
|
165
|
+
|
|
166
|
+
ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
|
167
|
+
|
|
168
|
+
### Example
|
|
169
|
+
|
|
170
|
+
```ruby
|
|
171
|
+
# load the gem
|
|
172
|
+
require 'pulp_container_client'
|
|
173
|
+
# setup authorization
|
|
174
|
+
PulpContainerClient.configure do |config|
|
|
175
|
+
# Configure HTTP basic authorization: basicAuth
|
|
176
|
+
config.username = 'YOUR USERNAME'
|
|
177
|
+
config.password = 'YOUR PASSWORD'
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushVersionsApi.new
|
|
181
|
+
container_container_push_repository_version_href = 'container_container_push_repository_version_href_example' # String |
|
|
182
|
+
opts = {
|
|
183
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
184
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
begin
|
|
188
|
+
#Inspect a repository version
|
|
189
|
+
result = api_instance.read(container_container_push_repository_version_href, opts)
|
|
190
|
+
p result
|
|
191
|
+
rescue PulpContainerClient::ApiError => e
|
|
192
|
+
puts "Exception when calling RepositoriesContainerPushVersionsApi->read: #{e}"
|
|
193
|
+
end
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### Parameters
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
Name | Type | Description | Notes
|
|
200
|
+
------------- | ------------- | ------------- | -------------
|
|
201
|
+
**container_container_push_repository_version_href** | **String**| |
|
|
202
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
203
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
204
|
+
|
|
205
|
+
### Return type
|
|
206
|
+
|
|
207
|
+
[**RepositoryVersionResponse**](RepositoryVersionResponse.md)
|
|
208
|
+
|
|
209
|
+
### Authorization
|
|
210
|
+
|
|
211
|
+
[basicAuth](../README.md#basicAuth)
|
|
212
|
+
|
|
213
|
+
### HTTP request headers
|
|
214
|
+
|
|
215
|
+
- **Content-Type**: Not defined
|
|
216
|
+
- **Accept**: application/json
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
## repair
|
|
220
|
+
|
|
221
|
+
> AsyncOperationResponse repair(container_container_push_repository_version_href, repository_version)
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
Trigger an asynchronous task to repair a repository version.
|
|
226
|
+
|
|
227
|
+
### Example
|
|
228
|
+
|
|
229
|
+
```ruby
|
|
230
|
+
# load the gem
|
|
231
|
+
require 'pulp_container_client'
|
|
232
|
+
# setup authorization
|
|
233
|
+
PulpContainerClient.configure do |config|
|
|
234
|
+
# Configure HTTP basic authorization: basicAuth
|
|
235
|
+
config.username = 'YOUR USERNAME'
|
|
236
|
+
config.password = 'YOUR PASSWORD'
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushVersionsApi.new
|
|
240
|
+
container_container_push_repository_version_href = 'container_container_push_repository_version_href_example' # String |
|
|
241
|
+
repository_version = PulpContainerClient::RepositoryVersion.new # RepositoryVersion |
|
|
242
|
+
|
|
243
|
+
begin
|
|
244
|
+
result = api_instance.repair(container_container_push_repository_version_href, repository_version)
|
|
245
|
+
p result
|
|
246
|
+
rescue PulpContainerClient::ApiError => e
|
|
247
|
+
puts "Exception when calling RepositoriesContainerPushVersionsApi->repair: #{e}"
|
|
248
|
+
end
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
### Parameters
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
Name | Type | Description | Notes
|
|
255
|
+
------------- | ------------- | ------------- | -------------
|
|
256
|
+
**container_container_push_repository_version_href** | **String**| |
|
|
257
|
+
**repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
|
|
258
|
+
|
|
259
|
+
### Return type
|
|
260
|
+
|
|
261
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
262
|
+
|
|
263
|
+
### Authorization
|
|
264
|
+
|
|
265
|
+
[basicAuth](../README.md#basicAuth)
|
|
266
|
+
|
|
267
|
+
### HTTP request headers
|
|
268
|
+
|
|
269
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
270
|
+
- **Accept**: application/json
|
|
271
|
+
|
|
@@ -4,73 +4,16 @@ All URIs are relative to *http://pulp*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**delete**](RepositoriesContainerVersionsApi.md#delete) | **DELETE** {
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
10
|
-
[**
|
|
11
|
-
[**read**](RepositoriesContainerVersionsApi.md#read) | **GET** {container_container_push_repository_version_href} | Inspect a repository version
|
|
12
|
-
[**read_0**](RepositoriesContainerVersionsApi.md#read_0) | **GET** {container_container_repository_version_href} | Inspect a repository version
|
|
13
|
-
[**repair**](RepositoriesContainerVersionsApi.md#repair) | **POST** {container_container_push_repository_version_href}repair/ |
|
|
14
|
-
[**repair_0**](RepositoriesContainerVersionsApi.md#repair_0) | **POST** {container_container_repository_version_href}repair/ |
|
|
7
|
+
[**delete**](RepositoriesContainerVersionsApi.md#delete) | **DELETE** {container_container_repository_version_href} | Delete a repository version
|
|
8
|
+
[**list**](RepositoriesContainerVersionsApi.md#list) | **GET** {container_container_repository_href}versions/ | List repository versions
|
|
9
|
+
[**read**](RepositoriesContainerVersionsApi.md#read) | **GET** {container_container_repository_version_href} | Inspect a repository version
|
|
10
|
+
[**repair**](RepositoriesContainerVersionsApi.md#repair) | **POST** {container_container_repository_version_href}repair/ |
|
|
15
11
|
|
|
16
12
|
|
|
17
13
|
|
|
18
14
|
## delete
|
|
19
15
|
|
|
20
|
-
> AsyncOperationResponse delete(
|
|
21
|
-
|
|
22
|
-
Delete a repository version
|
|
23
|
-
|
|
24
|
-
Trigger an asynchronous task to delete a repository version.
|
|
25
|
-
|
|
26
|
-
### Example
|
|
27
|
-
|
|
28
|
-
```ruby
|
|
29
|
-
# load the gem
|
|
30
|
-
require 'pulp_container_client'
|
|
31
|
-
# setup authorization
|
|
32
|
-
PulpContainerClient.configure do |config|
|
|
33
|
-
# Configure HTTP basic authorization: basicAuth
|
|
34
|
-
config.username = 'YOUR USERNAME'
|
|
35
|
-
config.password = 'YOUR PASSWORD'
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
|
39
|
-
container_container_push_repository_version_href = 'container_container_push_repository_version_href_example' # String |
|
|
40
|
-
|
|
41
|
-
begin
|
|
42
|
-
#Delete a repository version
|
|
43
|
-
result = api_instance.delete(container_container_push_repository_version_href)
|
|
44
|
-
p result
|
|
45
|
-
rescue PulpContainerClient::ApiError => e
|
|
46
|
-
puts "Exception when calling RepositoriesContainerVersionsApi->delete: #{e}"
|
|
47
|
-
end
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
### Parameters
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
Name | Type | Description | Notes
|
|
54
|
-
------------- | ------------- | ------------- | -------------
|
|
55
|
-
**container_container_push_repository_version_href** | **String**| |
|
|
56
|
-
|
|
57
|
-
### Return type
|
|
58
|
-
|
|
59
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
60
|
-
|
|
61
|
-
### Authorization
|
|
62
|
-
|
|
63
|
-
[basicAuth](../README.md#basicAuth)
|
|
64
|
-
|
|
65
|
-
### HTTP request headers
|
|
66
|
-
|
|
67
|
-
- **Content-Type**: Not defined
|
|
68
|
-
- **Accept**: application/json
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
## delete_0
|
|
72
|
-
|
|
73
|
-
> AsyncOperationResponse delete_0(container_container_repository_version_href)
|
|
16
|
+
> AsyncOperationResponse delete(container_container_repository_version_href)
|
|
74
17
|
|
|
75
18
|
Delete a repository version
|
|
76
19
|
|
|
@@ -93,10 +36,10 @@ container_container_repository_version_href = 'container_container_repository_ve
|
|
|
93
36
|
|
|
94
37
|
begin
|
|
95
38
|
#Delete a repository version
|
|
96
|
-
result = api_instance.
|
|
39
|
+
result = api_instance.delete(container_container_repository_version_href)
|
|
97
40
|
p result
|
|
98
41
|
rescue PulpContainerClient::ApiError => e
|
|
99
|
-
puts "Exception when calling RepositoriesContainerVersionsApi->
|
|
42
|
+
puts "Exception when calling RepositoriesContainerVersionsApi->delete: #{e}"
|
|
100
43
|
end
|
|
101
44
|
```
|
|
102
45
|
|
|
@@ -123,100 +66,7 @@ Name | Type | Description | Notes
|
|
|
123
66
|
|
|
124
67
|
## list
|
|
125
68
|
|
|
126
|
-
> PaginatedRepositoryVersionResponseList list(
|
|
127
|
-
|
|
128
|
-
List repository versions
|
|
129
|
-
|
|
130
|
-
ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
|
131
|
-
|
|
132
|
-
### Example
|
|
133
|
-
|
|
134
|
-
```ruby
|
|
135
|
-
# load the gem
|
|
136
|
-
require 'pulp_container_client'
|
|
137
|
-
# setup authorization
|
|
138
|
-
PulpContainerClient.configure do |config|
|
|
139
|
-
# Configure HTTP basic authorization: basicAuth
|
|
140
|
-
config.username = 'YOUR USERNAME'
|
|
141
|
-
config.password = 'YOUR PASSWORD'
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
|
145
|
-
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
|
146
|
-
opts = {
|
|
147
|
-
content: 'content_example', # String | Content Unit referenced by HREF
|
|
148
|
-
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
|
149
|
-
limit: 56, # Integer | Number of results to return per page.
|
|
150
|
-
number: 56, # Integer |
|
|
151
|
-
number__gt: 56, # Integer | Filter results where number is greater than value
|
|
152
|
-
number__gte: 56, # Integer | Filter results where number is greater than or equal to value
|
|
153
|
-
number__lt: 56, # Integer | Filter results where number is less than value
|
|
154
|
-
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
|
155
|
-
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
|
156
|
-
offset: 56, # Integer | The initial index from which to return the results.
|
|
157
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
158
|
-
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
|
159
|
-
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
|
160
|
-
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
|
161
|
-
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
|
162
|
-
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
|
163
|
-
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
|
164
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
165
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
begin
|
|
169
|
-
#List repository versions
|
|
170
|
-
result = api_instance.list(container_container_push_repository_href, opts)
|
|
171
|
-
p result
|
|
172
|
-
rescue PulpContainerClient::ApiError => e
|
|
173
|
-
puts "Exception when calling RepositoriesContainerVersionsApi->list: #{e}"
|
|
174
|
-
end
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
### Parameters
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
Name | Type | Description | Notes
|
|
181
|
-
------------- | ------------- | ------------- | -------------
|
|
182
|
-
**container_container_push_repository_href** | **String**| |
|
|
183
|
-
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
184
|
-
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
|
185
|
-
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
186
|
-
**number** | **Integer**| | [optional]
|
|
187
|
-
**number__gt** | **Integer**| Filter results where number is greater than value | [optional]
|
|
188
|
-
**number__gte** | **Integer**| Filter results where number is greater than or equal to value | [optional]
|
|
189
|
-
**number__lt** | **Integer**| Filter results where number is less than value | [optional]
|
|
190
|
-
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
|
191
|
-
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
|
192
|
-
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
193
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
194
|
-
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
|
195
|
-
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
|
196
|
-
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
|
197
|
-
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
|
198
|
-
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
|
199
|
-
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
|
200
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
201
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
202
|
-
|
|
203
|
-
### Return type
|
|
204
|
-
|
|
205
|
-
[**PaginatedRepositoryVersionResponseList**](PaginatedRepositoryVersionResponseList.md)
|
|
206
|
-
|
|
207
|
-
### Authorization
|
|
208
|
-
|
|
209
|
-
[basicAuth](../README.md#basicAuth)
|
|
210
|
-
|
|
211
|
-
### HTTP request headers
|
|
212
|
-
|
|
213
|
-
- **Content-Type**: Not defined
|
|
214
|
-
- **Accept**: application/json
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
## list_0
|
|
218
|
-
|
|
219
|
-
> PaginatedRepositoryVersionResponseList list_0(container_container_repository_href, opts)
|
|
69
|
+
> PaginatedRepositoryVersionResponseList list(container_container_repository_href, opts)
|
|
220
70
|
|
|
221
71
|
List repository versions
|
|
222
72
|
|
|
@@ -260,10 +110,10 @@ opts = {
|
|
|
260
110
|
|
|
261
111
|
begin
|
|
262
112
|
#List repository versions
|
|
263
|
-
result = api_instance.
|
|
113
|
+
result = api_instance.list(container_container_repository_href, opts)
|
|
264
114
|
p result
|
|
265
115
|
rescue PulpContainerClient::ApiError => e
|
|
266
|
-
puts "Exception when calling RepositoriesContainerVersionsApi->
|
|
116
|
+
puts "Exception when calling RepositoriesContainerVersionsApi->list: #{e}"
|
|
267
117
|
end
|
|
268
118
|
```
|
|
269
119
|
|
|
@@ -309,66 +159,7 @@ Name | Type | Description | Notes
|
|
|
309
159
|
|
|
310
160
|
## read
|
|
311
161
|
|
|
312
|
-
> RepositoryVersionResponse read(
|
|
313
|
-
|
|
314
|
-
Inspect a repository version
|
|
315
|
-
|
|
316
|
-
ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
|
317
|
-
|
|
318
|
-
### Example
|
|
319
|
-
|
|
320
|
-
```ruby
|
|
321
|
-
# load the gem
|
|
322
|
-
require 'pulp_container_client'
|
|
323
|
-
# setup authorization
|
|
324
|
-
PulpContainerClient.configure do |config|
|
|
325
|
-
# Configure HTTP basic authorization: basicAuth
|
|
326
|
-
config.username = 'YOUR USERNAME'
|
|
327
|
-
config.password = 'YOUR PASSWORD'
|
|
328
|
-
end
|
|
329
|
-
|
|
330
|
-
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
|
331
|
-
container_container_push_repository_version_href = 'container_container_push_repository_version_href_example' # String |
|
|
332
|
-
opts = {
|
|
333
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
334
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
begin
|
|
338
|
-
#Inspect a repository version
|
|
339
|
-
result = api_instance.read(container_container_push_repository_version_href, opts)
|
|
340
|
-
p result
|
|
341
|
-
rescue PulpContainerClient::ApiError => e
|
|
342
|
-
puts "Exception when calling RepositoriesContainerVersionsApi->read: #{e}"
|
|
343
|
-
end
|
|
344
|
-
```
|
|
345
|
-
|
|
346
|
-
### Parameters
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
Name | Type | Description | Notes
|
|
350
|
-
------------- | ------------- | ------------- | -------------
|
|
351
|
-
**container_container_push_repository_version_href** | **String**| |
|
|
352
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
353
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
354
|
-
|
|
355
|
-
### Return type
|
|
356
|
-
|
|
357
|
-
[**RepositoryVersionResponse**](RepositoryVersionResponse.md)
|
|
358
|
-
|
|
359
|
-
### Authorization
|
|
360
|
-
|
|
361
|
-
[basicAuth](../README.md#basicAuth)
|
|
362
|
-
|
|
363
|
-
### HTTP request headers
|
|
364
|
-
|
|
365
|
-
- **Content-Type**: Not defined
|
|
366
|
-
- **Accept**: application/json
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
## read_0
|
|
370
|
-
|
|
371
|
-
> RepositoryVersionResponse read_0(container_container_repository_version_href, opts)
|
|
162
|
+
> RepositoryVersionResponse read(container_container_repository_version_href, opts)
|
|
372
163
|
|
|
373
164
|
Inspect a repository version
|
|
374
165
|
|
|
@@ -395,10 +186,10 @@ opts = {
|
|
|
395
186
|
|
|
396
187
|
begin
|
|
397
188
|
#Inspect a repository version
|
|
398
|
-
result = api_instance.
|
|
189
|
+
result = api_instance.read(container_container_repository_version_href, opts)
|
|
399
190
|
p result
|
|
400
191
|
rescue PulpContainerClient::ApiError => e
|
|
401
|
-
puts "Exception when calling RepositoriesContainerVersionsApi->
|
|
192
|
+
puts "Exception when calling RepositoriesContainerVersionsApi->read: #{e}"
|
|
402
193
|
end
|
|
403
194
|
```
|
|
404
195
|
|
|
@@ -427,61 +218,7 @@ Name | Type | Description | Notes
|
|
|
427
218
|
|
|
428
219
|
## repair
|
|
429
220
|
|
|
430
|
-
> AsyncOperationResponse repair(
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
Trigger an asynchronous task to repair a repository version.
|
|
435
|
-
|
|
436
|
-
### Example
|
|
437
|
-
|
|
438
|
-
```ruby
|
|
439
|
-
# load the gem
|
|
440
|
-
require 'pulp_container_client'
|
|
441
|
-
# setup authorization
|
|
442
|
-
PulpContainerClient.configure do |config|
|
|
443
|
-
# Configure HTTP basic authorization: basicAuth
|
|
444
|
-
config.username = 'YOUR USERNAME'
|
|
445
|
-
config.password = 'YOUR PASSWORD'
|
|
446
|
-
end
|
|
447
|
-
|
|
448
|
-
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
|
449
|
-
container_container_push_repository_version_href = 'container_container_push_repository_version_href_example' # String |
|
|
450
|
-
repository_version = PulpContainerClient::RepositoryVersion.new # RepositoryVersion |
|
|
451
|
-
|
|
452
|
-
begin
|
|
453
|
-
result = api_instance.repair(container_container_push_repository_version_href, repository_version)
|
|
454
|
-
p result
|
|
455
|
-
rescue PulpContainerClient::ApiError => e
|
|
456
|
-
puts "Exception when calling RepositoriesContainerVersionsApi->repair: #{e}"
|
|
457
|
-
end
|
|
458
|
-
```
|
|
459
|
-
|
|
460
|
-
### Parameters
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
Name | Type | Description | Notes
|
|
464
|
-
------------- | ------------- | ------------- | -------------
|
|
465
|
-
**container_container_push_repository_version_href** | **String**| |
|
|
466
|
-
**repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
|
|
467
|
-
|
|
468
|
-
### Return type
|
|
469
|
-
|
|
470
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
471
|
-
|
|
472
|
-
### Authorization
|
|
473
|
-
|
|
474
|
-
[basicAuth](../README.md#basicAuth)
|
|
475
|
-
|
|
476
|
-
### HTTP request headers
|
|
477
|
-
|
|
478
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
479
|
-
- **Accept**: application/json
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
## repair_0
|
|
483
|
-
|
|
484
|
-
> AsyncOperationResponse repair_0(container_container_repository_version_href, repository_version)
|
|
221
|
+
> AsyncOperationResponse repair(container_container_repository_version_href, repository_version)
|
|
485
222
|
|
|
486
223
|
|
|
487
224
|
|
|
@@ -504,10 +241,10 @@ container_container_repository_version_href = 'container_container_repository_ve
|
|
|
504
241
|
repository_version = PulpContainerClient::RepositoryVersion.new # RepositoryVersion |
|
|
505
242
|
|
|
506
243
|
begin
|
|
507
|
-
result = api_instance.
|
|
244
|
+
result = api_instance.repair(container_container_repository_version_href, repository_version)
|
|
508
245
|
p result
|
|
509
246
|
rescue PulpContainerClient::ApiError => e
|
|
510
|
-
puts "Exception when calling RepositoriesContainerVersionsApi->
|
|
247
|
+
puts "Exception when calling RepositoriesContainerVersionsApi->repair: #{e}"
|
|
511
248
|
end
|
|
512
249
|
```
|
|
513
250
|
|