pulp_docker_client 4.0.0b6 → 4.0.0b7
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 +10 -10
- data/docs/Blob.md +4 -4
- data/docs/ContentBlobsApi.md +9 -3
- data/docs/ContentManifestsApi.md +9 -3
- data/docs/ContentTagsApi.md +9 -3
- data/docs/DistributionsDockerApi.md +11 -5
- data/docs/DockerCopyApi.md +2 -2
- data/docs/DockerDistribution.md +9 -9
- data/docs/DockerRecursiveAddApi.md +1 -1
- data/docs/DockerRecursiveRemoveApi.md +1 -1
- data/docs/DockerRemote.md +1 -1
- data/docs/DockerTagApi.md +1 -1
- data/docs/DockerUntagApi.md +1 -1
- data/docs/Manifest.md +4 -4
- data/docs/RemotesDockerApi.md +13 -7
- data/docs/Tag.md +4 -4
- data/lib/pulp_docker_client/api/content_blobs_api.rb +7 -1
- data/lib/pulp_docker_client/api/content_manifests_api.rb +7 -1
- data/lib/pulp_docker_client/api/content_tags_api.rb +7 -1
- data/lib/pulp_docker_client/api/distributions_docker_api.rb +11 -5
- data/lib/pulp_docker_client/api/docker_copy_api.rb +3 -3
- data/lib/pulp_docker_client/api/docker_recursive_add_api.rb +2 -2
- data/lib/pulp_docker_client/api/docker_recursive_remove_api.rb +2 -2
- data/lib/pulp_docker_client/api/docker_tag_api.rb +2 -2
- data/lib/pulp_docker_client/api/docker_untag_api.rb +2 -2
- data/lib/pulp_docker_client/api/remotes_docker_api.rb +15 -9
- data/lib/pulp_docker_client/api_client.rb +1 -1
- data/lib/pulp_docker_client/api_error.rb +1 -1
- data/lib/pulp_docker_client/configuration.rb +1 -1
- data/lib/pulp_docker_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_docker_client/models/blob.rb +30 -30
- data/lib/pulp_docker_client/models/docker_distribution.rb +69 -69
- data/lib/pulp_docker_client/models/docker_remote.rb +2 -2
- data/lib/pulp_docker_client/models/inline_response200.rb +1 -1
- data/lib/pulp_docker_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_docker_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_docker_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_docker_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_docker_client/models/manifest.rb +30 -30
- data/lib/pulp_docker_client/models/manifest_copy.rb +1 -1
- data/lib/pulp_docker_client/models/recursive_manage.rb +1 -1
- data/lib/pulp_docker_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_docker_client/models/tag.rb +30 -30
- data/lib/pulp_docker_client/models/tag_copy.rb +1 -1
- data/lib/pulp_docker_client/models/tag_image.rb +1 -1
- data/lib/pulp_docker_client/models/un_tag_image.rb +1 -1
- data/lib/pulp_docker_client/version.rb +2 -2
- data/lib/pulp_docker_client.rb +1 -1
- data/pulp_docker_client.gemspec +1 -1
- data/spec/api/content_blobs_api_spec.rb +3 -1
- data/spec/api/content_manifests_api_spec.rb +3 -1
- data/spec/api/content_tags_api_spec.rb +3 -1
- data/spec/api/distributions_docker_api_spec.rb +5 -3
- data/spec/api/docker_copy_api_spec.rb +1 -1
- data/spec/api/docker_recursive_add_api_spec.rb +1 -1
- data/spec/api/docker_recursive_remove_api_spec.rb +1 -1
- data/spec/api/docker_tag_api_spec.rb +1 -1
- data/spec/api/docker_untag_api_spec.rb +1 -1
- data/spec/api/remotes_docker_api_spec.rb +7 -5
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/blob_spec.rb +3 -3
- data/spec/models/docker_distribution_spec.rb +8 -8
- data/spec/models/docker_remote_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/manifest_copy_spec.rb +1 -1
- data/spec/models/manifest_spec.rb +3 -3
- data/spec/models/recursive_manage_spec.rb +1 -1
- data/spec/models/repository_sync_url_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/tag_spec.rb +3 -3
- data/spec/models/un_tag_image_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- 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: bd7863e222873443cd40ba4246f840e2018043802ee3b72e68cbca0bd72271b8
|
|
4
|
+
data.tar.gz: cf421f876516dd0031dfbfedf4aef011fe9435c1659e40c0ec9d11b54cab6aea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 434287941763c859007af09d4bc42ac8a803f4762d49d37ae40eae5f3b2800afbe7cbf9162af72d4d331c8b0ffc32ca631b00375fb980102a85166faeae6cc4f
|
|
7
|
+
data.tar.gz: 10ac482141ce6fb7af41cd09e3e6c2780f2f318e5bf32644f02458054b6a621e0145f77dd7a69f2d85cce1f40febfbba748a7b91f00e43f121d651407633acff
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
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: 4.0.
|
|
10
|
+
- Package version: 4.0.0b7
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
@@ -23,16 +23,16 @@ gem build pulp_docker_client.gemspec
|
|
|
23
23
|
Then either install the gem locally:
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
|
-
gem install ./pulp_docker_client-4.0.
|
|
26
|
+
gem install ./pulp_docker_client-4.0.0b7.gem
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
(for development, run `gem install --dev ./pulp_docker_client-4.0.
|
|
29
|
+
(for development, run `gem install --dev ./pulp_docker_client-4.0.0b7.gem` to install the development dependencies)
|
|
30
30
|
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
32
|
|
|
33
33
|
Finally add this to the Gemfile:
|
|
34
34
|
|
|
35
|
-
gem 'pulp_docker_client', '~> 4.0.
|
|
35
|
+
gem 'pulp_docker_client', '~> 4.0.0b7'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -97,12 +97,12 @@ Class | Method | HTTP request | Description
|
|
|
97
97
|
*PulpDockerClient::DistributionsDockerApi* | [**partial_update**](docs/DistributionsDockerApi.md#partial_update) | **PATCH** {docker_distribution_href} | Partially update a docker distribution
|
|
98
98
|
*PulpDockerClient::DistributionsDockerApi* | [**read**](docs/DistributionsDockerApi.md#read) | **GET** {docker_distribution_href} | Inspect a docker distribution
|
|
99
99
|
*PulpDockerClient::DistributionsDockerApi* | [**update**](docs/DistributionsDockerApi.md#update) | **PUT** {docker_distribution_href} | Update a docker distribution
|
|
100
|
-
*PulpDockerClient::DockerCopyApi* | [**create**](docs/DockerCopyApi.md#create) | **POST** /docker/manifests/copy/ |
|
|
101
|
-
*PulpDockerClient::DockerCopyApi* | [**create_0**](docs/DockerCopyApi.md#create_0) | **POST** /docker/tags/copy/ |
|
|
102
|
-
*PulpDockerClient::DockerRecursiveAddApi* | [**create**](docs/DockerRecursiveAddApi.md#create) | **POST** /docker/recursive-add/ |
|
|
103
|
-
*PulpDockerClient::DockerRecursiveRemoveApi* | [**create**](docs/DockerRecursiveRemoveApi.md#create) | **POST** /docker/recursive-remove/ |
|
|
104
|
-
*PulpDockerClient::DockerTagApi* | [**create**](docs/DockerTagApi.md#create) | **POST** /docker/tag/ |
|
|
105
|
-
*PulpDockerClient::DockerUntagApi* | [**create**](docs/DockerUntagApi.md#create) | **POST** /docker/untag/ |
|
|
100
|
+
*PulpDockerClient::DockerCopyApi* | [**create**](docs/DockerCopyApi.md#create) | **POST** /pulp/api/v3/docker/manifests/copy/ |
|
|
101
|
+
*PulpDockerClient::DockerCopyApi* | [**create_0**](docs/DockerCopyApi.md#create_0) | **POST** /pulp/api/v3/docker/tags/copy/ |
|
|
102
|
+
*PulpDockerClient::DockerRecursiveAddApi* | [**create**](docs/DockerRecursiveAddApi.md#create) | **POST** /pulp/api/v3/docker/recursive-add/ |
|
|
103
|
+
*PulpDockerClient::DockerRecursiveRemoveApi* | [**create**](docs/DockerRecursiveRemoveApi.md#create) | **POST** /pulp/api/v3/docker/recursive-remove/ |
|
|
104
|
+
*PulpDockerClient::DockerTagApi* | [**create**](docs/DockerTagApi.md#create) | **POST** /pulp/api/v3/docker/tag/ |
|
|
105
|
+
*PulpDockerClient::DockerUntagApi* | [**create**](docs/DockerUntagApi.md#create) | **POST** /pulp/api/v3/docker/untag/ |
|
|
106
106
|
*PulpDockerClient::RemotesDockerApi* | [**create**](docs/RemotesDockerApi.md#create) | **POST** /pulp/api/v3/remotes/docker/docker/ | Create a docker remote
|
|
107
107
|
*PulpDockerClient::RemotesDockerApi* | [**delete**](docs/RemotesDockerApi.md#delete) | **DELETE** {docker_remote_href} | Delete a docker remote
|
|
108
108
|
*PulpDockerClient::RemotesDockerApi* | [**list**](docs/RemotesDockerApi.md#list) | **GET** /pulp/api/v3/remotes/docker/docker/ | List docker remotes
|
data/docs/Blob.md
CHANGED
|
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**_href** | **String** | | [optional]
|
|
8
8
|
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
|
9
9
|
**_type** | **String** | | [optional]
|
|
10
|
-
**
|
|
11
|
-
**
|
|
10
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
|
11
|
+
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
|
12
12
|
**digest** | **String** | sha256 of the Blob file |
|
|
13
13
|
**media_type** | **String** | Docker media type of the file |
|
|
14
14
|
|
|
@@ -20,8 +20,8 @@ require 'PulpDockerClient'
|
|
|
20
20
|
instance = PulpDockerClient::Blob.new(_href: null,
|
|
21
21
|
_created: null,
|
|
22
22
|
_type: null,
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
artifact: null,
|
|
24
|
+
relative_path: null,
|
|
25
25
|
digest: null,
|
|
26
26
|
media_type: null)
|
|
27
27
|
```
|
data/docs/ContentBlobsApi.md
CHANGED
|
@@ -92,7 +92,8 @@ opts = {
|
|
|
92
92
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
|
93
93
|
media_type: 'media_type_example', # String |
|
|
94
94
|
limit: 56, # Integer | Number of results to return per page.
|
|
95
|
-
offset: 56 # Integer | The initial index from which to return the results.
|
|
95
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
96
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
begin
|
|
@@ -117,6 +118,7 @@ Name | Type | Description | Notes
|
|
|
117
118
|
**media_type** | **String**| | [optional]
|
|
118
119
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
119
120
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
121
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
120
122
|
|
|
121
123
|
### Return type
|
|
122
124
|
|
|
@@ -134,7 +136,7 @@ Name | Type | Description | Notes
|
|
|
134
136
|
|
|
135
137
|
## read
|
|
136
138
|
|
|
137
|
-
> Blob read(blob_href)
|
|
139
|
+
> Blob read(blob_href, opts)
|
|
138
140
|
|
|
139
141
|
Inspect a blob
|
|
140
142
|
|
|
@@ -154,10 +156,13 @@ end
|
|
|
154
156
|
|
|
155
157
|
api_instance = PulpDockerClient::ContentBlobsApi.new
|
|
156
158
|
blob_href = 'blob_href_example' # String | URI of Blob. e.g.: /pulp/api/v3/content/docker/blobs/1/
|
|
159
|
+
opts = {
|
|
160
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
161
|
+
}
|
|
157
162
|
|
|
158
163
|
begin
|
|
159
164
|
#Inspect a blob
|
|
160
|
-
result = api_instance.read(blob_href)
|
|
165
|
+
result = api_instance.read(blob_href, opts)
|
|
161
166
|
p result
|
|
162
167
|
rescue PulpDockerClient::ApiError => e
|
|
163
168
|
puts "Exception when calling ContentBlobsApi->read: #{e}"
|
|
@@ -170,6 +175,7 @@ end
|
|
|
170
175
|
Name | Type | Description | Notes
|
|
171
176
|
------------- | ------------- | ------------- | -------------
|
|
172
177
|
**blob_href** | **String**| URI of Blob. e.g.: /pulp/api/v3/content/docker/blobs/1/ |
|
|
178
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
173
179
|
|
|
174
180
|
### Return type
|
|
175
181
|
|
data/docs/ContentManifestsApi.md
CHANGED
|
@@ -92,7 +92,8 @@ opts = {
|
|
|
92
92
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
|
93
93
|
media_type: 'media_type_example', # String |
|
|
94
94
|
limit: 56, # Integer | Number of results to return per page.
|
|
95
|
-
offset: 56 # Integer | The initial index from which to return the results.
|
|
95
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
96
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
begin
|
|
@@ -117,6 +118,7 @@ Name | Type | Description | Notes
|
|
|
117
118
|
**media_type** | **String**| | [optional]
|
|
118
119
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
119
120
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
121
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
120
122
|
|
|
121
123
|
### Return type
|
|
122
124
|
|
|
@@ -134,7 +136,7 @@ Name | Type | Description | Notes
|
|
|
134
136
|
|
|
135
137
|
## read
|
|
136
138
|
|
|
137
|
-
> Manifest read(manifest_href)
|
|
139
|
+
> Manifest read(manifest_href, opts)
|
|
138
140
|
|
|
139
141
|
Inspect a manifest
|
|
140
142
|
|
|
@@ -154,10 +156,13 @@ end
|
|
|
154
156
|
|
|
155
157
|
api_instance = PulpDockerClient::ContentManifestsApi.new
|
|
156
158
|
manifest_href = 'manifest_href_example' # String | URI of Manifest. e.g.: /pulp/api/v3/content/docker/manifests/1/
|
|
159
|
+
opts = {
|
|
160
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
161
|
+
}
|
|
157
162
|
|
|
158
163
|
begin
|
|
159
164
|
#Inspect a manifest
|
|
160
|
-
result = api_instance.read(manifest_href)
|
|
165
|
+
result = api_instance.read(manifest_href, opts)
|
|
161
166
|
p result
|
|
162
167
|
rescue PulpDockerClient::ApiError => e
|
|
163
168
|
puts "Exception when calling ContentManifestsApi->read: #{e}"
|
|
@@ -170,6 +175,7 @@ end
|
|
|
170
175
|
Name | Type | Description | Notes
|
|
171
176
|
------------- | ------------- | ------------- | -------------
|
|
172
177
|
**manifest_href** | **String**| URI of Manifest. e.g.: /pulp/api/v3/content/docker/manifests/1/ |
|
|
178
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
173
179
|
|
|
174
180
|
### Return type
|
|
175
181
|
|
data/docs/ContentTagsApi.md
CHANGED
|
@@ -93,7 +93,8 @@ opts = {
|
|
|
93
93
|
media_type: 'media_type_example', # String |
|
|
94
94
|
digest: 'digest_example', # String | Multiple values may be separated by commas.
|
|
95
95
|
limit: 56, # Integer | Number of results to return per page.
|
|
96
|
-
offset: 56 # Integer | The initial index from which to return the results.
|
|
96
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
97
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
begin
|
|
@@ -119,6 +120,7 @@ Name | Type | Description | Notes
|
|
|
119
120
|
**digest** | **String**| Multiple values may be separated by commas. | [optional]
|
|
120
121
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
121
122
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
123
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
122
124
|
|
|
123
125
|
### Return type
|
|
124
126
|
|
|
@@ -136,7 +138,7 @@ Name | Type | Description | Notes
|
|
|
136
138
|
|
|
137
139
|
## read
|
|
138
140
|
|
|
139
|
-
> Tag read(tag_href)
|
|
141
|
+
> Tag read(tag_href, opts)
|
|
140
142
|
|
|
141
143
|
Inspect a tag
|
|
142
144
|
|
|
@@ -156,10 +158,13 @@ end
|
|
|
156
158
|
|
|
157
159
|
api_instance = PulpDockerClient::ContentTagsApi.new
|
|
158
160
|
tag_href = 'tag_href_example' # String | URI of Tag. e.g.: /pulp/api/v3/content/docker/tags/1/
|
|
161
|
+
opts = {
|
|
162
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
163
|
+
}
|
|
159
164
|
|
|
160
165
|
begin
|
|
161
166
|
#Inspect a tag
|
|
162
|
-
result = api_instance.read(tag_href)
|
|
167
|
+
result = api_instance.read(tag_href, opts)
|
|
163
168
|
p result
|
|
164
169
|
rescue PulpDockerClient::ApiError => e
|
|
165
170
|
puts "Exception when calling ContentTagsApi->read: #{e}"
|
|
@@ -172,6 +177,7 @@ end
|
|
|
172
177
|
Name | Type | Description | Notes
|
|
173
178
|
------------- | ------------- | ------------- | -------------
|
|
174
179
|
**tag_href** | **String**| URI of Tag. e.g.: /pulp/api/v3/content/docker/tags/1/ |
|
|
180
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
175
181
|
|
|
176
182
|
### Return type
|
|
177
183
|
|
|
@@ -125,7 +125,7 @@ Name | Type | Description | Notes
|
|
|
125
125
|
|
|
126
126
|
List docker distributions
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
The Docker Distribution will serve the latest version of a Repository if ``repository`` is specified. The Docker Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Docker Distribution, but not both.
|
|
129
129
|
|
|
130
130
|
### Example
|
|
131
131
|
|
|
@@ -148,7 +148,8 @@ opts = {
|
|
|
148
148
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
|
149
149
|
base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
|
|
150
150
|
limit: 56, # Integer | Number of results to return per page.
|
|
151
|
-
offset: 56 # Integer | The initial index from which to return the results.
|
|
151
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
152
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
152
153
|
}
|
|
153
154
|
|
|
154
155
|
begin
|
|
@@ -173,6 +174,7 @@ Name | Type | Description | Notes
|
|
|
173
174
|
**base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
|
|
174
175
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
175
176
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
177
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
176
178
|
|
|
177
179
|
### Return type
|
|
178
180
|
|
|
@@ -245,11 +247,11 @@ Name | Type | Description | Notes
|
|
|
245
247
|
|
|
246
248
|
## read
|
|
247
249
|
|
|
248
|
-
> DockerDistribution read(docker_distribution_href)
|
|
250
|
+
> DockerDistribution read(docker_distribution_href, opts)
|
|
249
251
|
|
|
250
252
|
Inspect a docker distribution
|
|
251
253
|
|
|
252
|
-
|
|
254
|
+
The Docker Distribution will serve the latest version of a Repository if ``repository`` is specified. The Docker Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Docker Distribution, but not both.
|
|
253
255
|
|
|
254
256
|
### Example
|
|
255
257
|
|
|
@@ -265,10 +267,13 @@ end
|
|
|
265
267
|
|
|
266
268
|
api_instance = PulpDockerClient::DistributionsDockerApi.new
|
|
267
269
|
docker_distribution_href = 'docker_distribution_href_example' # String | URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/
|
|
270
|
+
opts = {
|
|
271
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
272
|
+
}
|
|
268
273
|
|
|
269
274
|
begin
|
|
270
275
|
#Inspect a docker distribution
|
|
271
|
-
result = api_instance.read(docker_distribution_href)
|
|
276
|
+
result = api_instance.read(docker_distribution_href, opts)
|
|
272
277
|
p result
|
|
273
278
|
rescue PulpDockerClient::ApiError => e
|
|
274
279
|
puts "Exception when calling DistributionsDockerApi->read: #{e}"
|
|
@@ -281,6 +286,7 @@ end
|
|
|
281
286
|
Name | Type | Description | Notes
|
|
282
287
|
------------- | ------------- | ------------- | -------------
|
|
283
288
|
**docker_distribution_href** | **String**| URI of Docker Distribution. e.g.: /pulp/api/v3/distributions/docker/docker/1/ |
|
|
289
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
284
290
|
|
|
285
291
|
### Return type
|
|
286
292
|
|
data/docs/DockerCopyApi.md
CHANGED
|
@@ -4,8 +4,8 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**create**](DockerCopyApi.md#create) | **POST** /docker/manifests/copy/ |
|
|
8
|
-
[**create_0**](DockerCopyApi.md#create_0) | **POST** /docker/tags/copy/ |
|
|
7
|
+
[**create**](DockerCopyApi.md#create) | **POST** /pulp/api/v3/docker/manifests/copy/ |
|
|
8
|
+
[**create_0**](DockerCopyApi.md#create_0) | **POST** /pulp/api/v3/docker/tags/copy/ |
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
data/docs/DockerDistribution.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
8
7
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
9
|
-
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
|
10
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
11
|
-
**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\") |
|
|
12
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
13
9
|
**_href** | **String** | | [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
|
+
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
13
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
14
14
|
**registry_path** | **String** | The Registry hostame:port/name/ to use with docker pull command defined by this distribution. | [optional]
|
|
15
15
|
|
|
16
16
|
## Code Sample
|
|
@@ -18,13 +18,13 @@ Name | Type | Description | Notes
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'PulpDockerClient'
|
|
20
20
|
|
|
21
|
-
instance = PulpDockerClient::DockerDistribution.new(
|
|
22
|
-
content_guard: null,
|
|
23
|
-
_created: null,
|
|
24
|
-
repository_version: null,
|
|
25
|
-
base_path: null,
|
|
21
|
+
instance = PulpDockerClient::DockerDistribution.new(content_guard: null,
|
|
26
22
|
repository: null,
|
|
27
23
|
_href: null,
|
|
24
|
+
base_path: null,
|
|
25
|
+
_created: null,
|
|
26
|
+
name: null,
|
|
27
|
+
repository_version: null,
|
|
28
28
|
registry_path: null)
|
|
29
29
|
```
|
|
30
30
|
|
|
@@ -4,7 +4,7 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**create**](DockerRecursiveAddApi.md#create) | **POST** /docker/recursive-add/ |
|
|
7
|
+
[**create**](DockerRecursiveAddApi.md#create) | **POST** /pulp/api/v3/docker/recursive-add/ |
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**create**](DockerRecursiveRemoveApi.md#create) | **POST** /docker/recursive-remove/ |
|
|
7
|
+
[**create**](DockerRecursiveRemoveApi.md#create) | **POST** /pulp/api/v3/docker/recursive-remove/ |
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
data/docs/DockerRemote.md
CHANGED
|
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
|
19
19
|
**_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional]
|
|
20
20
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
21
|
-
**policy** | **String** |
|
|
21
|
+
**policy** | **String** | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional] [default to 'immediate']
|
|
22
22
|
**upstream_name** | **String** | Name of the upstream repository |
|
|
23
23
|
**whitelist_tags** | **String** | A comma separated string of tags to sync. Example: latest,1.27.0 | [optional]
|
|
24
24
|
|
data/docs/DockerTagApi.md
CHANGED
|
@@ -4,7 +4,7 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**create**](DockerTagApi.md#create) | **POST** /docker/tag/ |
|
|
7
|
+
[**create**](DockerTagApi.md#create) | **POST** /pulp/api/v3/docker/tag/ |
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
data/docs/DockerUntagApi.md
CHANGED
|
@@ -4,7 +4,7 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**create**](DockerUntagApi.md#create) | **POST** /docker/untag/ |
|
|
7
|
+
[**create**](DockerUntagApi.md#create) | **POST** /pulp/api/v3/docker/untag/ |
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
data/docs/Manifest.md
CHANGED
|
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**_href** | **String** | | [optional]
|
|
8
8
|
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
|
9
9
|
**_type** | **String** | | [optional]
|
|
10
|
-
**
|
|
11
|
-
**
|
|
10
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
|
11
|
+
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
|
12
12
|
**digest** | **String** | sha256 of the Manifest file |
|
|
13
13
|
**schema_version** | **Integer** | Docker schema version |
|
|
14
14
|
**media_type** | **String** | Docker media type of the file |
|
|
@@ -24,8 +24,8 @@ require 'PulpDockerClient'
|
|
|
24
24
|
instance = PulpDockerClient::Manifest.new(_href: null,
|
|
25
25
|
_created: null,
|
|
26
26
|
_type: null,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
artifact: null,
|
|
28
|
+
relative_path: null,
|
|
29
29
|
digest: null,
|
|
30
30
|
schema_version: null,
|
|
31
31
|
media_type: null,
|
data/docs/RemotesDockerApi.md
CHANGED
|
@@ -20,7 +20,7 @@ Method | HTTP request | Description
|
|
|
20
20
|
|
|
21
21
|
Create a docker remote
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Docker remotes represent an external repository that implements the Docker Registry API. Docker remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
|
24
24
|
|
|
25
25
|
### Example
|
|
26
26
|
|
|
@@ -126,7 +126,7 @@ Name | Type | Description | Notes
|
|
|
126
126
|
|
|
127
127
|
List docker remotes
|
|
128
128
|
|
|
129
|
-
|
|
129
|
+
Docker remotes represent an external repository that implements the Docker Registry API. Docker remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
|
130
130
|
|
|
131
131
|
### Example
|
|
132
132
|
|
|
@@ -151,7 +151,8 @@ opts = {
|
|
|
151
151
|
_last_updated__range: '_last_updated__range_example', # String | Filter results where _last_updated is between two comma separated values
|
|
152
152
|
_last_updated: '_last_updated_example', # String | ISO 8601 formatted dates are supported
|
|
153
153
|
limit: 56, # Integer | Number of results to return per page.
|
|
154
|
-
offset: 56 # Integer | The initial index from which to return the results.
|
|
154
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
155
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
begin
|
|
@@ -178,6 +179,7 @@ Name | Type | Description | Notes
|
|
|
178
179
|
**_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
179
180
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
180
181
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
182
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
181
183
|
|
|
182
184
|
### Return type
|
|
183
185
|
|
|
@@ -250,11 +252,11 @@ Name | Type | Description | Notes
|
|
|
250
252
|
|
|
251
253
|
## read
|
|
252
254
|
|
|
253
|
-
> DockerRemote read(docker_remote_href)
|
|
255
|
+
> DockerRemote read(docker_remote_href, opts)
|
|
254
256
|
|
|
255
257
|
Inspect a docker remote
|
|
256
258
|
|
|
257
|
-
|
|
259
|
+
Docker remotes represent an external repository that implements the Docker Registry API. Docker remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
|
258
260
|
|
|
259
261
|
### Example
|
|
260
262
|
|
|
@@ -270,10 +272,13 @@ end
|
|
|
270
272
|
|
|
271
273
|
api_instance = PulpDockerClient::RemotesDockerApi.new
|
|
272
274
|
docker_remote_href = 'docker_remote_href_example' # String | URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/
|
|
275
|
+
opts = {
|
|
276
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
277
|
+
}
|
|
273
278
|
|
|
274
279
|
begin
|
|
275
280
|
#Inspect a docker remote
|
|
276
|
-
result = api_instance.read(docker_remote_href)
|
|
281
|
+
result = api_instance.read(docker_remote_href, opts)
|
|
277
282
|
p result
|
|
278
283
|
rescue PulpDockerClient::ApiError => e
|
|
279
284
|
puts "Exception when calling RemotesDockerApi->read: #{e}"
|
|
@@ -286,6 +291,7 @@ end
|
|
|
286
291
|
Name | Type | Description | Notes
|
|
287
292
|
------------- | ------------- | ------------- | -------------
|
|
288
293
|
**docker_remote_href** | **String**| URI of Docker Remote. e.g.: /pulp/api/v3/remotes/docker/docker/1/ |
|
|
294
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
289
295
|
|
|
290
296
|
### Return type
|
|
291
297
|
|
|
@@ -307,7 +313,7 @@ Name | Type | Description | Notes
|
|
|
307
313
|
|
|
308
314
|
|
|
309
315
|
|
|
310
|
-
Trigger an asynchronous task to sync content
|
|
316
|
+
Trigger an asynchronous task to sync content.
|
|
311
317
|
|
|
312
318
|
### Example
|
|
313
319
|
|
data/docs/Tag.md
CHANGED
|
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**_href** | **String** | | [optional]
|
|
8
8
|
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
|
9
9
|
**_type** | **String** | | [optional]
|
|
10
|
-
**
|
|
11
|
-
**
|
|
10
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
|
11
|
+
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
|
12
12
|
**name** | **String** | Tag name |
|
|
13
13
|
**tagged_manifest** | **String** | Manifest that is tagged |
|
|
14
14
|
|
|
@@ -20,8 +20,8 @@ require 'PulpDockerClient'
|
|
|
20
20
|
instance = PulpDockerClient::Tag.new(_href: null,
|
|
21
21
|
_created: null,
|
|
22
22
|
_type: null,
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
artifact: null,
|
|
24
|
+
relative_path: null,
|
|
25
25
|
name: null,
|
|
26
26
|
tagged_manifest: null)
|
|
27
27
|
```
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.1.
|
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -94,6 +94,7 @@ module PulpDockerClient
|
|
|
94
94
|
# @option opts [String] :media_type
|
|
95
95
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
96
96
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
97
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
97
98
|
# @return [InlineResponse200]
|
|
98
99
|
def list(opts = {})
|
|
99
100
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -111,6 +112,7 @@ module PulpDockerClient
|
|
|
111
112
|
# @option opts [String] :media_type
|
|
112
113
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
113
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
115
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
114
116
|
# @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
|
|
115
117
|
def list_with_http_info(opts = {})
|
|
116
118
|
if @api_client.config.debugging
|
|
@@ -129,6 +131,7 @@ module PulpDockerClient
|
|
|
129
131
|
query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
|
|
130
132
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
131
133
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
134
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
132
135
|
|
|
133
136
|
# header parameters
|
|
134
137
|
header_params = opts[:header_params] || {}
|
|
@@ -167,6 +170,7 @@ module PulpDockerClient
|
|
|
167
170
|
# ViewSet for Blobs.
|
|
168
171
|
# @param blob_href [String] URI of Blob. e.g.: /pulp/api/v3/content/docker/blobs/1/
|
|
169
172
|
# @param [Hash] opts the optional parameters
|
|
173
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
170
174
|
# @return [Blob]
|
|
171
175
|
def read(blob_href, opts = {})
|
|
172
176
|
data, _status_code, _headers = read_with_http_info(blob_href, opts)
|
|
@@ -177,6 +181,7 @@ module PulpDockerClient
|
|
|
177
181
|
# ViewSet for Blobs.
|
|
178
182
|
# @param blob_href [String] URI of Blob. e.g.: /pulp/api/v3/content/docker/blobs/1/
|
|
179
183
|
# @param [Hash] opts the optional parameters
|
|
184
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
180
185
|
# @return [Array<(Blob, Integer, Hash)>] Blob data, response status code and response headers
|
|
181
186
|
def read_with_http_info(blob_href, opts = {})
|
|
182
187
|
if @api_client.config.debugging
|
|
@@ -191,6 +196,7 @@ module PulpDockerClient
|
|
|
191
196
|
|
|
192
197
|
# query parameters
|
|
193
198
|
query_params = opts[:query_params] || {}
|
|
199
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
194
200
|
|
|
195
201
|
# header parameters
|
|
196
202
|
header_params = opts[:header_params] || {}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.1.
|
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -94,6 +94,7 @@ module PulpDockerClient
|
|
|
94
94
|
# @option opts [String] :media_type
|
|
95
95
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
96
96
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
97
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
97
98
|
# @return [InlineResponse2001]
|
|
98
99
|
def list(opts = {})
|
|
99
100
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -111,6 +112,7 @@ module PulpDockerClient
|
|
|
111
112
|
# @option opts [String] :media_type
|
|
112
113
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
113
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
115
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
114
116
|
# @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
|
|
115
117
|
def list_with_http_info(opts = {})
|
|
116
118
|
if @api_client.config.debugging
|
|
@@ -129,6 +131,7 @@ module PulpDockerClient
|
|
|
129
131
|
query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
|
|
130
132
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
131
133
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
134
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
132
135
|
|
|
133
136
|
# header parameters
|
|
134
137
|
header_params = opts[:header_params] || {}
|
|
@@ -167,6 +170,7 @@ module PulpDockerClient
|
|
|
167
170
|
# ViewSet for Manifest.
|
|
168
171
|
# @param manifest_href [String] URI of Manifest. e.g.: /pulp/api/v3/content/docker/manifests/1/
|
|
169
172
|
# @param [Hash] opts the optional parameters
|
|
173
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
170
174
|
# @return [Manifest]
|
|
171
175
|
def read(manifest_href, opts = {})
|
|
172
176
|
data, _status_code, _headers = read_with_http_info(manifest_href, opts)
|
|
@@ -177,6 +181,7 @@ module PulpDockerClient
|
|
|
177
181
|
# ViewSet for Manifest.
|
|
178
182
|
# @param manifest_href [String] URI of Manifest. e.g.: /pulp/api/v3/content/docker/manifests/1/
|
|
179
183
|
# @param [Hash] opts the optional parameters
|
|
184
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
180
185
|
# @return [Array<(Manifest, Integer, Hash)>] Manifest data, response status code and response headers
|
|
181
186
|
def read_with_http_info(manifest_href, opts = {})
|
|
182
187
|
if @api_client.config.debugging
|
|
@@ -191,6 +196,7 @@ module PulpDockerClient
|
|
|
191
196
|
|
|
192
197
|
# query parameters
|
|
193
198
|
query_params = opts[:query_params] || {}
|
|
199
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
194
200
|
|
|
195
201
|
# header parameters
|
|
196
202
|
header_params = opts[:header_params] || {}
|