pulp_container_client 2.3.0.dev01611890753 → 2.3.1
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/README.md +12 -10
- data/docs/ContainerContainerDistribution.md +10 -6
- data/docs/ContainerContainerDistributionResponse.md +13 -9
- data/docs/{ContentguardsContentRedirectApi.md → ContentGuardsContentRedirectApi.md} +19 -19
- data/docs/DistributionsContainerApi.md +2 -0
- data/docs/PatchedcontainerContainerDistribution.md +10 -6
- 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.rb +1 -1
- data/lib/pulp_container_client/api/{contentguards_content_redirect_api.rb → content_guards_content_redirect_api.rb} +22 -22
- 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 +48 -27
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +64 -43
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +43 -22
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/{contentguards_content_redirect_api_spec.rb → content_guards_content_redirect_api_spec.rb} +6 -6
- 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 +15 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +15 -3
- metadata +47 -47
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8f43e69998e1b83bb9384216fdd0f0b8a152b758d06e40b37ccf2ccfa5656bf
|
4
|
+
data.tar.gz: 885ecc7b1db93c759df8067d35722e7cdb2f872b05c6940f590043bb84b152b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aad8496d49dfedae66466f5bcc551dbb3807987b597225d2c4569b152615b54a1e8654ce52b2f881674d315020ce01c1e5ce0fdd627ea7887eb98ac5fb013b0
|
7
|
+
data.tar.gz: d808861e400102ab9879137ea3c8eea3420991201e20e5d921ca9c91181259aa27ef83a8f8df9e9deca53ef2cd14a0d05d71b1a529e630c880a092350349165f
|
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.3.
|
10
|
+
- Package version: 2.3.1
|
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.3.
|
27
|
+
gem install ./pulp_container_client-2.3.1.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.3.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.3.1.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.3.
|
36
|
+
gem 'pulp_container_client', '~> 2.3.1'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -97,16 +97,16 @@ Class | Method | HTTP request | Description
|
|
97
97
|
------------ | ------------- | ------------- | -------------
|
98
98
|
*PulpContainerClient::ContentBlobsApi* | [**list**](docs/ContentBlobsApi.md#list) | **GET** /pulp/api/v3/content/container/blobs/ | List blobs
|
99
99
|
*PulpContainerClient::ContentBlobsApi* | [**read**](docs/ContentBlobsApi.md#read) | **GET** {container_blob_href} | Inspect a blob
|
100
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**create**](docs/ContentGuardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/content_guards/container/content_redirect/ | Create a content redirect content guard
|
101
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**delete**](docs/ContentGuardsContentRedirectApi.md#delete) | **DELETE** {container_content_redirect_content_guard_href} | Delete a content redirect content guard
|
102
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**list**](docs/ContentGuardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/content_guards/container/content_redirect/ | List content redirect content guards
|
103
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**partial_update**](docs/ContentGuardsContentRedirectApi.md#partial_update) | **PATCH** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
104
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**read**](docs/ContentGuardsContentRedirectApi.md#read) | **GET** {container_content_redirect_content_guard_href} | Inspect a content redirect content guard
|
105
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**update**](docs/ContentGuardsContentRedirectApi.md#update) | **PUT** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
100
106
|
*PulpContainerClient::ContentManifestsApi* | [**list**](docs/ContentManifestsApi.md#list) | **GET** /pulp/api/v3/content/container/manifests/ | List manifests
|
101
107
|
*PulpContainerClient::ContentManifestsApi* | [**read**](docs/ContentManifestsApi.md#read) | **GET** {container_manifest_href} | Inspect a manifest
|
102
108
|
*PulpContainerClient::ContentTagsApi* | [**list**](docs/ContentTagsApi.md#list) | **GET** /pulp/api/v3/content/container/tags/ | List tags
|
103
109
|
*PulpContainerClient::ContentTagsApi* | [**read**](docs/ContentTagsApi.md#read) | **GET** {container_tag_href} | Inspect a tag
|
104
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**create**](docs/ContentguardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/contentguards/container/content_redirect/ | Create a content redirect content guard
|
105
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**delete**](docs/ContentguardsContentRedirectApi.md#delete) | **DELETE** {container_content_redirect_content_guard_href} | Delete a content redirect content guard
|
106
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**list**](docs/ContentguardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/contentguards/container/content_redirect/ | List content redirect content guards
|
107
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**partial_update**](docs/ContentguardsContentRedirectApi.md#partial_update) | **PATCH** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
108
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**read**](docs/ContentguardsContentRedirectApi.md#read) | **GET** {container_content_redirect_content_guard_href} | Inspect a content redirect content guard
|
109
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**update**](docs/ContentguardsContentRedirectApi.md#update) | **PUT** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
110
110
|
*PulpContainerClient::DistributionsContainerApi* | [**create**](docs/DistributionsContainerApi.md#create) | **POST** /pulp/api/v3/distributions/container/container/ | Create a container distribution
|
111
111
|
*PulpContainerClient::DistributionsContainerApi* | [**delete**](docs/DistributionsContainerApi.md#delete) | **DELETE** {container_container_distribution_href} | Delete a container distribution
|
112
112
|
*PulpContainerClient::DistributionsContainerApi* | [**list**](docs/DistributionsContainerApi.md#list) | **GET** /pulp/api/v3/distributions/container/container/ | List container distributions
|
@@ -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
|
-
**
|
7
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
8
8
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
-
**
|
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
11
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
-
**
|
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(
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(name: null,
|
20
22
|
pulp_labels: null,
|
21
23
|
repository: null,
|
22
|
-
|
24
|
+
base_path: null,
|
23
25
|
content_guard: null,
|
24
|
-
|
26
|
+
repository_version: 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
|
-
**
|
8
|
-
**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\") |
|
7
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
8
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
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
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
12
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
14
|
-
**
|
13
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
14
|
+
**repository_version** | **String** | RepositoryVersion to 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(
|
24
|
-
base_path: null,
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(name: null,
|
25
26
|
pulp_labels: null,
|
26
27
|
repository: null,
|
28
|
+
base_path: null,
|
27
29
|
pulp_href: null,
|
28
|
-
repository_version: null,
|
29
30
|
content_guard: null,
|
30
|
-
|
31
|
+
pulp_created: null,
|
32
|
+
repository_version: null,
|
31
33
|
registry_path: null,
|
32
|
-
namespace: null
|
34
|
+
namespace: null,
|
35
|
+
private: null,
|
36
|
+
description: null)
|
33
37
|
```
|
34
38
|
|
35
39
|
|
@@ -1,15 +1,15 @@
|
|
1
|
-
# PulpContainerClient::
|
1
|
+
# PulpContainerClient::ContentGuardsContentRedirectApi
|
2
2
|
|
3
3
|
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](
|
8
|
-
[**delete**](
|
9
|
-
[**list**](
|
10
|
-
[**partial_update**](
|
11
|
-
[**read**](
|
12
|
-
[**update**](
|
7
|
+
[**create**](ContentGuardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/content_guards/container/content_redirect/ | Create a content redirect content guard
|
8
|
+
[**delete**](ContentGuardsContentRedirectApi.md#delete) | **DELETE** {container_content_redirect_content_guard_href} | Delete a content redirect content guard
|
9
|
+
[**list**](ContentGuardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/content_guards/container/content_redirect/ | List content redirect content guards
|
10
|
+
[**partial_update**](ContentGuardsContentRedirectApi.md#partial_update) | **PATCH** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
11
|
+
[**read**](ContentGuardsContentRedirectApi.md#read) | **GET** {container_content_redirect_content_guard_href} | Inspect a content redirect content guard
|
12
|
+
[**update**](ContentGuardsContentRedirectApi.md#update) | **PUT** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -33,7 +33,7 @@ PulpContainerClient.configure do |config|
|
|
33
33
|
config.password = 'YOUR PASSWORD'
|
34
34
|
end
|
35
35
|
|
36
|
-
api_instance = PulpContainerClient::
|
36
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
37
37
|
container_content_redirect_content_guard = PulpContainerClient::ContainerContentRedirectContentGuard.new # ContainerContentRedirectContentGuard |
|
38
38
|
|
39
39
|
begin
|
@@ -41,7 +41,7 @@ begin
|
|
41
41
|
result = api_instance.create(container_content_redirect_content_guard)
|
42
42
|
p result
|
43
43
|
rescue PulpContainerClient::ApiError => e
|
44
|
-
puts "Exception when calling
|
44
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->create: #{e}"
|
45
45
|
end
|
46
46
|
```
|
47
47
|
|
@@ -86,14 +86,14 @@ PulpContainerClient.configure do |config|
|
|
86
86
|
config.password = 'YOUR PASSWORD'
|
87
87
|
end
|
88
88
|
|
89
|
-
api_instance = PulpContainerClient::
|
89
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
90
90
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a content redirect content guard
|
94
94
|
api_instance.delete(container_content_redirect_content_guard_href)
|
95
95
|
rescue PulpContainerClient::ApiError => e
|
96
|
-
puts "Exception when calling
|
96
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->delete: #{e}"
|
97
97
|
end
|
98
98
|
```
|
99
99
|
|
@@ -138,7 +138,7 @@ PulpContainerClient.configure do |config|
|
|
138
138
|
config.password = 'YOUR PASSWORD'
|
139
139
|
end
|
140
140
|
|
141
|
-
api_instance = PulpContainerClient::
|
141
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
142
142
|
opts = {
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
name: 'name_example', # String | name
|
@@ -157,7 +157,7 @@ begin
|
|
157
157
|
result = api_instance.list(opts)
|
158
158
|
p result
|
159
159
|
rescue PulpContainerClient::ApiError => e
|
160
|
-
puts "Exception when calling
|
160
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->list: #{e}"
|
161
161
|
end
|
162
162
|
```
|
163
163
|
|
@@ -211,7 +211,7 @@ PulpContainerClient.configure do |config|
|
|
211
211
|
config.password = 'YOUR PASSWORD'
|
212
212
|
end
|
213
213
|
|
214
|
-
api_instance = PulpContainerClient::
|
214
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
215
215
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
216
216
|
patchedcontainer_content_redirect_content_guard = PulpContainerClient::PatchedcontainerContentRedirectContentGuard.new # PatchedcontainerContentRedirectContentGuard |
|
217
217
|
|
@@ -220,7 +220,7 @@ begin
|
|
220
220
|
result = api_instance.partial_update(container_content_redirect_content_guard_href, patchedcontainer_content_redirect_content_guard)
|
221
221
|
p result
|
222
222
|
rescue PulpContainerClient::ApiError => e
|
223
|
-
puts "Exception when calling
|
223
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->partial_update: #{e}"
|
224
224
|
end
|
225
225
|
```
|
226
226
|
|
@@ -266,7 +266,7 @@ PulpContainerClient.configure do |config|
|
|
266
266
|
config.password = 'YOUR PASSWORD'
|
267
267
|
end
|
268
268
|
|
269
|
-
api_instance = PulpContainerClient::
|
269
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
270
270
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
271
271
|
opts = {
|
272
272
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -278,7 +278,7 @@ begin
|
|
278
278
|
result = api_instance.read(container_content_redirect_content_guard_href, opts)
|
279
279
|
p result
|
280
280
|
rescue PulpContainerClient::ApiError => e
|
281
|
-
puts "Exception when calling
|
281
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->read: #{e}"
|
282
282
|
end
|
283
283
|
```
|
284
284
|
|
@@ -325,7 +325,7 @@ PulpContainerClient.configure do |config|
|
|
325
325
|
config.password = 'YOUR PASSWORD'
|
326
326
|
end
|
327
327
|
|
328
|
-
api_instance = PulpContainerClient::
|
328
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
329
329
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
330
330
|
container_content_redirect_content_guard = PulpContainerClient::ContainerContentRedirectContentGuard.new # ContainerContentRedirectContentGuard |
|
331
331
|
|
@@ -334,7 +334,7 @@ begin
|
|
334
334
|
result = api_instance.update(container_content_redirect_content_guard_href, container_content_redirect_content_guard)
|
335
335
|
p result
|
336
336
|
rescue PulpContainerClient::ApiError => e
|
337
|
-
puts "Exception when calling
|
337
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->update: #{e}"
|
338
338
|
end
|
339
339
|
```
|
340
340
|
|
@@ -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
|
-
**
|
7
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
8
8
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
-
**
|
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\") | [optional]
|
11
11
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
-
**
|
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(
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(name: null,
|
20
22
|
pulp_labels: null,
|
21
23
|
repository: null,
|
22
|
-
|
24
|
+
base_path: null,
|
23
25
|
content_guard: null,
|
24
|
-
|
26
|
+
repository_version: 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
|
+
|