pulp_container_client 2.3.0.dev01612322499 → 2.4.0.dev01613272873
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/ContainerContainerDistribution.md +13 -9
- data/docs/ContainerContainerDistributionResponse.md +17 -13
- data/docs/PatchedcontainerContainerDistribution.md +13 -9
- data/docs/PulpContainerNamespacesApi.md +16 -5
- data/docs/RepositoriesContainerPushApi.md +114 -2
- data/docs/RepositoriesContainerVersionsApi.md +2 -2
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -7
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +144 -4
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +4 -4
- data/lib/pulp_container_client/models/container_container_distribution.rb +59 -38
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +74 -53
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +54 -33
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +7 -2
- data/spec/api/repositories_container_push_api_spec.rb +28 -2
- data/spec/api/repositories_container_versions_api_spec.rb +2 -2
- data/spec/models/container_container_distribution_response_spec.rb +19 -7
- data/spec/models/container_container_distribution_spec.rb +17 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +17 -5
- metadata +42 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d41a2e90d05d96137c274f7fd51e22675ad763ac710952b0980160a3b460ef8e
|
4
|
+
data.tar.gz: 689464ed0ca11323a32f9745cc18a717e79daf0eb03323f103a88b37b96b3769
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb51e01448abb32499ebc117d57c937925a1aadf7d88443e5d650e200cbdced30069fe423c88238115a215b85f03a3b4e9cecac28c0c35034ce0c29cfd2d10a5
|
7
|
+
data.tar.gz: b460677a300dc837aeb494df4da2cd33ddda8535fe55e4ebc5c7627df904276c66ba45e0bffc7d51051625ad075d1fe93282f645818af52ef59d7cbc359e5976
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 2.
|
10
|
+
- Package version: 2.4.0.dev01613272873
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_container_client-2.
|
27
|
+
gem install ./pulp_container_client-2.4.0.dev01613272873.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.4.0.dev01613272873.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_container_client', '~> 2.
|
36
|
+
gem 'pulp_container_client', '~> 2.4.0.dev01613272873'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -139,6 +139,8 @@ Class | Method | HTTP request | Description
|
|
139
139
|
*PulpContainerClient::RepositoriesContainerApi* | [**update**](docs/RepositoriesContainerApi.md#update) | **PUT** {container_container_repository_href} | Update a container repository
|
140
140
|
*PulpContainerClient::RepositoriesContainerPushApi* | [**list**](docs/RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
|
141
141
|
*PulpContainerClient::RepositoriesContainerPushApi* | [**read**](docs/RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
|
142
|
+
*PulpContainerClient::RepositoriesContainerPushApi* | [**tag**](docs/RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag
|
143
|
+
*PulpContainerClient::RepositoriesContainerPushApi* | [**untag**](docs/RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag
|
142
144
|
*PulpContainerClient::RepositoriesContainerVersionsApi* | [**delete**](docs/RepositoriesContainerVersionsApi.md#delete) | **DELETE** {container_container_push_repository_version_href} | Delete a repository version
|
143
145
|
*PulpContainerClient::RepositoriesContainerVersionsApi* | [**delete_0**](docs/RepositoriesContainerVersionsApi.md#delete_0) | **DELETE** {container_container_repository_version_href} | Delete a repository version
|
144
146
|
*PulpContainerClient::RepositoriesContainerVersionsApi* | [**list**](docs/RepositoriesContainerVersionsApi.md#list) | **GET** {container_container_push_repository_href}versions/ | List repository versions
|
@@ -4,24 +4,28 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
8
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
7
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
12
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
-
**
|
10
|
-
**
|
11
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
|
+
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
|
+
**description** | **String** | An optional description. | [optional]
|
13
15
|
|
14
16
|
## Code Sample
|
15
17
|
|
16
18
|
```ruby
|
17
19
|
require 'PulpContainerClient'
|
18
20
|
|
19
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
20
|
-
pulp_labels: null,
|
21
|
-
name: null,
|
22
|
-
base_path: null,
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(repository_version: null,
|
23
22
|
content_guard: null,
|
24
|
-
|
23
|
+
base_path: null,
|
24
|
+
name: null,
|
25
|
+
repository: null,
|
26
|
+
pulp_labels: null,
|
27
|
+
private: null,
|
28
|
+
description: null)
|
25
29
|
```
|
26
30
|
|
27
31
|
|
@@ -4,32 +4,36 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
11
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
13
7
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
8
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
14
9
|
**pulp_href** | **String** | | [optional] [readonly]
|
10
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
11
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
14
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
15
15
|
**registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
16
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
17
|
+
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
18
|
+
**description** | **String** | An optional description. | [optional]
|
17
19
|
|
18
20
|
## Code Sample
|
19
21
|
|
20
22
|
```ruby
|
21
23
|
require 'PulpContainerClient'
|
22
24
|
|
23
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
24
|
-
pulp_labels: null,
|
25
|
-
name: null,
|
26
|
-
base_path: null,
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository_version: null,
|
27
26
|
content_guard: null,
|
28
|
-
pulp_created: null,
|
29
|
-
repository_version: null,
|
30
27
|
pulp_href: null,
|
28
|
+
base_path: null,
|
29
|
+
pulp_created: null,
|
30
|
+
name: null,
|
31
|
+
repository: null,
|
32
|
+
pulp_labels: null,
|
31
33
|
registry_path: null,
|
32
|
-
namespace: null
|
34
|
+
namespace: null,
|
35
|
+
private: null,
|
36
|
+
description: null)
|
33
37
|
```
|
34
38
|
|
35
39
|
|
@@ -4,24 +4,28 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
8
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
7
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
12
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
-
**
|
10
|
-
**
|
11
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
|
+
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
|
+
**description** | **String** | An optional description. | [optional]
|
13
15
|
|
14
16
|
## Code Sample
|
15
17
|
|
16
18
|
```ruby
|
17
19
|
require 'PulpContainerClient'
|
18
20
|
|
19
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
20
|
-
pulp_labels: null,
|
21
|
-
name: null,
|
22
|
-
base_path: null,
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository_version: null,
|
23
22
|
content_guard: null,
|
24
|
-
|
23
|
+
base_path: null,
|
24
|
+
name: null,
|
25
|
+
repository: null,
|
26
|
+
pulp_labels: null,
|
27
|
+
private: null,
|
28
|
+
description: null)
|
25
29
|
```
|
26
30
|
|
27
31
|
|
@@ -66,11 +66,11 @@ Name | Type | Description | Notes
|
|
66
66
|
|
67
67
|
## delete
|
68
68
|
|
69
|
-
> delete(container_container_namespace_href)
|
69
|
+
> AsyncOperationResponse delete(container_container_namespace_href)
|
70
70
|
|
71
71
|
Delete a container namespace
|
72
72
|
|
73
|
-
|
73
|
+
Trigger an asynchronous delete task
|
74
74
|
|
75
75
|
### Example
|
76
76
|
|
@@ -89,7 +89,8 @@ container_container_namespace_href = 'container_container_namespace_href_example
|
|
89
89
|
|
90
90
|
begin
|
91
91
|
#Delete a container namespace
|
92
|
-
api_instance.delete(container_container_namespace_href)
|
92
|
+
result = api_instance.delete(container_container_namespace_href)
|
93
|
+
p result
|
93
94
|
rescue PulpContainerClient::ApiError => e
|
94
95
|
puts "Exception when calling PulpContainerNamespacesApi->delete: #{e}"
|
95
96
|
end
|
@@ -104,7 +105,7 @@ Name | Type | Description | Notes
|
|
104
105
|
|
105
106
|
### Return type
|
106
107
|
|
107
|
-
|
108
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
108
109
|
|
109
110
|
### Authorization
|
110
111
|
|
@@ -113,7 +114,7 @@ nil (empty response body)
|
|
113
114
|
### HTTP request headers
|
114
115
|
|
115
116
|
- **Content-Type**: Not defined
|
116
|
-
- **Accept**:
|
117
|
+
- **Accept**: application/json
|
117
118
|
|
118
119
|
|
119
120
|
## list
|
@@ -139,6 +140,11 @@ end
|
|
139
140
|
api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
|
140
141
|
opts = {
|
141
142
|
limit: 56, # Integer | Number of results to return per page.
|
143
|
+
name: 'name_example', # String | name
|
144
|
+
name__contains: 'name__contains_example', # String | name__contains
|
145
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
146
|
+
name__in: 'name__in_example', # String | name__in
|
147
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
142
148
|
offset: 56, # Integer | The initial index from which to return the results.
|
143
149
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
144
150
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -160,6 +166,11 @@ end
|
|
160
166
|
Name | Type | Description | Notes
|
161
167
|
------------- | ------------- | ------------- | -------------
|
162
168
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
169
|
+
**name** | **String**| name | [optional]
|
170
|
+
**name__contains** | **String**| name__contains | [optional]
|
171
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
172
|
+
**name__in** | **String**| name__in | [optional]
|
173
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
163
174
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
164
175
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
165
176
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
@@ -6,6 +6,8 @@ Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**list**](RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
|
8
8
|
[**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
|
9
|
+
[**tag**](RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag
|
10
|
+
[**untag**](RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag
|
9
11
|
|
10
12
|
|
11
13
|
|
@@ -15,7 +17,7 @@ Method | HTTP request | Description
|
|
15
17
|
|
16
18
|
List container push repositorys
|
17
19
|
|
18
|
-
ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal
|
20
|
+
ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
19
21
|
|
20
22
|
### Example
|
21
23
|
|
@@ -90,7 +92,7 @@ Name | Type | Description | Notes
|
|
90
92
|
|
91
93
|
Inspect a container push repository
|
92
94
|
|
93
|
-
ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal
|
95
|
+
ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
94
96
|
|
95
97
|
### Example
|
96
98
|
|
@@ -142,3 +144,113 @@ Name | Type | Description | Notes
|
|
142
144
|
- **Content-Type**: Not defined
|
143
145
|
- **Accept**: application/json
|
144
146
|
|
147
|
+
|
148
|
+
## tag
|
149
|
+
|
150
|
+
> AsyncOperationResponse tag(container_container_push_repository_href, tag_image)
|
151
|
+
|
152
|
+
Create a Tag
|
153
|
+
|
154
|
+
Trigger an asynchronous task to tag an image in the repository
|
155
|
+
|
156
|
+
### Example
|
157
|
+
|
158
|
+
```ruby
|
159
|
+
# load the gem
|
160
|
+
require 'pulp_container_client'
|
161
|
+
# setup authorization
|
162
|
+
PulpContainerClient.configure do |config|
|
163
|
+
# Configure HTTP basic authorization: basicAuth
|
164
|
+
config.username = 'YOUR USERNAME'
|
165
|
+
config.password = 'YOUR PASSWORD'
|
166
|
+
end
|
167
|
+
|
168
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
169
|
+
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
170
|
+
tag_image = PulpContainerClient::TagImage.new # TagImage |
|
171
|
+
|
172
|
+
begin
|
173
|
+
#Create a Tag
|
174
|
+
result = api_instance.tag(container_container_push_repository_href, tag_image)
|
175
|
+
p result
|
176
|
+
rescue PulpContainerClient::ApiError => e
|
177
|
+
puts "Exception when calling RepositoriesContainerPushApi->tag: #{e}"
|
178
|
+
end
|
179
|
+
```
|
180
|
+
|
181
|
+
### Parameters
|
182
|
+
|
183
|
+
|
184
|
+
Name | Type | Description | Notes
|
185
|
+
------------- | ------------- | ------------- | -------------
|
186
|
+
**container_container_push_repository_href** | **String**| |
|
187
|
+
**tag_image** | [**TagImage**](TagImage.md)| |
|
188
|
+
|
189
|
+
### Return type
|
190
|
+
|
191
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
192
|
+
|
193
|
+
### Authorization
|
194
|
+
|
195
|
+
[basicAuth](../README.md#basicAuth)
|
196
|
+
|
197
|
+
### HTTP request headers
|
198
|
+
|
199
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
200
|
+
- **Accept**: application/json
|
201
|
+
|
202
|
+
|
203
|
+
## untag
|
204
|
+
|
205
|
+
> AsyncOperationResponse untag(container_container_push_repository_href, un_tag_image)
|
206
|
+
|
207
|
+
Delete a tag
|
208
|
+
|
209
|
+
Trigger an asynchronous task to untag an image in the repository
|
210
|
+
|
211
|
+
### Example
|
212
|
+
|
213
|
+
```ruby
|
214
|
+
# load the gem
|
215
|
+
require 'pulp_container_client'
|
216
|
+
# setup authorization
|
217
|
+
PulpContainerClient.configure do |config|
|
218
|
+
# Configure HTTP basic authorization: basicAuth
|
219
|
+
config.username = 'YOUR USERNAME'
|
220
|
+
config.password = 'YOUR PASSWORD'
|
221
|
+
end
|
222
|
+
|
223
|
+
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
224
|
+
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
225
|
+
un_tag_image = PulpContainerClient::UnTagImage.new # UnTagImage |
|
226
|
+
|
227
|
+
begin
|
228
|
+
#Delete a tag
|
229
|
+
result = api_instance.untag(container_container_push_repository_href, un_tag_image)
|
230
|
+
p result
|
231
|
+
rescue PulpContainerClient::ApiError => e
|
232
|
+
puts "Exception when calling RepositoriesContainerPushApi->untag: #{e}"
|
233
|
+
end
|
234
|
+
```
|
235
|
+
|
236
|
+
### Parameters
|
237
|
+
|
238
|
+
|
239
|
+
Name | Type | Description | Notes
|
240
|
+
------------- | ------------- | ------------- | -------------
|
241
|
+
**container_container_push_repository_href** | **String**| |
|
242
|
+
**un_tag_image** | [**UnTagImage**](UnTagImage.md)| |
|
243
|
+
|
244
|
+
### Return type
|
245
|
+
|
246
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
247
|
+
|
248
|
+
### Authorization
|
249
|
+
|
250
|
+
[basicAuth](../README.md#basicAuth)
|
251
|
+
|
252
|
+
### HTTP request headers
|
253
|
+
|
254
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
255
|
+
- **Accept**: application/json
|
256
|
+
|
@@ -127,7 +127,7 @@ Name | Type | Description | Notes
|
|
127
127
|
|
128
128
|
List repository versions
|
129
129
|
|
130
|
-
ContainerPushRepositoryVersion represents a single container push repository version.
|
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
131
|
|
132
132
|
### Example
|
133
133
|
|
@@ -313,7 +313,7 @@ Name | Type | Description | Notes
|
|
313
313
|
|
314
314
|
Inspect a repository version
|
315
315
|
|
316
|
-
ContainerPushRepositoryVersion represents a single container push repository version.
|
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
317
|
|
318
318
|
### Example
|
319
319
|
|
@@ -84,20 +84,20 @@ module PulpContainerClient
|
|
84
84
|
end
|
85
85
|
|
86
86
|
# Delete a container namespace
|
87
|
-
#
|
87
|
+
# Trigger an asynchronous delete task
|
88
88
|
# @param container_container_namespace_href [String]
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
|
-
# @return [
|
90
|
+
# @return [AsyncOperationResponse]
|
91
91
|
def delete(container_container_namespace_href, opts = {})
|
92
|
-
delete_with_http_info(container_container_namespace_href, opts)
|
93
|
-
|
92
|
+
data, _status_code, _headers = delete_with_http_info(container_container_namespace_href, opts)
|
93
|
+
data
|
94
94
|
end
|
95
95
|
|
96
96
|
# Delete a container namespace
|
97
|
-
#
|
97
|
+
# Trigger an asynchronous delete task
|
98
98
|
# @param container_container_namespace_href [String]
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
|
-
# @return [Array<(
|
100
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
101
101
|
def delete_with_http_info(container_container_namespace_href, opts = {})
|
102
102
|
if @api_client.config.debugging
|
103
103
|
@api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.delete ...'
|
@@ -114,6 +114,8 @@ module PulpContainerClient
|
|
114
114
|
|
115
115
|
# header parameters
|
116
116
|
header_params = opts[:header_params] || {}
|
117
|
+
# HTTP header 'Accept' (if needed)
|
118
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
117
119
|
|
118
120
|
# form parameters
|
119
121
|
form_params = opts[:form_params] || {}
|
@@ -122,7 +124,7 @@ module PulpContainerClient
|
|
122
124
|
post_body = opts[:body]
|
123
125
|
|
124
126
|
# return_type
|
125
|
-
return_type = opts[:return_type]
|
127
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
126
128
|
|
127
129
|
# auth_names
|
128
130
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -147,6 +149,11 @@ module PulpContainerClient
|
|
147
149
|
# ViewSet for ContainerNamespaces.
|
148
150
|
# @param [Hash] opts the optional parameters
|
149
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
+
# @option opts [String] :name name
|
153
|
+
# @option opts [String] :name__contains name__contains
|
154
|
+
# @option opts [String] :name__icontains name__icontains
|
155
|
+
# @option opts [String] :name__in name__in
|
156
|
+
# @option opts [String] :name__startswith name__startswith
|
150
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
151
158
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
152
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -161,6 +168,11 @@ module PulpContainerClient
|
|
161
168
|
# ViewSet for ContainerNamespaces.
|
162
169
|
# @param [Hash] opts the optional parameters
|
163
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
|
+
# @option opts [String] :name name
|
172
|
+
# @option opts [String] :name__contains name__contains
|
173
|
+
# @option opts [String] :name__icontains name__icontains
|
174
|
+
# @option opts [String] :name__in name__in
|
175
|
+
# @option opts [String] :name__startswith name__startswith
|
164
176
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
165
177
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
166
178
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -176,6 +188,11 @@ module PulpContainerClient
|
|
176
188
|
# query parameters
|
177
189
|
query_params = opts[:query_params] || {}
|
178
190
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
191
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
192
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
193
|
+
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
194
|
+
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
195
|
+
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
179
196
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
180
197
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
181
198
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|