pulp_container_client 2.3.0.dev01611977129 → 2.4.0.dev01612927332
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/DistributionsContainerApi.md +2 -0
- data/docs/PatchedcontainerContainerDistribution.md +13 -9
- data/docs/PulpContainerNamespacesApi.md +16 -5
- data/docs/RemotesContainerApi.md +2 -0
- data/docs/RepositoriesContainerApi.md +2 -0
- data/docs/RepositoriesContainerPushApi.md +116 -2
- data/docs/RepositoriesContainerVersionsApi.md +2 -2
- data/lib/pulp_container_client/api/distributions_container_api.rb +3 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -7
- data/lib/pulp_container_client/api/remotes_container_api.rb +3 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +3 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +147 -4
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +4 -4
- data/lib/pulp_container_client/models/container_container_distribution.rb +55 -34
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +75 -54
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +50 -29
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +1 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +7 -2
- data/spec/api/remotes_container_api_spec.rb +1 -0
- data/spec/api/repositories_container_api_spec.rb +1 -0
- data/spec/api/repositories_container_push_api_spec.rb +29 -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 +16 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +16 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 646d9fdc1c518cf29ce6f66bf715fe2f997d654df9a38a724b70227239a5d870
|
4
|
+
data.tar.gz: ae0d444c22bf2c309a914b549d1da75fd8b3106a83fffa12216e27dfb1f04198
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b613164c8c10eb07942d1644b9d0432c9bce7785130e95e8b70e2102176f2824f180d62b6e81f16cac3635ea624c87a2552252d0efacece8e9f1384d9aec687e
|
7
|
+
data.tar.gz: 6d3284fef7d7d30feb5aaaca0cb987ba5e1501c65a9747652e1935b40bef63e70c690dce0d0916e648bec7d80d970de9ea13a96002f2a4ac920f17d3b99fe51a
|
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.dev01612927332
|
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.dev01612927332.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.dev01612927332.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.dev01612927332'
|
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
|
+
**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\") |
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
10
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
|
-
**
|
12
|
-
**
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will 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
|
-
repository: null,
|
21
|
-
content_guard: null,
|
22
|
-
repository_version: null,
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
|
23
22
|
pulp_labels: null,
|
24
|
-
|
23
|
+
name: null,
|
24
|
+
repository_version: null,
|
25
|
+
content_guard: null,
|
26
|
+
repository: 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
|
-
**
|
7
|
+
**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\") |
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
11
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
12
|
-
**
|
13
|
-
**
|
14
|
-
**
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
13
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
14
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [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(
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(base_path: null,
|
26
|
+
pulp_created: null,
|
27
|
+
pulp_labels: null,
|
24
28
|
name: null,
|
25
|
-
repository: null,
|
26
|
-
content_guard: null,
|
27
29
|
repository_version: null,
|
28
|
-
|
29
|
-
|
30
|
-
|
30
|
+
pulp_href: null,
|
31
|
+
content_guard: null,
|
32
|
+
repository: null,
|
31
33
|
registry_path: null,
|
32
|
-
namespace: null
|
34
|
+
namespace: null,
|
35
|
+
private: null,
|
36
|
+
description: null)
|
33
37
|
```
|
34
38
|
|
35
39
|
|
@@ -154,6 +154,7 @@ opts = {
|
|
154
154
|
namespace__name: 'namespace__name_example', # String | namespace__name
|
155
155
|
offset: 56, # Integer | The initial index from which to return the results.
|
156
156
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
157
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
157
158
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
158
159
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
159
160
|
}
|
@@ -185,6 +186,7 @@ Name | Type | Description | Notes
|
|
185
186
|
**namespace__name** | **String**| namespace__name | [optional]
|
186
187
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
187
188
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
189
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
188
190
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
189
191
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
190
192
|
|
@@ -4,24 +4,28 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**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]
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
10
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
|
-
**
|
12
|
-
**
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will 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
|
-
repository: null,
|
21
|
-
content_guard: null,
|
22
|
-
repository_version: null,
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
|
23
22
|
pulp_labels: null,
|
24
|
-
|
23
|
+
name: null,
|
24
|
+
repository_version: null,
|
25
|
+
content_guard: null,
|
26
|
+
repository: 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]
|
data/docs/RemotesContainerApi.md
CHANGED
@@ -149,6 +149,7 @@ opts = {
|
|
149
149
|
name__startswith: 'name__startswith_example', # String | name__startswith
|
150
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
151
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
152
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
152
153
|
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
153
154
|
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
154
155
|
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
@@ -181,6 +182,7 @@ Name | Type | Description | Notes
|
|
181
182
|
**name__startswith** | **String**| name__startswith | [optional]
|
182
183
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
183
184
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
185
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
184
186
|
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
185
187
|
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
186
188
|
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
@@ -385,6 +385,7 @@ opts = {
|
|
385
385
|
name__startswith: 'name__startswith_example', # String | name__startswith
|
386
386
|
offset: 56, # Integer | The initial index from which to return the results.
|
387
387
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
388
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
388
389
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
389
390
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
390
391
|
}
|
@@ -411,6 +412,7 @@ Name | Type | Description | Notes
|
|
411
412
|
**name__startswith** | **String**| name__startswith | [optional]
|
412
413
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
413
414
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
415
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
414
416
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
415
417
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
416
418
|
|
@@ -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
|
|
@@ -39,6 +41,7 @@ opts = {
|
|
39
41
|
name__startswith: 'name__startswith_example', # String | name__startswith
|
40
42
|
offset: 56, # Integer | The initial index from which to return the results.
|
41
43
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
44
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
42
45
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
43
46
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
44
47
|
}
|
@@ -65,6 +68,7 @@ Name | Type | Description | Notes
|
|
65
68
|
**name__startswith** | **String**| name__startswith | [optional]
|
66
69
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
67
70
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
71
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
68
72
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
69
73
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
70
74
|
|
@@ -88,7 +92,7 @@ Name | Type | Description | Notes
|
|
88
92
|
|
89
93
|
Inspect a container push repository
|
90
94
|
|
91
|
-
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.
|
92
96
|
|
93
97
|
### Example
|
94
98
|
|
@@ -140,3 +144,113 @@ Name | Type | Description | Notes
|
|
140
144
|
- **Content-Type**: Not defined
|
141
145
|
- **Accept**: application/json
|
142
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
|
+
|