pulp_container_client 2.0.0b3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +69 -57
- data/docs/{ContainerBlob.md → ContainerBlobResponse.md} +2 -2
- data/docs/ContainerContainerDistribution.md +6 -12
- data/docs/ContainerContainerDistributionResponse.md +31 -0
- data/docs/ContainerContainerPushRepository.md +4 -10
- data/docs/ContainerContainerPushRepositoryResponse.md +29 -0
- data/docs/ContainerContainerRemote.md +8 -12
- data/docs/ContainerContainerRemoteResponse.md +49 -0
- data/docs/ContainerContainerRepository.md +4 -10
- data/docs/ContainerContainerRepositoryResponse.md +29 -0
- data/docs/ContainerContentRedirectContentGuard.md +1 -5
- data/docs/ContainerContentRedirectContentGuardResponse.md +23 -0
- data/docs/{ContainerManifest.md → ContainerManifestResponse.md} +2 -2
- data/docs/{ContainerTag.md → ContainerTagResponse.md} +2 -4
- data/docs/ContentBlobsApi.md +24 -24
- data/docs/ContentManifestsApi.md +24 -24
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/ContentTagsApi.md +26 -26
- data/docs/ContentguardsContentRedirectApi.md +55 -55
- data/docs/DistributionsContainerApi.md +108 -60
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/ManifestCopy.md +1 -1
- data/docs/OCIBuildImage.md +23 -0
- data/docs/PatchedcontainerContainerDistribution.md +25 -0
- data/docs/PatchedcontainerContainerRemote.md +43 -0
- data/docs/PatchedcontainerContainerRepository.md +21 -0
- data/docs/PatchedcontainerContentRedirectContentGuard.md +19 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/RecursiveManage.md +1 -1
- data/docs/RemotesContainerApi.md +125 -65
- data/docs/RepositoriesContainerApi.md +158 -134
- data/docs/RepositoriesContainerPushApi.md +44 -148
- data/docs/RepositoriesContainerVersionsApi.md +190 -126
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/docs/TagCopy.md +1 -1
- data/docs/TokenApi.md +8 -16
- data/lib/pulp_container_client/api/content_blobs_api.rb +38 -34
- data/lib/pulp_container_client/api/content_manifests_api.rb +38 -34
- data/lib/pulp_container_client/api/content_tags_api.rb +41 -37
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +90 -90
- data/lib/pulp_container_client/api/distributions_container_api.rb +153 -90
- data/lib/pulp_container_client/api/remotes_container_api.rb +181 -100
- data/lib/pulp_container_client/api/repositories_container_api.rb +245 -222
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -197
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +278 -188
- data/lib/pulp_container_client/api/token_api.rb +8 -14
- data/lib/pulp_container_client/api_client.rb +2 -2
- data/lib/pulp_container_client/api_error.rb +2 -2
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_container_client/models/{container_blob.rb → container_blob_response.rb} +6 -43
- data/lib/pulp_container_client/models/container_container_distribution.rb +29 -110
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +289 -0
- data/lib/pulp_container_client/models/container_container_push_repository.rb +18 -78
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +271 -0
- data/lib/pulp_container_client/models/container_container_remote.rb +29 -227
- data/lib/pulp_container_client/models/container_container_remote_response.rb +409 -0
- data/lib/pulp_container_client/models/container_container_repository.rb +18 -78
- data/lib/pulp_container_client/models/container_container_repository_response.rb +271 -0
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +4 -56
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +243 -0
- data/lib/pulp_container_client/models/{container_manifest.rb → container_manifest_response.rb} +6 -43
- data/lib/pulp_container_client/models/{container_tag.rb → container_tag_response.rb} +7 -40
- data/lib/pulp_container_client/models/content_summary.rb +9 -15
- data/lib/pulp_container_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_container_client/models/inline_response200.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2008.rb +3 -13
- data/lib/pulp_container_client/models/manifest_copy.rb +4 -3
- data/lib/pulp_container_client/models/oci_build_image.rb +240 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +250 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +365 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +229 -0
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +219 -0
- data/lib/pulp_container_client/models/policy_enum.rb +37 -0
- data/lib/pulp_container_client/models/recursive_manage.rb +4 -3
- data/lib/pulp_container_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_container_client/models/repository_version.rb +7 -43
- data/lib/pulp_container_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_container_client/models/tag_copy.rb +4 -3
- data/lib/pulp_container_client/models/tag_image.rb +3 -40
- data/lib/pulp_container_client/models/un_tag_image.rb +3 -21
- data/lib/pulp_container_client/version.rb +3 -3
- data/lib/pulp_container_client.rb +18 -5
- data/pulp_container_client.gemspec +4 -4
- data/spec/api/content_blobs_api_spec.rb +11 -11
- data/spec/api/content_manifests_api_spec.rb +11 -11
- data/spec/api/content_tags_api_spec.rb +12 -12
- data/spec/api/contentguards_content_redirect_api_spec.rb +17 -17
- data/spec/api/distributions_container_api_spec.rb +39 -18
- data/spec/api/remotes_container_api_spec.rb +48 -21
- data/spec/api/repositories_container_api_spec.rb +41 -32
- data/spec/api/repositories_container_push_api_spec.rb +17 -40
- data/spec/api/repositories_container_versions_api_spec.rb +76 -46
- data/spec/api/token_api_spec.rb +4 -6
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/{container_blob_spec.rb → container_blob_response_spec.rb} +8 -8
- data/spec/models/container_container_distribution_response_spec.rb +83 -0
- data/spec/models/container_container_distribution_spec.rb +5 -23
- data/spec/models/container_container_push_repository_response_spec.rb +77 -0
- data/spec/models/container_container_push_repository_spec.rb +5 -23
- data/spec/models/container_container_remote_response_spec.rb +137 -0
- data/spec/models/container_container_remote_spec.rb +7 -23
- data/spec/models/container_container_repository_response_spec.rb +77 -0
- data/spec/models/container_container_repository_spec.rb +5 -23
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +59 -0
- data/spec/models/container_content_redirect_content_guard_spec.rb +2 -14
- data/spec/models/{container_manifest_spec.rb → container_manifest_response_spec.rb} +8 -8
- data/spec/models/{container_tag_spec.rb → container_tag_response_spec.rb} +8 -14
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/manifest_copy_spec.rb +2 -2
- data/spec/models/oci_build_image_spec.rb +59 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +65 -0
- data/spec/models/patchedcontainer_container_remote_spec.rb +119 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +53 -0
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +47 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/recursive_manage_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/models/tag_copy_spec.rb +2 -2
- data/spec/models/tag_image_spec.rb +2 -2
- data/spec/models/un_tag_image_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +93 -41
|
@@ -5,17 +5,17 @@ All URIs are relative to *http://pulp*
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**create**](DistributionsContainerApi.md#create) | **POST** /pulp/api/v3/distributions/container/container/ | Create a container distribution
|
|
8
|
-
[**delete**](DistributionsContainerApi.md#delete) | **DELETE** {
|
|
8
|
+
[**delete**](DistributionsContainerApi.md#delete) | **DELETE** {container_container_distribution_href} | Delete a container distribution
|
|
9
9
|
[**list**](DistributionsContainerApi.md#list) | **GET** /pulp/api/v3/distributions/container/container/ | List container distributions
|
|
10
|
-
[**partial_update**](DistributionsContainerApi.md#partial_update) | **PATCH** {
|
|
11
|
-
[**read**](DistributionsContainerApi.md#read) | **GET** {
|
|
12
|
-
[**update**](DistributionsContainerApi.md#update) | **PUT** {
|
|
10
|
+
[**partial_update**](DistributionsContainerApi.md#partial_update) | **PATCH** {container_container_distribution_href} | Update a container distribution
|
|
11
|
+
[**read**](DistributionsContainerApi.md#read) | **GET** {container_container_distribution_href} | Inspect a container distribution
|
|
12
|
+
[**update**](DistributionsContainerApi.md#update) | **PUT** {container_container_distribution_href} | Update a container distribution
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
## create
|
|
17
17
|
|
|
18
|
-
> AsyncOperationResponse create(
|
|
18
|
+
> AsyncOperationResponse create(container_container_distribution)
|
|
19
19
|
|
|
20
20
|
Create a container distribution
|
|
21
21
|
|
|
@@ -28,17 +28,17 @@ Trigger an asynchronous create task
|
|
|
28
28
|
require 'pulp_container_client'
|
|
29
29
|
# setup authorization
|
|
30
30
|
PulpContainerClient.configure do |config|
|
|
31
|
-
# Configure HTTP basic authorization:
|
|
31
|
+
# Configure HTTP basic authorization: basicAuth
|
|
32
32
|
config.username = 'YOUR USERNAME'
|
|
33
33
|
config.password = 'YOUR PASSWORD'
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
37
|
-
|
|
37
|
+
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new # ContainerContainerDistribution |
|
|
38
38
|
|
|
39
39
|
begin
|
|
40
40
|
#Create a container distribution
|
|
41
|
-
result = api_instance.create(
|
|
41
|
+
result = api_instance.create(container_container_distribution)
|
|
42
42
|
p result
|
|
43
43
|
rescue PulpContainerClient::ApiError => e
|
|
44
44
|
puts "Exception when calling DistributionsContainerApi->create: #{e}"
|
|
@@ -50,7 +50,7 @@ end
|
|
|
50
50
|
|
|
51
51
|
Name | Type | Description | Notes
|
|
52
52
|
------------- | ------------- | ------------- | -------------
|
|
53
|
-
**
|
|
53
|
+
**container_container_distribution** | [**ContainerContainerDistribution**](ContainerContainerDistribution.md)| |
|
|
54
54
|
|
|
55
55
|
### Return type
|
|
56
56
|
|
|
@@ -58,17 +58,17 @@ Name | Type | Description | Notes
|
|
|
58
58
|
|
|
59
59
|
### Authorization
|
|
60
60
|
|
|
61
|
-
[
|
|
61
|
+
[basicAuth](../README.md#basicAuth)
|
|
62
62
|
|
|
63
63
|
### HTTP request headers
|
|
64
64
|
|
|
65
|
-
- **Content-Type**: application/json
|
|
65
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
66
66
|
- **Accept**: application/json
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
## delete
|
|
70
70
|
|
|
71
|
-
> AsyncOperationResponse delete(
|
|
71
|
+
> AsyncOperationResponse delete(container_container_distribution_href, opts)
|
|
72
72
|
|
|
73
73
|
Delete a container distribution
|
|
74
74
|
|
|
@@ -81,17 +81,26 @@ Trigger an asynchronous delete task
|
|
|
81
81
|
require 'pulp_container_client'
|
|
82
82
|
# setup authorization
|
|
83
83
|
PulpContainerClient.configure do |config|
|
|
84
|
-
# Configure HTTP basic authorization:
|
|
84
|
+
# Configure HTTP basic authorization: basicAuth
|
|
85
85
|
config.username = 'YOUR USERNAME'
|
|
86
86
|
config.password = 'YOUR PASSWORD'
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
90
|
-
|
|
90
|
+
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
91
|
+
opts = {
|
|
92
|
+
base_path: 'base_path_example', # String | base_path
|
|
93
|
+
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
|
94
|
+
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
|
95
|
+
base_path__in: 'base_path__in_example', # String | base_path__in
|
|
96
|
+
name: 'name_example', # String | name
|
|
97
|
+
name__in: 'name__in_example', # String | name__in
|
|
98
|
+
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
|
99
|
+
}
|
|
91
100
|
|
|
92
101
|
begin
|
|
93
102
|
#Delete a container distribution
|
|
94
|
-
result = api_instance.delete(
|
|
103
|
+
result = api_instance.delete(container_container_distribution_href, opts)
|
|
95
104
|
p result
|
|
96
105
|
rescue PulpContainerClient::ApiError => e
|
|
97
106
|
puts "Exception when calling DistributionsContainerApi->delete: #{e}"
|
|
@@ -103,7 +112,14 @@ end
|
|
|
103
112
|
|
|
104
113
|
Name | Type | Description | Notes
|
|
105
114
|
------------- | ------------- | ------------- | -------------
|
|
106
|
-
**
|
|
115
|
+
**container_container_distribution_href** | **String**| |
|
|
116
|
+
**base_path** | **String**| base_path | [optional]
|
|
117
|
+
**base_path__contains** | **String**| base_path__contains | [optional]
|
|
118
|
+
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
|
119
|
+
**base_path__in** | **String**| base_path__in | [optional]
|
|
120
|
+
**name** | **String**| name | [optional]
|
|
121
|
+
**name__in** | **String**| name__in | [optional]
|
|
122
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
107
123
|
|
|
108
124
|
### Return type
|
|
109
125
|
|
|
@@ -111,7 +127,7 @@ Name | Type | Description | Notes
|
|
|
111
127
|
|
|
112
128
|
### Authorization
|
|
113
129
|
|
|
114
|
-
[
|
|
130
|
+
[basicAuth](../README.md#basicAuth)
|
|
115
131
|
|
|
116
132
|
### HTTP request headers
|
|
117
133
|
|
|
@@ -134,22 +150,22 @@ The Container Distribution will serve the latest version of a Repository if ``re
|
|
|
134
150
|
require 'pulp_container_client'
|
|
135
151
|
# setup authorization
|
|
136
152
|
PulpContainerClient.configure do |config|
|
|
137
|
-
# Configure HTTP basic authorization:
|
|
153
|
+
# Configure HTTP basic authorization: basicAuth
|
|
138
154
|
config.username = 'YOUR USERNAME'
|
|
139
155
|
config.password = 'YOUR PASSWORD'
|
|
140
156
|
end
|
|
141
157
|
|
|
142
158
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
143
159
|
opts = {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
|
149
|
-
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
|
150
|
-
base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
|
|
160
|
+
base_path: 'base_path_example', # String | base_path
|
|
161
|
+
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
|
162
|
+
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
|
163
|
+
base_path__in: 'base_path__in_example', # String | base_path__in
|
|
151
164
|
limit: 56, # Integer | Number of results to return per page.
|
|
165
|
+
name: 'name_example', # String | name
|
|
166
|
+
name__in: 'name__in_example', # String | name__in
|
|
152
167
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
168
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
153
169
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
154
170
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
155
171
|
}
|
|
@@ -168,15 +184,15 @@ end
|
|
|
168
184
|
|
|
169
185
|
Name | Type | Description | Notes
|
|
170
186
|
------------- | ------------- | ------------- | -------------
|
|
171
|
-
**
|
|
172
|
-
**
|
|
173
|
-
**
|
|
174
|
-
**
|
|
175
|
-
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
|
176
|
-
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
|
177
|
-
**base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
|
|
187
|
+
**base_path** | **String**| base_path | [optional]
|
|
188
|
+
**base_path__contains** | **String**| base_path__contains | [optional]
|
|
189
|
+
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
|
190
|
+
**base_path__in** | **String**| base_path__in | [optional]
|
|
178
191
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
192
|
+
**name** | **String**| name | [optional]
|
|
193
|
+
**name__in** | **String**| name__in | [optional]
|
|
179
194
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
195
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
180
196
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
181
197
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
182
198
|
|
|
@@ -186,7 +202,7 @@ Name | Type | Description | Notes
|
|
|
186
202
|
|
|
187
203
|
### Authorization
|
|
188
204
|
|
|
189
|
-
[
|
|
205
|
+
[basicAuth](../README.md#basicAuth)
|
|
190
206
|
|
|
191
207
|
### HTTP request headers
|
|
192
208
|
|
|
@@ -196,9 +212,9 @@ Name | Type | Description | Notes
|
|
|
196
212
|
|
|
197
213
|
## partial_update
|
|
198
214
|
|
|
199
|
-
> AsyncOperationResponse partial_update(
|
|
215
|
+
> AsyncOperationResponse partial_update(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
|
200
216
|
|
|
201
|
-
|
|
217
|
+
Update a container distribution
|
|
202
218
|
|
|
203
219
|
Trigger an asynchronous partial update task
|
|
204
220
|
|
|
@@ -209,18 +225,27 @@ Trigger an asynchronous partial update task
|
|
|
209
225
|
require 'pulp_container_client'
|
|
210
226
|
# setup authorization
|
|
211
227
|
PulpContainerClient.configure do |config|
|
|
212
|
-
# Configure HTTP basic authorization:
|
|
228
|
+
# Configure HTTP basic authorization: basicAuth
|
|
213
229
|
config.username = 'YOUR USERNAME'
|
|
214
230
|
config.password = 'YOUR PASSWORD'
|
|
215
231
|
end
|
|
216
232
|
|
|
217
233
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
218
|
-
|
|
219
|
-
|
|
234
|
+
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
235
|
+
patchedcontainer_container_distribution = PulpContainerClient::PatchedcontainerContainerDistribution.new # PatchedcontainerContainerDistribution |
|
|
236
|
+
opts = {
|
|
237
|
+
base_path: 'base_path_example', # String | base_path
|
|
238
|
+
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
|
239
|
+
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
|
240
|
+
base_path__in: 'base_path__in_example', # String | base_path__in
|
|
241
|
+
name: 'name_example', # String | name
|
|
242
|
+
name__in: 'name__in_example', # String | name__in
|
|
243
|
+
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
|
244
|
+
}
|
|
220
245
|
|
|
221
246
|
begin
|
|
222
|
-
#
|
|
223
|
-
result = api_instance.partial_update(
|
|
247
|
+
#Update a container distribution
|
|
248
|
+
result = api_instance.partial_update(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
|
224
249
|
p result
|
|
225
250
|
rescue PulpContainerClient::ApiError => e
|
|
226
251
|
puts "Exception when calling DistributionsContainerApi->partial_update: #{e}"
|
|
@@ -232,8 +257,15 @@ end
|
|
|
232
257
|
|
|
233
258
|
Name | Type | Description | Notes
|
|
234
259
|
------------- | ------------- | ------------- | -------------
|
|
235
|
-
**
|
|
236
|
-
**
|
|
260
|
+
**container_container_distribution_href** | **String**| |
|
|
261
|
+
**patchedcontainer_container_distribution** | [**PatchedcontainerContainerDistribution**](PatchedcontainerContainerDistribution.md)| |
|
|
262
|
+
**base_path** | **String**| base_path | [optional]
|
|
263
|
+
**base_path__contains** | **String**| base_path__contains | [optional]
|
|
264
|
+
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
|
265
|
+
**base_path__in** | **String**| base_path__in | [optional]
|
|
266
|
+
**name** | **String**| name | [optional]
|
|
267
|
+
**name__in** | **String**| name__in | [optional]
|
|
268
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
237
269
|
|
|
238
270
|
### Return type
|
|
239
271
|
|
|
@@ -241,17 +273,17 @@ Name | Type | Description | Notes
|
|
|
241
273
|
|
|
242
274
|
### Authorization
|
|
243
275
|
|
|
244
|
-
[
|
|
276
|
+
[basicAuth](../README.md#basicAuth)
|
|
245
277
|
|
|
246
278
|
### HTTP request headers
|
|
247
279
|
|
|
248
|
-
- **Content-Type**: application/json
|
|
280
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
249
281
|
- **Accept**: application/json
|
|
250
282
|
|
|
251
283
|
|
|
252
284
|
## read
|
|
253
285
|
|
|
254
|
-
>
|
|
286
|
+
> ContainerContainerDistributionResponse read(container_container_distribution_href, opts)
|
|
255
287
|
|
|
256
288
|
Inspect a container distribution
|
|
257
289
|
|
|
@@ -264,13 +296,13 @@ The Container Distribution will serve the latest version of a Repository if ``re
|
|
|
264
296
|
require 'pulp_container_client'
|
|
265
297
|
# setup authorization
|
|
266
298
|
PulpContainerClient.configure do |config|
|
|
267
|
-
# Configure HTTP basic authorization:
|
|
299
|
+
# Configure HTTP basic authorization: basicAuth
|
|
268
300
|
config.username = 'YOUR USERNAME'
|
|
269
301
|
config.password = 'YOUR PASSWORD'
|
|
270
302
|
end
|
|
271
303
|
|
|
272
304
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
273
|
-
|
|
305
|
+
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
274
306
|
opts = {
|
|
275
307
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
276
308
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -278,7 +310,7 @@ opts = {
|
|
|
278
310
|
|
|
279
311
|
begin
|
|
280
312
|
#Inspect a container distribution
|
|
281
|
-
result = api_instance.read(
|
|
313
|
+
result = api_instance.read(container_container_distribution_href, opts)
|
|
282
314
|
p result
|
|
283
315
|
rescue PulpContainerClient::ApiError => e
|
|
284
316
|
puts "Exception when calling DistributionsContainerApi->read: #{e}"
|
|
@@ -290,17 +322,17 @@ end
|
|
|
290
322
|
|
|
291
323
|
Name | Type | Description | Notes
|
|
292
324
|
------------- | ------------- | ------------- | -------------
|
|
293
|
-
**
|
|
325
|
+
**container_container_distribution_href** | **String**| |
|
|
294
326
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
295
327
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
296
328
|
|
|
297
329
|
### Return type
|
|
298
330
|
|
|
299
|
-
[**
|
|
331
|
+
[**ContainerContainerDistributionResponse**](ContainerContainerDistributionResponse.md)
|
|
300
332
|
|
|
301
333
|
### Authorization
|
|
302
334
|
|
|
303
|
-
[
|
|
335
|
+
[basicAuth](../README.md#basicAuth)
|
|
304
336
|
|
|
305
337
|
### HTTP request headers
|
|
306
338
|
|
|
@@ -310,7 +342,7 @@ Name | Type | Description | Notes
|
|
|
310
342
|
|
|
311
343
|
## update
|
|
312
344
|
|
|
313
|
-
> AsyncOperationResponse update(
|
|
345
|
+
> AsyncOperationResponse update(container_container_distribution_href, container_container_distribution, opts)
|
|
314
346
|
|
|
315
347
|
Update a container distribution
|
|
316
348
|
|
|
@@ -323,18 +355,27 @@ Trigger an asynchronous update task
|
|
|
323
355
|
require 'pulp_container_client'
|
|
324
356
|
# setup authorization
|
|
325
357
|
PulpContainerClient.configure do |config|
|
|
326
|
-
# Configure HTTP basic authorization:
|
|
358
|
+
# Configure HTTP basic authorization: basicAuth
|
|
327
359
|
config.username = 'YOUR USERNAME'
|
|
328
360
|
config.password = 'YOUR PASSWORD'
|
|
329
361
|
end
|
|
330
362
|
|
|
331
363
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
332
|
-
|
|
333
|
-
|
|
364
|
+
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
365
|
+
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new # ContainerContainerDistribution |
|
|
366
|
+
opts = {
|
|
367
|
+
base_path: 'base_path_example', # String | base_path
|
|
368
|
+
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
|
369
|
+
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
|
370
|
+
base_path__in: 'base_path__in_example', # String | base_path__in
|
|
371
|
+
name: 'name_example', # String | name
|
|
372
|
+
name__in: 'name__in_example', # String | name__in
|
|
373
|
+
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
|
374
|
+
}
|
|
334
375
|
|
|
335
376
|
begin
|
|
336
377
|
#Update a container distribution
|
|
337
|
-
result = api_instance.update(
|
|
378
|
+
result = api_instance.update(container_container_distribution_href, container_container_distribution, opts)
|
|
338
379
|
p result
|
|
339
380
|
rescue PulpContainerClient::ApiError => e
|
|
340
381
|
puts "Exception when calling DistributionsContainerApi->update: #{e}"
|
|
@@ -346,8 +387,15 @@ end
|
|
|
346
387
|
|
|
347
388
|
Name | Type | Description | Notes
|
|
348
389
|
------------- | ------------- | ------------- | -------------
|
|
349
|
-
**
|
|
350
|
-
**
|
|
390
|
+
**container_container_distribution_href** | **String**| |
|
|
391
|
+
**container_container_distribution** | [**ContainerContainerDistribution**](ContainerContainerDistribution.md)| |
|
|
392
|
+
**base_path** | **String**| base_path | [optional]
|
|
393
|
+
**base_path__contains** | **String**| base_path__contains | [optional]
|
|
394
|
+
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
|
395
|
+
**base_path__in** | **String**| base_path__in | [optional]
|
|
396
|
+
**name** | **String**| name | [optional]
|
|
397
|
+
**name__in** | **String**| name__in | [optional]
|
|
398
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
351
399
|
|
|
352
400
|
### Return type
|
|
353
401
|
|
|
@@ -355,10 +403,10 @@ Name | Type | Description | Notes
|
|
|
355
403
|
|
|
356
404
|
### Authorization
|
|
357
405
|
|
|
358
|
-
[
|
|
406
|
+
[basicAuth](../README.md#basicAuth)
|
|
359
407
|
|
|
360
408
|
### HTTP request headers
|
|
361
409
|
|
|
362
|
-
- **Content-Type**: application/json
|
|
410
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
363
411
|
- **Accept**: application/json
|
|
364
412
|
|
data/docs/InlineResponse200.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerBlobResponse>**](ContainerBlobResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpContainerClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpContainerClient::InlineResponse200.new(count:
|
|
17
|
+
instance = PulpContainerClient::InlineResponse200.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2001.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerManifestResponse>**](ContainerManifestResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpContainerClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpContainerClient::InlineResponse2001.new(count:
|
|
17
|
+
instance = PulpContainerClient::InlineResponse2001.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2002.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerTagResponse>**](ContainerTagResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpContainerClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpContainerClient::InlineResponse2002.new(count:
|
|
17
|
+
instance = PulpContainerClient::InlineResponse2002.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2003.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerContentRedirectContentGuardResponse>**](ContainerContentRedirectContentGuardResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpContainerClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpContainerClient::InlineResponse2003.new(count:
|
|
17
|
+
instance = PulpContainerClient::InlineResponse2003.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2004.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerContainerDistributionResponse>**](ContainerContainerDistributionResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpContainerClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpContainerClient::InlineResponse2004.new(count:
|
|
17
|
+
instance = PulpContainerClient::InlineResponse2004.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2005.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerContainerRemoteResponse>**](ContainerContainerRemoteResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpContainerClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpContainerClient::InlineResponse2005.new(count:
|
|
17
|
+
instance = PulpContainerClient::InlineResponse2005.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2006.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerContainerRepositoryResponse>**](ContainerContainerRepositoryResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpContainerClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpContainerClient::InlineResponse2006.new(count:
|
|
17
|
+
instance = PulpContainerClient::InlineResponse2006.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2007.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<ContainerContainerPushRepositoryResponse>**](ContainerContainerPushRepositoryResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpContainerClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpContainerClient::InlineResponse2007.new(count:
|
|
17
|
+
instance = PulpContainerClient::InlineResponse2007.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/InlineResponse2008.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<
|
|
10
|
+
**results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpContainerClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpContainerClient::InlineResponse2008.new(count:
|
|
17
|
+
instance = PulpContainerClient::InlineResponse2008.new(count: 123,
|
|
18
18
|
_next: null,
|
|
19
19
|
previous: null,
|
|
20
20
|
results: null)
|
data/docs/ManifestCopy.md
CHANGED
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**source_repository** | **String** | A URI of the repository to copy content from. | [optional]
|
|
8
8
|
**source_repository_version** | **String** | A URI of the repository version to copy content from. | [optional]
|
|
9
|
-
**digests** | **Array<
|
|
9
|
+
**digests** | **Array<Object>** | A list of manifest digests to copy. | [optional]
|
|
10
10
|
**media_types** | **Array<String>** | A list of media_types to copy. | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpContainerClient::OCIBuildImage
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**containerfile_artifact** | **String** | Artifact representing the Containerfile that should be used to run buildah. | [optional]
|
|
8
|
+
**containerfile** | **File** | An uploaded Containerfile that should be used to run buildah. | [optional]
|
|
9
|
+
**tag** | **String** | A tag name for the new image being built. | [optional] [default to 'latest']
|
|
10
|
+
**artifacts** | [**Object**](.md) | A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile. | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpContainerClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpContainerClient::OCIBuildImage.new(containerfile_artifact: null,
|
|
18
|
+
containerfile: null,
|
|
19
|
+
tag: null,
|
|
20
|
+
artifacts: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# PulpContainerClient::PatchedcontainerContainerDistribution
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
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
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
12
|
+
|
|
13
|
+
## Code Sample
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'PulpContainerClient'
|
|
17
|
+
|
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
|
|
19
|
+
repository_version: null,
|
|
20
|
+
content_guard: null,
|
|
21
|
+
repository: null,
|
|
22
|
+
name: null)
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
|