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,21 +5,19 @@ All URIs are relative to *http://pulp*
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**create**](RepositoriesContainerPushApi.md#create) | **POST** /pulp/api/v3/repositories/container/container-push/ | Create a container push repository
|
|
8
|
-
[**delete**](RepositoriesContainerPushApi.md#delete) | **DELETE** {
|
|
8
|
+
[**delete**](RepositoriesContainerPushApi.md#delete) | **DELETE** {container_container_push_repository_href} | Delete a container push repository
|
|
9
9
|
[**list**](RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
|
|
10
|
-
[**
|
|
11
|
-
[**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_push_repository_href} | Inspect a container push repository
|
|
12
|
-
[**update**](RepositoriesContainerPushApi.md#update) | **PUT** {container_push_repository_href} | Update a container push repository
|
|
10
|
+
[**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
|
|
13
11
|
|
|
14
12
|
|
|
15
13
|
|
|
16
14
|
## create
|
|
17
15
|
|
|
18
|
-
>
|
|
16
|
+
> ContainerContainerPushRepositoryResponse create(container_container_push_repository)
|
|
19
17
|
|
|
20
18
|
Create a container push repository
|
|
21
19
|
|
|
22
|
-
ViewSet for container push repository.
|
|
20
|
+
ViewSet for a container push repository.
|
|
23
21
|
|
|
24
22
|
### Example
|
|
25
23
|
|
|
@@ -28,17 +26,17 @@ ViewSet for container push repository.
|
|
|
28
26
|
require 'pulp_container_client'
|
|
29
27
|
# setup authorization
|
|
30
28
|
PulpContainerClient.configure do |config|
|
|
31
|
-
# Configure HTTP basic authorization:
|
|
29
|
+
# Configure HTTP basic authorization: basicAuth
|
|
32
30
|
config.username = 'YOUR USERNAME'
|
|
33
31
|
config.password = 'YOUR PASSWORD'
|
|
34
32
|
end
|
|
35
33
|
|
|
36
34
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
|
37
|
-
|
|
35
|
+
container_container_push_repository = PulpContainerClient::ContainerContainerPushRepository.new # ContainerContainerPushRepository |
|
|
38
36
|
|
|
39
37
|
begin
|
|
40
38
|
#Create a container push repository
|
|
41
|
-
result = api_instance.create(
|
|
39
|
+
result = api_instance.create(container_container_push_repository)
|
|
42
40
|
p result
|
|
43
41
|
rescue PulpContainerClient::ApiError => e
|
|
44
42
|
puts "Exception when calling RepositoriesContainerPushApi->create: #{e}"
|
|
@@ -50,25 +48,25 @@ end
|
|
|
50
48
|
|
|
51
49
|
Name | Type | Description | Notes
|
|
52
50
|
------------- | ------------- | ------------- | -------------
|
|
53
|
-
**
|
|
51
|
+
**container_container_push_repository** | [**ContainerContainerPushRepository**](ContainerContainerPushRepository.md)| |
|
|
54
52
|
|
|
55
53
|
### Return type
|
|
56
54
|
|
|
57
|
-
[**
|
|
55
|
+
[**ContainerContainerPushRepositoryResponse**](ContainerContainerPushRepositoryResponse.md)
|
|
58
56
|
|
|
59
57
|
### Authorization
|
|
60
58
|
|
|
61
|
-
[
|
|
59
|
+
[basicAuth](../README.md#basicAuth)
|
|
62
60
|
|
|
63
61
|
### HTTP request headers
|
|
64
62
|
|
|
65
|
-
- **Content-Type**: application/json
|
|
63
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
66
64
|
- **Accept**: application/json
|
|
67
65
|
|
|
68
66
|
|
|
69
67
|
## delete
|
|
70
68
|
|
|
71
|
-
> AsyncOperationResponse delete(
|
|
69
|
+
> AsyncOperationResponse delete(container_container_push_repository_href, opts)
|
|
72
70
|
|
|
73
71
|
Delete a container push repository
|
|
74
72
|
|
|
@@ -81,17 +79,22 @@ Trigger an asynchronous delete task
|
|
|
81
79
|
require 'pulp_container_client'
|
|
82
80
|
# setup authorization
|
|
83
81
|
PulpContainerClient.configure do |config|
|
|
84
|
-
# Configure HTTP basic authorization:
|
|
82
|
+
# Configure HTTP basic authorization: basicAuth
|
|
85
83
|
config.username = 'YOUR USERNAME'
|
|
86
84
|
config.password = 'YOUR PASSWORD'
|
|
87
85
|
end
|
|
88
86
|
|
|
89
87
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
|
90
|
-
|
|
88
|
+
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
|
89
|
+
opts = {
|
|
90
|
+
name: 'name_example', # String | name
|
|
91
|
+
name__in: 'name__in_example', # String | name__in
|
|
92
|
+
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
|
93
|
+
}
|
|
91
94
|
|
|
92
95
|
begin
|
|
93
96
|
#Delete a container push repository
|
|
94
|
-
result = api_instance.delete(
|
|
97
|
+
result = api_instance.delete(container_container_push_repository_href, opts)
|
|
95
98
|
p result
|
|
96
99
|
rescue PulpContainerClient::ApiError => e
|
|
97
100
|
puts "Exception when calling RepositoriesContainerPushApi->delete: #{e}"
|
|
@@ -103,7 +106,10 @@ end
|
|
|
103
106
|
|
|
104
107
|
Name | Type | Description | Notes
|
|
105
108
|
------------- | ------------- | ------------- | -------------
|
|
106
|
-
**
|
|
109
|
+
**container_container_push_repository_href** | **String**| |
|
|
110
|
+
**name** | **String**| name | [optional]
|
|
111
|
+
**name__in** | **String**| name__in | [optional]
|
|
112
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
107
113
|
|
|
108
114
|
### Return type
|
|
109
115
|
|
|
@@ -111,7 +117,7 @@ Name | Type | Description | Notes
|
|
|
111
117
|
|
|
112
118
|
### Authorization
|
|
113
119
|
|
|
114
|
-
[
|
|
120
|
+
[basicAuth](../README.md#basicAuth)
|
|
115
121
|
|
|
116
122
|
### HTTP request headers
|
|
117
123
|
|
|
@@ -121,11 +127,11 @@ Name | Type | Description | Notes
|
|
|
121
127
|
|
|
122
128
|
## list
|
|
123
129
|
|
|
124
|
-
>
|
|
130
|
+
> InlineResponse2007 list(opts)
|
|
125
131
|
|
|
126
132
|
List container push repositorys
|
|
127
133
|
|
|
128
|
-
ViewSet for container push repository.
|
|
134
|
+
ViewSet for a container push repository.
|
|
129
135
|
|
|
130
136
|
### Example
|
|
131
137
|
|
|
@@ -134,18 +140,18 @@ ViewSet for container push repository.
|
|
|
134
140
|
require 'pulp_container_client'
|
|
135
141
|
# setup authorization
|
|
136
142
|
PulpContainerClient.configure do |config|
|
|
137
|
-
# Configure HTTP basic authorization:
|
|
143
|
+
# Configure HTTP basic authorization: basicAuth
|
|
138
144
|
config.username = 'YOUR USERNAME'
|
|
139
145
|
config.password = 'YOUR PASSWORD'
|
|
140
146
|
end
|
|
141
147
|
|
|
142
148
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
|
143
149
|
opts = {
|
|
144
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
145
|
-
name: 'name_example', # String |
|
|
146
|
-
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
|
147
150
|
limit: 56, # Integer | Number of results to return per page.
|
|
151
|
+
name: 'name_example', # String | name
|
|
152
|
+
name__in: 'name__in_example', # String | name__in
|
|
148
153
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
154
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
149
155
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
150
156
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
151
157
|
}
|
|
@@ -164,21 +170,21 @@ end
|
|
|
164
170
|
|
|
165
171
|
Name | Type | Description | Notes
|
|
166
172
|
------------- | ------------- | ------------- | -------------
|
|
167
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
168
|
-
**name** | **String**| | [optional]
|
|
169
|
-
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
|
170
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
174
|
+
**name** | **String**| name | [optional]
|
|
175
|
+
**name__in** | **String**| name__in | [optional]
|
|
171
176
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
177
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
172
178
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
173
179
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
174
180
|
|
|
175
181
|
### Return type
|
|
176
182
|
|
|
177
|
-
[**
|
|
183
|
+
[**InlineResponse2007**](InlineResponse2007.md)
|
|
178
184
|
|
|
179
185
|
### Authorization
|
|
180
186
|
|
|
181
|
-
[
|
|
187
|
+
[basicAuth](../README.md#basicAuth)
|
|
182
188
|
|
|
183
189
|
### HTTP request headers
|
|
184
190
|
|
|
@@ -186,68 +192,13 @@ Name | Type | Description | Notes
|
|
|
186
192
|
- **Accept**: application/json
|
|
187
193
|
|
|
188
194
|
|
|
189
|
-
## partial_update
|
|
190
|
-
|
|
191
|
-
> AsyncOperationResponse partial_update(container_push_repository_href, data)
|
|
192
|
-
|
|
193
|
-
Partially update a container push repository
|
|
194
|
-
|
|
195
|
-
Trigger an asynchronous partial update task
|
|
196
|
-
|
|
197
|
-
### Example
|
|
198
|
-
|
|
199
|
-
```ruby
|
|
200
|
-
# load the gem
|
|
201
|
-
require 'pulp_container_client'
|
|
202
|
-
# setup authorization
|
|
203
|
-
PulpContainerClient.configure do |config|
|
|
204
|
-
# Configure HTTP basic authorization: Basic
|
|
205
|
-
config.username = 'YOUR USERNAME'
|
|
206
|
-
config.password = 'YOUR PASSWORD'
|
|
207
|
-
end
|
|
208
|
-
|
|
209
|
-
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
|
210
|
-
container_push_repository_href = 'container_push_repository_href_example' # String | URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/
|
|
211
|
-
data = PulpContainerClient::ContainerContainerPushRepository.new # ContainerContainerPushRepository |
|
|
212
|
-
|
|
213
|
-
begin
|
|
214
|
-
#Partially update a container push repository
|
|
215
|
-
result = api_instance.partial_update(container_push_repository_href, data)
|
|
216
|
-
p result
|
|
217
|
-
rescue PulpContainerClient::ApiError => e
|
|
218
|
-
puts "Exception when calling RepositoriesContainerPushApi->partial_update: #{e}"
|
|
219
|
-
end
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
### Parameters
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
Name | Type | Description | Notes
|
|
226
|
-
------------- | ------------- | ------------- | -------------
|
|
227
|
-
**container_push_repository_href** | **String**| URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/ |
|
|
228
|
-
**data** | [**ContainerContainerPushRepository**](ContainerContainerPushRepository.md)| |
|
|
229
|
-
|
|
230
|
-
### Return type
|
|
231
|
-
|
|
232
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
233
|
-
|
|
234
|
-
### Authorization
|
|
235
|
-
|
|
236
|
-
[Basic](../README.md#Basic)
|
|
237
|
-
|
|
238
|
-
### HTTP request headers
|
|
239
|
-
|
|
240
|
-
- **Content-Type**: application/json
|
|
241
|
-
- **Accept**: application/json
|
|
242
|
-
|
|
243
|
-
|
|
244
195
|
## read
|
|
245
196
|
|
|
246
|
-
>
|
|
197
|
+
> ContainerContainerPushRepositoryResponse read(container_container_push_repository_href, opts)
|
|
247
198
|
|
|
248
199
|
Inspect a container push repository
|
|
249
200
|
|
|
250
|
-
ViewSet for container push repository.
|
|
201
|
+
ViewSet for a container push repository.
|
|
251
202
|
|
|
252
203
|
### Example
|
|
253
204
|
|
|
@@ -256,13 +207,13 @@ ViewSet for container push repository.
|
|
|
256
207
|
require 'pulp_container_client'
|
|
257
208
|
# setup authorization
|
|
258
209
|
PulpContainerClient.configure do |config|
|
|
259
|
-
# Configure HTTP basic authorization:
|
|
210
|
+
# Configure HTTP basic authorization: basicAuth
|
|
260
211
|
config.username = 'YOUR USERNAME'
|
|
261
212
|
config.password = 'YOUR PASSWORD'
|
|
262
213
|
end
|
|
263
214
|
|
|
264
215
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
|
265
|
-
|
|
216
|
+
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
|
266
217
|
opts = {
|
|
267
218
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
268
219
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -270,7 +221,7 @@ opts = {
|
|
|
270
221
|
|
|
271
222
|
begin
|
|
272
223
|
#Inspect a container push repository
|
|
273
|
-
result = api_instance.read(
|
|
224
|
+
result = api_instance.read(container_container_push_repository_href, opts)
|
|
274
225
|
p result
|
|
275
226
|
rescue PulpContainerClient::ApiError => e
|
|
276
227
|
puts "Exception when calling RepositoriesContainerPushApi->read: #{e}"
|
|
@@ -282,75 +233,20 @@ end
|
|
|
282
233
|
|
|
283
234
|
Name | Type | Description | Notes
|
|
284
235
|
------------- | ------------- | ------------- | -------------
|
|
285
|
-
**
|
|
236
|
+
**container_container_push_repository_href** | **String**| |
|
|
286
237
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
287
238
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
288
239
|
|
|
289
240
|
### Return type
|
|
290
241
|
|
|
291
|
-
[**
|
|
242
|
+
[**ContainerContainerPushRepositoryResponse**](ContainerContainerPushRepositoryResponse.md)
|
|
292
243
|
|
|
293
244
|
### Authorization
|
|
294
245
|
|
|
295
|
-
[
|
|
246
|
+
[basicAuth](../README.md#basicAuth)
|
|
296
247
|
|
|
297
248
|
### HTTP request headers
|
|
298
249
|
|
|
299
250
|
- **Content-Type**: Not defined
|
|
300
251
|
- **Accept**: application/json
|
|
301
252
|
|
|
302
|
-
|
|
303
|
-
## update
|
|
304
|
-
|
|
305
|
-
> AsyncOperationResponse update(container_push_repository_href, data)
|
|
306
|
-
|
|
307
|
-
Update a container push repository
|
|
308
|
-
|
|
309
|
-
Trigger an asynchronous update task
|
|
310
|
-
|
|
311
|
-
### Example
|
|
312
|
-
|
|
313
|
-
```ruby
|
|
314
|
-
# load the gem
|
|
315
|
-
require 'pulp_container_client'
|
|
316
|
-
# setup authorization
|
|
317
|
-
PulpContainerClient.configure do |config|
|
|
318
|
-
# Configure HTTP basic authorization: Basic
|
|
319
|
-
config.username = 'YOUR USERNAME'
|
|
320
|
-
config.password = 'YOUR PASSWORD'
|
|
321
|
-
end
|
|
322
|
-
|
|
323
|
-
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
|
324
|
-
container_push_repository_href = 'container_push_repository_href_example' # String | URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/
|
|
325
|
-
data = PulpContainerClient::ContainerContainerPushRepository.new # ContainerContainerPushRepository |
|
|
326
|
-
|
|
327
|
-
begin
|
|
328
|
-
#Update a container push repository
|
|
329
|
-
result = api_instance.update(container_push_repository_href, data)
|
|
330
|
-
p result
|
|
331
|
-
rescue PulpContainerClient::ApiError => e
|
|
332
|
-
puts "Exception when calling RepositoriesContainerPushApi->update: #{e}"
|
|
333
|
-
end
|
|
334
|
-
```
|
|
335
|
-
|
|
336
|
-
### Parameters
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
Name | Type | Description | Notes
|
|
340
|
-
------------- | ------------- | ------------- | -------------
|
|
341
|
-
**container_push_repository_href** | **String**| URI of Container Push Repository. e.g.: /pulp/api/v3/repositories/container/container-push/1/ |
|
|
342
|
-
**data** | [**ContainerContainerPushRepository**](ContainerContainerPushRepository.md)| |
|
|
343
|
-
|
|
344
|
-
### Return type
|
|
345
|
-
|
|
346
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
347
|
-
|
|
348
|
-
### Authorization
|
|
349
|
-
|
|
350
|
-
[Basic](../README.md#Basic)
|
|
351
|
-
|
|
352
|
-
### HTTP request headers
|
|
353
|
-
|
|
354
|
-
- **Content-Type**: application/json
|
|
355
|
-
- **Accept**: application/json
|
|
356
|
-
|